NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Token-Importance Guided Direct Preference Optimization

Ning Yang, Hai Lin, Yibo Liu, Baoliang Tian, Guoqing Liu, Haijun Zhang

Introduction

Aligning Large Language Models (LLMs) with human preferences is a critical step in deploying safe and effective AI systems. While standard alignment techniques like Direct Preference Optimization (DPO) have simplified this process, they suffer from a fundamental "granularity" problem: they optimize at the sequence level. This means they treat every token in a preferred response as equally "correct" and every token in a rejected response as equally "wrong."

In reality, human preference often hinges on a few critical keywords—such as "seek medical attention" in a health query—while filler words remain neutral. Ignoring this differential importance makes training sensitive to noise and can lead to distribution shifts where the model's performance destabilizes during fine-tuning. To address this, researchers introduce Token-Importance Guided Direct Preference Optimization (TI-DPO), a framework that achieves fine-grained semantic control by identifying and weighting the specific words that actually drive human preferences.

Methodology

TI-DPO moves beyond treating entire sentences as binary "good" or "bad" by leveraging two primary innovations to achieve finer semantic control:

  1. Hybrid Weighting Mechanism: To identify "important" tokens, the model utilizes gradient attribution, calculating how much each token's embedding influences the final prediction. To ensure robustness, these raw scores are mixed with a Gaussian prior. This prior acts as a corrective lens for the "Lost-in-the-Middle" bias inherent in many Transformer architectures, ensuring the semantic core in the middle of a sequence isn't ignored in favor of the start and end tokens.
  2. Triplet Loss Objective: Instead of a simple binary comparison between preferred and rejected outputs, TI-DPO employs a triplet structure. It generates an "anchor" response (an intermediate state of the model) and explicitly guides the optimization to pull this anchor closer to the preferred response while pushing it further from the non-preferred one in a continuous semantic space.
Algorithm 1: TI-DPO Framework

Key Insights

  • The "Spotlight" Effect: The hybrid weighting acts like a spotlight, focusing the model's learning energy on safety-critical or factually dense tokens. For instance, the model learns to assign high weights to crucial phrases like "promptly" while penalizing risky suggestions.
  • Noise Filtering as Variance Reduction: By suppressing the weights of non-critical "noise" tokens, TI-DPO significantly reduces the variance of the reward estimator. This leads to a tighter, more stable loss bound during training.
  • Interpretability: Unlike standard DPO, TI-DPO offers a degree of transparency. Researchers can visualize token weights to understand exactly why a model prefers one response over another, aiding in bias detection and mitigation.

Experimental Results

The researchers evaluated TI-DPO across a diverse suite of standard benchmarks, including Knowledge & Reasoning (MMLU, GSM8K, GPQA), Coding (HumanEval), Instruction Following (IFEval), and Reliability/Safety (TruthfulQA). The method was tested on base models like Llama-3.2-3B, Llama-3.1-8B, and Mistral-7B-v0.3 to ensure scalability.

Benchmark Results Table

Key Performance Highlights: * Superior Accuracy: TI-DPO achieved a leading average score of 62.3 across benchmarks, outperforming standard DPO (57.7) and other advanced variants like SimPO and TDPO. * Task-Specific Wins: The framework demonstrated particularly strong gains in coding (67.0 on HumanEval) and instruction following (75.7 on IFEval). * Generative Diversity & Robustness: The model maintained higher diversity (lower Self-BLEU scores) than its competitors, avoiding the "mode collapse" of repetitive text generation. Furthermore, in stress tests with up to 40% label noise, TI-DPO remained significantly more stable than standard DPO.

Limitations and Future Work

While TI-DPO excels at fine-grained control, it comes with a computational trade-off. Because it requires an additional backward pass to calculate gradient attribution, training takes roughly 2x longer than standard DPO (though inference speed remains unaffected). Additionally, TI-DPO slightly underperforms compared to sequence-level methods like GRPO on tasks requiring long-chain, holistic reasoning. Future work may explore integrating token-importance mechanisms with group-based optimization methods to bridge this reasoning gap while maintaining semantic accuracy.

Summary updated

BibTeX
@inproceedings{yang2026token,
  author = {Ning Yang and Hai Lin and Yibo Liu and Baoliang Tian and Guoqing Liu and Haijun Zhang},
  title = {{Token-Importance Guided Direct Preference Optimization}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=cMEnMVvMw9},
}
Figure