Embry Riddle Aeronautical University
Study of Output and Behavior of LLMs Using Confidence Framing in Prompt Engineering
Abstract
dc:description.abstract<p>While prompt engineering is pivotal for shaping Large Language Model (LLM) outputs, the impact of confidence framing on behavioral calibration remains underexplored. This study investigates the ways in which psychological framing, utilizing techniques such as capability praise, role amplification, and doubt induction, affects linguistic tone, objective accuracy, and internal calibration. A 1,080-trial experimental matrix evaluated six diverse models across factual, logical, coding, and cyber security domains. Analysis using the Kruskal-Wallis H-test revealed highly significant behavioral shifts across all measured dimensions, providing conclusive evidence that the applied frames exert a substantial influence on model performance.</p> <p>The findings identify a distinct cognitive trade-off. While confidence-boosting language produced more assertive and fluent outputs, it significantly degraded factual reliability and internal calibration in larger proprietary models. However, a paradox was observed in small language models, where authoritative or more confident frames acted as a corrective focusing mechanism that improved calibration. In the cyber security domain, doubt-inducing frames successfully weaponized alignment guardrails, increasing aggregate refusal rates from 43.3% to 71.1%. These results suggest that linguistic confidence is a trailing indicator of internal alignment rather than a marker of latent truth. This work establishes that overconfident framing introduces critical vulnerabilities in factual and logical domains, while simultaneously offering a potential reliability boost for lightweight models in regulated enterprise environments.</p>
Degree
thesis:*- Name thesis:degree_name
- Master of Science in Computer Science
- Level thesis:degree_level
- Thesis - Open Access
- Discipline thesis:degree_discipline
- Electrical Engineering and Computer Science
- Year
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Parrilla, Micah
Subjects
dc:subject × 10Identifiers
dc:identifier.*- Repository record dc:identifier
- https://commons.erau.edu/edt/979
- OAI identifier oai:identifier
- oai:commons.erau.edu:edt-2025