Research map / Large language models / Language, safety and interpretability
Positional Encoding to Control Output Sequence Length
Sho Takase, Naoaki Okazaki
Tokyo Institute of Technology
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
On benchmark leaderboards
- DUC-2004 leaderboard ROUGE-1 32.85 · rank 5 of 13 papers
This paper tried a common change: Add positional encoding
add standard sinusoidal positional encoding (+PE) · Japanese JAMUL (len=10) · ROUGE-1: 42.70 -> 43.36 Improved
What 733 accepted papers report for this change
- 590 improved
- 67 no clear effect
- 9 mixed
- 67 hurt
- Learning-Augmented Scalable Linear Assignment Problem Optimization via Neural Dual Warm-Starts ICML 2026 · add positional encodings to features (d=13 -> d=21) · Block-structured, N=4096 · speedupImproved
- Mesh Based Simulations with Spatial and Temporal awareness ICML 2026 · use learned positional embedding, learnable relative bias or weighted adjacency instead of RoPE · Aneurysm · RMSEHurt
- Sparse ActionGen: Accelerating Diffusion Policy with Real-time Pruning ICML 2026 · add sinusoidal positional encoding to the pruner · Robomimic Tool Hang · success rate (%): 28 -> 54Improved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add LDPE/LRPE length-dependent positional encoding to Transformer | Transformer · Japanese JAMUL (len=10) | ROUGE-1: 34.63 -> 42.84 (LDPE) | Improved |
| add LDPE/LRPE to Transformer | Transformer · English Gigaword (len=75) | ROUGE-1: 47.31 -> 53.99 (LDPE) | Improved |
| add LDPE/LRPE to Transformer | Transformer · English Gigaword (len=30, 50) | ROUGE-2: 29.77 -> 28.77 (LRPE, len=30) | Hurt |
| add LDPE to Transformer | Transformer · Japanese JAMUL (len=10) | output length variance: 181.261 -> 0.000 | Improved |
| add LRPE instead of LDPE | Transformer · Japanese JAMUL (len=10, 13) | output length variance: 0.000 -> 0.121 (len=10) | Hurt |
| add standard sinusoidal positional encoding (+PE) (ablation) | Transformer+LRPE · Japanese JAMUL (len=10) | ROUGE-1: 42.70 -> 43.36 | Improved |
| add +PE (ablation) | Transformer+LRPE · Japanese JAMUL (len=13) | ROUGE-1: 47.05 -> 46.39 | Hurt |
| exclude training headlines of the target length (ablation) | Transformer+LRPE · Japanese JAMUL (len=10) | ROUGE-1: 42.70 -> 41.91 | No clear effect |
| add re-ranking of 20-best headlines by source word overlap (ablation) | Transformer+LRPE+PE · DUC-2004 | ROUGE-1: 31.10 -> 32.29 | Improved |
| add 5-model ensemble | Transformer+LRPE+PE+Re-ranking · DUC-2004 | ROUGE-1: 32.29 -> 32.85 | Improved |
Open problems in controlled text generation
How can generation be controlled and checked reliably across languages, domains and model sizes without extra cost?
- Each study covers one domain, source or task, so transfer is unknown. · 13 papers state it
- Only a few languages are tested, mostly English or high-resource ones. · 12 papers state it
- Extra stages, calls or tokens make generation slower and costlier. · 10 papers state it
Closest papers by meaning
- A Decoding Algorithm for Length-Control Summarization Based on Directed Acyclic Transformers (EMNLP 2024 · similarity 0.88)
- Controlling Length in Abstractive Summarization Using a Convolutional Neural Network (EMNLP 2018 · similarity 0.88)
- Length Control in Abstractive Summarization by Pretraining Information Selection (ACL 2022 · similarity 0.88)
- Progress Ratio Embeddings: An Impatience Signal for Robust Length Control in Neural Text Generation (ACL 2026 · similarity 0.88)
- Generating Summaries with Topic Templates and Structured Convolutional Decoders (ACL 2019 · similarity 0.87)
- Deep Recurrent Generative Decoder for Abstractive Text Summarization (EMNLP 2017 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.