Adaptive Contrastive Decoding for Instruction-Following in Large Language Models

Large language models (LLMs) fine-tuned with instructions demonstrate promising capabilities in adhering to constraints embedded within prompts. However, their performance remains limited when handling more complex constraints. Moreover, existing studies suggest that imposing additional constraints can adversely impact the model’s reasoning ability and understanding of domain-specific knowledge. To address these challenges, we propose a novel approach called Adaptive Contrastive Decoding (ACD). This method decouples instructions from constraints, allowing the model to generate initial predictions based solely on unconstrained instructions. Subsequently, constrained instructions are used to verify the generated tokens in parallel, and constraint-sensitive tokens are refined using contrastive decoding. Experimental results on three standard benchmarks for instruction-following tasks demonstrate that ACD significantly outperforms existing methods (e.g. DOLA, SCD) in constraint adherence. Additionally, ACD achieves superior inference speed compared to traditional contrastive decoding methods, effectively balancing constraint adherence and inference efficiency.

Authors

Institutions

Publication Details

Published
2025-05-23
DOI
https://doi.org/10.1109/icaibd64986.2025.11082001
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Adaptive Contrastive Decoding for Instruction-Following in Large Language Models

Zhe Xue, Junping Du, Jiarong Zhang
Natural Language Processing Techniques
article

Adaptive Contrastive Decoding for Instruction-Following in Large Language Models

Zhe Xue, Junping Du, Jiarong Zhang
article en

Abstract

Large language models (LLMs) fine-tuned with instructions demonstrate promising capabilities in adhering to constraints embedded within prompts. However, their performance remains limited when handling more complex constraints. Moreover, existing studies suggest that imposing additional constraints can adversely impact the model’s reasoning ability and understanding of domain-specific knowledge. To address these challenges, we propose a novel approach called Adaptive Contrastive Decoding (ACD). This method decouples instructions from constraints, allowing the model to generate initial predictions based solely on unconstrained instructions. Subsequently, constrained instructions are used to verify the generated tokens in parallel, and constraint-sensitive tokens are refined using contrastive decoding. Experimental results on three standard benchmarks for instruction-following tasks demonstrate that ACD significantly outperforms existing methods (e.g. DOLA, SCD) in constraint adherence. Additionally, ACD achieves superior inference speed compared to traditional contrastive decoding methods, effectively balancing constraint adherence and inference efficiency.

Beijing University of Posts and Telecommunications (CN)
National Natural Science Foundation of China, National Science and Technology Major Project
Quality Education
Openalex Percentile: Top 91%
Natural Language Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Adaptive Contrastive Decoding for Instruction-Following in Large Language Models — Zhe Xue, Junping Du, et al. · (2025) | TGRS Research Map | TGRS