跳到正文
arXiv cs.AI· Yaswanth Chittepu, Ativ Joshi, Sohini Chintala, Scott Niekum·· 10 小时前AI 评分43

LARA:基于拉格朗日奖励增强的安全推理时对齐框架

Safe Inference-Time Alignment via Lagrangian Reward Augmentation

AI 导读

论文提出 LARA(Lagrangian Reward Augmentation),一种带安全约束的推理时对齐框架,通过对偶化 KL 正则化约束目标,将其化为关于非负对偶变量的一维凸优化,用小校准集估计出的对偶变量构造增广奖励,可直接嵌入现有推理时对齐方法。

正文 · 原文

View PDF HTML (experimental)

Abstract: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 a single scalar score, so explicit safety constraints must either be ignored or encoded through manually tuned penalties. We propose Lagrangian Reward Augmentation (LARA), a general inference-time alignment framework under safety constraints. Starting from a KL-regularized constrained objective with a reward model and a cost model, LARA dualizes the constraint and reduces the optimization problem to a one-dimensional convex problem over a nonnegative dual variable. Estimated on a small calibration set, this dual variable defines an augmented reward that can be used as a drop-in scoring signal within existing inference-time alignment methods. For sequence-level sampling methods, such as Best-of-N reranking, the calibrated dual variable corresponds to the solution of the expected-cost constrained problem. For token-level reward-guided decoding methods, the same construction yields a principled dual-calibrated heuristic rather than an exact constrained-policy guarantee. We evaluate LARA on both sequence-level and token-level inference-time alignment methods, and find that LARA improves the helpfulness-harmlessness tradeoff, with Best-of-N achieving the best performance among inference-time methods, approaching finetuning-based direct alignment baselines.
Comments: Accepted at the Conference on Language Modeling (COLM 2026). 23 pages, 4 figures
Subjects: Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Computation and Language (cs.CL)
Cite as: arXiv:2607.02781 [cs.LG]
  (or arXiv:2607.02781v3 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2607.02781

arXiv-issued DOI via DataCite

Submission history

From: Yaswanth Chittepu [view email]
[v1] Thu, 2 Jul 2026 21:27:59 UTC (971 KB)
[v2] Fri, 2 Oct 2026 20:10:28 UTC (1,107 KB)
[v3] Wed, 25 Nov 2026 04:21:10 UTC (1,079 KB)

来源:arXiv cs.AI · arxiv.org