Metraipolis › archive › dc_57b38b6435a3
Do Influence Tactics Matter? Investigating Prompt Framing Effects in LLM Code Generation — arXiv:2608.11513
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.11513
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-19T05:15:54.359Z
- SHA-256 of the archived text
c64b9b672cca7055006c4a65e394ceedc69288edee7995ca7716d4967f938d9a- Stable URL of this page
https://metraipolis.com/documento/dc_57b38b6435a3
How to cite
Do Influence Tactics Matter? Investigating Prompt Framing Effects in LLM Code Generation — arXiv:2608.11513 — arXiv (en), https://arxiv.org/abs/2608.11513 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_57b38b6435a3 (Metraipolis archive dc_57b38b6435a3, sha256 c64b9b672cca7055006c4a65e394ceedc69288edee7995ca7716d4967f938d9a)
BibTeX
@misc{dc57b38b6435a3,
title = {Do Influence Tactics Matter? Investigating Prompt Framing Effects in LLM Code Generation — arXiv:2608.11513},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.11513},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_57b38b6435a3; sha256 c64b9b672cca7055006c4a65e394ceedc69288edee7995ca7716d4967f938d9a},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.11513. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Large Language Models (LLMs) are increasingly integrated into software engineering workflows, helping developers write, debug, test, and maintain code. While prompt wording and structure are known to influence model performance, the impact of psychologically inspired prompt framings remains unexplored. This study investigates whether different psychology-based communication strategies that humans use to persuade or motivate others can lead to more effective prompt framing, which may, in turn, affect LLM behaviour in coding tasks. Drawing on Yukl & Falbe's well-known taxonomy, we operationalized eight influence tactics (like rational persuasion, ingratiation, and exchange) into reproducible prompt templates. These prompt templates were evaluated across five leading open-weight LLMs using two widely adopted benchmarks: LiveCodeBench and SWE-bench Verified. We assessed the resulting code output on four key software quality dimensions: functional correctness, quality, maintainability, and security. Our results show that certain influence-induced prompt framings, particularly those emphasizing urgency, were associated with reduced correctness and security. This work presents the first large-scale empirical study of influence-induced prompt framing in software engineering tasks, offering insights into how linguistic cues may shape LLM outputs. We conclude with practical insights for designing transparent and interpretable human-AI interactions in code generation. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-13 in cs.AI). Categorie arXiv: Software Engineering (cs.SE) ; Artificial Intelligence (cs.AI); Computation and Language (cs.CL). Pagina del lavoro: https://arxiv.org/abs/2608.11513 — 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-19T05:08:46.695Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-08-13?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).