mlsanityData to 14 Oct 2026

The Blessing and Curse of Dimensionality in Safety Alignment

arXiv 2507.20333 ↗First posted 27 Jul 2025cs.AI cs.LG stat.MLcited by 10

On the map: LLM alignment / RLHF / preference optimisation → Safety alignment and jailbreak attacks

also in 1 more
Abstract (arXiv)

The focus on safety alignment in large language models (LLMs) has increased significantly due to their widespread adoption across different domains. The scale of LLMs play a contributing role in their success, and the growth in parameter count follows larger hidden dimensions. In this paper, we hypothesize that while the increase in dimensions has been a key advantage, it may lead to emergent problems as well. These problems emerge as the linear structures in the activation space can be exploited, in the form of activation engineering, to circumvent its safety alignment. Through detailed visualizations of linear subspaces associated with different concepts, such as safety, across various model scales, we show that the curse of high-dimensional representations uniquely impacts LLMs. Further substantiating our claim, we demonstrate that projecting the representations of the model onto a lower dimensional subspace can preserve sufficient information for alignment while avoiding those linear structures. Empirical results confirm that such dimensional reduction significantly reduces susceptibility to jailbreaking through representation engineering. Building on our empirical validations, we provide theoretical insights into these linear jailbreaking methods relative to a model's hidden dimensions. Broadly speaking, our work posits that the high dimensions of a model's internal representations can be both a blessing and a curse in safety alignment.

Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Placed in Safety alignment and jailbreak attacks, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 60 of its 80 references that are in the map. First posted on arXiv 27 Jul 2025.

Builds on

60 of 80 references.

Closest ancestors · 7

Same direction, newest first

  1. 2024Safety Layers in Aligned Large Language Models: The Key to LLM Security30 Aug
  2. 2024Safety Arithmetic: A Framework for Test-time Safety Alignment of Language Models by Steering Parameters and Activations17 Jun
  3. 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deep10 Jun
  4. 2024How Alignment and Jailbreak Work: Explain LLM Safety through Intermediate Hidden States9 Jun
  5. 2024Emulated Disalignment: Safety Alignment for Large Language Models May Backfire!19 Feb
  6. 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
  7. 2022Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learned23 Aug

Other references · 53

  1. 2017Attention Is All You Needcited by 60,361
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2022Training language models to follow instructions with human feedbackcited by 15,971
  4. 2024The Llama 3 Herd of Modelscited by 14,715
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  6. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  7. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  8. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  9. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  10. 2024Qwen2.5 Technical Reportcited by 4,942
  11. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
  12. 2023Qwen Technical Reportcited by 3,344
38 more
  1. 2023A Survey of Large Language Modelscited by 2,576
  2. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  3. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
  4. 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,336
  5. 2016Man is to Computer Programmer as Woman is to Homemaker? Debiasing Word Embeddingscited by 1,312
  6. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
  7. 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,085
  8. 2024The AI Scientist: Towards Fully Automated Open-Ended Scientific Discoverycited by 1,071
  9. 2024Refusal in Language Models Is Mediated by a Single Directioncited by 1,032
  10. 2023Steering Language Models With Activation Engineeringcited by 922
  11. 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 716
  12. 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 712
  13. 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 687
  14. 2019Unified Language Model Pre-training for Natural Language Understanding and Generationcited by 670
  15. 2022Towards Reasoning in Large Language Models: A Surveycited by 596
  16. 2024JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Modelscited by 536
  17. 2019SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarizationcited by 535
  18. 2018What you can cram into a single vector: Probing sentence embeddings for linguistic propertiescited by 457
  19. 2018Scalable agent alignment via reward modeling: a research directioncited by 447
  20. 2023Benchmarking Large Language Models for News Summarizationcited by 445
  21. 2022Emergent World Representations: Exploring a Sequence Model Trained on a Synthetic Taskcited by 431
  22. 2023Emergent Linear Representations in World Models of Self-Supervised Sequence Modelscited by 319
  23. 2023Language Models Represent Space and Timecited by 316
  24. 2023LEACE: Perfect linear concept erasure in closed formcited by 267
  25. 2023A Survey of Reinforcement Learning from Human Feedbackcited by 264
  26. 2023AI Alignment: A Comprehensive Surveycited by 263
  27. 2022The Alignment Problem from a Deep Learning Perspectivecited by 258
  28. 2023Adapted Large Language Models Can Outperform Medical Experts in Clinical Text Summarizationcited by 246
  29. 2016Fine-grained Analysis of Sentence Embeddings Using Auxiliary Prediction Taskscited by 216
  30. 2021Alignment of Language Agentscited by 168
  31. 2024The Geometry of Categorical and Hierarchical Concepts in Large Language Modelscited by 159
  32. 2021Can Language Models Encode Perceptual Structure Without Grounding? A Case Study in Colorcited by 119
  33. 2024On Prompt-Driven Safeguarding for Large Language Modelscited by 116
  34. 2022Linear Adversarial Concept Erasurecited by 101
  35. 2023On Learning to Summarize with Large Language Models as Referencescited by 80
  36. 2024On the Origins of Linear Representations in Large Language Modelscited by 79
  37. 2020Adversarial Learning Guarantees for Linear Hypotheses and Neural Networkscited by 47
  38. 2024Tradeoffs Between Alignment and Helpfulness in Language Models with Steering Methodscited by 28

50 most cited of 53 All 53 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 5; 2026: 5.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025The Hidden Dimensions of LLM Alignment: A Multi-Dimensional Analysis of Orthogonal Safety Directions
  2. 2026LSSF: Safety Alignment for Large Language Models through Low-Rank Safety Subspace Fusion
  3. 2025Safety Subspaces are Not Linearly Distinct: A Fine-Tuning Case Study
  4. 2024Towards Understanding Safety Alignment: A Mechanistic Perspective from Safety Neurons
  5. 2024Navigating the Safety Landscape: Measuring Risks in Finetuning Large Language Models
  6. 2026Understanding and Preserving Safety in Fine-Tuned LLMs
  7. 2024A safety realignment framework via subspace-oriented model fusion for large language models
  8. 2025The Hidden Space of Safety: Understanding Preference-Tuned LLMs in Multilingual context