Training Prompt Matters: State-Adaptive Optimization for Robust Fine-Tuning
Not on the map. Why?
Abstract (arXiv)
While prompt engineering is instrumental in maximizing the capabilities of Large Language Models (LLMs) during inference, the role of prompts during training remains critically underexplored. Prevailing fine-tuning paradigms typically treat training prompts as mere surface forms, assuming that semantically equivalent instructions yield identical learning outcomes. However, we reveal that this equivalence is deceptive: while paraphrased prompts often lead to comparable in-task performance, they induce drastically different cross-task impacts regarding catastrophic forgetting and generalization. Crucially, these impacts are positively correlated across tasks, indicating the existence of superior prompts that consistently yield better performance. Furthermore, we discover that these superior prompts can be robustly identified by task loss prior to learning. Leveraging these insights, we introduce State-Adaptive Prompt Optimization (SAPO), a lightweight yet effective training strategy that shifts task formulation from a static input to a dynamic, state-adaptive variable. Comprehensive experiments on diverse benchmarks confirm its effectiveness, which significantly mitigates forgetting while improving generalization, achieving substantial performance gains over state-of-the-art methods. These results provide insights into how training prompts shape learning dynamics and offer a practical recipe for robust fine-tuning. Our code is available at https://github.com/Eric8932/SAPO.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 42 of its 52 references that are in the map. First posted on arXiv 1 Jun 2026.
Builds on
42 of 52 references.
References · 42
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2025Qwen3 Technical Reportcited by 8,195
- 2016Overcoming catastrophic forgetting in neural networkscited by 4,718
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,278
- 2020Gradient Surgery for Multi-Task Learningcited by 1,210
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
- 2022Mass-Editing Memory in a Transformercited by 976
- 2020Dark Experience for General Continual Learning: a Strong, Simple Baselinecited by 895
- 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 858
- 2018Riemannian Walk for Incremental Learning: Understanding Forgetting and Intransigencecited by 734
- 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 622
30 more
- 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applicationscited by 428
- 2015Policy Distillationcited by 414
- 2023Orthogonal Subspace Learning for Language Model Continual Learningcited by 296
- 2023Parameter-Efficient Fine-Tuning Methods for Pretrained Language Models: A Critical Review and Assessmentcited by 227
- 2021Efficiently Identifying Task Groupings for Multi-Task Learningcited by 218
- 2023Progressive Prompts: Continual Learning for Language Modelscited by 195
- 2022Fine-tuned Language Models are Continual Learnerscited by 152
- 2024Continual Learning for Large Language Models: A Surveycited by 144
- 2024Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity Trackingcited by 140
- 2023Understanding Catastrophic Forgetting in Language Models via Implicit Inferencecited by 138
- 2023DISC-LawLLM: Fine-tuning Large Language Models for Intelligent Legal Servicescited by 117
- 2024Mitigating Catastrophic Forgetting in Large Language Models with Self-Synthesized Rehearsalcited by 114
- 2023Mechanistically analyzing the effects of fine-tuning on procedurally defined taskscited by 110
- 2021Continual Learning for Text Classification with Information Disentanglement Based Regularizationcited by 86
- 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 83
- 2025Retaining by Doing: The Role of On-Policy Data in Mitigating Forgettingcited by 82
- 2023TRACE: A Comprehensive Benchmark for Continual Learning in Large Language Modelscited by 59
- 2024InsCL: A Data-efficient Continual Learning Paradigm for Fine-tuning Large Language Models with Instructionscited by 54
- 2025Spurious Forgetting in Continual Learning of Language Modelscited by 47
- 2025Reinforcement Learning Finetunes Small Subnetworks in Large Language Modelscited by 46
- 2024Learning or Self-aligning? Rethinking Instruction Fine-tuningcited by 43
- 2025Towards Understanding Fine-Tuning Mechanisms of LLMs via Circuit Analysiscited by 20
- 2025Unlocking the Power of Function Vectors for Characterizing and Mitigating Catastrophic Forgetting in Continual Instruction Tuningcited by 16
- 2025A Survey of Continual Reinforcement Learningcited by 16
- 2024Layer by Layer: Uncovering Where Multi-Task Learning Happens in Instruction-Tuned Large Language Modelscited by 15
- 2025Recurrent Knowledge Identification and Fusion for Language Model Continual Learningcited by 14
- 2024Unveiling the Lexical Sensitivity of LLMs: Combinatorial Optimization for Prompt Enhancementcited by 13
- 2024QPO: Query-dependent Prompt Optimization via Multi-Loop Offline Reinforcement Learningcited by 10
- 2025How new data permeates LLM knowledge and how to dilute itcited by 8
- 2025No Loss, No Gain: Gated Refinement and Adaptive Compression for Prompt Optimizationcited by 7
Built on by
Not cited yet.