Metraipolis › archive › dc_1d812917aba3
Beyond Prompt Engineering: A Systematic Analysis of Prompt Lexical Sensitivity and Its Impacts on Quality — arXiv:2608.20349
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.20349
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-18T10:18:05.625Z
- SHA-256 of the archived text
ea83f2f06fdd7ec8041a6f0ddae27aec4f4f0ad15820bedf2781c9ecf738f4f2- Stable URL of this page
https://metraipolis.com/documento/dc_1d812917aba3
How to cite
Beyond Prompt Engineering: A Systematic Analysis of Prompt Lexical Sensitivity and Its Impacts on Quality — arXiv:2608.20349 — arXiv (en), https://arxiv.org/abs/2608.20349 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_1d812917aba3 (Metraipolis archive dc_1d812917aba3, sha256 ea83f2f06fdd7ec8041a6f0ddae27aec4f4f0ad15820bedf2781c9ecf738f4f2)
BibTeX
@misc{dc1d812917aba3,
title = {Beyond Prompt Engineering: A Systematic Analysis of Prompt Lexical Sensitivity and Its Impacts on Quality — arXiv:2608.20349},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.20349},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_1d812917aba3; sha256 ea83f2f06fdd7ec8041a6f0ddae27aec4f4f0ad15820bedf2781c9ecf738f4f2},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.20349. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Large Language Models (LLMs) exhibit extreme sensitivity to surface-level prompt variations, in which minor lexical changes can trigger disproportionate performance fluctuations. Moving beyond black-box optimization and coarse-grained templates, we present the first large-scale, n-gram token-level mechanistic analysis of prompt stability, leveraging a dataset of 132,000 prompt variants. Our investigation reveals a fundamental Scaling Law of Prompt Performance Stability: higher average task performance is strongly associated with lower variance and greater robustness across prompt perturbation. We identify two core linguistic drivers underlying this robustness: (1) Domain-Specific Terminology, which tightly anchors semantic boundaries, and (2) Explicit Action Directives, which formalize reasoning trajectories. Together, these elements constrain the model's interpretative space, effectively ``locking in'' more deterministic generation behavior. Building on these insights, we introduce an automated Prompt-Refining Agent that systematically restructures input queries by injecting domain anchoring and operational constraints. Empirical evaluation shows that our approach reduces performance variance by 40.7% in code generation task, while preserving or improving mean performance. These findings provide a statistically grounded and mechanistically interpretable framework for achieving robust prompt engineering. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-24 in cs.CL). Categorie arXiv: Computation and Language (cs.CL) ; Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2608.20349 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-18T10:17:37.545Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-08-24?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).