Reranking Laws for Language Generation: A Communication-Theoretic Perspective
Ant\'onio Farinhas, Haau-Sing Li, Andr\'e F. T. Martins

TL;DR
This paper models the reranking process in language generation as a communication problem, deriving theoretical conditions for error reduction and validating these laws empirically on LLM tasks.
Contribution
It introduces a communication-theoretic framework for reranking in language models, providing new error bounds and reranking laws under realistic conditions.
Findings
Reranking laws improve answer reliability in LLMs.
Theoretical conditions guarantee asymptotic error-free performance.
Empirical validation on code generation and medical translation tasks.
Abstract
To ensure large language models (LLMs) are used safely, one must reduce their propensity to hallucinate or to generate unacceptable answers. A simple and often used strategy is to first let the LLM generate multiple hypotheses and then employ a reranker to choose the best one. In this paper, we draw a parallel between this strategy and the use of redundancy to decrease the error rate in noisy communication channels. We conceptualize the generator as a sender transmitting multiple descriptions of a message through parallel noisy channels. The receiver decodes the message by ranking the (potentially corrupted) descriptions and selecting the one found to be most reliable. We provide conditions under which this protocol is asymptotically error-free (i.e., yields an acceptable answer almost surely) even in scenarios where the reranker is imperfect (governed by Mallows or Zipf-Mandelbrot…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsLanguage, Discourse, Communication Strategies · Hate Speech and Cyberbullying Detection · Linguistic research and analysis
