University of Houston
Building Trust in AI: Auditing Consistency and Generalization in Large Language Models
Abstract
dc:description.abstractLarge language models (LLMs) have rapidly transitioned from research prototypes to widely deployed tools in high-stakes professional domains such as law, medicine, and finance. Their ability to perform complex reasoning, generate human-like responses, and support decision-making promises transformative gains in efficiency and accessibility. Yet beneath strong benchmark performance lies a critical vulnerability: many state-of-the-art models remain unstable, domain-bound, and prone to reasoning errors that undermine reliability. In legal contexts, these weaknesses have already resulted in tangible harm, including fabricated citations that have led to judicial sanctions. Such incidents underscore the urgent need for evaluation frameworks that move beyond accuracy to assess stability, consistency, and cross-domain generalization. This dissertation reframes model evaluation by introducing consistency as a core dimension of reliability. We examine whether models maintain stable outputs not only under repeated and paraphrased prompts but also over time, as retraining, updates, or contextual variations occur. Treating consistency as a measurable property enables rigorous auditing of model reliability in dynamic professional settings. We further investigate generalization—whether performance gains in one domain transfer to others with similar reasoning structures. To support this analysis, we introduce TriDoBench, a multidomain benchmark spanning professional assessments in law, medicine, and computer science. By drawing from authentic high-stakes evaluations, TriDoBench enables systematic analysis of both domain specialization and cross-domain reasoning transfer. We also explore the effect of model scaling, testing whether larger parameter counts enhance stability and generalization or merely reinforce domain-specific biases. Our evaluation integrates new and established measures. The Test–Retest Consistency Score (TRCS) captures stability under repeated prompts, while the Intraclass Correlation Coefficient (ICC) provides a statistical measure of agreement across trials. Alongside the Domain Specialization Index (DSI), which quantifies balance across domains, these metrics contribute to the Generalization–Consistency Index (GCI). This composite diagnostic captures the trade-off between within-domain reliability and cross-domain adaptability. This multidimensional framework, coupled with repeated trial testing, simulates realistic decision-making under varied conditions. The results reveal four consistent patterns: (1) high accuracy does not guarantee stable reasoning, as models frequently revise answers to identical or paraphrased prompts; (2) domain expertise rarely transfers to structurally similar tasks in other fields; (3) model scaling does not reliably predict stability; and (4) higher GCI values correspond to more substantial alignment between consistency and generalization, serving as a better indicator of reliability across domains. Even within a single domain, such as law, performance varies sharply across subdomains, revealing fragmented rather than generalizable reasoning. In general, this dissertation advances a multidomain benchmark, introduces novel evaluation metrics, including TRCS, ICC, and GCI, and develops a unifying diagnostic framework that transcends accuracy-based assessments by establishing consistency and cross-domain generalization as foundational dimensions for auditing the reliability of large language models in high-stakes contexts.
Degree
thesis:*- Name thesis:degree_name
- Doctor of Philosophy
- Discipline thesis:degree_discipline
- Computer Science
- Department thesis:degree_department
- Computer Science
- Grantor
- University of Houston
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Alsagheer, Dana Rajeh 1972-
- Advisor dc:contributor.advisor
-
- Shi, Weidong (Larry)
- Committee members dc:contributor.committeemember
-
- Chen, Guoning
- Huang, Stephen S.-H.
- Xu, Lei
- ORCID person:identifier.orcid
Subjects
dc:subject × 1Rights
- Language dc:language.iso
- English