PositionID: LLMs can Control Lengths, Copy and Paste with Explicit Positional Awareness
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
Large Language Models (LLMs) demonstrate impressive capabilities across various domains, including role-playing, creative writing, mathematical reasoning, and coding. Despite these advancements, LLMs still encounter challenges with length control, frequently failing to adhere to specific length constraints due to their token-level operations and insufficient training on data with strict length limitations. We identify this issue as stemming from a lack of positional awareness and propose novel approaches--PositionID Prompting and PositionID Fine-Tuning--to address it. These methods enhance the model's ability to continuously monitor and manage text length during generation. Additionally, we introduce PositionID CP Prompting to enable LLMs to perform copy and paste operations accurately. Furthermore, we develop two benchmarks for evaluating length control and copy-paste abilities. Our experiments demonstrate that our methods significantly improve the model's adherence to length constraints and copy-paste accuracy without compromising response quality.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 19 of its 32 references that are in the map. First posted on arXiv 9 Oct 2024.
Builds on
19 of 32 references.
Closest ancestors · 2
Same direction, newest first
- 2023Code Llama: Open Foundation Models for Code24 Aug
- 2023LLaMA: Open and Efficient Foundation Language Models27 Feb
Other references · 17
- 2023GPT-4 Technical Reportcited by 18,132
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
- 2024Length-Controlled AlpacaEval: A Simple Way to Debias Automatic Evaluatorscited by 865
- 2024Yi: Open Foundation Models by 01.AIcited by 706
- 2016NewsQA: A Machine Comprehension Datasetcited by 330
- 2021LexGLUE: A Benchmark Dataset for Legal Language Understanding in Englishcited by 302
- 2020ReClor: A Reading Comprehension Dataset Requiring Logical Reasoningcited by 211
- 2018WikiHow: A Large Scale Text Summarization Datasetcited by 203
- 2022COLD Decoding: Energy-based Constrained Text Generation with Langevin Dynamicscited by 159
5 more
- 2023Controlled Text Generation with Natural Language Instructionscited by 87
- 2023Evaluating Large Language Models on Controlled Generation Taskscited by 73
- 2019Question Answering for Privacy Policies: Combining Computational and Legal Perspectivescited by 65
- 2024Contextual Position Encoding: Learning to Count What's Importantcited by 53
- 2024Weaver: Foundation Models for Creative Writingcited by 25
Built on by
Citing papers per year: 2025: 5; 2026: 4.
9 papers.
- 2025From Sub-Ability Diagnosis to Human-Aligned Generation: Bridging the Gap for Text Length Control via MARKERGENcited by 2
- 2025How and Where to Translate? The Impact of Translation Strategies in Cross-lingual LLM Promptingcited by 2
- 2025Length Representations in Large Language Modelscited by 1
- 2025BoundRL: Efficient Structured Text Segmentation through Reinforced Boundary Generationcited by 1
- 2026LARFT: Closing the Cognition-Action Gap for Length Instruction Following in Large Language Modelscited by 1
- 2026TiCo: Time-Controllable Spoken Dialogue Modelcited by 1
- 2025Topic-Guided Reinforcement Learning with LLMs for Enhancing Multi-Document Summarizationcited by 0
- 2026Towards Faithful Sentimental Image Captioning via Evidence-Aware Multi-Agent Reasoningcited by 0
- 2026Learning to Refer: Client-Resolved Generation for Privacy-Aware Language Modelscited by 0
- 2026Learning to Refer: Client-Resolved Generation for Privacy-Aware Language Models26 Sep 2026
- 2026Towards Faithful Sentimental Image Captioning via Evidence-Aware Multi-Agent Reasoning28 Jul 2026
- 2026TiCo: Time-Controllable Spoken Dialogue Model23 Mar 2026
- 2026LARFT: Closing the Cognition-Action Gap for Length Instruction Following in Large Language Models25 Feb 2026
- 2025BoundRL: Efficient Structured Text Segmentation through Reinforced Boundary Generation23 Oct 2025
- 2025Topic-Guided Reinforcement Learning with LLMs for Enhancing Multi-Document Summarization11 Sep 2025
- 2025Length Representations in Large Language Models27 Jul 2025
- 2025How and Where to Translate? The Impact of Translation Strategies in Cross-lingual LLM Prompting21 Jul 2025
- 2025From Sub-Ability Diagnosis to Human-Aligned Generation: Bridging the Gap for Text Length Control via MARKERGEN19 Feb 2025
Similar, not cited
Close in wording, no citation either way
- 2025Plan-and-Write: Structure-Guided Length Control for LLMs without Model Retraining
- 2025Beyond Single-Task: Robust Multi-Task Length Generalization for LLMs
- 2025Long-Short Alignment for Effective Long-Context Modeling in LLMs
- 2025A Survey of LLM Alignment: Instruction Understanding, Intention Reasoning, and Reliable Generation
- 2025LIFEBench: Evaluating Length Instruction Following in Large Language Models
- 2025LongWriter-Zero: Mastering Ultra-Long Text Generation via Reinforcement Learning
- 2024LongWriter: Unleashing 10,000+ Word Generation from Long Context LLMs
- 2024Beyond the Limits: A Survey of Techniques to Extend the Context Length in Large Language Models