Papers › Compositional Policy Learning in Stochastic Control Systems with Formal Guarantees

Compositional Policy Learning in Stochastic Control Systems with Formal Guarantees

3 Dec 2023NeurIPS 2023 11arXiv:2312.01456archive 2025-07-28

Đorđe Žikelić, Mathias Lechner, Abhinav Verma, Krishnendu Chatterjee, Thomas A. Henzinger

Reinforcement learning has shown promising results in learning neural network policies for complicated control tasks. However, the lack of formal guarantees about the behavior of such policies remains an impediment to their deployment. We propose a novel method for learning a composition of neural network policies in stochastic environments, along with a formal certificate which guarantees that a specification over the policy's behavior is satisfied with the desired probability. Unlike prior work on verifiable RL, our approach leverages the compositional nature of logical specifications provided in SpectRL, to learn over graphs of probabilistic reach-avoid specifications. The formal guarantees are provided by learning neural network policies together with reach-avoid supermartingales (RASM) for the graph's sub-tasks and then composing them into a global policy. We also derive a tighter lower bound compared to previous work on the probability of reach-avoidance implied by a RASM, which is required to find a compositional policy with an acceptable probabilistic threshold for complex tasks with multiple edge policies. We implement a prototype of our approach and evaluate it on a Stochastic Nine Rooms environment.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2312.01456")

Code

Syntology Ran 12 of 18 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 2 ran · honoured contract; 5 ran · our draft was wrong; 5 ran with no contract checked.

By repository: official repository: 18 samples from 1 repository, 12 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

mlech26l/neural_martingales officialmentioned in paperjax report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

18 samples harvested; 12 ran; 2 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
5ran · our draft was wrong
5ran
6unverified

Licence: 0 of the 18 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from mlech26l/neural_martingales. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Dense mlech26l/neural_martingales/rsm_learner.py official repository ran · metamorphic tier: deterministic MIT (permissive) · f1e4fbbcfa50bc57 · report
ExperienceBuffer mlech26l/neural_martingales/rsm_learner.py official repository ran MIT (permissive) · e6f27ce0cd0ccd68 · report
IBPMLP mlech26l/neural_martingales/rsm_learner.py official repository ran · metamorphic tier: deterministic MIT (permissive) · b1fe18dc127c4fd5 · report
MLP mlech26l/neural_martingales/rsm_learner.py official repository ran · metamorphic tier: deterministic MIT (permissive) · d6c0ab2b08001e11 · report
PPO mlech26l/neural_martingales/rsm_learner.py official repository ran MIT (permissive) · 8da6d9f473137584 · report
create_train_state mlech26l/neural_martingales/rsm_learner.py official repository ran · our draft was wrong MIT (permissive) · c7c3d01d90cd968f · report
jax_load mlech26l/neural_martingales/rsm_learner.py official repository ran · our draft was wrong MIT (permissive) · 36774259cd87b905 · report
lipschitz_l1_jax mlech26l/neural_martingales/rsm_learner.py official repository ran · honoured contract MIT (permissive) · d0572d00a75060af · report
martingale_loss mlech26l/neural_martingales/rsm_learner.py official repository ran · honoured contract MIT (permissive) · e0d8b0ab3120de38 · report
pretty_time mlech26l/neural_martingales/rsm_learner.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 5246cad8d478b520 · report
train_step_value mlech26l/neural_martingales/rsm_learner.py official repository ran · our draft was wrong MIT (permissive) · 98da6feb7127d25d · report
triangular mlech26l/neural_martingales/rsm_learner.py official repository ran · our draft was wrong MIT (permissive) · 0ffe4d76721da7dc · report
RSMLearner mlech26l/neural_martingales/rsm_learner.py official repository unverified MIT (permissive) · 6599e51ec0488b6f · report
clip_grad_norm mlech26l/neural_martingales/rsm_learner.py official repository unverified MIT (permissive) · 9e14d50c7aebab23 · report
gauss_log_prob mlech26l/neural_martingales/rsm_learner.py official repository unverified MIT (permissive) · 0744fbc00a5e00d8 · report
jax_save mlech26l/neural_martingales/rsm_learner.py official repository unverified MIT (permissive) · 5e6c9f2799afda75 · report
np_gauss_log_prob mlech26l/neural_martingales/rsm_learner.py official repository unverified MIT (permissive) · 37e02abbd643e919 · report
train_step_policy mlech26l/neural_martingales/rsm_learner.py official repository unverified MIT (permissive) · 80915e76d57c6c97 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections