paper-with-me

Papers

CREST: Effectively Compacting a Datastore For Retrieval-Based Speculative Decoding

2024-08-08 · Sophia Ho, Jinsol Park, Patrick Wang

We present CREST (Compact Retrieval-Based Speculative Decoding), a redesign of REST that allows it to be effectively "compacted". REST is a drafting technique for speculative decoding based on retrieving exact n-gram matches of the most recent n tokens generated by the target LLM from a datastore. The key idea of CREST is to only store a subset of the smallest and most common n-grams in the datastore with the hope of achieving comparable performance with less storage space. We found that storing a subset of n-grams both reduces storage space and improves performance. CREST matches REST's accepted token length with 10.6-13.5x less storage space and achieves a 16.5-17.1% higher acceptance length than REST using the same storage space on the HumanEval and MT Bench benchmarks.

📄 PDF Abstract BibTeX arXiv:2408.04678

Code (0)

등록된 구현이 없습니다.

Tasks

HumanEvalRetrieval

Similar Papers 제목 키워드 기반

DReSD: Dense Retrieval for Speculative Decoding

2025-02-21 · Milan Gritta, Huiyin Xue, Gerasimos Lampouras

Speculative decoding (SD) accelerates Large Language Model (LLM) generation by using an efficient draft model to propose the next few tokens, which are verified by the LLM in a single forward call, reducing latency while…

Language ModelingLanguage ModellingLarge Language ModelRetrieval

Neuro-Symbolic Language Modeling with Automaton-augmented Retrieval

2022-01-28 · Uri Alon, Frank F. Xu, Junxian He, Sudipta Sengupta 외

Retrieval-based language models (R-LM) model the probability of natural language text by combining a standard language model (LM) with examples retrieved from an external datastore at test time. While effective, a major …

Language ModelingLanguage ModellingRetrieval

CREST: Curvature-Regulated Event-Centric Sampling for Efficient Long-Video Understanding

2026-05-09 · Mehrajul Abadin Miraj, Abdul Mohaimen Al Radi, Shariful Islam Rayhan, Md. Tanvir Alam 외 arxiv

Selecting informative frames from long videos is a combinatorial problem that existing methods address either through efficient heuristics without explicit modeling of query-conditioned temporal structure, or through mul…

Bridging the Domain Gaps in Context Representations for k-Nearest Neighbor Neural Machine Translation

2023-05-26 · Zhiwei Cao, Baosong Yang, Huan Lin, Suhang Wu 외

$k$-Nearest neighbor machine translation ($k$NN-MT) has attracted increasing attention due to its ability to non-parametrically adapt to new translation domains. By using an upstream NMT model to traverse the downstream …

Domain AdaptationMachine TranslationNMTRetrieval+1

Scaling Retrieval-Based Language Models with a Trillion-Token Datastore

2024-07-09 · Rulin Shao, Jacqueline He, Akari Asai, Weijia Shi 외

Scaling laws with respect to the amount of training data and the number of parameters allow us to predict the cost-benefit trade-offs of pretraining language models (LMs) in different configurations. In this paper, we co…

Language ModelingLanguage ModellingRetrieval