Lune

ICLR2025Top-tier venue

TIS-DPO: Token-level Importance Sampling for Direct Preference Optimization With Estimated Weights

Aiwei Liu, Haoping Bai, Zhiyun Lu, Yanchao Sun, Xiang Kong, Xiaoming Simon Wang, Jiulong Shan, Albin Madappally Jose, Xiaojiang Liu, Lijie Wen, Philip S. Yu, Meng Cao

Abstract

Direct Preference Optimization (DPO) has been widely adopted for preference alignment of Large Language Models (LLMs) due to its simplicity and effectiveness. However, DPO is derived as a bandit problem in which the whole response is treated as a single arm, ignoring the importance differences between tokens, which may affect optimization efficiency and make it difficult to achieve optimal results. In this work, we propose that the optimal data for DPO has equal expected rewards for each token in winning and losing responses, as there is no difference in token importance. However, since the optimal dataset is unavailable in practice, we propose using the original dataset for importance sampling to achieve unbiased optimization. Accordingly, we propose a token-level importance sampling DPO objective named TIS-DPO that assigns importance weights to each token based on its reward. Inspired by previous works, we estimate the token importance weights using the difference in prediction probabilities from a pair of contrastive LLMs. We explore three methods to construct these contrastive LLMs: (1) guiding the original LLM with contrastive prompts, (2) training two separate LLMs using winning and losing responses, and (3) performing forward and reverse DPO training with winning and losing responses. Experiments show that TIS-DPO significantly outperforms various baseline methods on harmlessness and helpfulness alignment and summarization tasks. We also visualize the estimated weights, demonstrating their ability to identify key token positions. Code is available at https://github.com/exlaw/TIS-DPO.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

16 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Model Alignment as Prospect Theoretic Optimization cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
  • Model Alignment as Prospect Theoretic Optimization cites Training language models to follow instructions with human feedback
  • Mitigating Mismatch within Reference-based Preference Optimization cites Model Alignment as Prospect Theoretic Optimization
  • Mitigating Mismatch within Reference-based Preference Optimization cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
  • Mitigating Mismatch within Reference-based Preference Optimization cites Training language models to follow instructions with human feedback
  • Hierarchical Fine-grained Preference Optimization for Physically Plausible Video Generation cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
  • Hierarchical Fine-grained Preference Optimization for Physically Plausible Video Generation cites ULTRAFEEDBACK: Boosting Language Models with Scaled AI Feedback
  • Hierarchical Fine-grained Preference Optimization for Physically Plausible Video Generation cites Training language models to follow instructions with human feedback
  • Direct Preference Optimization: Your Language Model is Secretly a Reward Model cites Training language models to follow instructions with human feedback
  • Fine-Grained Preference Optimization Improves Spatial Reasoning in VLMs cites Model Alignment as Prospect Theoretic Optimization
  • Fine-Grained Preference Optimization Improves Spatial Reasoning in VLMs cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
  • Token-Importance Guided Direct Preference Optimization cites Model Alignment as Prospect Theoretic Optimization
  • Token-Importance Guided Direct Preference Optimization cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
  • Token-Importance Guided Direct Preference Optimization cites Training language models to follow instructions with human feedback
  • ULTRAFEEDBACK: Boosting Language Models with Scaled AI Feedback cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
  • ULTRAFEEDBACK: Boosting Language Models with Scaled AI Feedback cites Training language models to follow instructions with human feedback
  • Token-Level Self-Play with Importance-Aware Guidance for Large Language Models cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
  • Token-Level Self-Play with Importance-Aware Guidance for Large Language Models cites Training language models to follow instructions with human feedback
  • Safe RLHF: Safe Reinforcement Learning from Human Feedback cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
  • Safe RLHF: Safe Reinforcement Learning from Human Feedback cites Training language models to follow instructions with human feedback
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers16

  1. Fine-Grained Preference Optimization Improves Spatial Reasoning in VLMsYifan Shen, Yuanzhe Liu, Jingyuan Zhu, Xu Cao et al.NeurIPS 2025 · 41 citations
  2. Hierarchical Fine-grained Preference Optimization for Physically Plausible Video GenerationHarold Haodong Chen, Haojian Huang, Qifeng Chen, Harry Yang et al.NeurIPS 2025 · 25 citations
  3. Token-Importance Guided Direct Preference OptimizationNing Yang, Hai Lin, Yibo Liu, Baoliang Tian et al.ICLR 2026 · 14 citations
  4. Token-Level Self-Play with Importance-Aware Guidance for Large Language ModelsTue Le, Hoang Tran Vuong, Quyen Tran, Linh Van Ngo et al.NeurIPS 2025 · 5 citations
  5. Mitigating Mismatch within Reference-based Preference OptimizationSuqin Yuan, Xingrui Yu, Jiyang Zheng, Lei Feng et al.ICLR 2026 · 4 citations

Builds on9

  1. Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
  2. Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning et al.NeurIPS 2023 · 10,924 citations
  3. Model Alignment as Prospect Theoretic OptimizationKawin Ethayarajh, Winnie Xu, Niklas Muennighoff, Dan Jurafsky et al.ICML 2024 · 973 citations
  4. Safe RLHF: Safe Reinforcement Learning from Human FeedbackJosef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji et al.ICLR 2024 · 656 citations
  5. ULTRAFEEDBACK: Boosting Language Models with Scaled AI FeedbackGanqu Cui, Lifan Yuan, Ning Ding, Guanming Yao et al.ICML 2024 · 286 citations

Related papers

  1. Optimal Transport-Based Token Weighting scheme for Enhanced Preference OptimizationMeng Li, Guangda Huzhang, Haibo Zhang, Xiting Wang et al.ACL 2025
  2. Cal-DPO: Calibrated Direct Preference Optimization for Language Model AlignmentTeng Xiao, Yige Yuan, Huaisheng Zhu, Mingxiao Li et al.NeurIPS 2024 · 76 citations
  3. What Matters in Data for DPO?Yu Pan, Zhongze Cai, Huaiyang Zhong, Guanting Chen et al.NeurIPS 2025 · 13 citations
  4. Direct Preference Optimization with an OffsetAfra Amini, Tim Vieira, Ryan CotterellACL Findings 2024 · 13 citations
  5. SparsePO: Controlling Preference Alignment of LLMs via Sparse Token MasksFenia Christopoulou, Ronald Cardenas, Gerasimos Lampouras, Haitham Bou-Ammar et al.EMNLP Findings 2025
Dusk over the sea between two cliffs drawn in fine vertical lines