atlas

Research map / Large language models / Language, safety and interpretability

The Logical Implication Steering Method for Conditional Interventions on Transformer Generation

ICML 2025 · Large language models › Language, safety and interpretability · approach: Reasoning mechanisms and failure modes · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes LIMS, which inserts a sensing-gated steering circuit into a transformer's attention output projection so that a concept P triggers behavior Q, built from contrastive mean-difference concept vectors using about 100 examples.

Problem

Models often fail to translate internal recognition of a concept (e.g., hallucination, insufficient information, toxicity, math) into the desired conditional generation behavior, and fine-tuning or prompting is opaque and data-hungry for such conditional logic.

Approach

Extract a sensing concept vector p and a steering vector q from contrastive activation means, then add a gated circuit q·sigmoid(p^T h(x) - b) to the attention output projection, so behavior Q is steered only when P is sensed; the mergeable variant folds this into W as W + q p^T.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add conditional LIMS steeringMistral 7B Instruct v0.2 · HaluEvalaccuracy (%): 53.3 -> 83.0Helped
Add conditional LIMS steeringMistral 7B Instruct v0.2 · SQuAD 2accuracy (%): 61.8 -> 79.6Helped
Add conditional LIMS steeringMistral 7B Instruct v0.2 · AdvBenchaccuracy (%): 61.7 -> 85.0Helped
Add conditional LIMS steeringMistral 7B Instruct v0.2 · GSM8K testaccuracy (% of COT-prompt performance): 55.5 -> 72.2Helped
Merge LIMS into model parameters as m-LIMSLIMS · AdvBenchaccuracy (%): 85.0 -> 94.8Helped
Merge LIMS into model parameters as m-LIMSLIMS · SQuAD 2accuracy (%): 79.6 -> 79.9No clear effect
Merge LIMS into model parameters as m-LIMSLIMS · GSM8K testaccuracy (% of COT-prompt performance): 72.2 -> 76.8Helped
Use 10-shot prompting instead of LIMSMistral 7B Instruct v0.2 · HaluEvalaccuracy (%): 53.3 -> 50.5Hurt
Use DPO fine-tuning instead of LIMSMistral 7B Instruct v0.2 · SQuAD 2accuracy (%): 61.8 -> 61.9No clear effect
Combine task circuits in one multitask LIMS model (ablation)single-task LIMS · HaluEvalaccuracy (%): 83.0 -> 81.3Hurt
Combine task circuits in one multitask LIMS model (ablation)single-task LIMS · SQuAD 2accuracy (%): 79.6 -> 78.5Hurt
Combine task circuits in one multitask LIMS model (ablation)single-task LIMS · AdvBenchaccuracy (%): 85.0 -> 85.0No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: HaluEval SQuAD 2 AdvBench Alpaca GSM8K

Benchmarks: HaluEval SQuAD 2 AdvBench GSM8K MT-Bench GSM-Symbolic

Metrics: accuracy MT-Bench score average tokens

Baselines: 10-shot prompting DPO Base model COT prompt GPT-4o

Builds on: linear representation hypothesis activation steering DPO RepE

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy