paper-with-me

Papers

Learning Harmonized Representations for Speculative Sampling

2024-08-28 · Lefan Zhang, Xiaodan Wang, Yanhua Huang, Ruiwen Xu

Speculative sampling is a promising approach to accelerate the decoding stage for Large Language Models (LLMs). Recent advancements that leverage target LLM's contextual information, such as hidden states and KV cache, have shown significant practical improvements. However, these approaches suffer from inconsistent context between training and decoding. We also observe another discrepancy between the training and decoding objectives in existing speculative sampling methods. In this work, we propose a solution named HArmonized Speculative Sampling (HASS) that learns harmonized representations to address these issues. HASS accelerates the decoding stage without adding inference overhead through harmonized objective distillation and harmonized context alignment. Experiments on four LLaMA models demonstrate that HASS achieves 2.81x-4.05x wall-clock time speedup ratio averaging across three datasets, surpassing EAGLE-2 by 8%-20%.

📄 PDF Abstract BibTeX arXiv:2408.15766

Code (1)

HArmonizedSS/HASS pytorch

Methods 이 논문이 사용한 방법론

LLaMA LLaMA is a collection of foundation language models ranging from 7B to 65B parameters. It is based on the transformer architecture with various improvements that were…
Focus 설명 없음

Similar Papers 제목 키워드 기반

Speculative Sampling with Reinforcement Learning

2026-01-18 · Chenan Wang, Daniel H. Shi, Haipeng Chen arxiv

Inference time latency has remained an open challenge for real world applications of large language models (LLMs). State-of-the-art (SOTA) speculative sampling (SpS) methods for LLMs, like EAGLE-3, use tree-based draftin…

Hyperparameter OptimizationReinforcement Learning

LLM-CoT Enhanced Graph Neural Recommendation with Harmonized Group Policy Optimization

2025-05-18 · Hailong Luo, Bin Wu, Hongyong Jia, Qingqing Zhu 외

Graph neural networks (GNNs) have advanced recommender systems by modeling interaction relationships. However, existing graph-based recommenders rely on sparse ID features and do not fully exploit textual information, re…

Contrastive LearningRecommendation SystemsRepresentation Learning

FR-Spec: Accelerating Large-Vocabulary Language Models via Frequency-Ranked Speculative Sampling

2025-02-20 · Weilin Zhao, Tengyu Pan, Xu Han, Yudi Zhang 외

Speculative sampling has emerged as an important technique for accelerating the auto-regressive generation process of large language models (LLMs) by utilizing a draft-then-verify mechanism to produce multiple tokens per…

Language ModelingLanguage Modelling

Accelerating Speculative Diffusions via Block Verification

2026-06-11 · Alexander Soen, Hisham Husain, Valentin De Bortoli, Arnaud Doucet arxiv

Speculative decoding speeds up LLM inference by using a draft model to generate tokens, with an acceptance-rejection scheme that ensures that the output matches the target distribution. Adapting this to continuous diffus…

Optimized Speculative Sampling for GPU Hardware Accelerators

2024-06-16 · Dominik Wagner, Seanie Lee, Ilja Baumann, Philipp Seeberger 외

In this work, we optimize speculative sampling for parallel hardware accelerators to improve sampling speed. We notice that substantial portions of the intermediate matrices necessary for speculative sampling can be comp…

Automatic Speech RecognitionGPUspeech-recognitionSpeech Recognition