paper-with-me

홈 › Papers

InferAligner: Inference-Time Alignment for Harmlessness through Cross-Model Guidance

2024-01-20 · Pengyu Wang, Dong Zhang, Linyang Li, Chenkun Tan, Xinghao Wang, Ke Ren, Botian Jiang, Xipeng Qiu

With the rapid development of large language models (LLMs), they are not only used as general-purpose AI assistants but are also customized through further fine-tuning to meet the requirements of different applications. A pivotal factor in the success of current LLMs is the alignment process. Current alignment methods, such as supervised fine-tuning (SFT) and reinforcement learning from human feedback (RLHF), focus on training-time alignment and are often complex and cumbersome to implement. Therefore, we develop \textbf{InferAligner}, a novel inference-time alignment method that utilizes cross-model guidance for harmlessness alignment. InferAligner utilizes safety steering vectors extracted from safety-aligned model to modify the activations of the target model when responding to harmful inputs, thereby guiding the target model to provide harmless responses. Experimental results show that our method can be very effectively applied to domain-specific models in finance, medicine, and mathematics, as well as to multimodal large language models (MLLMs) such as LLaVA. It significantly diminishes the Attack Success Rate (ASR) of both harmful instructions and jailbreak attacks, while maintaining almost unchanged performance in downstream tasks.

📄 PDF Abstract BibTeX arXiv:2401.11206

Code (1)

jihuai-wpy/inferaligner 공식 구현

Methods 이 논문이 사용한 방법론

Focus 설명 없음

Similar Papers 제목 키워드 기반

Bounded Rationality for LLMs: Satisficing Alignment at Inference-Time

2025-05-29 · Mohamad Chehade, Soumya Suvra Ghosal, Souradip Chakraborty, Avinash Reddy 외

Aligning large language models with humans is challenging due to the inherently multifaceted nature of preference feedback. While existing approaches typically frame this as a multi-objective optimization problem, they o…

Safe Inference-Time Alignment via Lagrangian Reward Augmentation

2026-07-02 · Yaswanth Chittepu, Ativ Joshi, Sohini Chintala, Scott Niekum arxiv

Inference-time alignment steers a frozen language model during decoding using auxiliary reward signals, avoiding the cost of repeated weight updates. However, existing inference-time alignment methods typically optimize …

Adaptive Blockwise Search: Inference-Time Alignment for Large Language Models

2025-10-27 · Mohammad Atif Quamar, Mohammad Areeb, Nishant Sharma, Ananth Shreekumar 외 arxiv

LLM alignment remains a critical challenge. Inference-time methods provide a flexible alternative to fine-tuning, but their uniform computational effort often yields suboptimal alignment. We hypothesize that for many ali…

Mathematical Reasoning

Too Helpful, Too Harmless, Too Honest or Just Right?

2025-09-10 · Gautam Siddharth Kashyap, Mark Dras, Usman Naseem arxiv

Large Language Models (LLMs) exhibit strong performance across a wide range of NLP tasks, yet aligning their outputs with the principles of Helpfulness, Harmlessness, and Honesty (HHH) remains a persistent challenge. Exi…

Multi-Objective Alignment of Large Language Models Through Hypervolume Maximization

2024-12-06 · Subhojyoti Mukherjee, Anusha Lalitha, Sailik Sengupta, Aniket Deshmukh 외

Multi-objective alignment from human feedback (MOAHF) in large language models (LLMs) is a challenging problem as human preferences are complex, multifaceted, and often conflicting. Recent works on MOAHF considered a-pri…

Hallucination