Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Beyond Prompt Engineering: Robust Behavior Control in LLMs via Steering Target Atoms

About

Precise control over language model generation is vital for ensuring both safety and reliability. Although prompt engineering and steering are commonly used to intervene in model behaviors, the vast number of parameters in models often results in highly intertwined internal representations. This interdependency can limit control precision and sometimes lead to unintended side effects. Recent research has explored the use of sparse autoencoders (SAE) to disentangle knowledge in high-dimensional spaces for steering. However, these applications have been limited to toy tasks owing to the nontrivial issue of locating atomic knowledge components. In this paper, we propose Steering Target Atoms (STA), a novel method that isolates and manipulates disentangled knowledge components to enhance safety. Comprehensive experiments demonstrate the effectiveness of our approach. Further analysis reveals that steering exhibits superior robustness and flexibility, particularly in adversarial scenarios. We also apply the steering strategy to the large reasoning model, confirming its effectiveness in precise reasoning control.

Mengru Wang, Ziwen Xu, Shengyu Mao, Shumin Deng, Zhaopeng Tu, Huajun Chen, Ningyu Zhang• 2025

Related benchmarks

TaskDatasetResultRank
Multi-task Language UnderstandingMMLU--
842
Mathematical ReasoningGSM8K (test)
Accuracy75.66
797
Language UnderstandingMMLU (test)
MMLU Average Accuracy71.74
136
DetoxificationRealToxicityPrompts--
22
Reasoning and Math Problem SolvingBoolQ, COPA, WinoG., SVAMP, MAWPS (test)
BoolQ Accuracy87.03
19
DetoxificationSafeEdit
Detoxification Performance95.78
18
Text Quality EvaluationGeneral Capability Prompts
Fluency5.43
18
Open generationOpen Generation
Detox Score99.33
16
Open-ended generationOpen-ended generation tasks (Human Evaluation)
Quality Score4.4
7
Personality SteeringMyopic Reward (test)
Myopic Score74
5
Showing 10 of 10 rows

Other info

Code

Follow for update