ALW: Adaptive Layer-Wise contrastive decoding enhancing reasoning ability in Large Language Models

Large language models (LLMs) have achieved remarkable performance across various reasoning tasks.However, many LLMs still encounter challenges in reasoning, especially for LLMs with fewer parameters or insufficient pre-training data.Through our experiments, we identify that noise accumulation across layers often leads to unstable token predictions during reasoning.We find that contrasting the probability distributions across layers effectively mitigates this interference.Building on this insight, we propose Adaptive Layer-Wise contrastive decoding (ALW), a novel framework that enhances reasoning ability by dynamically disentangling noise in shallow layers from critical signals in deep layers.Extensive experiments on several reasoning benchmarks demonstrate that ALW consistently improves answer accuracy across multiple LLMs while maintaining inference efficiency.For example, we achieve a 48% improvement on the Gsm8k using the LLaMA-7B model and an absolute accuracy increase of 5.2 points on the BBH evaluation benchmark with the LLaMA-65B model 1 .

Authors

Institutions

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.447
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

ALW: Adaptive Layer-Wise contrastive decoding enhancing reasoning ability in Large Language Models

Min Zhang, Jianxin Zhang, Juntao Li, Yu Zhou et al.
Natural Language Processing Techniques
article

ALW: Adaptive Layer-Wise contrastive decoding enhancing reasoning ability in Large Language Models

Min Zhang, Jianxin Zhang, Juntao Li, Yu Zhou, Chuyue Zhou
article en

Abstract

Large language models (LLMs) have achieved remarkable performance across various reasoning tasks.However, many LLMs still encounter challenges in reasoning, especially for LLMs with fewer parameters or insufficient pre-training data.Through our experiments, we identify that noise accumulation across layers often leads to unstable token predictions during reasoning.We find that contrasting the probability distributions across layers effectively mitigates this interference.Building on this insight, we propose Adaptive Layer-Wise contrastive decoding (ALW), a novel framework that enhances reasoning ability by dynamically disentangling noise in shallow layers from critical signals in deep layers.Extensive experiments on several reasoning benchmarks demonstrate that ALW consistently improves answer accuracy across multiple LLMs while maintaining inference efficiency.For example, we achieve a 48% improvement on the Gsm8k using the LLaMA-7B model and an absolute accuracy increase of 5.2 points on the BBH evaluation benchmark with the LLaMA-65B model 1 .

Soochow University (TW), Soochow University (CN)
National Science Foundation, National Natural Science Foundation of China, Government of Jiangsu Province, Natural Science Foundation of Jiangsu Province
Quality Education
Openalex Percentile: Top 90%
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.