Share from 0:00
0:00
/

"InfAlign: Inference-aware language model alignment"

Generated below podcast on this paper with Google's Illuminate.

LLMs are often used with inference-time procedures like Best-of-N, but standard alignment doesn't account for this. This paper introduces Inference-Aware Alignment (InfAlign) to address this gap.

https://arxiv.org/abs/2412.19792

Original Problem πŸ€”:

β†’ Standard LLM alignment maximizes reward for single samples, ignoring inference-time procedures like Best-of-N.

β†’ This mismatch leads to suboptimal performance when inference procedures are used.

Solution in this Paper πŸ’‘:

β†’ InfAlign framework optimizes for inference-time win rate, considering the chosen procedure.

β†’ InfAlign uses a transformed reward in KL-regularized RL, capturing the inference process.

β†’ For Best-of-N and Worst-of-N, InfAlign provides near-optimal reward transformations, including exponential tilting.

β†’ A practical solver, Calibrate-and-Transform RL (CTRL), calibrates the reward model and applies the transformation before KL-RL.

Key Insights from this Paper πŸ”‘:

β†’ Alignment should consider the full inference pipeline.

β†’ Reward transformations can effectively capture inference procedures.

β†’ Calibrating rewards improves robustness and performance.

Results πŸ’―:

β†’ CTRL improves inference-time win rates by 8-12% for Best-of-N helpfulness and 4-9% for Worst-of-N harmlessness on Anthropic datasets.

β†’ Calibration alone improves standard win rates compared to baselines.

β†’ Higher N in Best-of-N and Worst-of-N leads to further gains.

Discussion about this video

User's avatar

Ready for more?