On-the-Fly Attention Modulation for Neural Generation
Not on the map. Why?
Abstract (arXiv)
Despite considerable advancements with deep neural language models (LMs), neural text generation still suffers from degeneration: the generated text is repetitive, generic, self-contradictory, and often lacks commonsense. Our analyses on sentence-level attention patterns in LMs reveal that neural degeneration may be associated with insufficient learning of task-specific characteristics by the attention mechanism. This finding motivates on-the-fly attention modulation -- a simple but effective method that enables the injection of priors into attention computation during inference. Automatic and human evaluation results on three text generation benchmarks demonstrate that attention modulation helps LMs generate text with enhanced fluency, creativity, and commonsense reasoning, in addition to significantly reduce sentence-level repetition.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Builds on 22 of its 31 references that are in the map. First posted on arXiv 2 Jan 2021.
Builds on
22 of 31 references.
References · 22
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2019The Curious Case of Neural Text Degenerationcited by 2,916
- 2014CIDEr: Consensus-based Image Description Evaluationcited by 2,046
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
- 2020Rethinking Attention with Performerscited by 1,601
- 2019Attention is not Explanationcited by 929
- 2016SPICE: Semantic Propositional Image Caption Evaluationcited by 824
- 2019Are Sixteen Heads Really Better than One?cited by 816
- 2019Attention is not not Explanationcited by 636
10 more
- 2019Neural Text Generation with Unlikelihood Trainingcited by 503
- 2016A Corpus and Evaluation Framework for Deeper Understanding of Commonsense Storiescited by 417
- 2019Abductive Commonsense Reasoningcited by 301
- 2019Analyzing the Structure of Attention in a Transformer Language Modelcited by 243
- 2020NeuroLogic Decoding: (Un)supervised Neural Text Generation with Predicate Logic Constraintscited by 149
- 2018Learning to Write with Cooperative Discriminatorscited by 119
- 2018Sharp Nearby, Fuzzy Far Away: How Neural Language Models Use Contextcited by 113
- 2019Do Attention Heads in BERT Track Syntactic Dependencies?cited by 88
- 2019Adding Interpretable Attention to Neural Translation Models Improves Word Alignmentcited by 30
- 2019Improving Neural Story Generation by Targeted Common Sense Groundingcited by 16
Built on by
Citing papers per year: 2022: 4; 2023: 3; 2024: 2; 2025: 2; 2026: 1.
12 papers.
- 2023Dense Text-to-Image Generation with Attention Modulationcited by 163
- 2024Found in the Middle: Calibrating Positional Attention Bias Improves Long Context Utilizationcited by 101
- 2023Towards a Mechanistic Interpretation of Multi-Step Reasoning Capabilities of Language Modelscited by 50
- 2022On the Blind Spots of Model-Based Evaluation Metrics for Text Generationcited by 49
- 2022ClarET: Pre-training a Correlation-Aware Context-To-Event Transformer for Event-Centric Generation and Classificationcited by 45
- 2025Spotlight Your Instructions: Instruction-following with Dynamic Attention Steeringcited by 21
- 2023Should We Attend More or Less? Modulating Attention for Fairnesscited by 11
- 2025Hallucinate at the Last in Long Response Generation: A Case Study on Long Document Summarizationcited by 6
- 2022Controlling the Focus of Pretrained Language Generation Modelscited by 4
- 2026AttenMIA: LLM Membership Inference Attack through Attention Signalscited by 4
- 2022Evade the Trap of Mediocrity: Promoting Diversity and Novelty in Text Generation via Concentrating Attentioncited by 3
- 2024DECIDER: A Dual-System Rule-Controllable Decoding Framework for Language Generationcited by 2
- 2026AttenMIA: LLM Membership Inference Attack through Attention Signals26 Jan 2026
- 2025Hallucinate at the Last in Long Response Generation: A Case Study on Long Document Summarization21 May 2025
- 2025Spotlight Your Instructions: Instruction-following with Dynamic Attention Steering17 May 2025
- 2024Found in the Middle: Calibrating Positional Attention Bias Improves Long Context Utilization23 Jun 2024
- 2024DECIDER: A Dual-System Rule-Controllable Decoding Framework for Language Generation4 Mar 2024
- 2023Towards a Mechanistic Interpretation of Multi-Step Reasoning Capabilities of Language Models23 Oct 2023
- 2023Dense Text-to-Image Generation with Attention Modulation24 Aug 2023
- 2023Should We Attend More or Less? Modulating Attention for Fairness22 May 2023
- 2022On the Blind Spots of Model-Based Evaluation Metrics for Text Generation20 Dec 2022
- 2022Evade the Trap of Mediocrity: Promoting Diversity and Novelty in Text Generation via Concentrating Attention14 Nov 2022
- 2022ClarET: Pre-training a Correlation-Aware Context-To-Event Transformer for Event-Centric Generation and Classification4 Mar 2022
- 2022Controlling the Focus of Pretrained Language Generation Models2 Mar 2022