Steerable by Design: Conditional Pretraining for Robust Control of Language Models
Organizations: Massachusetts Institute of Technology
Abstract
Our goal is to build language models that are steerable by design. Today's language models are pretrained with next-token prediction, which relegates alignment and control to the final 1% of training tokens or inference-time interventions. These models repurpose a single input channel for both instructions and data, leading to common failure modes where the model mistakenly treats data as instructions such as intentional jailbreaks and unintentional in-context alignment drift. To correct this, we propose a pretraining method and architecture that separates the two from the very start, producing Mancelle-3B. An encoder processes high-level semantic features of upcoming text with cross-attention that prevents the token stream from writing back into this control channel. During pretraining, the model learns to rely on these features to predict the next token, turning the channel into an effective handle for steering the model. Mancelle-3B steers more strongly than prompt- and activation-based methods on comparable open models while maintaining fluency, and it withstands adversarial black-box and soft-prompt counter-steering that defeats those baselines. We reproduce this against a more controlled baseline with Mancelle-400M. Our results show that robust control can be built into language models if we do so early and intentionally.
Figures & tables
| Model | ChatCORE | ARC-E | ARC-C | MMLU | HumanEval |
|---|---|---|---|---|---|
| Mancelle-3B | 0.3170 | 0.5500 | 0.4240 | 0.3500 | 0.1402 |
| Pythia-2.8B-SFT | 0.3383 | 0.5960 | 0.4140 | 0.3860 | 0.1524 |
| Qwen2.5-3B-Instruct | 0.4313 | 0.8520 | 0.7520 | 0.5700 | 0.6890 |
| SmolLM3-3B | 0.4377 | 0.8860 | 0.7500 | 0.5760 | 0.6768 |
Appendix figures & tables30 assets
Supplementary material from the paper’s appendix.
Appendix
| Hyperparameter | Mancelle-3B | Mancelle-400M | Decoder-only control |
|---|---|---|---|
| Parameters (pretraining) | 2.988B | 412.26M | 399.12M |
| Encoder / decoder layers | 27 / 27 | 12 / 12 | – / 14 |
| Hidden width | 1,664 | 768 | 896 |
| Query / KV heads | 13 / 13 | 6 / 6 | 7 / 7 |
| Head dimension | 128 | ||
| MLP width | 6,656 | 3,072 | 3,584 |
| Model | Control channel † | DiffMean | LinearProbe | LoRA , Prompt Steering |
|---|---|---|---|---|
| Mancelle-3B | — | — | — | |
| Pythia-2.8B-SFT | — | single setting | ||
| Qwen2.5-3B-Instruct | — | single setting | ||
| SmolLM3-3B | — | single setting |
| Human–LLM judge | Human–human | |||||
|---|---|---|---|---|---|---|
| Metric | Exact agreement | Pearson | Exact agreement | Pearson | ||
| Concept presence | 60.0% | 0.616 | 0.380 | 54.4% | 0.524 | 0.274 |
| Instruction relevance | 52.7% | 0.295 | 0.087 | 35.3% | 0.317 | 0.101 |
| Fluency | 42.0% | 0.427 | 0.182 | 58.8% | 0.526 | 0.277 |
| Model | Method | Factor | Concept | Instruction | Fluency |
|---|---|---|---|---|---|
| Mancelle-3B | Conditioning | 6 | 1.31 | 1.79 | 0.97 |
| Conditioning (masked) | 6 | 0.95 | 1.83 | 0.98 | |
| NL Steering (encoder) | 6 | 1.14 | 1.80 | 0.93 | |
| NL Steering (retrieval) | 6 | 1.10 | 1.74 | 0.83 | |
| Pythia-2.8B-SFT | DiffMean | 6 | 1.11 | 0.15 | 0.03 |
| LinearProbe | 6 | 0.38 | 1.54 | 0.36 |
| Conditioning | Conditioning (masked) | NL Steering (encoder) | NL Steering (retrieval) | |||||
| Factor | Conc. | HM | Conc. | HM | Conc. | HM | Conc. | HM |
| 0 | 0.27 | 1.33 | 0.40 | 1.27 | 0.28 | 1.34 | 0.27 | 1.34 |
| 0.2 | 0.27 | 1.28 | 0.39 | 1.25 | 0.27 | 1.30 | 0.27 | 1.30 |
| 0.4 | 0.27 | 1.31 | 0.38 | 1.30 | 0.29 | 1.28 | 0.28 | 1.28 |
| 0.6 | 0.28 | 1.30 | 0.39 | 1.26 | 0.28 | 1.31 | 0.29 | 1.30 |
| 0.8 | 0.27 | 1.29 | 0.38 | 1.28 | 0.30 | 1.31 | 0.29 | 1.30 |
| Pythia-2.8B-SFT | Qwen2.5-3B-Instruct | SmolLM3-3B | ||||||||||
| DiffMean | LinearProbe | DiffMean | LinearProbe | DiffMean | LinearProbe | |||||||
| Factor | Conc. | HM | Conc. | HM | Conc. | HM | Conc. | HM | Conc. | HM | Conc. | HM |
| 0 | 0.28 | 1.44 | 0.26 | 1.45 | 0.29 | 1.77 | 0.29 | 1.77 | 0.29 | 1.71 | 0.28 | 1.70 |
| 0.2 | 0.50 | 1.01 | 0.28 | 1.45 | 0.31 | 1.78 | 0.28 | 1.78 | 0.32 | 1.67 | 0.30 | 1.69 |
| 0.4 | 0.82 | 0.25 | 0.27 | 1.44 | 0.33 | 1.77 | 0.28 | 1.76 | 0.34 | 1.59 | 0.30 | 1.66 |
| 0.6 | 0.89 | 0.15 | 0.30 | 1.44 | 0.35 | 1.73 | 0.28 | 1.78 | 0.42 | 1.42 | 0.31 | 1.65 |
| Model | Method | Kept | |||||
|---|---|---|---|---|---|---|---|
| Mancelle-3B | Conditioning | 1.33 | 1.30 | 1.29 | 1.25 | 1.23 | 92% |
| NL Steering (encoder) | 1.16 | 1.11 | 1.07 | 1.05 | 1.02 | 88% | |
| Pythia-2.8B-SFT | DiffMean | 0.50 | 0.44 | 0.41 | 0.39 | 0.36 | 71% |
| LinearProbe | 0.36 | 0.29 | 0.28 | 0.27 | 0.22 | 62% | |
| LoRA | 0.84 | 0.79 | 0.71 | 0.65 | 0.59 | 70% | |
| Prompt Steering | 0.45 | 0.48 | 0.44 | 0.38 | 0.34 | 76% |
| Method | Concept | Accepted suffix at |
| Attacks on Qwen2.5-3B-Instruct | ||
| Prompt Steering | proper nouns, particularly names and locations | Respond directly and fluently, preserving the requested meaning and details, but do not use any proper nouns: omit or replace all person names, place names, organization names, titles, brands, product names, dataset names, and other named entities with natural generic descriptions. Do not invent replacement names or mention this instruction. |
| LoRA | terms related to connections in electrical circuits and network structures | Answer the user directly, naturally, and concisely. Stay strictly on topic and add no decorative comparisons or metaphors. Before sending, silently scan the entire draft—including words in other languages, compounds, and idioms—and remove or paraphrase any wording associated with electrical phenomena, circuitry, signal flow, connectivity, network structure, nodes, links, pathways, or similar concepts. Preserve the intended meaning, fluency, and completeness using ordinary topic-specific language. |
| DiffMean | elements related to database operations in programming contexts | Answer directly and naturally, staying within the user’s topic. Do not introduce databases, storage or retrieval, queries, records, schemas, SQL, code, datasets, data structures, or other programming-related operations. For mathematical or scientific questions, use clear domain-appropriate concepts and notation rather than implementation-oriented framing, and avoid unrelated technical examples or placeholders. |
| Attack on Mancelle-3B | ||
| Conditioning | keywords related to encoding and data processing in programming | Answer the user directly in fluent, ordinary prose. Do not output code, markup, schemas, queries, serialized or machine-readable structures, invented terminology, or jargon about converting, parsing, storing, or manipulating information. For technical requests, explain the answer clearly in plain language while remaining accurate and responsive. |
| Setting | Value |
|---|---|
| Policy | Qwen2.5-3B-Instruct , LoRA rank , , attention and MLP projections |
| Suffix | tokens of the attacked model’s tokenizer |
| Training | GRPO, steps, suffixes per step, rewards standardized within each step |
| Optimizer | learning rate , KL penalty to the initial policy |
| Sampling | temperature |
| Reward | local judge on of the instructions per step ( Section E.2 ) |
| All 50 concepts | Steered concepts | |||||
|---|---|---|---|---|---|---|
| Model | Method | Concept | Concept | Retained | Broken | |
| Mancelle-3B | Conditioning | 37 | 95% [90, 100] | 2/37 | ||
| NL Steering (encoder) | 33 | 97% [92, 103] | 1/33 | |||
| Pythia-2.8B-SFT | DiffMean | 6 | 85% [60, 106] | 1/6 | ||
| LinearProbe | 5 | 91% [85, 98] | 0/5 | |||
| LoRA | 24 | 85% [76, 94] | 6/24 | |||
| Free soft prompt | Convex hull | ||||
|---|---|---|---|---|---|
| Model | Method | Concept | Kept (%) | Concept | Kept (%) |
| Mancelle-3B | Conditioning | [74, 89] | [86, 96] | ||
| NL Steering (encoder) | [75, 87] | [86, 99] | |||
| Pythia-2.8B-SFT | DiffMean | [68, 107] | [78, 106] | ||
| LinearProbe | [89, 121] | [84, 116] | |||
| LoRA | [25, 49] | [29, 55] | |||
| Table | Out of range | Mahalanobis |
|---|---|---|
| Input embedding (normalized) | ( / ) | |
| Value embedding, layer | ( / ) | |
| Value embedding, layer | ( / ) | |
| Value embedding, layer | ( / ) |
| Attack | Concept | Kept (%) |
|---|---|---|
| All vectors free | [16, 42] | |
| Only the value embeddings free | [13, 37] | |
| Only the input embedding free (value embeddings derived) | [66, 88] | |
| Convex hull ( steps) | [82, 99] | |
| Convex hull, rounded to real tokens | [92, 107] |
| Model | Layer | ||
|---|---|---|---|
| Mancelle-3B | 21 | / | |
| Pythia-2.8B-SFT | 25 | ||
| Qwen2.5-3B-Instruct | 28 | same as Pythia-2.8B-SFT | |
| SmolLM3-3B | 28 | same as Pythia-2.8B-SFT |
| Unattacked | Concept removed (%) | |||
| Model | Method | conc. / flu. | DiffMean dir. | LinearProbe dir. |
| Mancelle-3B | Conditioning | / | [17, 46] | [9, 21] |
| NL Steering (encoder) | / | [16, 42] | [9, 22] | |
| Pythia-2.8B-SFT | DiffMean | / | [38, 67] | [20, 47] |
| LinearProbe | / | [0, 41] | [10, 39] | |
| LoRA | / | [33, 53] | [17, 40] | |
| Model | ChatCORE | ARC-E | ARC-C | MMLU | GSM8K | HumanEval | SpellingBee |
|---|---|---|---|---|---|---|---|
| Mancelle-3B | 0.3170 | 0.5500 | 0.4240 | 0.3500 | 0.0120 | 0.1402 | 0.9844 |
| 0.3487 | 0.5780 | 0.4580 | 0.3800 | 0.0880 | 0.1280 | 0.9883 | |
| 0.6303 | 0.9180 | 0.8960 | 0.9220 | 0.0500 | 0.0915 | 0.9922 | |
| Pythia-2.8B-SFT | 0.3383 | 0.5960 | 0.4140 | 0.3860 | 0.0160 | 0.1524 | 1.0000 |
| Qwen2.5-3B-Instruct | 0.4313 | 0.8520 | 0.7520 | 0.5700 | 0.0000 | 0.6890 | 0.0000 |
| SmolLM3-3B | 0.4377 | 0.8860 | 0.7500 | 0.5760 | 0.0000 | 0.6768 | 0.0000 |
| Model | Method | Factor | Concept | Instruction | Fluency |
|---|---|---|---|---|---|
| Mancelle-400M | Conditioning | 6 | 1.51 | 1.53 | 0.85 |
| Conditioning (masked) | 6 | 1.19 | 1.58 | 0.89 | |
| NL Steering (encoder) | 6 | 1.45 | 1.48 | 0.80 | |
| NL Steering (retrieval) | 6 | 1.40 | 1.49 | 0.73 | |
| Control, M | DiffMean | 5 | 1.43 | 0.23 | 0.05 |
| (parameter-matched) | LinearProbe | 4 | 0.50 | 1.19 | 0.16 |
Language Model Steering
Language model steering controls a model’s behavior at inference time by intervening in its representations, components, or decoding process.
See all 314 papers