Skip to content
Preprint

Modeling Memory-Dependent Reliability of LLMs: A Hidden Markov Model

Jul 2026 · 0 citations · 26 references
Mathematics Computer Science

TL;DR

A hierarchical Bayesian framework for LLM reliability assessment is extended by relaxing the assumption of independent task outcomes and introducing a Hidden Markov Model to capture sequential dependence in benchmark-constructed interaction sessions, suggesting that ignoring sequential dependence may lead to overconfident reliability estimates.

Abstract

Reliability assessment of large language models (LLMs) seeks to estimate the probability that a model produces correct responses under a specified operational profile. Conventional benchmark-based evaluation, often summarized by aggregate accuracy, provides a point estimate of performance but does not characterize the uncertainty associated with reliability claims. Currently, statistical inference methods for LLM reliability assessment are emerging. However, a key assumption underlying these models is that test outcomes can be treated as independent repeated trials. This assumption may be inappropriate in sequential settings, where later responses depend on earlier interactions through retained context, error propagation, or an evolving interaction state. We extend a hierarchical Bayesian framework for LLM reliability assessment by relaxing the assumption of independent task outcomes and introducing a Hidden Markov Model to capture sequential dependence in benchmark-constructed interaction sessions. In this formulation, outcomes are generated from a latent interaction state evolving according to a first-order Markov process, capturing changes in interaction context. Through experiments using Anthropic Claude and OpenAI on four datasets, we demonstrate the potential impact of sequential dependence on reliability assessment. The results suggest that ignoring sequential dependence may lead to overconfident reliability estimates.

View source

Similar papers

Jul 2026

The Computational Basis of Confidence in Large Language Models

A computational account of confidence in multimodal language models is provided, when answer logits behave as readouts of a latent decision variable is delineated, and statistical decision confidence is established as a unifying framework for studying confidence across biological and artificial intelligence.

D. Kumaran, Viorica Patraucean, M. Ovsjanikov et al. · 0 citations
Open access Jul 2026

Sequential predictive e-diagnostics for hidden Markov models of animal movement

Hidden Markov models are standard for inferring behavioural states from animal movement data, but checking whether a fitted latent-state model predicts held-out movement well remains difficult. We develop sequential predictive e-diagnostics that evaluate a fitted movement HMM as a generator of validation trajectories....

Aurélien Nicosia · 0 citations
Jul 2026

BayesAME: Bayesian Active Model Evaluation

This comprehensive analysis addresses recent skepticism in the literature, establishing that non-random coreset selection is advantageous over random selection and highlighting that leveraging continuous response log-likelihoods over traditional binary scores significantly enhances estimation accuracy.

Paula Cordero Encinar, taylan. cemgil, Arnaud Doucet et al. · 0 citations
Jul 2026

Partition, Prompt, Aggregate: Statistical Self-Consistency in Language Models

It is suggested that models possess relevant subpopulation knowledge but do not reliably propagate it into aggregate estimates, and this gap establishes statistical self-consistency as an unsaturated, reference-free criterion for evaluating LLMs.

Patrik Wolf, Thomas Kleine Buening, Andreas Krause et al. · 0 citations
Jul 2026

Behavioural Signatures of Risk-Sensitive Decision-Making in Large Language Models

It is suggested that LLMs differ not only in baseline risk disposition, but also in the risk signals they respond to and the flexibility with which they adjust, providing a behavioural basis for auditing risk-sensitive decision-making in interactive settings.

Xuan-Kun Rong, Wenke Huang, Bo Du et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.