Inference-Aware Meta-Alignment of LLMs via Non-Linear GRPO
Shokichi Takakura, Akifumi Wachi, Rei Higuchi, Kohei Miyaguchi, Taiji Suzuki
TL;DR
This work tackles the challenge of aligning LLMs to multiple, potentially conflicting preferences under limited inference-time compute. It introduces inference-aware meta-alignment (IAMA), a two-stage framework that meta-trains a base policy to be effectively adaptable to multiple inference-time alignment criteria, and formulates the objective as a non-linear optimization in the space of probability measures. To solve the resulting non-linear problem, it develops non-linear GRPO, a first-order-variation based extension of GRPO/TRPO-like methods, with convergence guarantees for BoN-type objectives and a provable bound in the inexact setting. The approach is empirically validated on tasks such as length control and RLHF-style objectives, showing that the meta-aligned model can produce diverse responses and achieve better Pareto frontiers when BoN or SoftBoN inference-time transformations are used. Overall, IAMA provides a principled, efficient route to multi-criteria alignment suitable for practical deployment with constrained inference-time resources, along with theoretical guarantees and broad applicability in RLHF contexts.
Abstract
Aligning large language models (LLMs) to diverse human preferences is fundamentally challenging since criteria can often conflict with each other. Inference-time alignment methods have recently gained popularity as they allow LLMs to be aligned to multiple criteria via different alignment algorithms at inference time. However, inference-time alignment is computationally expensive since it often requires multiple forward passes of the base model. In this work, we propose inference-aware meta-alignment (IAMA), a novel approach that enables LLMs to be aligned to multiple criteria with limited computational budget at inference time. IAMA trains a base model such that it can be effectively aligned to multiple tasks via different inference-time alignment algorithms. To solve the non-linear optimization problems involved in IAMA, we propose non-linear GRPO, which provably converges to the optimal solution in the space of probability measures.
