# Steer-to-Detect: Probing Hidden Representations for Detection of LLM-Generated Texts

*Luxu LIANG, Xiang Li*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/153916) · [Open on the map](../papers.html#p153916)

Category: [LLM Reasoning, Memory & RAG](../pcat/19.md) › [AI Text Detection](../pgroup/458.md) · Type: new method · Keywords: LLM text detection, representation steering, hypothesis testing, AI-generated content, text authentication

Areas: [Safety & Security](../areas/safety.md) › Language Model Security › LLM text detection

## Summary
Steer-to-Detect (S2D) is a two-stage framework that steers hidden representations of a frozen LLM to improve class separability and uses hypothesis testing for reliable detection of LLM-generated text.

## Explained to a 5-year-old
Computers can write stories that sound like they were written by people. It’s hard to tell which is which. We look inside the computer’s brain and change some numbers to make the difference bigger. Then we check if the changed numbers look like a computer or a person wrote it. This helps us know if the text is fake.

## Explained to a 5-year-old, longer
Large language models are computer programs that can write sentences. Their writing can sound just like what a person would write. Because of this, it is becoming difficult to know if a text was written by a person or by a computer. Researchers want to find a way to tell the difference. They look at the hidden thoughts inside the computer’s brain when it reads or writes. They find a special direction in those hidden thoughts that separates computer writing from human writing. They then move the hidden thoughts along that direction to make the difference clearer. After that, they use a simple rule to decide whether the text came from the computer or a person. The rule is based on how far the thoughts have moved. They also proved that the rule works well most of the time, even with few examples. In tests, the method works well even when the text is from a different model or when someone tries to trick it. This helps keep information honest and stops fake content from spreading.

## For a technical reader
The paper addresses the challenge of detecting text generated by large language models by exploiting internal representations of a frozen observer model. It learns a steering vector that is added to hidden states to increase the separation between human-written and machine-written embeddings. Detection is performed via a hypothesis test that leverages the steered representations to control false positives and false negatives. Theoretical analysis provides finite-sample error bounds for the test, ensuring its reliability under limited data. Empirical evaluations confirm robust performance across out-of-distribution and adversarially perturbed inputs.

## Problem
Distinguishing between human-written and LLM-generated text is increasingly difficult as language models become more fluent. Existing detection methods based on raw model representations often lack sufficient discriminative power due to overlapping features.

## Method
The approach learns a steering vector that is injected into the hidden states of a frozen observer LLM to enhance class separability, then applies a hypothesis testing procedure on the steered representations to decide the source of the text.

## Results
The approach demonstrates strong and consistent detection performance across various settings, including out-of-distribution and adversarial scenarios.

## Contributions
It introduces a steering mechanism to improve representation separability, provides finite-sample error guarantees for the detection procedure, and validates performance under out-of-distribution and adversarial conditions.

## Practical relevance
Enables reliable detection of AI-generated text, supporting content authenticity and combating misinformation.

## Research questions this paper is counted under

- [How can we reliably detect AI-generated or AI-influenced text across diverse styles, domains, and temporal shifts?](../q/89.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/153916)
