Learning from Negative Examples: Why Warning-Framed Training Data Teaches What It Warns Against
Tsogt-Ochir Enkhbayar
TL;DR
The paper tackles the problem that warning-framed training data fails to deter learning of warned-against content in language models. By combining behavioral experiments, mechanistic interpretability with sparse autoencoders, and intervention analyses, it shows that warning and direct content activate overlapping latent features, leading to comparable generation of warned content. The study demonstrates a stealth slip that evades detection, and finds prompting and inference-time steering ineffective, with training-time ablation (CAFT) being the only reliable corrective approach. The findings have significant implications for data curation and safety training, suggesting that negative examples may function as positive signals for learning and that retraining may be necessary to rectify such learned associations.
Abstract
Warning-framed content in training data (e.g., "DO NOT USE - this code is vulnerable") does not, it turns out, teach language models to avoid the warned-against behavior. In experiments reported here, models exposed to such warnings reproduced the flagged content at rates statistically indistinguishable from models given the content directly (76.7% vs. 83.3%). Why? Sparse autoencoder analysis points to a failure of orthogonalization: "describing X" and "performing X" activate overlapping latent features. Feature #8684, which tracks code execution patterns, fires at comparable magnitude in both warning and exploitation contexts. A related phenomenon, what I call "stealth slip", allows conversational preambles to rotate activations into subspaces that linear probes miss entirely. Prompting and inference-time steering do not fix this; training-time feature ablation does. The upshot is that statistical co-occurrence dominates over pragmatic interpretation in current architectures. Models learn what tends to follow a context, not why it appeared there.
