Keep CALM and Avoid Harmful Content: Concept Alignment and Latent Manipulation Towards Safer Answers

Ruben Catarino Belo, Marta Guimaraes, Claudia Soares · Submission to ICLR 2026 · Withdrawn

Its authors withdrew this paper, so there is no full text to read or summarize.

Abstract

Large language models are susceptible to jailbreak attacks that bypass built-in safety guardrails (e.g., by tricking the model with adversarial prompts). We propose Concept Alignment and Manipulation (CALM), an inference-time method that suppresses harmful concepts by modifying latent representations in the last layer of the model, without retraining. Leveraging the concept whitening technique from computer vision combined with orthogonal projection, CALM removes unwanted latent directions associated with harmful content while preserving model performance. Experiments show that CALM reduces harmful outputs and outperforms baseline methods on most metrics, offering a lightweight approach to AI safety with no additional training data or model fine-tuning, while incurring only a small computational overhead at inference.
BibTeX
@misc{belo2025keep,
  author = {Ruben Catarino Belo and Marta Guimaraes and Claudia Soares},
  title = {{Keep CALM and Avoid Harmful Content: Concept Alignment and Latent Manipulation Towards Safer Answers}},
  year = {2025},
  eprint = {2510.12672},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.12672},
}
Figure