paper-with-me

Papers

Position-Aware Depth Decay Decoding ($D^3$): Boosting Large Language Model Inference Efficiency

2025-03-11 · Siqi Fan, Xuezhi Fang, Xingrun Xing, Peng Han, Shuo Shang, Yequan Wang

Due to the large number of parameters, the inference phase of Large Language Models (LLMs) is resource-intensive. Unlike traditional model compression, which needs retraining, recent dynamic computation methods show that not all components are required for inference, enabling a training-free pipeline. In this paper, we focus on the dynamic depth of LLM generation. A token-position aware layer skipping framework is proposed to save 1.5x times operations efficiently while maintaining performance. We first observed that tokens predicted later have lower perplexity and thus require less computation. Then, we propose a training-free algorithm called Position-Aware Depth Decay Decoding ($D^3$), which leverages a power-law decay function, $\left\lfloor L \times (\alpha^i) \right\rfloor$, to determine the number of layers to retain when generating token $T_i$. Remarkably, without any retraining, the $D^3$ achieves success across a wide range of generation tasks for the first time. Experiments on large language models (\ie the Llama) with $7 \sim 70$ billion parameters show that $D^3$ can achieve an average 1.5x speedup compared with the full-inference pipeline while maintaining comparable performance with nearly no performance drop ($<1\%$) on the GSM8K and BBH benchmarks.

📄 PDF Abstract BibTeX arXiv:2503.08524

Code (0)

등록된 구현이 없습니다.

Tasks

GSM8KLanguage ModelingLanguage ModellingLarge Language ModelModel CompressionPosition

Methods 이 논문이 사용한 방법론

AWARE We propose to theoretically and empirically examine the effect of incorporating weighting schemes into walk-aggregating GNNs. To this end, we propose a simple, interpretable, and…
Focus 설명 없음

Similar Papers 제목 키워드 기반

D-PACE: Dynamic Position-Aware Cross-Entropy for Parallel Speculative Drafting

2026-05-12 · Tianyu Wu, Yu Yao, Zhenting Qi, Han Zheng 외 arxiv

Speculative decoding accelerates LLM inference by having a small drafter propose tokens that a larger target model verifies in parallel. Recent diffusion-based parallel drafters such as DFlash predict the full B-token bl…

Mitigating Posterior Salience Attenuation in Long-Context LLMs with Positional Contrastive Decoding

2025-06-10 · Zikai Xiao, Ziyang Wang, Wen Ma, Yan Zhang 외

While Large Language Models (LLMs) support long contexts, they struggle with performance degradation within the context window. Current solutions incur prohibitive training costs, leaving statistical behaviors and cost-e…

Context-Fidelity Boosting: Enhancing Faithful Generation through Watermark-Inspired Decoding

2026-04-24 · Weixu Zhang, Fanghua Ye, Qiang Gao, Jian Li 외 arxiv

Large language models (LLMs) often produce content that contradicts or overlooks information provided in the input context, a phenomenon known as faithfulness hallucination. In this paper, we propose Context-Fidelity Boo…

Semantic SimilarityQuestion Answering

FreqPDE: Rethinking Positional Depth Embedding for Multi-View 3D Object Detection Transformers

2025-10-17 · Haisheng Su, Junjie Zhang, Feixiang Song, Sanping Zhou 외 arxiv

Detecting 3D objects accurately from multi-view 2D images is a challenging yet essential task in the field of autonomous driving. Current methods resort to integrating depth prediction to recover the spatial information …

3D Object DetectionAutonomous Driving

When Hidden States Drift: Can KV Caches Rescue Long-Range Speculative Decoding?

2026-04-29 · Tianyu Liu, Yuhao Shen, Xinyi Hu, Baolin Zhang 외 arxiv

Speculative decoding accelerates LLM inference, but SOTA hidden-state-based drafters suffer from long-range decay: draft accuracy degrades as the speculative step increases. Existing work attributes this decay to train-i…