paper-with-me

Papers

Ouroboros: Generating Longer Drafts Phrase by Phrase for Faster Speculative Decoding

2024-02-21 · Weilin Zhao, Yuxiang Huang, Xu Han, Wang Xu, Chaojun Xiao, Xinrong Zhang, Yewei Fang, Kaihuo Zhang, Zhiyuan Liu, Maosong Sun

Speculative decoding is a widely used method that accelerates the generation process of large language models (LLMs) with no compromise in model performance. It achieves this goal by using an existing smaller model for drafting and then employing the target LLM to verify the draft in a low-cost parallel manner. Under such a drafting-verification framework, drafting efficiency has become a bottleneck in the final speedup of speculative decoding. Therefore, generating longer drafts at less cost can lead to better decoding speedup. To achieve this, we introduce Ouroboros, which can generate draft phrases to parallelize the drafting process and meanwhile lengthen drafts in a training-free manner. The experimental results on various typical text generation tasks show that Ouroboros can achieve speedups of up to $2.8\times$ over speculative decoding and $3.9\times$ over vanilla decoding, without fine-tuning draft and target models. The source code of Ouroboros is available at https://github.com/thunlp/Ouroboros.

📄 PDF Abstract BibTeX arXiv:2402.13720

Code (1)

thunlp/ouroboros 공식 구현 pytorch

Tasks

Text Generation

Similar Papers 제목 키워드 기반

Keyphrase Generation Beyond the Boundaries of Title and Abstract

2021-12-13 · Krishna Garg, Jishnu Ray Chowdhury, Cornelia Caragea

Keyphrase generation aims at generating important phrases (keyphrases) that best describe a given document. In scholarly domains, current approaches have largely used only the title and abstract of the articles to genera…

ArticlesDecoderKeyphrase Generation

Product Review Summarization by Exploiting Phrase Properties

2016-12-01 · COLING 2016 12 · Naitong Yu, Minlie Huang, Yuanyuan Shi, Xiaoyan Zhu

We propose a phrase-based approach for generating product review summaries. The main idea of our method is to leverage phrase properties to choose a subset of optimal phrases for generating the final summary. Specificall…

Abstractive Text SummarizationDescriptiveLanguage ModelingLanguage Modelling+1

ParaSCI: A Large Scientific Paraphrase Dataset for Longer Paraphrase Generation

2021-01-21 · EACL 2021 2 · Qingxiu Dong, Xiaojun Wan, Yue Cao

We propose ParaSCI, the first large-scale paraphrase dataset in the scientific field, including 33,981 paraphrase pairs from ACL (ParaSCI-ACL) and 316,063 pairs from arXiv (ParaSCI-arXiv). Digging into characteristics an…

DiversityParaphrase Generation

Statistical Phrase-Based Translation

2003-05-27 · HLT-NAACL 2003 5 · Philipp Koehn, Franz J. Och, Daniel Marcu

We propose a new phrase-based translation model and decoding algorithm that enables us to evaluate and compare several, previously proposed phrase-based translation models. Within our framework, we carry out a large numb…

Machine TranslationTranslation

KPDrop: Improving Absent Keyphrase Generation

2021-12-02 · Jishnu Ray Chowdhury, Seoyeon Park, Tuhin Kundu, Cornelia Caragea

Keyphrase generation is the task of generating phrases (keyphrases) that summarize the main topics of a given document. Keyphrases can be either present or absent from the given document. While the extraction of present …

Keyphrase Generation