Coherence boosting: When your pretrained language model is not paying enough attention

Esmeralda S. Whitammer, Zhen Wang, Nebojsa Jojic
10/15/2021
cs.CL

Official code: zhenwang9102/coherence-boosting (15 stars, Python, last commit 2026-11-18).

Abstract

Long-range semantic coherence remains a challenge in automatic language generation and understanding. We demonstrate that large language models have insufficiently learned the effect of distant words on next-token prediction.

Show full abstract

We present coherence boosting, an inference procedure that increases a LM's focus on a long context. We show the benefits of coherence boosting with pretrained models by distributional analyses of generated ordinary text and dialog responses. It is also found that coherence boosting with state-of-the-art models for various zero-shot NLP tasks yields performance gains with no additional training.

View on arXivView PDF

Code Implementations(1)

Coherence boosting: When your pretrained language model is not paying enough attention (ACL 2022) https://arxiv.org/abs/2110.08294

151PythonOct 15, 20211 weeks ago
contrastive-learninggpt-3gpt-3-promptslanguage-modelnatural-language-generation+2 more

Similar Papers

Cite this paper

@article{whitammer2021coherence,
  title  = {Coherence boosting: When your pretrained language model is not paying enough attention},
  author = {Esmeralda S. Whitammer and Zhen Wang and Nebojsa Jojic},
  year   = {2021},
  eprint = {2110.08294},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.08294}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.08294.svg)](https://codeofpaper.com/paper/2110.08294)

Discussion