Language Model Decoding as Direct Metrics Optimization
Haozhe Ji, Pei Ke, Hongning Wang, Minlie Huang
摘要
Despite the remarkable advances in language modeling, current mainstream decoding methods still struggle to generate texts that align with human texts across different aspects. In particular, sampling-based methods produce less-repetitive texts which are often disjunctive in discourse, while search-based methods maintain topic coherence at the cost of increased repetition. Overall, these methods fall short in achieving holistic alignment across a broad range of aspects. In this work, we frame decoding from a language model as an optimization problem with the goal of strictly matching the expected performance with human texts measured by multiple metrics of desired aspects simultaneously. The resulting decoding distribution enjoys an analytical solution that scales the input language model distribution via a sequence-level energy function defined by these metrics. And most importantly, we prove that this induced distribution is guaranteed to improve the perplexity on human texts, which suggests a better approximation to the underlying distribution of human texts. To facilitate tractable sampling from this globally normalized distribution, we adopt the Sampling-Importance-Resampling technique. Experiments on various domains and model scales demonstrate the superiority of our method in metrics alignment with human texts and human evaluation over strong baselines.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Neural Text Generation With Unlikelihood Training 引用了 The Curious Case of Neural Text Degeneration
- The Curious Case of Neural Text Degeneration 引用了 Neural Text Generation With Unlikelihood Training
- Towards Efficient Exact Optimization of Language Model Alignment 引用了 Language Models are Few-Shot Learners
- Towards Efficient Exact Optimization of Language Model Alignment 引用了 Training language models to follow instructions with human feedback
- MAP: Multi-Human-Value Alignment Palette 引用了 SimCSE: Simple Contrastive Learning of Sentence Embeddings
- Language Models are Few-Shot Learners 引用了 The Curious Case of Neural Text Degeneration
- Training language models to follow instructions with human feedback 引用了 Language Models are Few-Shot Learners
- Synthesize, Partition, then Adapt: Eliciting Diverse Samples from Foundation Models 引用了 Training language models to follow instructions with human feedback
- Synthesize, Partition, then Adapt: Eliciting Diverse Samples from Foundation Models 引用了 The Curious Case of Neural Text Degeneration
引用它的顶会 Paper5
- Towards Efficient Exact Optimization of Language Model AlignmentHaozhe Ji, Cheng Lu, Yilin Niu, Pei Ke 等ICML 2024 · 32 次引用
- Antidistillation SamplingYash Savani, Asher Trockman, Zhili Feng, Yixuan Even Xu 等NeurIPS 2025 · 24 次引用
- Synthesize, Partition, then Adapt: Eliciting Diverse Samples from Foundation ModelsYeming Wen, Swarat ChaudhuriNeurIPS 2024 · 1 次引用
- Non-myopic Generation of Language Models for Reasoning and PlanningChang Ma, Haiteng Zhao, Junlei Zhang, Junxian He 等ICLR 2025
- MAP: Multi-Human-Value Alignment PaletteXinran Wang, Qi Le, Ammar Ahmed, Enmao Diao 等ICLR 2025
它引用的 Paper20
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
- The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes 等ICLR 2020 · 4,112 次引用
- SimCSE: Simple Contrastive Learning of Sentence EmbeddingsTianyu Gao, Xingcheng Yao, Danqi ChenEMNLP 2021 · 2,496 次引用
- Neural Text Generation With Unlikelihood TrainingSean Welleck, Ilia Kulikov, Stephen Roller, Emily Dinan 等ICLR 2020 · 683 次引用
相关 Paper
- ARGS: Alignment as Reward-Guided SearchMaxim Khanov, Jirayu Burapacheep, Yixuan LiICLR 2024 · 101 次引用
- A Contrastive Framework for Neural Text GenerationYixuan Su, Tian Lan, Yan Wang, Dani Yogatama 等NeurIPS 2022 · 349 次引用
- Local and Global Decoding in Text GenerationDaniel Gareev, Thomas Hofmann, Ezhilmathi Krishnasamy, Tiago PimentelEMNLP Findings 2024
- Automatic Detection of Generated Text is Easiest when Humans are FooledDaphne Ippolito, Daniel Duckworth, Chris Callison-Burch, Douglas EckACL 2020 · 21 次引用
- Improving Open-Ended Text Generation via Adaptive DecodingWenhong Zhu, Hongkun Hao, Zhiwei He, Yiming Ai 等ICML 2024 · 21 次引用
