Warning: ini_set(): A session is active. You cannot change the session module's ini settings at this time in /home/assailry/public_html/lib/pkp/classes/session/SessionManager.inc.php on line 69
Warning: Cannot modify header information - headers already sent by (output started at /home/assailry/public_html/lib/pkp/classes/session/SessionManager.inc.php:69) in /home/assailry/public_html/plugins/generic/citationStyleLanguage/CitationStyleLanguagePlugin.inc.php on line 478
Warning: Cannot modify header information - headers already sent by (output started at /home/assailry/public_html/lib/pkp/classes/session/SessionManager.inc.php:69) in /home/assailry/public_html/plugins/generic/citationStyleLanguage/CitationStyleLanguagePlugin.inc.php on line 479
@article{Mehran Hanif_Abdul Rauf (Corresponding Author)_Majid Hussain_Muhammad Kashif Siddhu_Rana Hassam Ahmed_2025, title={Evaluating Prompt Variability in Transformer-Based LLMs Through Discrete and Semantic PSI}, volume={4}, url={https://www.assajournal.com/index.php/36/article/view/1113}, abstractNote={<p><em>Large Language Models (LLMs) such as GPT, T5, and BART have demonstrated remarkable performance across diverse natural language processing tasks. However, their output variability in response to semantically similar but syntactically different prompts raises critical concerns regarding consistency, reliability, and reproducibility. This phenomenon, termed prompt sensitivity, poses a challenge for both scientific evaluation and real-world deployment, particularly in high-stakes domains like healthcare, legal systems, and education. This thesis investigates prompt sensitivity by quantitatively evaluating how different paraphrased inputs affect the responses generated by LLMs. The study leverages the BoolQ dataset, a benchmark for yes/no question answering, and applies the Prompt Sensitivity Index (PSI) — a dual-metric framework composed of Discrete PSI and Semantic PSI — to measure variations in model outputs. Discrete PSI captures output disagreement, while Semantic PSI measures embedding-based semantic drift across prompt variations.A comprehensive experimental setup was implemented using multiple transformer-based models (BART, T5, FLAN-T5), and prompt variants were systematically generated using paraphrasing techniques. The results demonstrate significant input-specific variability, with discrete disagreement rates as high as 36% in some cases, even when prompts were semantically identical. Visual analytics, statistical summaries, and error distributions are used to highlight model inconsistencies.The findings underline the need for improved robustness mechanisms in LLMs and suggest that prompt engineering alone is insufficient for ensuring consistent behavior. This thesis contributes a modular pipeline, reproducible codebase, and actionable insights to guide future research on model stability, fairness, and interpretability.</em></p> <p><strong><em>Keywords: </em></strong><em>Large Language Models (LLMs), Prompt Sensitivity Index (PSI), Multilingual Natural Language Processing, Robustness Evaluation, Semantic Consistency, Prompt Variability, Model Reliability, Cross-Lingual Analysis</em></p>}, number={02}, journal={`}, author={Mehran Hanif and Abdul Rauf (Corresponding Author) and Majid Hussain and Muhammad Kashif Siddhu and Rana Hassam Ahmed}, year={2025}, month={Nov.}, pages={1798–1809} }