Epistemic Representation and Uncertainty Quantification in Autonomous Software Systems
The central challenge of probabilistic software systems—particularly those conceptualized for complex, high-stakes environments such as a autonomous kill web—is the phenomenon of uncertainty multiplication. An uncertain observation feeds an uncertain state estimate; that state estimate feeds an uncertain interpretation; the interpretation feeds uncertain option generation. Finally, a polished human-machine interface (HMI) falsely presents the final result as precise, deterministic, or authoritative.
This dangerous pipeline performs "explanation laundering," a process wherein fragile, deeply uncertain probabilistic guesses are progressively stripped of their caveats, edge-case warnings, and statistical variances. By the time the data reaches a human operator, the cascading uncertainties have been mathematically scrubbed, resulting in a system that output a seemingly authoritative directive. This dynamic induces automation bias—a severe cognitive failure where humans defer to machine outputs even in the presence of accessible, contradictory evidence, assuming the machine possesses a superior, infallible heuristic1.
Numerical confidence does not create authority or evidential sufficiency. A system that outputs a prediction with "95% confidence" has merely stated a statistical property of its own internal model architecture given a specific, finite dataset. It has not stated an objective truth about the physical world. Deep neural networks, in particular, are famously overconfident; they will happily output 99% confidence scores for static noise if the noise falls outside their training distribution4. When software conflates mathematical output logic with operational authority, it causes both errors of omission (failing to act because the machine did not alert) and errors of commission (acting incorrectly because the machine recommended it)1.
This research report outlines how a public software laboratory should rigorously represent uncertainty within a autonomous framework. It strictly avoids the creation of target-confidence systems, target-selection thresholds, weapon-target assignments, or operational engagement recommendations. Instead, the focus remains exclusively on the epistemology of the software: how it models what it knows, how it mathematically bounds what it does not know, and how it communicates its own ignorance to prevent human overreliance.
1. A Conceptual Uncertainty Architecture
To prevent explanation laundering, the system architecture must mathematically isolate different sources of uncertainty rather than collapsing them into a single, deceptive "confidence" score. The architecture relies on three foundational pillars: the decomposition of variance, conformal prediction for distribution-free coverage guarantees, and conformal risk control.
1.1 Aleatoric and Epistemic Variance Decomposition
Predictive uncertainty must be decomposed into two distinct components: aleatoric uncertainty and epistemic uncertainty4.
Aleatoric uncertainty refers to the intrinsic, irreducible noise in the data-generating process. Examples include thermal sensor noise, atmospheric interference, or the inherently stochastic movement of a tracked entity. Aleatoric uncertainty cannot be reduced by gathering more training data or refining the model architecture7. Conversely, epistemic uncertainty represents model ignorance arising from a lack of knowledge, sparse training data, or out-of-distribution (OOD) observations. Epistemic uncertainty is theoretically reducible; gathering more data in the uncertain domain will decrease it7.
The architecture utilizes the Law of Total Variance (Eve's Law) to perform this decomposition10. If ![][image1] is the target variable (e.g., a spatial coordinate) and ![][image2] is the input evidence, the total variance is:
![][image3]
The first term, ![][image4], represents the expected value of the process variance (EVPV), which captures the aleatoric uncertainty. The second term, ![][image5], is the variance of the hypothetical means (VHM), which captures the epistemic uncertainty8. By utilizing a heteroscedastic deep ensemble of lightweight forecast heads over a shared frozen trunk, the software can estimate these terms separately in real-time9. A high aleatoric score indicates that the environment is inherently unpredictable, whereas a high epistemic score indicates that the model is operating outside its training distribution and is essentially guessing. Conflating these two leads to catastrophic systemic failures, as the system might halt operations due to high total variance when the target is merely behaving stochastically (aleatoric), while failing to alert operators when the model is completely blind to a novel environment (epistemic)9.
1.2 Conformal Prediction and Open-Set Recognition
Traditional machine learning models output softmax probabilities that are often heavily miscalibrated and fail to handle out-of-distribution data4. The architecture replaces point predictions with Conformal Prediction (CP) sets. Conformal prediction is a model-agnostic, distribution-free framework that transforms heuristic non-conformity scores into rigorous prediction sets11.
Given a pre-specified error rate ![][image6] (e.g., 0.10), a conformal predictor generates a set ![][image7] that is mathematically guaranteed to contain the true label ![][image1] with probability at least ![][image8], assuming the underlying data is exchangeable13:
![][image9]
However, in a dynamic autonomous environment, the closed-set assumption (that all possible classes were represented during the training phase) is consistently violated. Standard conformal prediction fails to provide adequate coverage when encountering new labels at test time, and becomes overly conservative when predicting previously seen labels15.
To handle Open-Set Recognition—where the system encounters entirely novel phenomena—the architecture integrates Conformal Good-Turing p-values15. By defining random hypotheses about the empirical frequency of labels, the system leverages the classical Good-Turing estimator (traditionally used in ecology to estimate the probability of discovering an unseen species) to calculate the probability mass of unrepresented classes16. The system tests the hypothesis ![][image10], which is true if and only if the next observation belongs to a new, unseen class16. If the resulting conformal p-value falls below the ![][image6] threshold, the system expands the prediction set to include an explicit "unseen class" designation. This prevents the system from confidently misclassifying an unknown anomaly into a known category, thereby explicitly communicating its own ignorance16.
1.3 Conformal Risk Control and Distribution Drift
Because autonomous environments are non-stationary, the exchangeability assumption of standard conformal prediction is frequently violated by distribution drift. To maintain valid coverage without requiring continuous ground-truth labels, the architecture implements Adaptive Conformal Inference (ACI)21. ACI dynamically updates the threshold quantile based on an empirical coverage sequence. It uses a learning rate ![][image11] to increase the effective miscoverage level ![][image12], and thereby the size of the prediction sets, when recent forecasts fail to cover the true outcomes, and shrinks them when coverage is restored22.
Furthermore, the architecture utilizes Conformal Risk Control (CRC) to bound the expected value of any monotone loss function, moving beyond simple miscoverage23. CRC allows the system to bound complex risks, such as the False Discovery Rate (FDR), graph distance, or the conditional value-at-risk (CVaR)25. For a loss function ![][image13] that is non-increasing with respect to a threshold parameter ![][image14], CRC selects the optimal ![][image15] such that the expected loss on future data remains strictly below ![][image6]25:
![][image16]
where ![][image17] is the empirical risk on the calibration set, ![][image18] is the sample size, and ![][image19] is the known upper bound of the loss function25. This guarantees that the system's epistemic representations remain statistically bounded even as the operational environment shifts unpredictably.
2. Evidence-Quality Schema
To trace the provenance and degradation of information, every single observation ingested by the system must be governed by a strict, immutable evidence-quality schema. This schema prevents uncertain, stale, or highly correlated data from being treated as independent, authoritative ground truth by downstream modules.
| Schema Field | Data Type | Description and Epistemic Function |
|---|---|---|
| source_identity | String (UUID) | Cryptographic identifier of the originating sensor, algorithm, or intelligence stream. Prevents spoofing. |
| collection_time | ISO 8601 UTC | The exact moment of observation. Critical for calculating time-based evidence decay and staleness. |
| transformation_hist | Array[Object] | An append-only log of every algorithmic transformation, downsampling, or normalization applied to the data. Prevents explanation laundering. |
| freshness_score | Float [0,1] | A dynamic calculation representing the temporal validity of the evidence, decaying based on the physical volatility of the subject. |
| reliability_prior | Float [0,1] | The historical Brier score or expected calibration error (ECE) of the specific sensor/source. |
| independence_flag | Boolean | Indicates whether the source is statistically distinct from others in the current hypothesis space. |
| correlation_group | String (UUID) | An identifier clustering sensors that share a failure mode (e.g., optical sensors sharing the same atmospheric obstruction, or models sharing a data pipeline). |
| sensitivity_bounds | Object | The physical or algorithmic limits of the sensor (e.g., minimum resolution, noise floor, spectral limits). |
| confidence_rep | Object | The raw non-conformity score, aleatoric variance, and epistemic variance. (Never a single scalar). |
| support_challenge | Array[Relations] | Cryptographic links to other evidence nodes that either corroborate or contradict this specific observation. |
| model_config_ver | String (Hash) | The specific state of the algorithmic weights at the time the observation was processed. |
| permitted_use | Array[Enum] | Strict boundary conditions defining what downstream analytical functions may consume this data. |
| expiry_timestamp | ISO 8601 UTC | The hard deadline after which the evidence must be purged from active state estimates and archived. |
| known_limitations | Array[String] | Explicit edge cases where the source is known to suffer from OOD conditions or adversarial blinding. |
Every time an observation passes from a sensor node to an estimation node, the transformation_hist array is appended. If a probabilistic output is thresholded or rounded (e.g., converting a 0.82 probability into a boolean TRUE), that transformation is permanently recorded. If downstream modules attempt to ingest this data without accounting for the information lost during the rounding process, the system triggers a type-safety violation.
3. Dependence and Correlation Model
When multiple reports share an underlying source, or when sensors are subject to correlated errors, traditional Bayesian updating (which assumes conditional independence) will artificially inflate the certainty of a state estimate. The system must manage competing hypotheses, contrary evidence, and echo-chamber effects using an advanced formulation of Dempster-Shafer Theory (DST) combined with covariance discounting28.