paper-with-me

홈 › Papers

RankGen: Improving Text Generation with Large Ranking Models

2022-05-19 · Kalpesh Krishna, Yapei Chang, John Wieting, Mohit Iyyer

Given an input sequence (or prefix), modern language models often assign high probabilities to output sequences that are repetitive, incoherent, or irrelevant to the prefix; as such, model-generated text also contains such artifacts. To address these issues we present RankGen, a 1.2B parameter encoder model for English that scores model generations given a prefix. RankGen can be flexibly incorporated as a scoring function in beam search and used to decode from any pretrained language model. We train RankGen using large-scale contrastive learning to map a prefix close to the ground-truth sequence that follows it and far away from two types of negatives: (1) random sequences from the same document as the prefix, and (2) sequences generated from a large language model conditioned on the prefix. Experiments across four different language models (345M-11B parameters) and two domains show that RankGen significantly outperforms decoding algorithms like nucleus, top-k, and typical sampling, as well as contrastive decoding and search, on both automatic metrics (85.0 vs 77.3 MAUVE over nucleus) as well as human evaluations with English writers (74.5% human preference over nucleus sampling). Analysis reveals that RankGen outputs are more relevant to the prefix and improve continuity and coherence compared to baselines. We release our model checkpoints, code, and human preference data with explanations to facilitate future research.

📄 PDF Abstract BibTeX arXiv:2205.09726

Code (1)

martiansideofthemoon/rankgen 공식 구현 jax

Tasks

Contrastive LearningLanguage ModelingLanguage ModellingLarge Language ModelText Generation

Methods 이 논문이 사용한 방법론

Contrastive Learning 설명 없음

Similar Papers 제목 키워드 기반

RankRAG: Unifying Context Ranking with Retrieval-Augmented Generation in LLMs

2024-07-02 · Yue Yu, Wei Ping, Zihan Liu, Boxin Wang 외

Large language models (LLMs) typically utilize the top-k contexts from a retriever in retrieval-augmented generation (RAG). In this work, we propose a novel instruction fine-tuning framework RankRAG, which instruction-tu…

Answer GenerationQuestion AnsweringRAGRetrieval+1

ASU at TextGraphs 2019 Shared Task: Explanation ReGeneration using Language Models and Iterative Re-Ranking

2019-09-19 · WS 2019 11 · Pratyay Banerjee

In this work we describe the system from Natural Language Processing group at Arizona State University for the TextGraphs 2019 Shared Task. The task focuses on Explanation Regeneration, an intermediate step towards gener…

Learning-To-RankRe-Ranking

Attention in Large Language Models Yields Efficient Zero-Shot Re-Rankers

2024-10-03 · Shijie Chen, Bernal Jiménez Gutiérrez, Yu Su

Information retrieval (IR) systems have played a vital role in modern digital life and have cemented their continued usefulness in this new era of generative AI via retrieval-augmented generation. With strong language pr…

Information RetrievalRe-RankingRetrievalRetrieval-augmented Generation+1

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

Text-to-Text Multi-view Learning for Passage Re-ranking

2021-04-29 · Jia-Huei Ju, Jheng-Hong Yang, Chuan-Ju Wang

Recently, much progress in natural language processing has been driven by deep contextualized representations pretrained on large corpora. Typically, the fine-tuning on these pretrained models for a specific downstream t…

MULTI-VIEW LEARNINGPassage RankingPassage Re-RankingRe-Ranking+2