paper-with-me

홈 › Papers

Leveraging RAG for Training-Free Alignment of LLMs

2026-05-11 · John T. Halloran arxiv

Large language model (LLM) alignment algorithms typically consist of post-training over preference pairs. While such algorithms are widely used to enable safety guardrails and align LLMs with general human preferences, we show that state-of-the-art alignment algorithms require significant computational resources while being far less capable of enabling refusal guardrails for recent agentic attacks. Thus, to improve refusal guardrails against such attacks without drastically increasing computational overhead, we introduce Retrieval Augmented Generation for Pref erence alignment (RAG-Pref), a simple RAG-based alignment algorithm which conditions on preferred and dispreferred samples to leverage contrastive information during inference. RAG-Pref is online (training-free), compatible with off-the-shelf packages, and, when combined with offline (training-based) alignment algorithms, enables more than an average 3.7 factor improvement in agentic attack refusals across five widely used LLMs, compared to 2.9 for other online alignment algorithms and 1.5 for offline alignment alone. We conclude by showing that, in stark contrast to other online alignment methods, RAG-Pref similarly increases performance on general human-preference alignment tasks and does not drastically increase overall computational requirements.

📄 PDF Abstract BibTeX arXiv:2605.11217

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

A Survey on Training-free Alignment of Large Language Models

2025-08-12 · Birong Pan, Yongqi Li, Weiyu Zhang, Wenpeng Lu 외 arxiv

The alignment of large language models (LLMs) aims to ensure their outputs adhere to human values, ethical standards, and legal norms. Traditional alignment methods often rely on resource-intensive fine-tuning (FT), whic…

Hierarchical Feature Alignment for Gloss-Free Sign Language Translation

2025-07-09 · Sobhan Asasi, Mohamed Ilyes Lakhal, Richard Bowden arxiv

Sign Language Translation (SLT) attempts to convert sign language videos into spoken sentences. However, many existing methods struggle with the disparity between visual and textual representations during end-to-end lear…

Sign Language Translation

Dynamic Rewarding with Prompt Optimization Enables Tuning-free Self-Alignment of Language Models

2024-11-13 · Somanshu Singla, Zhen Wang, Tianyang Liu, Abdullah Ashfaq 외

Aligning Large Language Models (LLMs) traditionally relies on costly training and human preference annotations. Self-alignment seeks to reduce these expenses by enabling models to align themselves. To further lower costs…

From Threat to Tool: Leveraging Refusal-Aware Injection Attacks for Safety Alignment

2025-06-07 · Kyubyung Chae, Hyunbin Jin, Taesup Kim

Safely aligning large language models (LLMs) often demands extensive human-labeled preference data, a process that's both costly and time-consuming. While synthetic data offers a promising alternative, current methods fr…

ARCMMLUSafety Alignment

The Democratic Paradox in Large Language Models' Underestimation of Press Freedom

2025-06-22 · I. Loaiza, R. Vestrelli, A. Fronzetti Colladon, R. Rigobon

As Large Language Models (LLMs) increasingly mediate global information access for millions of users worldwide, their alignment and biases have the potential to shape public understanding and trust in fundamental democra…