Papers › Safe Value Functions

Safe Value Functions

25 May 2021arXiv:2105.12204archive 2025-07-28

Pierre-François Massiani, Steve Heim, Friedrich Solowjow, Sebastian Trimpe

Safety constraints and optimality are important, but sometimes conflicting criteria for controllers. Although these criteria are often solved separately with different tools to maintain formal guarantees, it is also common practice in reinforcement learning to simply modify reward functions by penalizing failures, with the penalty treated as a mere heuristic. We rigorously examine the relationship of both safety and optimality to penalties, and formalize sufficient conditions for safe value functions (SVFs): value functions that are both optimal for a given task, and enforce safety constraints. We reveal this structure by examining when rewards preserve viability under optimal control, and show that there always exists a finite penalty that induces a safe value function. This penalty is not unique, but upper-unbounded: larger penalties do not harm optimality. Although it is often not possible to compute the minimum required penalty, we reveal clear structure of how the penalty, rewards, discount factor, and dynamics interact. This insight suggests practical, theory-guided heuristics to design reward functions for control problems where safety is important.

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="2105.12204")

Code

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

By repository: official repository: 23 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.

sheim/vibly officialmentioned in paperMIT 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

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

23unverified

Licence: 0 of the 23 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 sheim/vibly. “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.

check_failure sheim/vibly/models/hovership.py official repository unverified MIT (permissive) · 778835f0e155d64a · report
check_failure sheim/vibly/models/satellite.py official repository unverified MIT (permissive) · 8477d9c9e6dac3fd · report
check_failure sheim/vibly/models/spaceship.py official repository unverified MIT (permissive) · 49d152837032f814 · report
feasible sheim/vibly/models/daslip.py official repository unverified MIT (permissive) · a62ab20e7683d38d · report
feasible sheim/vibly/models/nslip.py official repository unverified MIT (permissive) · 401b526de5868422 · report
is_feasible sheim/vibly/models/slip.py official repository unverified MIT (permissive) · 56e6aa0272a8e3a1 · report
p_map sheim/vibly/models/hovership.py official repository unverified MIT (permissive) · f64b3b9d09fa889a · report
p_map sheim/vibly/models/lip.py official repository unverified MIT (permissive) · c24f5db901a76cd5 · report
p_map sheim/vibly/models/nslip.py official repository unverified MIT (permissive) · d5ebd8d14f7153aa · report
p_map sheim/vibly/models/satellite.py official repository unverified MIT (permissive) · e5a186598cf57a93 · report
p_map sheim/vibly/models/spaceship.py official repository unverified MIT (permissive) · 67921ac0bbc1fa70 · report
p_map sheim/vibly/models/spaceship4.py official repository unverified MIT (permissive) · f2800c9555bb888f · report
poincare_map sheim/vibly/models/daslip.py official repository unverified MIT (permissive) · 4ff690ea4289af59 · report
poincare_map sheim/vibly/models/parslip.py official repository unverified MIT (permissive) · 2b1c599408cf10d9 · report
sa2xp sheim/vibly/models/hovership.py official repository unverified MIT (permissive) · 334f6a334d749a87 · report
sa2xp sheim/vibly/models/lip.py official repository unverified MIT (permissive) · 55fec93de1d4453a · report
sa2xp sheim/vibly/models/satellite.py official repository unverified MIT (permissive) · 8c393be39f60a318 · report
sa2xp sheim/vibly/models/spaceship.py official repository unverified MIT (permissive) · 049a55f2c47b81f5 · report
sa2xp sheim/vibly/models/spaceship4.py official repository unverified MIT (permissive) · 3caf6e3d4e341b27 · report
sa2xp_num sheim/vibly/models/lip.py official repository unverified MIT (permissive) · b24b052bf4545bd6 · report
step sheim/vibly/models/daslip.py official repository unverified MIT (permissive) · 8d3bf3ad5f61f6cd · report
step sheim/vibly/models/nslip.py official repository unverified MIT (permissive) · 2883642f8bbd352a · report
step sheim/vibly/models/parslip.py official repository unverified MIT (permissive) · d0a938a8c361a66a · 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