paper-with-me

홈 › Papers

Accelerating Constrained Decoding with Token Space Compression

2026-05-28 · Michael Sullivan, Alexander Koller arxiv

To guarantee that an LLM's outputs conform to a specified structure, context-free grammar (CFG) decoding engines force the selection of next tokens that produce strings that conform to a given CFG. While current CFG-constrained decoding engines are highly optimized, the inherent costs arising from the massive per-step search space -- i.e. the entire token vocabulary -- result in intractably high overhead for more complex CFGs: precisely the situation where CFG engines are most useful. In this paper, we introduce CFGzip, an offline technique for compressing the token search space, which massively reduces CFG engine overhead. In experiments, we report latency reduction of up to two orders of magnitude when CFGzip is used with a SoTA grammar engine, yielding an up to 7.5x speedup in total constrained generation time: with CFGzip, constrained decoding is now feasible at scale for complex CFGs.

📄 PDF Abstract BibTeX arXiv:2605.29986

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

VL-Cache: Sparsity and Modality-Aware KV Cache Compression for Vision-Language Model Inference Acceleration

2024-10-29 · Dezhan Tu, Danylo Vashchilenko, Yuzhe Lu, Panpan Xu

Vision-Language Models (VLMs) have demonstrated impressive performance across a versatile set of tasks. A key challenge in accelerating VLMs is storing and accessing the large Key-Value (KV) cache that encodes long visua…

GPULanguage ModelingLanguage Modelling

Leveraging Passage Embeddings for Efficient Listwise Reranking with Large Language Models

2024-06-21 · Qi Liu, Bo wang, Nan Wang, Jiaxin Mao

Recent studies have demonstrated the effectiveness of using large language language models (LLMs) in passage ranking. The listwise approaches, such as RankGPT, have become new state-of-the-art in this task. However, the …

Learning-To-RankPassage RankingPassage RerankingReranking

Towards Efficient Large Vision-Language Models: A Comprehensive Survey on Inference Strategies

2026-03-30 · Surendra Pathak, Bo Han arxiv

Although Large Vision Language Models (LVLMs) have demonstrated impressive multimodal reasoning capabilities, their scalability and deployment are constrained by massive computational requirements. In particular, the mas…

Multimodal Reasoning

Cactus: Accelerating Auto-Regressive Decoding with Constrained Acceptance Speculative Sampling

2026-04-05 · Yongchang Hao, Lili Mou arxiv

Speculative sampling (SpS) has been successful in accelerating the decoding throughput of auto-regressive large language models by leveraging smaller draft models. SpS strictly enforces the generated distribution to matc…

DyCoke: Dynamic Compression of Tokens for Fast Video Large Language Models

2024-11-22 · CVPR 2025 1 · Keda Tao, Can Qin, Haoxuan You, Yang Sui 외

Video large language models (VLLMs) have significantly advanced recently in processing complex video content, yet their inference efficiency remains constrained because of the high computational cost stemming from the th…