English
Related papers

Related papers: Efficient Beam Search for Large Language Models Us…

200 papers

In this paper, we propose a simple, fast decoding algorithm that fosters diversity in neural generation. The algorithm modifies the standard beam search algorithm by adding an inter-sibling ranking penalty, favoring choosing hypotheses from…

Computation and Language · Computer Science 2016-12-23 Jiwei Li , Will Monroe , Dan Jurafsky

Tries are popular data structures for storing a set of strings, where common prefixes are represented by common root-to-node paths. Over fifty years of usage have produced many variants and implementations to overcome some of their…

Data Structures and Algorithms · Computer Science 2011-12-06 Roberto Grossi , Giuseppe Ottaviano

Decoding for many NLP tasks requires an effective heuristic algorithm for approximating exact search since the problem of searching the full output space is often intractable, or impractical in many settings. The default algorithm for this…

Computation and Language · Computer Science 2022-11-16 Clara Meister , Tim Vieira , Ryan Cotterell

Beam search is widely used for approximate decoding in structured prediction problems. Models often use a beam at test time but ignore its existence at train time, and therefore do not explicitly learn how to use the beam. We develop an…

Machine Learning · Statistics 2019-06-26 Renato Negrinho , Matthew R. Gormley , Geoffrey J. Gordon

Recent advances in reasoning models have demonstrated significant improvements in accuracy by employing detailed and comprehensive reasoning processes. However, generating these lengthy reasoning sequences is computationally expensive and…

Computation and Language · Computer Science 2025-08-27 Yijiong Yu

Large language models (LLMs) face low hardware efficiency during decoding, especially for long-context reasoning tasks. This paper introduces Step-3, a 321B-parameter VLM with hardware-aware model-system co-design optimized for minimizing…

Machine Learning · Computer Science 2025-07-28 StepFun , : , Bin Wang , Bojun Wang , Changyi Wan , Guanzhe Huang , Hanpeng Hu , Haonan Jia , Hao Nie , Mingliang Li , Nuo Chen , Siyu Chen , Song Yuan , Wuxun Xie , Xiaoniu Song , Xing Chen , Xingping Yang , Xuelin Zhang , Yanbo Yu , Yaoyu Wang , Yibo Zhu , Yimin Jiang , Yu Zhou , Yuanwei Lu , Houyi Li , Jingcheng Hu , Ka Man Lo , Ailin Huang , Binxing Jiao , Bo Li , Boyu Chen , Changxin Miao , Chang Lou , Chen Hu , Chen Xu , Chenfeng Yu , Chengyuan Yao , Daokuan Lv , Dapeng Shi , Deshan Sun , Ding Huang , Dingyuan Hu , Dongqing Pang , Enle Liu , Fajie Zhang , Fanqi Wan , Gulin Yan , Han Zhang , Han Zhou , Hanghao Wu , Hangyu Guo , Hanqi Chen , Hanshan Zhang , Hao Wu , Haocheng Zhang , Haolong Yan , Haoran Lv , Haoran Wei , Hebin Zhou , Heng Wang , Heng Wang , Hongxin Li , Hongyu Zhou , Hongyuan Wang , Huiyong Guo , Jia Wang , Jiahao Gong , Jialing Xie , Jian Zhou , Jianjian Sun , Jiaoren Wu , Jiaran Zhang , Jiayu Liu , Jie Cheng , Jie Luo , Jie Yan , Jie Yang , Jieyi Hou , Jinguang Zhang , Jinlan Cao , Jisheng Yin , Junfeng Liu , Junhao Huang , Junzhe Lin , Kaijun Tan , Kaixiang Li , Kang An , Kangheng Lin , Kenkun Liu , Lei Yang , Liang Zhao , Liangyu Chen , Lieyu Shi , Liguo Tan , Lin Lin , Lin Zhang , Lina Chen , Liwen Huang , Liying Shi , Longlong Gu , Mei Chen , Mengqiang Ren , Ming Li , Mingzhe Chen , Na Wang , Nan Wu , Qi Han , Qian Zhao , Qiang Zhang , Qianni Liu , Qiaohui Chen , Qiling Wu , Qinglin He , Qinyuan Tan , Qiufeng Wang , Qiuping Wu , Qiuyan Liang , Quan Sun , Rui Li , Ruihang Miao , Ruosi Wan , Ruyan Guo , Shangwu Zhong , Shaoliang Pang , Shengjie Fan , Shijie Shang , Shilei Jiang , Shiliang Yang , Shiming Hao , Shuli Gao , Siming Huang , Siqi Liu , Tiancheng Cao , Tianhao Cheng , Tianhao Peng , Wang You , Wei Ji , Wen Sun , Wenjin Deng , Wenqing He , Wenzhen Zheng , Xi Chen , Xiangwen Kong , Xianzhen Luo , Xiaobo Yang , Xiaojia Liu , Xiaoxiao Ren , Xin Han , Xin Li , Xin Wu , Xu Zhao , Yanan Wei , Yang Li , Yangguang Li , Yangshijie Xu , Yanming Xu , Yaqiang Shi , Yeqing Shen , Yi Yang , Yifei Yang , Yifeng Gong , Yihan Chen , Yijing Yang , Yinmin Zhang , Yizhuang Zhou , Yuanhao Ding , Yuantao Fan , Yuanzhen Yang , Yuchu Luo , Yue Peng , Yufan Lu , Yuhang Deng , Yuhe Yin , Yujie Liu , Yukun Chen , Yuling Zhao , Yun Mou , Yunlong Li , Yunzhou Ju , Yusheng Li , Yuxiang Yang , Yuxiang Zhang , Yuyang Chen , Zejia Weng , Zhe Xie , Zheng Ge , Zheng Gong , Zhenyi Lu , Zhewei Huang , Zhichao Chang , Zhiguo Huang , Zhirui Wang , Zidong Yang , Zili Wang , Ziqi Wang , Zixin Zhang , Binxing Jiao , Daxin Jiang , Heung-Yeung Shum , Xiangyu Zhang

We study retrieval design for code-focused generation tasks under realistic compute budgets. Using two complementary tasks from Long Code Arena -- code completion and bug localization -- we systematically compare retrieval configurations…

Machine Learning · Computer Science 2025-10-24 Timur Galimzyanov , Olga Kolomyttseva , Egor Bogomolov

Speculative decoding accelerates memory-bound LLM inference without quality degradation by using a fast drafter to propose multiple candidate tokens and the target model to verify them in parallel. However, conventional sequential…

Computation and Language · Computer Science 2026-05-20 Yaojie Zhang , Jianuo Huang , Junlong Ke , Yuhang Han , Yongji Long , Tianchen Zhao , Biqing Qi , Linfeng Zhang

Long-range tasks demand reasoning over long inputs. However, existing solutions are limited, e.g., long-context models require large compute budgets, parameter-efficient fine-tuning (PEFT) needs training data, and retrieval-augmented…

Artificial Intelligence · Computer Science 2025-08-26 Dulhan Jayalath , James Bradley Wendt , Nicholas Monath , Sandeep Tata , Beliz Gunel

B$^+$-trees are prevalent in traditional database systems due to their versatility and balanced structure. While binary search is typically utilized for branch operations, it may lead to inefficient cache utilization in main-memory…

Databases · Computer Science 2025-04-04 Yuan Chen , Ao Li , Wenhai Li , Lingfeng Deng

Beam selection for joint transmission in cell-free massive multi-input multi-output systems faces the problem of extremely high training overhead and computational complexity. The traffic-aware quality of service additionally complicates…

Information Theory · Computer Science 2023-09-21 Chenyang Wang , Cheng Zhang , Fan Meng , Yongming Huang , Wei Zhang

The basic concept in Neural Machine Translation (NMT) is to train a large Neural Network that maximizes the translation performance on a given parallel corpus. NMT is then using a simple left-to-right beam-search decoder to generate new…

Computation and Language · Computer Science 2018-12-19 Markus Freitag , Yaser Al-Onaizan

We adapt the well-known beam-search algorithm for machine translation to operate in a cascaded real-time speech translation system. This proved to be more complex than initially anticipated, due to four key challenges: (1) real-time…

Computation and Language · Computer Science 2024-07-17 Rastislav Rabatin , Frank Seide , Ernie Chang

Decoding from the output distributions of large language models to produce high-quality text is a complex challenge in language modeling. Various approaches, such as beam search, sampling with temperature, $k-$sampling, nucleus…

Computation and Language · Computer Science 2024-10-22 Esteban Garces Arias , Julian Rodemann , Meimingwei Li , Christian Heumann , Matthias Aßenmacher

Agentic large language model (LLM) training often involves multi-turn interaction trajectories that branch into multiple execution paths due to concurrent tool use, think-mode, sub-agent, context management and other runtime designs. As a…

Whether attention key value (KV) states computed for one prompt for a small LLM can be reused to accelerate inference on a new similar prompt, giving an increase to the space to its context memory using an approach called token recycling.…

Machine Learning · Computer Science 2025-12-16 Prashant Pandey

Dense retrieval techniques employ pre-trained large language models to build a high-dimensional representation of queries and passages. These representations compute the relevance of a passage w.r.t. to a query using efficient similarity…

Information Retrieval · Computer Science 2024-04-04 Franco Maria Nardini , Cosimo Rulli , Rossano Venturini

In real-world applications of large language models, outputs are often required to be confined: selecting items from predefined product or document sets, generating phrases that comply with safety standards, or conforming to specialized…

Computation and Language · Computer Science 2025-04-15 Haotian Ye , Himanshu Jain , Chong You , Ananda Theertha Suresh , Haowei Lin , James Zou , Felix Yu

Detecting plagiarism involves finding similar items in two different sources. In this article, we propose a novel method for detecting plagiarism that is based on attention mechanism-based long short-term memory (LSTM) and bidirectional…

Computation and Language · Computer Science 2023-05-05 Seyed Vahid Moravvej , Seyed Jalaleddin Mousavirad , Diego Oliva , Fardin Mohammadi

Simultaneous translation, which starts translating each sentence after receiving only a few words in source sentence, has a vital role in many scenarios. Although the previous prefix-to-prefix framework is considered suitable for…

Computation and Language · Computer Science 2022-01-03 Zhengxin Yang