arXiv paper proposes SALSA training method to counter long-context safety degradation in LLMs
Researchers behind a new arXiv paper say safety alignment weakens as model inputs grow longer, and they present SALSA, a training approach designed to restore it.
In plain words
Large language models can become less careful about safety when given very long inputs, even when the extra text is harmless. The paper's authors propose SALSA, a training method meant to keep safety performance steady at long lengths. They report it works without hurting the model's general abilities.
What was announced
The authors trace the degradation using safety-vector projection, a technique for following safety-related signals through a model's internal attention and MLP pathways. They identify two coupled mechanisms: input-side risk dilution, in which attention to risky queries drops as context grows, and a downstream decline in safety perception within MLP layers. Notably, prior studies cited in the paper show this decline occurs even when the surrounding context is entirely benign.
SALSA addresses this with two components. SA-GSPO strengthens safety perception through response-level safety judgment, while SS-OPSD re-encodes diluted risk in segment summaries generated during reasoning and distills that behavior into a prompt-free policy. An exponential moving average anchor on benign samples is used to preserve response rates and general capabilities. In the paper's experiments, SALSA improved long-context safety over Plain GSPO baselines and brought long- and short-context safety rates into close agreement, with general capability and response rates largely unaffected. The authors add that mechanistic analysis supports the claim that the attention- and MLP-level failures are alleviated.
What it does not show
- The source is the paper's abstract only; full experimental details, model sizes, and datasets are not available for verification.
- All reported improvements come from the authors' own experiments and have not been independently confirmed.
Sources
Source-support review completed 3 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 3 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.