Papers › PAC-Bayes Control: Learning Policies that Provably Generalize to Novel Environments

PAC-Bayes Control: Learning Policies that Provably Generalize to Novel Environments

11 Jun 2018arXiv:1806.04225archive 2025-07-28

Anirudha Majumdar, Alec Farid, Anoopkumar Sonar

Our goal is to learn control policies for robots that provably generalize well to novel environments given a dataset of example environments. The key technical idea behind our approach is to leverage tools from generalization theory in machine learning by exploiting a precise analogy (which we present in the form of a reduction) between generalization of control policies to novel environments and generalization of hypotheses in the supervised learning setting. In particular, we utilize the Probably Approximately Correct (PAC)-Bayes framework, which allows us to obtain upper bounds that hold with high probability on the expected cost of (stochastic) control policies across novel environments. We propose policy learning algorithms that explicitly seek to minimize this upper bound. The corresponding optimization problem can be solved using convex optimization (Relative Entropy Programming in particular) in the setting where we are optimizing over a finite policy space. In the more general setting of continuously parameterized policies (e.g., neural network policies), we minimize this upper bound using stochastic gradient descent. We present simulated results of our approach applied to learning (1) reactive obstacle avoidance policies and (2) neural network-based grasping policies. We also present hardware results for the Parrot Swing drone navigating through different obstacle environments. Our examples demonstrate the potential of our approach to provide strong generalization guarantees for robotic systems with continuous state and action spaces, complicated (e.g., nonlinear) dynamics, rich sensory inputs (e.g., depth images), and neural network-based policies.

PaperPDFCodeCode 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="1806.04225")

Code

Syntology Ran 0 of 10 code samples harvested from 1 repository linked to this paper; 10 have no recorded run.

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

irom-lab/PAC-Bayes-Control officialmentioned in papermentioned on GitHubBSD-3-Clause 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

10 samples harvested; 0 ran; 0 honoured the contract we drafted; 10 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.

10unverified

Licence: 0 of the 10 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 irom-lab/PAC-Bayes-Control. “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.

expected_cost irom-lab/PAC-Bayes-Control/Extension-Domain_Shifts/utils.py official repository unverified BSD-3-Clause (permissive) · 2fb362e87fc95efa · report
generate_obstacles irom-lab/PAC-Bayes-Control/utils_simulation.py official repository unverified BSD-3-Clause (permissive) · bcfb58b7ccbd0875 · report
getDistances irom-lab/PAC-Bayes-Control/utils_simulation.py official repository unverified BSD-3-Clause (permissive) · 18f46646194cedc3 · report
kl_divergence irom-lab/PAC-Bayes-Control/Extension-Domain_Shifts/utils.py official repository unverified BSD-3-Clause (permissive) · cbbc4f939b2eef2f · report
kl_inverse irom-lab/PAC-Bayes-Control/optimize_PAC_bound.py official repository unverified BSD-3-Clause (permissive) · 792b054090d3d04d · report
kl_inverse_l irom-lab/PAC-Bayes-Control/Extension-Domain_Shifts/utils.py official repository unverified BSD-3-Clause (permissive) · 4f716bb619cd86fa · report
optimize_PAC_bound irom-lab/PAC-Bayes-Control/optimize_PAC_bound.py official repository unverified BSD-3-Clause (permissive) · b784191da03032db · report
optimize_PAC_bound_MPB irom-lab/PAC-Bayes-Control/Extension-Domain_Shifts/optimize_PAC_bound.py official repository unverified BSD-3-Clause (permissive) · aa0698dcefebb731 · report
optimize_PAC_bound_NPB irom-lab/PAC-Bayes-Control/Extension-Domain_Shifts/optimize_PAC_bound.py official repository unverified BSD-3-Clause (permissive) · 7c22ea7dcb0a20d8 · report
robot_update_state irom-lab/PAC-Bayes-Control/utils_simulation.py official repository unverified BSD-3-Clause (permissive) · 1367ffaf9c43fa2c · 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