mlsanityData to 14 Oct 2026

TextReg: Mitigating Prompt Distributional Overfitting via Regularized Text-Space Optimization

arXiv 2605.21318 ↗First posted 20 May 2026cs.CL cs.AI cs.LGcited by 3

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) are highly sensitive to the prompts used to specify task objectives and behavioral constraints. Many recent prompt optimization methods iteratively rewrite prompts using LLM-generated feedback, but the resulting prompts often become longer, accumulate narrow sample-specific rules, and generalize poorly beyond the training distribution. We study this failure mode as prompt distributional overfitting and argue that it reflects a lack of representation control in discrete text-space optimization. We formalize this view through representational inefficiency, a dual-factor measure that decomposes prompt inefficiency into capacity cost and scope narrowness, attributing distributional prompt overfitting to their coupled growth during optimization. We propose TextReg, a regularization framework that realizes a soft-penalty objective through regularized textual gradients, combining Dual-Evidence Gradient Purification, Semantic Edit Regularization, and Regularization-Guided Prompt Update. Across multiple reasoning benchmarks, TextReg substantially improves out-of-distribution (OOD) generalization, with accuracy gains of up to +11.8% over TextGrad and +16.5% over REVOLVE.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 42 of its 56 references that are in the map. First posted on arXiv 20 May 2026.

Builds on

42 of 56 references.

References · 42

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2024The Llama 3 Herd of Modelscited by 14,715
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  5. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  6. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  7. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  8. 2024Qwen2.5 Technical Reportcited by 4,942
  9. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  10. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  11. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  12. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
30 more
  1. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
  2. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
  3. 2024Qwen2 Technical Reportcited by 2,120
  4. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,998
  5. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
  6. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,807
  7. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,076
  8. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
  9. 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 878
  10. 2023Large Language Models as Optimizerscited by 864
  11. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 832
  12. 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 653
  13. 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 551
  14. 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 366
  15. 2016Solving General Arithmetic Word Problemscited by 360
  16. 2024Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programscited by 291
  17. 2024TextGrad: Automatic "Differentiation" via Textcited by 273
  18. 2023Self-regulating Prompts: Foundational Model Adaptation without Forgettingcited by 272
  19. 2024Same Task, More Tokens: the Impact of Input Length on the Reasoning Performance of Large Language Modelscited by 152
  20. 2024ProSA: Assessing and Understanding the Prompt Sensitivity of LLMscited by 149
  21. 2024Teach Better or Show Smarter? On Instructions and Exemplars in Automatic Prompt Optimizationcited by 29
  22. 2024REVOLVE: Optimizing AI Systems by Tracking Response Evolution in Textual Optimizationcited by 20
  23. 2023Robust Prompt Optimization for Large Language Models Against Distribution Shiftscited by 19
  24. 2025SARA: Selective and Adaptive Retrieval-augmented Generation with Context Compressioncited by 10
  25. 2025Beyond Magic Words: Sharpness-Aware Prompt Evolving for Robust Large Language Models with TAREcited by 9
  26. 2025DLPO: Towards a Robust, Efficient, and Generalizable Prompt Optimization Framework from a Deep-Learning Perspectivecited by 8
  27. 2025CAPO: Cost-Aware Prompt Optimizationcited by 7
  28. 2025SIPDO: Closed-Loop Prompt Optimization via Synthetic Data Feedbackcited by 7
  29. 2026MASCOT: Multi-Agent Socio-Collaborative Companion Systemscited by 7
  30. 2025Reflection-Enhanced Meta-Optimization Integrating TextGrad-style Prompt Optimization with Memory-Driven Self-Evolutioncited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 3.

3 papers.