Robust Multi-Objective Controlled Decoding of Large Language Models

Seongho Son, William Bankes, Sangwoong Yoon, Shyam Sundhar Ramesh, Xiaohang Tang, Ilija Bogunovic

TL;DR

Robust Multi-Objective Decoding (RMOD) is a new inference-time algorithm that automatically balances competing goals—like being helpful while staying safe—without requiring manually tuned weights. By treating alignment as a "maximin" game where the model tries to perform well even on its most challenging objective, RMOD achieves superior robustness and safety with negligible computational overhead.

What Problem Does This Paper Address?

Aligning Large Language Models (LLMs) is rarely a single-goal task. In reality, we want models to be helpful, truthful, concise, and safe all at once. Often, these objectives compete: a model that is "too safe" might refuse to answer harmless questions, while a "too helpful" model might inadvertently provide dangerous information.

Current approaches usually handle this by assigning a fixed weight to each objective (e.g., 50% helpfulness, 50% safety). However, picking these weights is a dark art—it usually requires expensive hyperparameter searches and often fails to generalize to new prompts. The authors identify a critical gap: we need a way to ensure that none of the important objectives fall below a certain quality threshold, especially when dealing with high-stakes goals like safety.

Methods

Conventional vs. Robust Multi-Objective Decoding

The authors introduce RMOD, which frames multi-objective alignment as a two-player, zero-sum game.

  1. The Maximin Game: Imagine two players. One player (the adversary) chooses weights to highlight the model's weakest objective. The other player (the decoding policy) tries to maximize its reward under those "worst-case" weights.
  2. Nash Equilibrium: By solving for the Nash Equilibrium of this game, RMOD identifies a policy that is robust against the worst-case weighting of objectives.
  3. Convex Optimization: The authors prove that this complex game reduces to a mathematically "well-behaved" convex optimization problem. This allows the model to dynamically calculate the optimal weights for every block of text it generates.
  4. Practical Implementation:
    • Block-wise Decoding: To keep things fast, RMOD doesn't calculate new weights for every single token. Instead, it generates "blocks" of tokens (e.g., 16 tokens at a time).
  5. Best-of-K Sampling: At each step, the model generates $K$ candidate blocks and uses the RMOD optimization to pick the one that best satisfies the "worst-case" objective.
  6. Distillation: To eliminate inference-time lag entirely, the authors show you can "distill" RMOD’s behavior into a standard model via Supervised Fine-Tuning (SFT).

Datasets

The researchers evaluated RMOD across three diverse alignment benchmarks:

  • Anthropic Helpfulness-Harmlessness (HH): A standard dataset for balancing utility and safety.
  • UltraFeedback: A more complex setting with five objectives: Safety, Instruction Following, Truthfulness, Honesty, and Helpfulness.
  • ValuePrism: A challenging dataset used to test scalability with up to 10 distinct human values (e.g., Autonomy, Justice, Compassion).

Key Insights and Ideas

  • Dynamic Prioritization: Unlike standard methods that use static weights, RMOD is reactive. If the model starts a sentence in a way that compromises safety, RMOD detects that "safety" is now the worst-performing objective and automatically pivots the next block of text to prioritize it.
  • The Power of $\lambda$: The algorithm uses a trade-off parameter, $\lambda$. A high $\lambda$ makes the model extremely "robust" (focusing almost entirely on the single worst objective), while a low $\lambda$ makes it behave more like a standard average of all goals.
  • Efficiency is Possible: You might expect a "game-theoretic optimization" to be slow. However, because the optimization happens over a small number of weights (the number of objectives) rather than the billions of model parameters, it adds less than 4.5% latency compared to non-robust methods.

Key Results

Worst-case reward comparison across different alignment methods
  • Superior Robustness: On the HH dataset, RMOD achieved a 59.1% Worst-Case Win Rate against the reference model, significantly outperforming standard "Uniform" weighting (57.6%) and fine-tuning methods like MO-DPO (52.8%). The worst-case reward improvements are stark when compared to baseline methods.
  • Handling the Bottleneck: In the UltraFeedback tests, RMOD successfully boosted the "Safety" score (the most difficult objective in that set) without significantly sacrificing performance on the other four objectives.
  • Scalability: RMOD consistently outperformed baselines even as the number of objectives scaled up to 10, proving it can handle the "Value Kaleidoscope" of human preferences.
  • Effective Distillation: The distilled version of RMOD (DISTILL-RMOD) retained most of the robustness of the full algorithm but ran at the speed of a standard LLM, making it highly practical for production.

Limitations and Future Work

  • Dependence on Value Functions: RMOD's "vision" is only as good as its value functions. If the reward models used to train these functions are biased or inaccurate, RMOD will robustly align to the wrong things.
  • The "Curse" of Many Objectives: While RMOD scales better than most, the authors noted that as the number of objectives increases, the "Pareto frontier" becomes harder to navigate, and the overall performance of all methods tends to dip.
  • Inference Compute: While the weight optimization is fast, the "Best-of-K" sampling still requires generating multiple candidates, which is more computationally expensive than simple greedy decoding. Future work could explore more efficient ways to sample the best-response policy.

Summary updated

BibTeX
@inproceedings{son2026robust,
  author = {Seongho Son and William Bankes and Sangwoong Yoon and Shyam Sundhar Ramesh and Xiaohang Tang and Ilija Bogunovic},
  title = {{Robust Multi-Objective Controlled Decoding of Large Language Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=i0Nno5MgXt},
}
Figure