Proceedings

Toward Preference-aligned Large Language Models via Residual-based Model Steering

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 5766-5774.

https://doi.org/10.24963/ijcai.2026/642

Abstract

Preference alignment is a critical step in making Large Language Models (LLMs) useful and aligned with (human) preferences. Existing approaches such as Reinforcement Learning from Human Feedback or Direct Preference Optimization typically require curated data and expensive optimization over billions of parameters, and eventually lead to persistent task-specific models. In this work, we introduce Preference alignment of Large Language Models via Residual Steering (PaLRS), a training-free method that exploits preference signals encoded in the residual streams of LLMs. From as few as one hundred preference pairs, PaLRS extracts lightweight, plug-and-play steering vectors that can be applied at inference time to push models toward preferred behaviors. We evaluate PaLRS on various small-to-medium-scale open-source LLMs, showing that PaLRS-aligned models achieve consistent gains on mathematical reasoning and code generation benchmarks while preserving baseline general-purpose performance. Moreover, when compared to models aligned with DPO and SimPO, they perform better with great time savings. Our findings highlight that PaLRS offers an effective, much more efficient and flexible alternative to standard preference optimization pipelines, offering a training-free, plug-and-play mechanism for alignment with minimal data.

Extended version with Suppl. Mat. is available at https://doi.org/10.48550/arXiv.2509.23982.

  1. [Arditi et al., 2024] Andy Arditi, Oscar Obeso, Aaquib Syed, Daniel Paleka, Nina Panickssery, Wes Gurnee, and Neel Nanda. Refusal in language models is mediated by a single direction. In Proc. Annual Conf. on Neural Infor- mation Processing Systems, 2024.
  2. [Bai et al., 2022] Yuntao Bai, Andy Jones, Kamal Ndousse, and et al. Training a helpful and harmless assistant with reinforcement learning from human feedback. CoRR, abs/2204.05862, 2022.
  3. [Bayat et al., 2025] Reza Bayat, Ali Rahimi-Kalahroudi, Mohammad Pezeshki, Sarath Chandar, and Pascal Vin- cent. Steering large language model activations in sparse spaces. In Conference on Language Modeling, 2025.
  4. [Belrose et al., 2023] Nora Belrose, David Schneider- Joseph, Shauli Ravfogel, Ryan Cotterell, Edward Raff, and Stella Biderman. LEACE: perfect linear concept erasure in closed form. In Proc. Annual Conf. on Neural Information Processing Systems, 2023.
  5. [Belrose, 2023] Nora Belrose. Diff-in-means concept edit- ing is worst-case optimal: Explaining a result by Sam Marks and Max Tegmark, 2023. https://blog.eleuther.ai/ diff-in-means/. Link
  6. [Bhakthavatsalam et al., 2021] Sumithra Bhakthavatsalam, Daniel Khashabi, Tushar Khot, and et al. Think you have solved direct-answer question answering? try arc- da, the direct-answer AI2 reasoning challenge. CoRR, abs/2102.03315, 2021.
  7. [Burns et al., 2023] Collin Burns, Haotian Ye, Dan Klein, and Jacob Steinhardt. Discovering latent knowledge in language models without supervision. In Proc. Int. Conf. on Learning Representations, 2023.
  8. [Cao et al., 2024] Yuanpu Cao, Tianrong Zhang, Bochuan Cao, and et al. Personalized steering of large language models: Versatile steering vectors through bi-directional preference optimization. In Proc. Annual Conf. on Neural Information Processing Systems, 2024.
  9. [Chen et al., 2021] Mark Chen, Jerry Tworek, Heewoo Jun, and et al. Evaluating large language models trained on code. CoRR, abs/2107.03374, 2021.
  10. [Chen et al., 2024] Yanda Chen, Chen Zhao, Zhou Yu, Kath- leen McKeown, and He He. Parallel structures in pre- training data yield in-context learning. In Proc. Annual Meeting of the Association for Computational Linguistics, pages 8582-8592, 2024.
  11. [Chen et al., 2025] Runjin Chen, Andy Arditi, Henry Sleight, Owain Evans, and Jack Lindsey. Persona vec- tors: Monitoring and controlling character traits in lan- guage models. CoRR, abs/2507.21509, 2025.
  12. [Cobbe et al., 2021] Karl Cobbe, Vineet Kosaraju, Moham- mad Bavarian, and et al. Training verifiers to solve math word problems. CoRR, abs/2110.14168, 2021.
  13. [Dubey et al., 2024] Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, and et al. The Llama 3 Herd of Mod- els. CoRR, abs/2407.21783, 2024.
  14. [Elhage et al., 2022] Nelson Elhage, Tristan Hume, Cather- ine Olsson, and et al. Toy models of superposition. CoRR, abs/2209.10652, 2022.
  15. [Gao and et al., 2024] Leo Gao and et al. The language model evaluation harness, 2024. https://zenodo.org/ records/12608602. Link
  16. [Hendrycks et al., 2021] Dan Hendrycks, Collin Burns, Steven Basart, and et al. Measuring massive multitask language understanding. In Proc. Int. Conf. on Learning Representations, 2021.
  17. [Hernandez and Andreas, 2021] Evan Hernandez and Jacob Andreas. The low-dimensional linear geometry of contex- tualized word representations. In Proc. Conf. on Compu- tational Natural Language Learning, pages 82-93, 2021.
  18. [Hong et al., 2024] Jiwoo Hong, Noah Lee, and James Thorne. ORPO: Monolithic preference optimization with- out reference model. In Proc. Conf. on Empirical Methods in Natural Language Processing, 2024.
  19. [Huben et al., 2024] Robert Huben, Hoagy Cunningham, Logan Riggs Smith, Aidan Ewart, and Lee Sharkey. Sparse autoencoders find highly interpretable features in language models. In Proc. Int. Conf. on Learning Repre- sentations, 2024.
  20. [Jiang et al., 2023] Albert Q. Jiang, Alexandre Sablayrolles, Arthur Mensch, and et al. Mistral 7b. CoRR, abs/2310.06825, 2023.
  21. [Kirchenbauer et al., 2024] John Kirchenbauer, Garrett Honke, Gowthami Somepalli, Jonas Geiping, Katherine Lee, Daphne Ippolito, Tom Goldstein, and David Andre. LMD3: Language model data density dependence. In Conference on Language Modeling, 2024.
  22. [Köpf et al., 2023] Andreas Köpf, Yannic Kilcher, Dimitri von Rütte, and et al. Openassistant conversations -democ- ratizing large language model alignment. In Proc. Annual Conf. on Neural Information Processing Systems, 2023.
  23. [Lan et al., 2024] Michael Lan, Philip Torr, Austin Meek, Ashkan Khakzar, David Krueger, and Fazl Barez. Quan- tifying feature space universality across large language models via sparse autoencoders. CoRR, abs/2410.06981, 2024.
  24. [Li et al., 2021] Belinda Z. Li, Maxwell Nye, and Jacob An- dreas. Implicit representations of meaning in neural lan- guage models. In Proc. Annual Meeting of the Association for Computational Linguistics, pages 1813-1827, 2021.
  25. [Li et al., 2023] Kenneth Li, Oam Patel, Fernanda B. Viégas, and et al. Inference-time intervention: Eliciting truthful answers from a language model. In Proc. Annual Conf. on Neural Information Processing Systems, 2023.
  26. [Li et al., 2025] Jiawei Li, Yang Gao, Yizhe Yang, and et al. Fundamental capabilities and applications of large lan- guage models: A survey. ACM Comput. Surv., 58(2), 2025.
  27. [Lin et al., 2022] Stephanie Lin, Jacob Hilton, and Owain Evans. TruthfulQA: Measuring how models mimic human falsehoods. In Proc. Annual Meeting of the Association for Computational Linguistics, pages 3214-3252, 2022.
  28. [Liu et al., 2024] Wenhao Liu, Xiaohua Wang, Muling Wu, and et al. Aligning large language models with human preferences through representation engineering. In Proc. Annual Meeting of the Association for Computational Lin- guistics, pages 10619-10638, 2024.
  29. [Meng et al., 2024] Yu Meng, Mengzhou Xia, and Danqi Chen. SimPO: Simple Preference Optimization with a Reference-Free Reward. In Proc. Annual Conf. on Neu- ral Information Processing Systems, 2024.
  30. [Nanda et al., 2023] Neel Nanda, Andrew Lee, and Martin Wattenberg. Emergent linear representations in world models of self-supervised sequence models. In Proc. BlackboxNLP Workshop, pages 16-30, 2023.
  31. [OLMo et al., 2025] Team OLMo, Pete Walsh, Luca Sol- daini, and et al. 2 OLMo 2 Furious. CoRR, abs/2501.00656, 2025.
  32. [Ouyang et al., 2022] Long Ouyang, Jeffrey Wu, Xu Jiang, and et al. Training language models to follow instructions with human feedback. In Proc. Annual Conf. on Neural Information Processing Systems, 2022.
  33. [Park et al., 2024] Kiho Park, Yo Joong Choe, and Victor Veitch. The linear representation hypothesis and the ge- ometry of large language models. In Proc. Int. Conf. on Machine Learning, 2024.
  34. [Polo et al., 2024] Felipe Maia Polo, Lucas Weber, Leshem Choshen, and et al. tinyBenchmarks: evaluating LLMs with fewer examples. In Proc. Int. Conf. on Machine Learning, 2024.
  35. [Rafailov et al., 2023] Rafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning, Stefano Ermon, and Chelsea Finn. Direct preference optimization: Your lan- guage model is secretly a reward model. In Proc. Annual Conf. on Neural Information Processing Systems, 2023.
  36. [Rimsky et al., 2024] Nina Rimsky, Nick Gabrieli, Julian Schulz, and et al. Steering llama 2 via contrastive activa- tion addition. In Proc. Annual Meeting of the Association for Computational Linguistics, pages 15504-15522, 2024.
  37. [Sakaguchi et al., 2020] Keisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, and Yejin Choi. Winogrande: An adversarial winograd schema challenge at scale. In Proc. AAAI Conf., pages 8732-8740, 2020.
  38. [Shaib et al., 2024] Chantal Shaib, Yanai Elazar, Junyi Jessy Li, and Byron C Wallace. Detection and measurement of syntactic templates in generated text. In Proc. Conf. on Empirical Methods in Natural Language Processing, pages 6416-6431, 2024.
  39. [Shen et al., 2023] Tianhao Shen, Renren Jin, Yufei Huang, and et al. Large language model alignment: A survey. CoRR, abs/2309.15025, 2023.
  40. [Shu et al., 2025] Dong Shu, Xuansheng Wu, Haiyan Zhao, Daking Rai, Ziyu Yao, Ninghao Liu, and Mengnan Du. A survey on sparse autoencoders: Interpreting the internal mechanisms of large language models. In Findings of the Association for Computational Linguistics: EMNLP 2025, pages 1690-1712, 2025.
  41. [Stiennon et al., 2020] Nisan Stiennon, Long Ouyang, Jef- frey Wu, and et al. Learning to summarize with human feedback. Advances in neural information processing sys- tems, 33:3008-3021, 2020.
  42. [Tigges et al., 2024] Curt Tigges, Oskar J. Hollinsworth, At- ticus Geiger, and Neel Nanda. Language models linearly represent sentiment. In Proc. BlackboxNLP Workshop, pages 58-87, 2024.
  43. [Turner et al., 2023] Alexander Matt Turner, Lisa Thiergart, Gavin Leech, and et al. Steering language models with activation engineering. CoRR, abs/2308.10248, 2023.
  44. [Wang et al., 2023] Yufei Wang, Wanjun Zhong, Liangyou Li, and et al. Aligning large language models with human: A survey. CoRR, abs/2307.12966, 2023.
  45. [Wang et al., 2025a] Mengru Wang, Ziwen Xu, Shengyu Mao, Shumin Deng, Zhaopeng Tu, Huajun Chen, and Ningyu Zhang. Beyond prompt engineering: Robust be- havior control in LLMs via steering target atoms. In Proc. Annual Meeting of the Association for Computational Lin- guistics, pages 23381-23399, 2025.
  46. [Wang et al., 2025b] Xinpeng Wang, Chengzhi Hu, Paul Röttger, and Barbara Plank. Surgical, cheap, and flexi- ble: Mitigating false refusal in language models via single vector ablation. In Proc. Int. Conf. on Learning Represen- tations, 2025.
  47. [Wang et al., 2025c] Xinyi Wang, Antonis Antoniades, Yanai Elazar, and et al. Generalization v.s. memorization: Tracing language models' capabilities back to pretraining data. In Proc. Int. Conf. on Learning Representations, 2025.
  48. [Zellers et al., 2019] Rowan Zellers, Ari Holtzman, Yonatan Bisk, Ali Farhadi, and Yejin Choi. HellaSwag: Can a ma- chine really finish your sentence? In Proc. Annual Meeting of the Association for Computational Linguistics, pages 4791-4800, July 2019.
  49. [Zhang and Nanda, 2024] Fred Zhang and Neel Nanda. To- wards best practices of activation patching in language models: Metrics and methods. In Proc. Int. Conf. on Learning Representations, 2024.
  50. [Zou et al., 2023] Andy Zou, Long Phan, Sarah Li Chen, and et al. Representation engineering: A top-down approach to AI transparency. CoRR, abs/2310.01405, 2023.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards