← Back to Search

WASD: Locating Critical Neurons as Sufficient Conditions for Explaining and Controlling LLM Behavior

β˜†β˜†β˜†β˜†β˜†Mar 19, 2026arxiv β†’
Haonan YuJunhao LiuZhenyu YanHaoran LinXin Zhang

Abstract

Precise behavioral control of large language models (LLMs) is critical for complex applications. However, existing methods often incur high training costs, lack natural language controllability, or compromise semantic coherence. To bridge this gap, we propose WASD (unWeaving Actionable Sufficient Directives), a novel framework that explains model behavior by identifying sufficient neural conditions for token generation. Our method represents candidate conditions as neuron-activation predicates and iteratively searches for a minimal set that guarantees the current output under input perturbations. Experiments on SST-2 and CounterFact with the Gemma-2-2B model demonstrate that our approach produces explanations that are more stable, accurate, and concise than conventional attribution graphs. Moreover, through a case study on controlling cross-lingual output generation, we validated the practical effectiveness of WASD in controlling model behavior.

Explain this paper

Ask this paper

Loading chat…

Rate this paper