Instruction Position Matters in Sequence Generation with Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) are capable of performing conditional sequence generation tasks, such as translation or summarization, through instruction fine-tuning. The fine-tuning data is generally sequentially concatenated from a specific task instruction, an input sentence, and the corresponding response. Considering the locality modeled by the self-attention mechanism of LLMs, these models face the risk of instruction forgetting when generating responses for long input sentences. To mitigate this issue, we propose enhancing the instruction-following capability of LLMs by shifting the position of task instructions after the input sentences. Theoretical analysis suggests that our straightforward method can alter the model's learning focus, thereby emphasizing the training of instruction-following capabilities. Concurrently, experimental results demonstrate that our approach consistently outperforms traditional settings across various model scales (1B / 7B / 13B) and different sequence generation tasks (translation and summarization), without any additional data or annotation costs. Notably, our method significantly improves the zero-shot performance on conditional sequence generation, e.g., up to 9.7 BLEU points on WMT zero-shot translation tasks.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 30 of its 45 references that are in the map. First posted on arXiv 23 Aug 2023.
Builds on
30 of 45 references.
References · 30
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
- 2022InstructPix2Pix: Learning to Follow Image Editing Instructionscited by 2,611
18 more
- 2022Emergent Abilities of Large Language Modelscited by 2,512
- 2022Do As I Can, Not As I Say: Grounding Language in Robotic Affordancescited by 2,348
- 2020Reformer: The Efficient Transformercited by 1,668
- 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,292
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
- 2021Knowledge Neurons in Pretrained Transformerscited by 601
- 2022Using Large Language Models to Simulate Multiple Humans and Replicate Human Subject Studiescited by 515
- 2023Is ChatGPT a Good NLG Evaluator? A Preliminary Studycited by 422
- 2017Unsupervised Machine Translation Using Monolingual Corpora Onlycited by 273
- 2020ProphetNet: Predicting Future N-gram for Sequence-to-Sequence Pre-trainingcited by 222
- 2021On the Robustness of Vision Transformers to Adversarial Examplescited by 167
- 2020Self-Attention Attribution: Interpreting Information Interactions Inside Transformercited by 125
- 2016Modeling Coverage for Neural Machine Translationcited by 110
- 2022Text Generation with Diffusion Language Models: A Pre-training Approach with Continuous Paragraph Denoisecited by 79
- 2023BayLing: Bridging Cross-lingual Alignment and Instruction Following through Interactive Translation for Large Language Modelscited by 42
- 2023ParroT: Translating during Chat using Large Language Models tuned with Human Translation and Feedbackcited by 34
- 2023DiffuSum: Generation Enhanced Extractive Summarization with Diffusioncited by 25
- 2021WeChat Neural Machine Translation Systems for WMT21cited by 11
Built on by
Citing papers per year: 2023: 1; 2024: 7; 2025: 1; 2026: 1.
10 papers.
- 2024Safeguarding Large Language Models: A Surveycited by 78
- 2024We Have a Package for You! A Comprehensive Analysis of Package Hallucinations by Code Generating LLMscited by 65
- 2025Lost at the Beginning of Reasoningcited by 15
- 2024Language Generation with Strictly Proper Scoring Rulescited by 8
- 2023Beyond MLE: Convex Learning for Text Generationcited by 4
- 2024Language Modelling Approaches to Adaptive Machine Translationcited by 3
- 2024Building Accurate Translation-Tailored LLMs with Language Aware Instruction Tuningcited by 3
- 2024Position Debiasing Fine-Tuning for Causal Perception in Long-Term Dialoguecited by 0
- 2024FiRST: Finetuning Router-Selective Transformers for Input-Adaptive Latency Reductioncited by 0
- 2026Hallucinations in LLMs: A Lifecycle-Based Survey of Causes, Detection, Mitigation, and Preventioncited by 0
- 2026Hallucinations in LLMs: A Lifecycle-Based Survey of Causes, Detection, Mitigation, and Prevention20 Jul 2026
- 2025Lost at the Beginning of Reasoning27 Jun 2025
- 2024FiRST: Finetuning Router-Selective Transformers for Input-Adaptive Latency Reduction16 Oct 2024
- 2024We Have a Package for You! A Comprehensive Analysis of Package Hallucinations by Code Generating LLMs12 Jun 2024
- 2024Position Debiasing Fine-Tuning for Causal Perception in Long-Term Dialogue4 Jun 2024
- 2024Safeguarding Large Language Models: A Survey3 Jun 2024
- 2024Language Generation with Strictly Proper Scoring Rules29 May 2024
- 2024Building Accurate Translation-Tailored LLMs with Language Aware Instruction Tuning21 Mar 2024
- 2024Language Modelling Approaches to Adaptive Machine Translation25 Jan 2024
- 2023Beyond MLE: Convex Learning for Text Generation26 Oct 2023