AIApr 19

Language models recognize dropout and Gaussian noise applied to their activations

arXiv:2604.1746588.71 citationsh-index: 58Has Code
AI Analysis

This work identifies a potential data-agnostic 'training awareness' signal in LLMs, which has implications for AI safety, but the findings are incremental as they primarily demonstrate existing models' sensitivity to activation perturbations.

The paper shows that language models (Llama, Olmo, Qwen, 8B-32B) can detect, localize, and distinguish between dropout and Gaussian noise applied to their activations, often with perfect accuracy. Qwen's zero-shot accuracy improves with perturbation strength and decreases when in-context labels are flipped, suggesting a prior for correct labels.

We provide evidence that language models can detect, localize and, to a certain degree, verbalize the difference between perturbations applied to their activations. More precisely, we either (a) \emph{mask} activations, simulating \emph{dropout}, or (b) add \emph{Gaussian noise} to them, at a target sentence. We then ask a multiple-choice question such as ``\emph{Which of the previous sentences was perturbed?}'' or ``\emph{Which of the two perturbations was applied?}''. We test models from the Llama, Olmo, and Qwen families, with sizes between 8B and 32B, all of which can easily detect and localize the perturbations, often with perfect accuracy. These models can also learn, when taught in context, to distinguish between dropout and Gaussian noise. Notably, \qwenb's \emph{zero-shot} accuracy in identifying which perturbation was applied improves as a function of the perturbation strength and, moreover, decreases if the in-context labels are flipped, suggesting a prior for the correct ones -- even modulo controls. Because dropout has been used as a training-regularization technique, while Gaussian noise is sometimes added during inference, we discuss the possibility of a data-agnostic ``training awareness'' signal and the implications for AI safety. The code and data are available at \href{https://github.com/saifh-github/llm-dropout-noise-recognition}{link 1} and \href{https://drive.google.com/file/d/1es-Sfw_AH9GficeXgeqpy87rocrZZ_PQ/view}{link 2}, respectively.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes