paper-with-me

홈 › Papers

Lightweight reranking for language model generations

2023-07-11 · Siddhartha Jain, Xiaofei Ma, Anoop Deoras, Bing Xiang

Large Language Models (LLMs) can exhibit considerable variation in the quality of their sampled outputs. Reranking and selecting the best generation from the sampled set is a popular way of obtaining strong gains in generation quality. In this paper, we present a novel approach for reranking LLM generations. Unlike other techniques that might involve additional inferences or training a specialized reranker, our approach relies on easy to compute pairwise statistics between the generations that have minimal compute overhead. We show that our approach can be formalized as an extension of self-consistency and analyze its performance in that framework, theoretically as well as via simulations. We show strong improvements for selecting the best k generations for code generation tasks as well as robust improvements for the best generation for the tasks of autoformalization, summarization, and translation. While our approach only assumes black-box access to LLMs, we show that additional access to token probabilities can improve performance even further.

📄 PDF Abstract BibTeX arXiv:2307.06857

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationLanguage ModelingLanguage ModellingmodelReranking

Similar Papers 제목 키워드 기반

FANTAstic SEquences and Where to Find Them: Faithful and Efficient API Call Generation through State-tracked Constrained Decoding and Reranking

2024-07-18 · Zhuoer Wang, Leonardo F. R. Ribeiro, Alexandros Papangelis, Rohan Mukherjee 외

API call generation is the cornerstone of large language models' tool-using ability that provides access to the larger world. However, existing supervised and in-context learning approaches suffer from high training cost…

In-Context LearningLanguage ModelingLanguage ModellingLarge Language Model+1

How Good are LLM-based Rerankers? An Empirical Analysis of State-of-the-Art Reranking Models

2025-08-22 · Abdelrahman Abdallah, Bhawna Piryani, Jamshid Mozafari, Mohammed Ali 외 arxiv

In this work, we present a systematic and comprehensive empirical evaluation of state-of-the-art reranking methods, encompassing large language model (LLM)-based, lightweight contextual, and zero-shot approaches, with re…

Computational EfficiencyInformation Retrieval

HLATR: Enhance Multi-stage Text Retrieval with Hybrid List Aware Transformer Reranking

2022-05-21 · Yanzhao Zhang, Dingkun Long, Guangwei Xu, Pengjun Xie

Deep pre-trained language models (e,g. BERT) are effective at large-scale text retrieval task. Existing text retrieval systems with state-of-the-art performance usually adopt a retrieve-then-reranking architecture due to…

Passage RankingPassage Re-RankingRerankingRetrieval+1

Universal Biological Sequence Reranking for Improved De Novo Peptide Sequencing

2025-05-23 · Zijie Qiu, Jiaqi Wei, Xiang Zhang, Sheng Xu 외

De novo peptide sequencing is a critical task in proteomics. However, the performance of current deep learning-based methods is limited by the inherent complexity of mass spectrometry data and the heterogeneous distribut…

de novo peptide sequencingRerankingZero-shot Generalization

Instance-level Image Retrieval using Reranking Transformers

2021-03-22 · ICCV 2021 10 · Fuwen Tan, Jiangbo Yuan, Vicente Ordonez

Instance-level image retrieval is the task of searching in a large database for images that match an object in a query image. To address this task, systems usually rely on a retrieval step that uses global image descript…

Image RetrievalRerankingRetrieval