arXiv:2610.12718q-fin.RMOct 2026

Manuscript Offprint

arXiv:2610.12718

A Distributional Framework for Behavioral Characterization and Risk Management of Large Language Models

David García-Lorite, Raul Merino

Abstract

Large language models are stochastic by nature. Repeated executions under the same experimental conditions may produce different responses. We propose a framework that can be applied across the model lifecycle, from task design to residual behavior and continuous monitoring. The method consists of building an empirical response distribution estimated through Monte Carlo simulation. Semantic interventions are introduced to study how these distributions change. We illustrate the framework with two different tasks, borrower classification and music album recommendation, and quantify the resulting distributional changes. The framework is linked to model risk management and governance by measuring robustness and control effectiveness, and characterizing residual behavior. Since it relies only on observed responses, it can also be applied to black-box models accessed through commercial APIs.

1 Introduction

A classical problem in science is understanding how a model behaves when its inputs change. From celestial mechanics and chemistry to economics and civil engineering, mathematical models have been used to design systems, improve efficiency, reduce costs, and support decision-making. For this reason, it is important not only to understand a model under reference conditions, but also to study how its behavior changes when initial conditions, parameters, or external conditions are modified. Sensitivity analysis, stress testing, and uncertainty analysis provide different tools to characterize these changes.

As models become more relevant for organizations and society, their validation and governance tend to become formalized. In finance, for example, SR 11-7 (2011) formalized supervisory expectations for Model Risk Management throughout the model lifecycle. Later, it was replaced by SR 26-2 (2026). These principles have become a reference for controlling the risks arising from the use of quantitative models.

Large language models are no different in this respect, just more complex. Traditional modeling has valued parsimony and explicit structure, making models easier to understand and validate. Large language models represent almost the opposite situation. Their behavior emerges from

*Corresponding author, raul.merino85@gmail.com

We would like to thank Wayne B. Shoumaker for suggesting that the approach in Merino (2026) could be used to quantify residual model risk, and Agus Sudjianto for reading the manuscript and providing valuable insights.

highly complex interactions and can depend on large amounts of contextual and semantic information. Yet the same questions remain relevant: how does the model behave under reference conditions, how sensitive is it to changes in its inputs, and what happens under alternative or stressed scenarios?

As LLMs become more widely used, governance frameworks are gradually taking shape. The European Union AI Act (2024) establishes regulatory requirements, while the NIST AI RMF (2023) provides a voluntary framework for managing AI risks. The rapid evolution of these models makes stable validation standards difficult to define. For example, SR 26-2 (2026) excludes generative and agentic AI models from its scope due to their novel and rapidly evolving nature. These validation challenges are also receiving attention from practitioners, as illustrated by recent work on AI validation in Sudjianto (2026).

Inspired by the initial experiment presented in Merino (2026), we propose a framework for characterizing the behavior of large language models. A model response is treated as a realization of a random variable. Through repeated sampling, we estimate the empirical distribution of responses. Later, we introduce semantic interventions and study how that distribution changes. These interventions may represent close variations of the original task, demographic information, plausible user interactions, or stress scenarios. Formulating the problem as a Monte Carlo experiment offers us a broad range of statistical tools. Each empirical response distribution can be viewed as a point in the probability simplex, and differences between distributions can be quantified using distributional measures.

Recent studies have examined prompt sensitivity and response variability. For example, Chatterjee et al. (2024), Zhuo et al. (2024), Hua et al. (2025), and Liu and Chu (2026) study prompt sensitivity from different perspectives, analyzing how model outputs, scores, or internal representations change across semantically equivalent prompt formulations. Other studies focus on stochastic variability through repeated sampling. Wadi and Fredette (2025), Rauba et al. (2025), Manousaridis et al. (2026), and Watanabe and Sun (2026) use repeated model responses. Wadi and Fredette (2025) summarize repeated responses through scalar behavioral quantities and sampling statistics. Rauba et al. (2025) construct empirical distributions in a semantic-similarity space for hypothesis testing under interventions. Manousaridis et al. (2026) reduce responses to correct/incorrect outcomes within a hierarchical Beta-Binomial framework. Watanabe and Sun (2026) compare empirical cumulative distributions of similarity scores across different agent configurations. The common idea is to study model behavior through distributions and then examine how those distributions change under interventions or alternative conditions. However, the approaches differ in what they analyze and how those changes are evaluated.

Other work focuses on the problem from a model risk and governance perspective. Dixon (2026) treats the LLM as a probabilistic semantic observation model whose outputs are regularized through Bayesian filtering and propagated into uncertainty and risk measures. Sudjianto and Zhang (2024) use distributional distances to quantify distribution shifts and support threshold-based ongoing monitoring. Szpruch et al. (2026), in turn, approach the problem from a runtime-governance perspective, emphasizing controls and continuous monitoring of deployed systems.

This paper offers a framework to understand a model's behavior under a given task and its possible variations. We study response distributions from a geometric perspective, representing them as points in the probability simplex and measuring changes using distributional distances. This provides a complementary perspective to statistical inference approaches, such as the hypothesis testing methodology of Rauba et al. (2025). The proposed framework is well-suited for model risk applications such as control evaluation, residual behavior characterization, and continuous validation and monitoring. More generally, the baseline distribution may be constructed using this methodology or specified externally.

The following figure summarizes the proposed methodology.

Figure

Figure 1: Proposed framework to characterize model behavior.

The paper is organized as follows. Section 2 introduces the framework, including the methodology and distributional measures. Section 3 discusses its application to risk management and governance. Section 4 presents two experimental case studies. Section 5 concludes.