When Do Truthful Representations Flip Under Deceptive Instructions?When Truthful Representations Flip Under Deceptive Instructions?
The authors use probes and SAEs to compare fact-verification representations under three instructions: True/False remains predictable, and deceptive shifts concentrate in early-to-middle layers.
- Instruction following can make models state fact judgments in reverse when asked to lie. The authors believe that, relative to truthful or neutral instructions, when, at which layer, and on which features internal representations flip is unclear from outputs alone.
- Three instructions respectively require telling the truth, adding no honesty constraint, or saying the opposite. For Llama-3.1-8B-Instruct and Gemma-2-9B-Instruct, residual streams at each layer are taken, LR and TTPD predict instruction labels, and pretrained SAEs compare feature shifts.
- In Table 1, LLaMA3.1-8B-IT has 10.25% accuracy on the deceptive Affirm condition, and Mistral-7B-v0.3 has 92.16%. The authors say probes can still predict instruction labels; on open-domain data PCA cannot separate them, and SAE shifts are larger in early-to-middle layers.
- The authors limit themselves to English declarative sentences, frozen weights, and linear probes, and do not perform activation patching or adversarial prompt restructuring, and suggest extending to graded truthfulness and multilingual settings. The representation analysis specifies two instruction models; Llama's SAE corresponds to the Base suite.
- Evaluated models
- Llama-3.1-8B-InstructGemma-2-9B-InstructLLaMA3.1-70B-ITGemma2-2B-ITMistral-7B-v0.3Qwen2.5-7B-InstructQwen2.5-14B-Instruct
- Benchmarks
- Curated Logical-Benchcitiessp_en_transelement_symbanimal_classinventorsfactslarger_thansmaller_thancommon_claim_true_falsecounterfact_true_false
- Metrics
- Accuracyprobing accuracyℓ2 distancecosine similarityfeature overlap ratio
Researchers use linear probes and sparse autoencoders (SAEs) to analyze the internal representations of Llama-3.1-8B-Instruct and Gemma-2-9B-Instruct on fact-checking tasks, examining how deceptive instructions alter representations compared to truthful or neutral instructions. Linear probes predict the model's True/False output from internal representations under all conditions; SAEs show that representation shifts induced by deceptive instructions are significantly larger than those from truthful and neutral instructions, which are similar to each other, with shifts concentrated in early-to-middle layers and still detectable on complex datasets. The study also identifies SAE features highly sensitive to deceptive instructions and visualizes representation subspaces distinguishing truthful from deceptive responses, which the authors say provides clues for detecting and mitigating instruction-induced dishonesty.
Related events and news
0 events · 1 news mentions
News that mentions this paper
- 安远AIcites the paper's id or linkAI Safety in China #23:中美 APEC 峰会讨论 AI 合作与中国修订网络安全法
Hangzhou Dianzi University and Case Western Reserve University, When Truthful Representations Flip Under Deceptive Instructions?
Paper analysis
What problem does this paper attempt to solve?
The authors believe it remains unclear when and at which layer deceptive instructions flip fact-verification representations from truthful to deceptive.
Under deceptive instructions relative to truthful or neutral ones, when, at which layers, and on which features does the internal representation of fact verification flip from truthful to deceptive.
- Scenario: The authors believe instruction following makes models produce deceptive answers when asked to lie; the text also lists observed patterns such as strategic deception and alignment faking. The authors state that how malicious instructions change internal representations remains unclear beyond output analysis.
- Existing limitation: Linear probes can find concept directions, but the authors state that polysemantic neurons and superposition block finer feature distinctions. They therefore use SAE to decompose activations into sparser, possibly monosemantic features.
- The authors' observation: Across four families—Gemma, LLaMA, Mistral, Qwen—and 10 fact-verification datasets, the authors state that models follow deceptive instructions and systematically flip output truth values (Table 1). The representational question is whether instruction-conditioned True/False remains linearly readable, and where the shifts concentrate across layers and SAE features.
- What this paper does: For Llama-3.1-8B-Instruct and Gemma-2-9B-Instruct, under Truthful, Neutral, and Deceptive instructions, extract residual streams, use LR and TTPD probes, and use pretrained SAEs to quantify shifts and localize features sensitive to deceptive instructions. The authors state these traces can be used later to detect and mitigate instruction-conditioned dishonesty.
What related research exists?
Related work is divided into deceptive outputs, truthfulness probes, instruction intervention, and SAE; the authors place this paper on instruction shifts with fixed architecture.
Deceptive behavior and output-level evaluation
- Lin et al. (2022), Khatun and Brown (2024): Do TruthfulQA and TruthEval, respectively. The paper states that relative to such output analysis, how malicious instructions change internal representations remains unclear.
- Scheurer et al. (2024), Pacchiardi et al. (2023), Greenblatt et al. (2024): The paper uses these to illustrate strategic deception under pressure, black-box lie detection with unrelated questions, and alignment faking. The introduction does not compare methods one by one.
- Hagendorff (2024), Wu et al. (2025), Chojnacki (2025): The paper groups these under observed deception capabilities, deceptive behavior in open interactions, and risk mitigation in agentic systems, without separate comparisons.
Truthfulness directions and probes
- Azaria and Mitchell (2023a), Liu et al. (2024), Jin et al. (2025): Decode truthfulness-related signals from activations, or examine how different layers acquire knowledge and concepts.
- Marks and Tegmark (2024), Ichmoukhamedov and Martens (2025), Park et al. (2024): Discuss linear structure in true/false data and the Linear Representation Hypothesis. The paper writes that generalization remains a challenge and cites Marks and Tegmark (2024) and Bürger et al. (2024), without phrasing this as a rejection of any particular probe.
- Bürger et al. (2024), Park et al. (2025): Polarity-aware probes such as TTPD; the latter discusses the geometry of categorical and hierarchical concepts. The paper reports that some work suggests truthfulness may lie in a low-dimensional subspace rather than a single direction.
Instruction following, representation intervention, and model transformations
- Heo et al. (2025), Zou et al. (2025), Li et al. (2024), Ferrando et al. (2025): Connect instruction following to internal states; Representation Engineering and related work show causal control over outputs, including knowledge-based refusal.
- Zhang et al. (2025): Use prompts to steer internal states to detect hallucination. The paper states its distinction is analyzing natural representational changes caused by truthful, neutral, and deceptive instructions, rather than externally manipulating these states.
- Fu et al. (2025a, 2025b), Li et al. (2025): Pruning can be designed to preserve truthfulness, quantization may change truthfulness-related behavior, and KV-cache compression preserves sequence information with minimal bias. The paper states it studies instruction-induced shifts with fixed architecture, orthogonal to these efficiency transformations.
Superposition and SAE
- Elhage et al. (2022), Bricken et al. (2023b), Cunningham et al. (2023a): Superposition makes neurons polysemantic; SAE is used to extract sparser, more interpretable features.
- Lieberum et al. (2024), He et al. (2024): Gemma Scope and Llama Scope make feature analysis on larger models possible. Ferrando et al. (2025), Lan et al. (2025) have used SAE to find features related to knowledge or behavior.
- This paper's usage: The paper states off-the-shelf SAEs are used only as measurement tools, and acknowledges feature semantics are approximate and may depend on the sparsity objective and training data.
Comparison settings: The paper does not set up external attack or defense baselines. Behavioral comparisons are Neutral, Truthful, and Deceptive prompts; probe comparisons are LR and TTPD. Data are Curated Logical-Bench (including Number) and Open-Domain Fact-Bench (CommonClaim, CounterFact).
The authors position existing work as measuring or inducing truthfulness directions in fixed models, or changing representations via pruning, quantization, or representation engineering. This paper measures the natural shifts caused by three instruction types with fixed architecture.
How does the paper address this problem?
Under three instructions, residual streams are taken, and LR, TTPD, and pretrained SAEs compare fact-verification representations.
The overall approach places fact verification under Truthful, Neutral, Deceptive instructions, compares whether residual streams remain linearly readable, then uses pretrained SAEs to see whether feature space flips. The main analysis models are Llama-3.1-8B-Instruct and Gemma-2-9B-Instruct, chosen for instruction-following ability and the availability of corresponding pretrained SAEs.
Task, Instructions, and Activations
- Task: Given a factual statement, the model outputs only True or False. Figure 1 uses statements like city membership as examples.
- Three instructions: Truthful requires always being honest and judging correctly; Neutral only requires judging, with no honesty or deception constraint; Deceptive requires acting as a dishonest assistant and making incorrect judgments. All three restrict output to True or False. The paper gives full templates; original sentences are not reproduced here.
- Taking activations: At each layer's residual stream, the position is the last token before generating True/False, often the end-of-turn or assistant token. Denoted x_l, with dimension equal to hidden dimension d.
- Behavior measurement scope: Output accuracy is additionally reported on seven models across four families; representation trajectories are analyzed only for the two instruction models.
Data
- Curated sets: Six template topics: cities, sp_en_trans, element_symb, animal_class, inventors, facts, plus negation, conjunction, disjunction. Construction follows Bürger et al. (2024), with materials from Marks and Tegmark (2024) and Azaria and Mitchell (2023b). larger_than and smaller_than are merged and reported as Number.
- Open-domain: CommonClaim's filtered true/false version, and CounterFact's factual recall statements. The paper uses this set to distinguish template sentences from sentences with topic diversity and annotation noise.
- Sizes: Appendix Table 2 has cities 1496, sp_en_trans 354, element_symb 186, animal_class 164, inventors 406, facts 561, larger_than and smaller_than each 1980, common_claim_true_false 4450, counterfact_true_false 31960. Conjunction and disjunction datasets each have 500 rows. CommonClaim originates from 20000 GPT-3-text-davinci-002 generations, then adapted into a balanced 4450-row set.
- Sampling: The appendix gives independent sampling rules for conjunction and disjunction, aiming for overall true/false balance and statistical independence of the two statements' truth values. Probability formulas in the conversion text cannot be reliably read; specific probabilities are not cited here.
Linear Probes
- LR: A linear classifier is trained at each layer to predict whether target output y is True or False. Probability is written as P(y=True∣ xl)=σ(wl⊤ xl+bl), with σ as sigmoid. The implementation section also writes LR as no intercept, appearing alongside the bias in the formula; the paper does not explain the relationship.
- TTPD: Follows Bürger et al. (2024). Activations are written as dataset mean plus a general direction and a polarity direction related to target label and statement polarity; training uses the general direction. The authors say polarity variation is low in the base task, and TTPD serves as a robustness check.
- Labels: Figure 2's caption says predicting instructed True/False; Section 2.2 writes target output y. The paper does not specify whether labels use the instruction's requirement or the actual generation when the model does not follow instructions.
- Training: Each layer and prompt uses 5k balanced samples for training, 1k for validation, 5k held-out for testing; six leave-one-topic-pair-out groups to avoid lexical memorization. Each layer is z-scored. LR uses scikit-learn's LBFGS, max_iter=1000, L2 C=1, seed=1000. TTPD is a single linear direction, classified by sign.
SAE and Visualization
- Suites: Gemma-2-9B-Instruct uses gemma-scope-9b-IT-res-canonical, JumpReLU, 16384 features per layer. Llama uses Llama Scope's LXR-32x-TopK, 128k features each, corresponding to Llama-3.1-8B-Base. Both are trained on open data and cover post-MLP residual streams at each layer. Figure 1's caption labels the SAE as Lin (2023) and draws activations as JumpReLU; the implementation section's suite and TopK settings are not exactly the same claim as the caption.
- Comparison quantities: For dataset-averaged SAE features, compute ℓ2 distance, cosine, and Jaccard overlap of activation sets between conditions. A feature is active when mean activation exceeds ε=10^{-6}. ℓ2 is written as DL2=‖f̄decep(xl)−f̄truth(xl)‖2. Sensitive features are ranked by absolute difference between truthful and deceptive mean activations.
- Visualization: PCA projects x_l to two dimensions; the authors say it is mainly for illustration on simpler data. Sensitive features are then shown in scatter and violin plots to see whether the two instructions separate.
Judgments
- Output accuracy: The model's True/False is compared with ground truth. Table 1's first note sentence defines this; the same note's second sentence writes that Deceptive accuracy refers to the probe predicting the flipped label the model was instructed to output. The main text uses this table to support "output truth values are flipped." The two sentences cannot both hold; below, numbers are used per the first sentence and the main text.
- Probe accuracy: Predicts True/False under the instruction condition, not a separately defined success rate against ground truth.
What experiments did the paper conduct?
The deception-condition accuracy in Table 1 is not consistent; probes can still predict labels on both models, and SAE shifts are larger.
Experimental Setup
- Models: Output accuracy covers LLaMA3.1-8B-IT, LLaMA3.1-70B-IT, Gemma2-2B-IT, Gemma2-9B-IT, Mistral-7B-v0.3, Qwen2.5-7B-Instruct, Qwen2.5-14B-Instruct. Llama-3.1-8B-Instruct and Gemma-2-9B-Instruct in the main text correspond to the 8B and 9B names in the table. Layer-wise probes, PCA, and SAE are only specified for these two instruction models.
- Data: Table 1 lists Affirmative, Negated, Conjunction, Disjunction, Number, CounterFact, CommonClaim. Probe Figure 2 uses six topics and negated variants; Figure 3 uses 14 held-out sets, i.e., conjunctions/disjunctions of the six topics plus common_claim_true_false and counterfact_true_false. Sizes are in Appendix Table 2.
- Conditions: Each data type has three prompts: Neutral, Truthful, Deceptive.
- Metrics: Output accuracy is relative to ground truth; probe accuracy is LR and TTPD. SAE uses ℓ2, cosine, and feature overlap. Activation threshold ε=10^{-6}.
- Evaluation: No LLM judge. CommonClaim true/false comes from human common-sense annotations in the source data, then adapted; this paper does not report new human agreement.
- Replication: Probes use six leave-one-topic-pair-out groups; appendix tables give mean ± standard deviation; LR seed=1000. Figure 6 shading is ±1σ across samples. The paper does not report replication counts beyond the seed.
Main Results
The table below is accuracy (%) of outputs relative to ground truth, per Table 1. The second sentence of the table note, "probe predicts flipped labels," conflicts with this definition; numbers are not reread according to that sentence.
Swipe horizontally to read the table
Model Truthful Affirm. Deceptive Affirm. Deceptive Disj. Deceptive Number Deceptive CommonClaim LLaMA3.1-8B-IT 97.14 10.25 53.72 30.76 29.71 LLaMA3.1-70B-IT 99.47 60.17 46.18 47.89 36.01 Gemma2-2B-IT 94.95 49.38 48.99 50.00 50.09 Gemma2-9B-IT 97.94 15.87 33.09 27.70 43.08 Mistral-7B-v0.3 96.06 92.16 68.57 69.70 63.17 Qwen2.5-7B-Instruct 97.14 78.55 50.86 65.15 61.39 Qwen2.5-14B-Instruct 93.59 59.84 47.83 53.64 55.01 - Authors' summary: The introduction says these models all follow deceptive instructions and systematically flip the truth value of fact-verification outputs, based on Table 1.
- Not uniformly decreasing in the table: Mistral-7B-v0.3's Deceptive Affirmative is 92.16%; Gemma2-2B-IT's Deceptive Number is 50.00 and CommonClaim is 50.09. LLaMA3.1-8B-IT's Disjunction is Neutral 53.05, Truthful 52.24, Deceptive 53.72. The authors do not explain these cells individually.
- Another cell: Qwen2.5-7B-Instruct's CounterFact is Neutral 63.22, Truthful 62.59, Deceptive 66.85. Accuracy relative to ground truth under the deceptive condition is higher than the other two columns. The authors do not explain it individually.
Layer-wise Probes
- Curated data: Figure 2 compares LR and TTPD on six topics and negated variants, plotting curves for all three prompts, and marks Llama's Key Layer 14 and Gemma's Key Layer 21. The authors say instruction outputs are highly predictable under all three prompts, with accuracy rising in early layers and peaking in middle-to-late layers. The main text gives no layer-wise percentages for this figure.
- Authors' interpretation: The authors believe a hyperplane in the middle layers can predict instruction labels under all three prompts, so factual signals are preserved; divergence occurs downstream, where later layers modify logits to make the opposite token most probable. The authors say probes cannot causally prove this routing, and that linear separability appears at no more than 50% depth.
- Held-out sets: Figure 3 evaluates 14 held-out sets. The authors say Llama's accuracy rises again at layer 16, two layers deeper than template data, then declines; Gemma only TTPD enters a plateau from layer 21, with LR fluctuating more. In Appendix Table 3, Llama Truthful TTPD at layer 17 is 83.62±0.41, and LR at layer 16 is 77.15±4.43; in Table 4, Gemma layer 21 Truthful TTPD is 82.52±0.20, and layer 26 is 86.06±0.20. The appendix says these two tables supplement Figures 2 and 3, without labeling which table corresponds to which figure.
PCA and SAE Geometry
- Curated PCA: Figure 4 shows Llama on cities at layers 8, 16, 32. The authors say True/False separates from layer 8, is nearly linearly separable at layer 14, and persists to layer 32. Layer 14 is not among the three layers shown in this figure.
- Open-domain PCA: Figure 5 is Llama's common_claim_true_false and counterfact_true_false at layer 16. The caption says True and False remain entangled. The authors say PCA collapses on open-domain data and attribute this to superposition: the two principal components are dominated by lexical and syntactic variance.
- SAE distances: Figure 6 (cities) and Figure 7 (common_claim_true_false) track Llama's truthful centroid relative to deceptive or neutral in cosine, overlap, and ℓ2. The authors say layers 10–16 show cosine and overlap decreasing and ℓ2 increasing; deceptive prompts shift more than neutral; the extrema of the three curves are at Llama layer 16 and Gemma layer 21, with the latter referred to Appendix E. Truthful-vs-neutral is nearly flat, cosine > 0.95, overlap > 0.80. Appendix D's Figures 13 and 14 say Gemma on common_claim and counterfact shows stronger shifts from deceptive prompts at layers 16–32. The main text's layer 21 and Appendix D's layers 16–32 are not the same claim.
Sensitive Sparse Features
- Selection method: At each layer, take the two SAE features with the largest absolute difference between truthful and deceptive mean activations. Figure 8 is Llama on CommonClaim at layers 8, 16, 32. The authors say at layers 16 and 32 the two classes separate, with directions nearly orthogonal and little overlap.
- Activation patterns: In Figure 9's violin plots, the authors say the Top 2 features at layer 16 activate almost only under truthful prompts, while at layer 32 they shift to strong activation under deceptive prompts. The authors say counterfact_true_false shows similar trends in Figures 15 and 16. The main text gives no numerical means for these features.
- Authors' interpretation: The authors say a few sparse features flip activation between the two instructions, calling them deception-associated features; in the contributions they also say these define a compact honesty subspace. The authors believe middle-layer features suppress truthful cues and later-layer features amplify deceptive outputs. The paper does not report causal intervention results for these features.
Other Ablations and Analyses
- Probes split into train 5k, validation 1k, test 5k; six leave-one-topic-pair-out groups; z-score per layer; LR is LBFGS, max_iter=1000, C=1, no intercept, seed=1000.
- Feature activation threshold ε=10^{-6}; overlap ratio is Jaccard, computed per layer, then averaged over topics.
- Gemma SAE has 16384 JumpReLU features per layer; Llama SAE is TopK with 128k features each, corresponding to Llama-3.1-8B-Base.
- Appendix Table 4: Gemma Deceptive TTPD at layer 24 is 87.13±0.75, and LR under the same condition at layer 24 is 70.12±7.54.
- Appendix Table 3: Llama Deceptive TTPD at layer 15 is 80.42±0.13; Neutral TTPD at layer 16 is 85.62±0.14.
- Table 1: Qwen2.5-7B-Instruct's CommonClaim is Neutral 93.85, Truthful 78.25, Deceptive 61.39; Truthful is already below Neutral. The authors do not explain it individually.
What are some points that can be further explored?
The authors limit the scope to English statements, frozen weights, and linear probes, and suggest extending to graded truthfulness and multilingual settings.
Limitations and Future Directions Noted by the Authors
- Language, weights, and probes: The study is limited to English declarative sentences, frozen model weights, and linear probes (Limitations).
- Causal intervention: Causal interventions were not tested; the example given in the text is activation patching (Limitations).
- Prompt restructuring: Adversarial prompt restructuring was not tested (Limitations).
- Labels and future settings: Evaluation data is annotated only for binary factuality; the authors write that future work should extend to graded truthfulness scales and multilingual settings (Limitations).
Experimental Coverage
- Output accuracy: Table 1 covers 7 models, Neutral/Truthful/Deceptive, and Affirmative, Negated, Conjunction, Disjunction, Number, CounterFact, CommonClaim.
- Representation analysis: Layer-wise probes, PCA, and SAE shifts are specified for Llama-3.1-8B-Instruct and Gemma-2-9B-Instruct.
- SAE suites: Gemma uses gemma-scope-9b-IT-res-canonical, with 16384 JumpReLU features per layer; Llama uses Llama Scope's LXR-32x-TopK, with 128k features each, corresponding to Llama-3.1-8B-Base. Both cover post-MLP residual streams at each layer. Related Work states SAEs are used only as measurement tools, feature semantics are approximate, and can depend on sparsity objectives and training data.
- Data sizes: Appendix Table 2 lists row counts for each set, e.g., cities 1496, common_claim_true_false 4450, counterfact_true_false 31960; conjunctions and disjunctions each have 500 rows.
- Protocol: Probes use 5k/1k/5k per layer, seed=1000, six leave-one-topic-pair-out groups; appendix tables report means and standard deviations. The paper does not report LLM judges, human agreement, or replication counts beyond that seed.
Summarize the main content of the paper
Under deceptive instructions, fact-verification labels remain linearly readable from activations, and SAE features shift relative to truthful/neutral in early-to-middle layers.
This is an analysis of how internal representations flip when instructed to lie, not a new detector or editing algorithm. The authors aim to distinguish whether fact-verification True/False remains in activations under deceptive versus truthful and neutral instructions, and which layers and sparse features the flip lands on.
- Approach: Three instructions respectively require correct judgment, no honesty constraint, or incorrect judgment, and output only True or False. The main analysis takes activations at the last token before generation from each layer's residual stream of Llama-3.1-8B-Instruct and Gemma-2-9B-Instruct. LR and TTPD predict instruction labels; Gemma Scope and Llama Scope SAEs compare conditions using ℓ2, cosine, and feature overlap ratio, and select features with the largest activation differences. Seven other models only compare outputs with ground truth.
- Outputs: In Table 1, LLaMA3.1-8B-IT's Deceptive Affirmative accuracy is 10.25%, Truthful is 97.14%; Gemma2-9B-IT's Deceptive Affirmative is 15.87%. In the same table, Mistral-7B-v0.3's Deceptive Affirmative is 92.16%, and Gemma2-2B-IT's Deceptive CommonClaim is 50.09%. The authors say models systematically flip truth values; these cells are inconsistent with that summary, and the authors do not explain them individually.
- Probes: The authors say instruction labels under all three instructions are linearly predictable. Figure 2 marks curated-data peaks at Llama layer 14 and Gemma layer 21; on Figure 3's held-out sets, the authors say Llama's stable layer moves to 16, Gemma's TTPD is relatively stable from layer 21, with LR fluctuating more.
- Geometry: The authors say PCA on cities separates True/False, while open-domain layer 16 remains entangled (Figure 5). On SAE, deceptive conditions shift more relative to truthful/neutral, concentrated at Llama layers 10–16; truthful-vs-neutral cosine > 0.95, overlap > 0.80. The authors say a few features flip activation between the two instructions.
- Authors' conclusion: The authors believe deception is more like later-stage token reselection than erasing factual content, and say probes cannot causally prove this. They say these layer and feature traces can provide a basis for future deception detection and model editing. Limitations state coverage is limited to English declarative sentences, frozen weights, linear probes, and binary labels.