Compositional Uncertainty Propagation in Probabilistic Systems

32 concepts16 papers1 proposal

In traditional software and hardware engineering, compositionality is a foundational pillar. If Component A meets its deterministic specification, and Component B meets its deterministic specification, we can use formal logic to deduce exactly how they will behave when connected.

However, modern engineering increasingly demands that we build systems operating under deep uncertainty. Whether dealing with physical environmental noise in cyber-physical systems, manufacturing tolerances in high-precision hardware, or the stochastic nature of machine learning models, uncertainty is unavoidable.

When components exhibit probabilistic behaviors, traditional modular reasoning breaks down. If Component A is reliable with a 95% probability, and Component B is reliable with a 95% probability, their joint reliability depends entirely on how they interact. Naively assuming independence can lead to catastrophic overconfidence, while tracking full joint probability distributions across a complex architecture quickly encounters an intractable mathematical wall.

To solve this, a major research direction has emerged around compositional uncertainty propagation. The goal is to design mathematical frameworks, verification algorithms, and quantification rules that allow system-level probabilistic guarantees to be systematically derived from component-level specifications.

Formal Calculi and Algebraic Composition

To reason about uncertainty compositionally, we first need mathematical languages capable of expressing "underspecified" or variable probabilities. If a component's exact probabilities are unknown or subject to environmental shifts, we cannot model it as a standard, fixed Markov chain.

Early foundational work by Marta Z. Kwiatkowska et al. in Domain equations for probabilistic processes addressed this by extending denotational semantics to concurrent probabilistic calculi, proving that abstract probabilistic behaviors could be rigorously formalized. To make this practical for system design, researchers introduced frameworks that specify bounds on probabilities. Benoît Delahaye et al. explored this using Interval Markov Chains (IMCs) in Consistency and refinement for Interval Markov Chains, which allow transition probabilities to sit within specified intervals. They highlighted the computational hardness of reconciling multiple abstract specifications into a single concrete implementation.

To achieve true modularity, a specification theory must be "closed" under structural composition (connecting components) and logical conjunction (combining requirements). To meet this need, Benoît Caillaud et al. introduced Constraint Markov Chains (CMCs) in Compositional Design Methodology with Constraint Markov Chains. CMCs succeed because they replace rigid probability values with polynomial constraints, allowing designers to refine, combine, and verify complex randomized components step-by-step without losing formal guarantees.

[Component A Specification] \
                             --> [Structural Composition] --> [Global System Guarantee]
[Component B Specification] /

More recently, researchers have turned to category theory to unify different types of uncertainty. Real-world systems often mix probabilistic uncertainty (like Gaussian sensor noise) with nondeterministic uncertainty (like unknown physical constraints). In A Category for Unifying Gaussian Probability and Nondeterminism, Dario Stein et al. built a categorical framework using "extended Gaussian maps." By framing system composition through category-theoretic operations like tensor products and pushforwards, they proved that mixed uncertainty types can be systematically composed while maintaining mathematical consistency.

Assume-Guarantee Verification via Automated Learning

Even with robust algebraic frameworks, verifying a composite probabilistic system directly faces the "state-explosion problem." Checking every possible combination of probabilistic states across multiple concurrent modules is computationally impossible.

The standard defense against state explosion is assume-guarantee reasoning. To verify Component A, we do not model the entire rest of the system; instead, we formulate an assumption about how the environment behaves. If Component A satisfies its property under this assumption, and we can separately prove that the rest of the system satisfies the assumption, the global property holds.

In probabilistic systems, however, writing these environmental assumptions manually is incredibly difficult because they must capture complex stochastic interactions. To automate this, researchers combine formal verification with active automata learning (such as the $L^*$ algorithm).

As explained by Dimitra Giannakopoulou et al. in Abstraction and Learning for Infinite-State Compositional Verification, an automated learner interacts with a model checker (acting as a "teacher"). The learner proposes candidate assumptions, and the model checker tests them against the component. If the assumption is too weak or incorrect, the model checker returns a counterexample, which the learner uses to refine its next guess.

   +-----------------+     Candidate Assumption     +-----------------+
   |                 | ---------------------------> |                 |
   |     Learner     |                              |  Model Checker  |
   |   (e.g., L*)    | <--------------------------- |    (Teacher)    |
   +-----------------+   Counterexample / Approval  +-----------------+

This active learning loop has been highly optimized for probabilistic systems:

Bounding Global Uncertainty via Interface Moduli

While verification focuses on discrete state transitions, a parallel challenge exists in continuous systems engineering: how do we propagate continuous parameter variations or manufacturing errors up to a system-level reliability estimate? For instance, Jacopo Corno et al. demonstrated in Uncertainty modeling and analysis of the European X-ray free electron laser cavities manufacturing process that microscopic manufacturing imperfections propagate through complex physical designs, heavily impacting final performance.

To quantify this without resorting to prohibitively expensive full-system integration testing, Leonard J. Lucas et al. developed a rigorous mathematical mechanism in Rigorous uncertainty quantification without integral testing. Instead of calculating exact, massive joint probability distributions, the authors derived a recursive composition rule.

This rule bounds global uncertainty by combining two elements:

  1. The isolated uncertainty profiles of individual subsystems.
  2. The moduli of continuity of the interfaces connecting them.

The modulus of continuity mathematically defines how sensitive a component's output is to variations in its input. By recursively composing these moduli from the lowest-level components up to the system root, designers can establish a strict, conservative upper bound on global system risk.

This philosophy was brought into systems co-design by Marius Furter et al. in On Composable and Parametric Uncertainty in Systems Co-Design. By replacing traditional best-case/worst-case intervals with Markov kernels, they allowed designers to systematically derive total system uncertainty from modular components in a "plug-and-play" fashion.

From Control Systems to Modern AI Pipelines

The ultimate goal of this research direction is to provide foundational software abstractions for complex, modern autonomous platforms, a critical gap highlighted by Jim Woodcock et al. in What are the fundamental software abstractions for designing reliable cyber-physical systems operating in uncertain environments?. Today, this methodology is expanding into stochastic control and machine learning pipelines.

In stochastic control systems, Đorđe Žikelić et al. introduced the CLAPS framework in Compositional Policy Learning in Stochastic Control Systems with Formal Guarantees. CLAPS breaks down a complex global control task into simpler sub-tasks, trains neural network policies for each, and mathematically composes their individual probabilistic assurances to guarantee that the global system satisfies its safety specifications.

A similar challenge appears when deploying machine learning models inside safety-critical systems. As noted by Saddek Bensalem et al. in What, Indeed, is an Achievable Provable Guarantee for Learning-Enabled Safety-Critical Systems, we must find ways to propagate statistical guarantees from individual ML models up to the overall system level.

An elegant practical example of this is the TRAC framework, developed by Shuo Li et al. in TRAC: Trustworthy Retrieval Augmented Chatbot. A Retrieval-Augmented Generation (RAG) chatbot consists of two independent, uncertain components: a document retriever and a question-answering language model.

[User Query] --> [Retriever Model] ----> [QA Language Model] ----> [Trustworthy Answer]
                        |                         |
                        +---[Global Hypothesis]---+
                            [     Testing        ]

To provide a system-level guarantee of correctness, TRAC does not evaluate the models as a single monolithic block. Instead, it uses global hypothesis testing to mathematically combine the independent statistical guarantees of the retriever and the QA model. By aggregating these individual assurances, TRAC proves that the final generated answer is semantically correct with a user-defined high probability.

Whether applied to network protocols, physical manufacturing, or modern AI pipelines, the core intuition of compositional uncertainty propagation remains identical: by formally bounding how components communicate across their interfaces, we can safely conquer the complexity of an unpredictable world.

Key Foundational Work

Compositional Design Methodology with Constraint Markov Chains (2010) — contributed 1 concept elements to this direction.
Domain equations for probabilistic processes (1997) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_compositional_uncertainty_propagation_635368b8,
  title = {compositional uncertainty propagation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/compositional-uncertainty-propagation/rdr_635368b8e08e4bad9ba3974ede9eab91},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-27},
}

This exact version (version 1, frozen text):

@misc{lacuna_compositional_uncertainty_propagation_635368b8_v1,
  title = {compositional uncertainty propagation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/compositional-uncertainty-propagation/rdr_635368b8e08e4bad9ba3974ede9eab91/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-27},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake