Controlling Summarization Length Through EOS Token Weighting
Not on the map. Why?
Abstract (arXiv)
Controlling the length of generated text can be crucial in various text-generation tasks, including summarization. Existing methods often require complex model alterations, limiting compatibility with pre-trained models. We address these limitations by developing a simple approach for controlling the length of automatic text summaries by increasing the importance of correctly predicting the EOS token in the cross-entropy loss computation. The proposed methodology is agnostic to architecture and decoding algorithms and orthogonal to other inference-time techniques to control the generation length. We tested it with encoder-decoder and modern GPT-style LLMs, and show that this method can control generation length, often without affecting the quality of the summary.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 17 of its 25 references that are in the map. First posted on arXiv 5 Jun 2025.
Builds on
17 of 25 references.
References · 17
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,181
- 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,292
- 2015Teaching Machines to Read and Comprehendcited by 1,049
- 2019SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarizationcited by 535
- 2015A Neural Attention Model for Abstractive Sentence Summarizationcited by 396
- 2021XL-Sum: Large-Scale Multilingual Abstractive Summarization for 44 Languagescited by 347
- 2018Correcting Length Bias in Neural Machine Translationcited by 120
- 2017Controllable Abstractive Summarizationcited by 110
- 2016Controlling Output Length in Neural Encoder-Decoderscited by 75
5 more
- 2019Positional Encoding to Control Output Sequence Lengthcited by 56
- 2021Controllable Summarization with Constrained Markov Decision Processcited by 17
- 2021LenAtten: An Effective Length Controlling Unit For Text Summarizationcited by 14
- 2023Prompt-Based Length Controlled Generation with Reinforcement Learningcited by 14
- 2023Summarization with Precise Length Controlcited by 4
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026TiCo: Time-Controllable Spoken Dialogue Modelcited by 1
- 2026TiCo: Time-Controllable Spoken Dialogue Model23 Mar 2026