Rules and Consequences: Separable Internal Representations of Moral Reasoning in Large Language ModelsRule vs.Consequence: Dissociable Internal Representations of Moral Reasoning in LLMs
The authors separate style and polarity directions in the residual streams of three instruction models, with cross |r|<0.04, and steering can change judgments.
- When models are used in sensitive scenarios such as legal and medical, rule-based and consequence-based frameworks change moral judgments. The authors aim to distinguish whether this is a separable structure in the residual stream or sensitivity to surface wording.
- Construct a 2×2 style × polarity set from three moral benchmarks and handwrite 32 cleanroom items containing conflict pairs. Train linear probes on the residual streams of Qwen, Llama, and Mistral, then perform activation steering along the directions.
- The authors state that for the three models, target |r|>0.85 and cross |r|<0.04 (Table 1). For Qwen, rule-framing conflict pairs accuracy from 0.400 to 0.700 (n=10), consequence-framing 0 flips. Cleanroom activation probe 0.594, keyword matching 0.750 (Table 3).
- The authors note that full precision and base models were not reproduced, the conflict set is small, style can be partially predicted by source, cleanroom accuracy 0.594 is only partial generalization, and steering control over an independent downstream task was not tested. Experiments are three 4-bit instruction-tuned models; LegalBench's 220 items are not in the reported results.
- Evaluated models
- Qwen2.5-7B-InstructMistral-7B-Instruct-v0.3Llama-3.1-8B-Instruct
- Benchmarks
- ETHICSMoral StoriesSocial Chemistry 101cleanroom test set
- Metrics
- Pearson rprobe accuracyAUClogit differenceCohen's d
The authors construct a 2×2 factorial dataset crossing moral reasoning style (rule-based vs. consequence-based frameworks) with judgment polarity (permissible vs. forbidden), sourced from three existing moral reasoning benchmarks, and evaluate on a new paraphrase test set with conflict pairs where the two frameworks predict opposite labels. Using linear probes and activation steering, they identify two orthogonal directions in the residual stream: Dir-A corresponds to reasoning style and Dir-B to judgment polarity, each nearly insensitive to the other factor, with cross-correlations |r| < 0.04. This double dissociation replicates at similar relative depths across instruction-tuned models from three different developers, and the directions are recoverable over a broad range of layers and have causal effects. Dir-A causally changes judgments, selectively correcting rule-based errors in conflict scenarios without altering consequence-based judgments. Generalization is only partial: directions transfer across benchmark sources, but their advantage over lexical baselines on new paraphrases is limited.
Paper analysis
What problem does this paper attempt to solve?
The authors ask whether the judgment difference between rule and consequence framings is an internally separable direction or lexical sensitivity.
The model's differential response to rule-based versus consequence-based moral questions is a separable direction in the residual stream, not surface lexical sensitivity.
- Scenario: The authors state that models are entering legally sensitive, medically critical, and ethically relevant scenarios. Rule-based judgments follow norms and obligations; consequence-based judgments follow outcomes and welfare, and the question framing systematically changes model judgments.
- Gap: Behavioral benchmarks have documented framing effects. The authors argue that whether this is lexical sensitivity or an internal structure separable from judgment polarity and modifiable by steering remains an open question.
- Definition: The authors deliberately avoid naming the manipulation deontology or utilitarianism. The stimuli do not probe generalizable principles or aggregation of welfare across people; separating the two question types does not mean the model adopts a moral theory.
- Method: Construct a 2×2 dataset of style (rule/consequence) × polarity (permissible/impermissible) and handwrite conflict pairs with opposite gold labels. Extract DIR-A and DIR-B with linear probes, then test causality with activation steering. The authors limit their conclusion to style sensitivity in moral reasoning, not internalized normative reasoning.
What related research exists?
Related work covers linear directions, moral behavioral benchmarks, framing effects, and activation steering.
Linear representations
- Directions: Park et al. (2023) write semantic attributes as linear directions in the residual stream. Zou et al. (2023) manipulate these directions with representation engineering. Burns et al. (2023) use contrast probes to find directions related to truthfulness.
- Redundancy: Elhage et al. (2022) discuss redundant encoding in superposition. This paper cites that point to explain that a direction can be causally sufficient without being uniquely necessary.
Moral and normative behavior
- Benchmarks: Hendrycks et al. (2021), Emelin et al. (2021), Forbes et al. (2020) evaluate moral reasoning with behavioral benchmarks. Simmons (2023) reports systematic framing effects.
- Normative judgments: Park et al. (2025) report that deontological vocabulary markers and modal expressions systematically affect normative judgments. Ozeki et al. (2025) create a normative reasoning benchmark from logic and modality; Abrams et al. (2026) evaluate normative application.
- Process: Zhong et al. (2025) discuss whether different judgment processes may be separable within models. Soffer et al. (2025) document failure modes in medical ethics reasoning.
Framing and instruction sensitivity
- Wording: Itzhak et al. (2024) analyze emergent cognitive biases in instruction-tuned models and link them to instruction wording. Sun et al. (2024) show such models are vulnerable to wording changes; the paper uses this as motivation for internal analysis rather than only surface behavioral tests.
- Context: Lorè and Heydari (2024) show that decisions in strategic games depend on contextual framing. Geng et al. (2026) propose a framework to quantify the pragmatic impact of instructions.
- Debiasing: Lim et al. (2026)'s DeFrame targets framing-induced bias. The authors suggest their direction could be a component of such interventions. Ceballos-Arroyo et al. (2024) document instruction wording sensitivity in clinical LLMs.
Steering
- Activation addition: Turner et al. (2023) propose activation addition; Panickssery et al. (2024) extend it to personality traits.
- Method reference: Wu et al. (2025) probe internal representations of theory of mind concepts. The authors treat it as a methodological comparison without numerical benchmarks.
Baselines and data
- Controls: Keyword matching, TF-IDF unigram and bigram; steering controls are random unit vectors, and comparison with text-level prompt surgery.
- Sources: ETHICS deontology and commonsense, Moral Stories, Social Chemistry 101, and handwritten cleanroom. LegalBench extracts 220 items but not used in reported results.
The authors position this paper after these works: applying linear directions and activation steering to moral reasoning style, and using a 2×2 design to separate style from judgment polarity, thereby going beyond behavioral evaluation.
How does the paper address this problem?
Train DIR-A and DIR-B on 2×2 data, then perform activation steering along residual stream directions.
The authors use 2×2 factorial data to separate question style and judgment polarity, extract DIR-A (rules vs. consequences) and DIR-B (allowed vs. forbidden) on the residual stream, then apply activation steering along the directions.
Data
- Question formats: Each scenario has two questions. The rule framing ties the judgment to applicable norms; the consequence framing ties it to outcomes and impact on those affected. The templates in the main text and Appendix A are not exactly the same wording, but both only add normative or consequential clauses to the question.
- Role of crossing: The authors state that style and polarity must be balanced in the data, otherwise a single norm-strictness axis would emerge rather than two separable directions.
- Scale and labels: Three sources synthesize 1,452 items. Core split: train 720, validation 240, benchmark test 240; train 180 per cell, validation and benchmark test 60 per cell, marginally balanced. Gold labels come from source benchmarks. If source data is multiple-choice, it is converted to a binary acceptability frame and original option letters are discarded.
- Holdout: 32 handwritten cleanroom items, which the authors state are not in the training sources; 16 moral topics, 16 legal topics, of which 20 form 10 conflict pairs where the two framings have opposite gold labels on the same scenario. Additionally, 220 items are drawn from LegalBench (160 Contract NLI, 60 Learned Hands Benefits), which Appendix A states are not used in the reported results. Appendix A also states the design is not crossed within sources.
Probes
- Models and extraction points: Qwen2.5-7B-Instruct (28 layers, d=3584), Mistral-7B-Instruct-v0.3 (32 layers, d=4096), Llama-3.1-8B-Instruct (32 layers, d=4096), all 4-bit NF4. Activations are taken from the last prompt token of each layer's residual stream.
- Directions: Each layer trains an ℓ2-regularized logistic regression on standardized activations, C=1.0. Weights are re-projected as v=w/σ, where σ is the feature standard deviation; the bias is discarded, which the authors state encodes class prior rather than direction. Then ℓ2-normalized.
- Layer selection: Fisher discriminant ratio on holdout validation activations. Qwen's main intervention uses layer 10. The methods section does not specify whether the probe training split is the 720-item core training set.
Steering
Inject at the last prompt token hℓ ← hℓ+αv̂, i.e., add strength α along the unit direction.
- Scale: The authors state that the absolute value of α cannot be interpreted alone; one should look at the perturbation ratio (steering vector norm divided by the average residual norm of that layer). The authors state that 4-bit makes Qwen layer 10 absolute norm about 430, while float16 same architecture is about 50. Qwen's α=40 to 60 corresponds to perturbation ratios 0.09 to 0.14, roughly equivalent to α≈7 for the unquantized model. Llama uses α=2 at the same perturbation ratio.
- Range: At α=60, 94.2% of steered residual dimensions fall within [μ−3σ, μ+3σ] of the unsteered distribution. The authors state effects are monotonic within |α|≤60, and default to reporting α=60. Appendix B gives calibration details.
Judgment
Judgments use logit difference ΔLD=log∑t∈ Apt−log∑t∈ Upt. A is Acceptable, acceptable, Yes, yes; U is Unacceptable, unacceptable, No, no. Computed only on these eight tokens.
- Why logits: The authors state that 59% of benchmark examples have P(Acceptable)<0.1, so changes in probability space would be small.
- What is not used: No LLM judge, and option letters do not enter this metric.
What experiments did the paper conduct?
Three models cross |r|<0.04; on Qwen steering can change judgments, cleanroom generalization is limited.
Experimental setup
- Models: Qwen2.5-7B-Instruct, Mistral-7B-Instruct-v0.3, Llama-3.1-8B-Instruct, all 4-bit NF4. The paper does not report number of repetitions.
- Splits: Core set 720/240/240, 180 or 60 per cell. Cleanroom 32 items, conflict conditions n=10 each. Leave-one-source each ntest=60. Table 4 n=60 per row. LegalBench 220 items are not in reported results.
- Metrics: Pearson r, probe accuracy, AUC, logit difference shift, Cohen's d, paired t-test, cosine similarity. Judgments are not scored by an LLM.
- Baselines: Keyword matching, TF-IDF unigram and bigram; two random unit vectors; prompt surgery that changes consequence-framed questions to rule-framed in text.
- Main intervention: Qwen steering main tables on benchmark test, α per row +60 or −60. Causal layer scan is Qwen layers 6–15, injecting the fixed layer-10 direction.
Main results
Swipe horizontally to read the table
Model Peak layer DIR-A r(style) DIR-A r(polarity) DIR-B r(polarity) Cross r Qwen2.5-7B 10/28 (35.7%) +0.899 +0.025 +0.856 +0.030 Llama-3.1-8B 11/32 (34.4%) +0.875 +0.002 +0.888 −0.032 Mistral-7B 15/32 (46.9%) +0.978 +0.007 +0.909 −0.021 Per Table 1. This table does not list DIR-B's style correlation.
- Authors' summary: The introduction states DIR-A has r>0.87 for style, r<0.03,DIR-B 对极性 r>0.85 for polarity, and r<0.06,交叉 |r|<0.04。Table 1 能直接看到的脱靶格是 DIR-A 的极性列。结论重复脱靶 |r|<0.06,但 DIR-B 的风格相关只在 Qwen 上写出。
- Qwen 的检验:Section 5.1 对全部训练例子、第 10 层给出 DIR-A 风格 r=+0.899(p<0.0001)、极性 r=+0.025(p=0.50),DIR-B 极性 r=+0.856(p<0.0001)、风格 r=+0.022(p=0.56),交叉 r=+0.030(p=0.43)。这些数字与 Table 1 的 Qwen 行相同。Llama、Mistral 行的划分和 p 值,表题未写。
- 域内与层:基准测试上,风格探针准确率 1.000,DIR-A 投影 AUC=1.000,极性探针准确率 1.000;作者把这与第 10 层并提,未给出另两个模型的对应测试准确率。Figure 1 图注写三模型都呈该分离,正文则把该图的投影写成 Qwen 训练集,并把 Mistral、Llama 放在 Figure 2。正文称这两模型几乎所有层的目标相关超过 0.85,未逐层列数。
转向效应
- Table 4:Qwen 基准测试、每行 n=60。rule-permissive、α=+60:均值 +2.025,d=+1.029,p<0.0001。rule-prohibitive、+60:+2.877,d=+1.664,p<0.0001。consequence-permissive、−60:−0.640,d=−0.398,p=0.003。consequence-prohibitive、−60:−1.377,d=−1.137,p<0.0001。摘要写 Cohen's d>1.0 for style; the consequence-permissive row's d is −0.398, not in this summary. Table 7 restates the means of these four rows.
- Other direction: The main text and Table 7 give DIR-B on rule-permissive +1.113 (d=1.060, p<0.0001), on consequence-permissive −0.410 (d=−0.290, p=0.030). Within the permissive subset, DIR-A(+60) shifts +2.242, DIR-B(−60) shifts −1.108, both p<0.0001; the subset n is not given. The authors state this rules out style and polarity sharing a single strictness axis.
- Accuracy: Section 5.4 states DIR-A steering changes overall accuracy from 0.613 to 0.650 (3.7 percentage points), consequence-permissive from 0.183 to 0.317 (13.3 percentage points); the sentence does not rewrite the denominator. At |α|=40, DIR-A's average |ΔLD|=1.715, two random unit vectors 0.778 and 0.640, which the authors call about 2.3 times. The authors link the low baseline of that quadrant to RLHF and state DIR-A partially offsets the bias toward permissive judgments on consequence framing.
Conflict pairs and independence
- Asymmetry: Cleanroom conflict pairs, DIR-A, α=+60. Rule framing accuracy 0.400 to 0.700, 3 prediction flips, which the authors call a 30 percentage point increase (n=10). Consequence framing baseline 0.800, flips 0/10, average logit shift +2.61. Wilson 95% intervals [0.349, 0.910] and [0.483, 0.957], respectively. The paragraph does not repeat the model name.
- Authors' interpretation: A global acceptance direction would predict proportional flips in both framings, so the authors state this asymmetry cannot be explained that way. The 0/10 flips are attributed by the authors to a ceiling effect under high-confidence correct classifications: discrete predictions unchanged, but logits still shift. The authors state n=10 and wide intervals, and do not treat this as a definitive statistical conclusion.
- Exchangeability and ablation: At layers 5 and 10, mean order difference |AB−BA|=0.719, at the 8th percentile of 100 random direction pairs (null distribution mean 0.915, SD 0.134, t=−4.20, p<0.0001; each pair averaged over 30 benchmark items). The authors consider this consistent with functionally independent pathways. Layer-10 orthogonal ablation selectivity ratio below 1.0, the paragraph does not specify the model; the authors state the direction is not necessary for judgment, only claiming sufficiency for steering.
Other ablations and analyses
- Table 2 (Qwen layer 10, leave-one-source, each n=60): Social Chemistry 101 accuracy 1.000, cosine 0.731; Moral Stories 0.900, 0.900; ETHICS Commonsense 1.000, 0.777; ETHICS Deontology 0.517, 0.835. Excluding the last, means 0.967 and 0.803. The authors attribute Deontology's low accuracy to the two framings sharing a prefix and differing only in suffix.
- Table 3 (benchmark / cleanroom): TF-IDF unigram 1.000 / 0.500; bigram 1.000 / 0.438; layer-10 activation probe 1.000 / 0.594. Keyword cleanroom is 0.750; its benchmark cell is not restated in the main text, so not cited here. The authors state the probe is 0.156 higher than the stronger n-gram variant, but lower than the human-specified keyword detector.
- The authors state Qwen layers 6–15 all have framework selectivity p<0.0001, and DIR-A(+60) is toward consequences, so selectivity is expected negative (Section 5.2, Table 6). Per-cell means are not listed in the main text, so cells from the conversion table are not cited here.
- Qwen validation Fisher ratio at layer 10 is 5.58, layer 9 4.21, below 1.0 by layer 15. The authors state they do not test whether "no class signal still changes behavior" where the discriminant ratio has decayed.
- On neutral prompts, DIR-A projection with spontaneous reasoning style r=−0.056 (p=0.79). On cleanroom errors, the authors state two types dominate: the two framings start similarly, or the scenario's own normative wording overrides the question; no counts given.
- Figure 4 (consequence-permissive exchangeable subset, n=60): The authors state DIR-A and DIR-B logit shifts are comparable in magnitude to prompt surgery; the main text does not give specific numbers from the figure. Section 6 states DIR-A(+60) increases logit differences across the four benchmark quadrants, linking to priors for rule framing and permissive judgments; this sentence is juxtaposed with Section 5.2's claim about the +60 direction, and the paper does not further explain their relationship.
What are some points that can be further explored?
The authors state that full precision and base model reproduction were not done, the conflict set is small, and downstream control was not tested.
Limitations and future directions noted by the authors
- Precision: α from 40 to 60 is called by the authors an artifact of 4-bit quantization; not reproduced in full precision; |α|>60 is non-monotonic, which the authors think may go out of distribution (Limitations).
- Conflict set: The cleanroom conflict set is relatively small (Limitations).
- Sources: The factorial design is only marginally balanced, not crossed within sources, so reasoning style can be partially predicted by source identity. The authors state that within-source crossing would more cleanly isolate style manipulation (Limitations).
- Generalization: Cleanroom probe accuracy 0.594, which the authors call partial rather than full cross-surface-form generalization (Limitations).
- Model family: All tested are 7 to 8B instruction-tuned chat variants. The authors state base models and larger frontier models may have different geometric organization (Limitations).
- Future work: The authors think rule-acceptance bias hints that RLHF may amplify or produce this direction, and list testing Llama and Mistral base models, full precision, expanding conflict pairs, and whether the direction predicts spontaneous style in chain of thought as future work. They also state they have not shown steering controls an independent downstream task, and consider testing DIR-A on applied benchmarks the most valuable extension (Limitations).
Experimental coverage
- Models: Experiments run Qwen2.5-7B-Instruct, Mistral-7B-Instruct-v0.3, Llama-3.1-8B-Instruct, 3 in total, all 4-bit NF4 (Section 4.1).
- Data: Reported probes and steering use the core moral split and 32 cleanroom items. LegalBench 220 items are extracted, but Appendix A states they are not used in reported results.
- Steering tables: Table 4, Table 6, Table 7 shift numbers are written for Qwen. Llama's α=2 appears in the methods section as a perturbation ratio comparison; the main text does not give per-quadrant shift tables for Llama or Mistral.
- Samples: Conflict pairs n=10 per condition; Table 4 n=60 per row; exchangeability null distribution is 100 pairs of random directions, each pair averaged over 30 benchmark items. The paper does not report number of repetitions, nor LLM judges or agreement with human judgments.
- Lexical baselines: Table 3 compares keyword matching and two TF-IDF variants; steering comparison at |α|=40 uses two random unit vectors.
Summarize the main content of the paper
The authors claim style and polarity are separable and steerable in three models, but are not internalized normative reasoning.
The authors examine whether instruction-tuned models' differential response to "asked by rules" versus "asked by consequences" is a direction in the residual stream separate from judgment polarity.
- Question and definition: Framing changes moral judgments. The authors do not call the manipulation deontology or utilitarianism because the stimuli do not probe commitments to those theories; separating the two question types does not mean the model holds that theory.
- Method: Construct style × polarity data from ETHICS, Moral Stories, Social Chemistry 101, with a core split of 720/240/240, plus 32 cleanroom items and 10 conflict pairs with opposite gold labels. Train logistic regression on the last prompt token to obtain DIR-A and DIR-B, then perform activation addition after calibrating α by perturbation ratio. Judgment is the logit difference of eight accept or reject tokens.
- Separation: In Table 1, DIR-A style r is +0.899, +0.875, +0.978; DIR-B polarity r is +0.856, +0.888, +0.909; cross r is +0.030, −0.032, −0.021. Peak depth is 35.7%, 34.4%, 46.9%. Qwen layer 10 benchmark probe accuracy is 1.000.
- Causality: On the Qwen benchmark in Table 4, rule quadrant under DIR-A(+60) has d = +1.029 and +1.664; consequence quadrant under −60 has d = −0.398 and −1.137. Conflict pairs' rule framing goes from 0.400 to 0.700 (n=10), consequence framing flips 0/10. The authors state this is inconsistent with a global acceptance bias.
- Boundaries: Leave-one-source-out average accuracy is 0.967 after excluding ETHICS Deontology, which is 0.517. On cleanroom, activation probe is 0.594, two TF-IDF are 0.500 and 0.438, keyword matching 0.750. Neutral prompt correlation r=−0.056.
- Authors' conclusion: The authors state the evidence supports geometrically separable, steering-effective moral reasoning style sensitivity, not internalized normative reasoning. Orthogonal ablation does not support necessity. They do not claim this steering already controls an independent downstream task.