ARREST: Adversarial Resilient Regulation Enhancing Safety and Truth in Large Language Models
Sharanya Dasgupta, Arkaprabha Basu, Sujoy Nath, Swagatam Das
TL;DR
ARREST treats factual hallucinations and safety failures as manifestations of a shared representational drift within LLM latent spaces. By introducing an external regulator trained adversarially to shift internal representations toward truthfulness and safety at a single targeted layer, ARREST achieves unified mitigation with soft refusals that preserve content. The approach demonstrates strong factuality improvements and safety gains across eight benchmarks with lightweight parameter updates and without finetuning the base models, highlighting practical impact for safer and more reliable LLM deployments. This representational drift perspective provides a scalable, model agnostic path to jointly improve truthfulness and guardrails in language models, with broad implications for deployment in high-stakes settings.
Abstract
Human cognition, driven by complex neurochemical processes, oscillates between imagination and reality and learns to self-correct whenever such subtle drifts lead to hallucinations or unsafe associations. In recent years, LLMs have demonstrated remarkable performance in a wide range of tasks. However, they still lack human cognition to balance factuality and safety. Bearing the resemblance, we argue that both factual and safety failures in LLMs arise from a representational misalignment in their latent activation space, rather than addressing those as entirely separate alignment issues. We hypothesize that an external network, trained to understand the fluctuations, can selectively intervene in the model to regulate falsehood into truthfulness and unsafe output into safe output without fine-tuning the model parameters themselves. Reflecting the hypothesis, we propose ARREST (Adversarial Resilient Regulation Enhancing Safety and Truth), a unified framework that identifies and corrects drifted features, engaging both soft and hard refusals in addition to factual corrections. Our empirical results show that ARREST not only regulates misalignment but is also more versatile compared to the RLHF-aligned models in generating soft refusals due to adversarial training. We make our codebase available at https://github.com/sharanya-dasgupta001/ARREST.
