paper-with-me

홈 › Papers

FIRP: Faster LLM inference via future intermediate representation prediction

2024-10-27 · Pengfei Wu, Jiahao Liu, Zhuocheng Gong, Qifan Wang, Jinpeng Li, Jingang Wang, Xunliang Cai, Dongyan Zhao

Recent advancements in Large Language Models (LLMs) have shown remarkable performance across a wide range of tasks. Despite this, the auto-regressive nature of LLM decoding, which generates only a single token per forward propagation, fails to fully exploit the parallel computational power of GPUs, leading to considerable latency. To address this, we introduce a novel speculative decoding method named FIRP which generates multiple tokens instead of one at each decoding step. We achieve this by predicting the intermediate hidden states of future tokens (tokens have not been decoded yet) and then using these pseudo hidden states to decode future tokens, specifically, these pseudo hidden states are predicted with simple linear transformation in intermediate layers of LLMs. Once predicted, they participate in the computation of all the following layers, thereby assimilating richer semantic information. As the layers go deeper, the semantic gap between pseudo and real hidden states is narrowed and it becomes feasible to decode future tokens with high accuracy. To validate the effectiveness of FIRP, we conduct extensive experiments, showing a speedup ratio of 1.9x-3x in several models and datasets, analytical experiments also prove our motivations.

📄 PDF Abstract BibTeX arXiv:2410.20488

Code (0)

등록된 구현이 없습니다.

Tasks

Prediction

Similar Papers 제목 키워드 기반

Unconditional Quantile Regression with High Dimensional Data

2020-07-27 · Yuya Sasaki, Takuya Ura, Yichong Zhang

This paper considers estimation and inference for heterogeneous counterfactual effects with high-dimensional data. We propose a novel robust score for debiased estimation of the unconditional quantile regression (Firpo, …

counterfactualquantile regressionregressionVocal Bursts Intensity Prediction

LIT: Block-wise Intermediate Representation Training for Model Compression

2018-10-02 · ICLR 2019 5 · Animesh Koratana, Daniel Kang, Peter Bailis, Matei Zaharia

Knowledge distillation (KD) is a popular method for reducing the computational overhead of deep network inference, in which the output of a teacher model is used to train a smaller, faster student model. Hint training (i…

Knowledge DistillationModel Compression

Next Forcing: Causal World Modeling with Multi-Chunk Prediction

2026-06-09 · Gangwei Xu, Qihang Zhang, Jiaming Zhou, Xing Zhu 외 arxiv

Autoregressive video generation has emerged as a powerful paradigm for World Action Models (WAMs). However, existing approaches suffer from slow training convergence and limited converged accuracy, particularly at high f…

Video GenerationVideo Denoising

CRT-6D: Fast 6D Object Pose Estimation with Cascaded Refinement Transformers

2022-10-21 · Pedro Castro, Tae-Kyun Kim

Learning based 6D object pose estimation methods rely on computing large intermediate pose representations and/or iteratively refining an initial estimation with a slow render-compare pipeline. This paper introduces a no…

6D Pose Estimation using RGBObjectPose Estimation

Interpreting Unconditional Quantile Regression with Conditional Independence

2020-10-07 · David M. Kaplan

This note provides additional interpretation for the counterfactual outcome distribution and corresponding unconditional quantile "effects" defined and estimated by Firpo, Fortin, and Lemieux (2009) and Chernozhukov, Fer…

counterfactualquantile regressionregression