SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.02227 · 2023

State-Wise Safe Reinforcement Learning With Pixel Observations

arXiv · PDF · Open in the Atlas

Code that ran

12 of 14 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 5 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 6 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2311.02227.json · badge: /api/ran/2311.02227.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
simonzhan-code/step-wise_saferl_pixel canonical (classifier label)
classifier basis: census
12 ran · 2 no recorded run
FunctionStatusWhere it lives
ObservationModel Ran
ran; our contract draft was wrong, not the code
simonzhan-code/step-wise_saferl_pixel/modules/models.py
pointer only (licence: NONE) · get_code("cd4df7e37f410cf0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, simonzhan-code/step-wise_saferl_pixel when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_lambda_datasets Ran
ran, honoured the contract we drafted
simonzhan-code/step-wise_saferl_pixel/utils/plot.py
pointer only (licence: NONE) · get_code("a303dbe40ba89e74")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, simonzhan-code/step-wise_saferl_pixel when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_model_free_baseline Ran
ran; our contract draft was wrong, not the code
simonzhan-code/step-wise_saferl_pixel/utils/plot.py
pointer only (licence: NONE) · get_code("aa1afc09634f499a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, simonzhan-code/step-wise_saferl_pixel when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_slac_datasets Ran
ran, honoured the contract we drafted
simonzhan-code/step-wise_saferl_pixel/utils/plot.py
pointer only (licence: NONE) · get_code("59c5b8b9c3d163d4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, simonzhan-code/step-wise_saferl_pixel when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_through_NN Ran
ran; our contract draft was wrong, not the code
simonzhan-code/step-wise_saferl_pixel/modules/models.py
pointer only (licence: NONE) · get_code("529627f92815aafb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, simonzhan-code/step-wise_saferl_pixel when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

imagine_ahead Ran
ran; our contract draft was wrong, not the code
simonzhan-code/step-wise_saferl_pixel/utils/utils.py
pointer only (licence: NONE) · get_code("f837e22509ce6a46")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, simonzhan-code/step-wise_saferl_pixel when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

lambda_return Ran
ran; our contract draft was wrong, not the code
simonzhan-code/step-wise_saferl_pixel/utils/utils.py
pointer only (licence: NONE) · get_code("390ab719c56fc08b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, simonzhan-code/step-wise_saferl_pixel when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

normalize Ran
ran, honoured the contract we drafted
simonzhan-code/step-wise_saferl_pixel/safety-gym/safety_gym/bench/bench_utils.py
pointer only (licence: NONE) · get_code("d7740644bf4b7de1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, simonzhan-code/step-wise_saferl_pixel when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

postprocess_observation Ran
ran, honoured the contract we drafted
simonzhan-code/step-wise_saferl_pixel/modules/env.py
pointer only (licence: NONE) · get_code("278220aaad589e8c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, simonzhan-code/step-wise_saferl_pixel when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

quat2zalign Ran
ran, violated the contract we drafted
simonzhan-code/step-wise_saferl_pixel/safety-gym/safety_gym/envs/engine.py
pointer only (licence: NONE) · get_code("4ac8031d738ec401")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, simonzhan-code/step-wise_saferl_pixel when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

reach_avoid_value_return Ran
ran; our contract draft was wrong, not the code
simonzhan-code/step-wise_saferl_pixel/utils/utils.py
pointer only (licence: NONE) · get_code("398af0fe872ccef0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, simonzhan-code/step-wise_saferl_pixel when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

theta2vec Ran
ran, honoured the contract we drafted
simonzhan-code/step-wise_saferl_pixel/safety-gym/safety_gym/envs/engine.py
pointer only (licence: NONE) · get_code("39708d407531ef32")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, simonzhan-code/step-wise_saferl_pixel when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Env Not yet run
unverified (harvested, no recorded run)
simonzhan-code/step-wise_saferl_pixel/modules/env.py
pointer only (licence: NONE) · get_code("703763e9ba3cdadd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, simonzhan-code/step-wise_saferl_pixel when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

bottle Not yet run
unverified (harvested, no recorded run)
simonzhan-code/step-wise_saferl_pixel/modules/models.py
pointer only (licence: NONE) · get_code("25c79a6d1db5ea05")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, simonzhan-code/step-wise_saferl_pixel when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 3 later) and 9 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
normalize 4 other papers
3 dated earlier, 1 later
2201.12427 (2022-01)
Towards Safe Reinforcement Learning with a Safety Editor Policy
2303.03339 (2023-03)
Reducing Safety Interventions in Provably Safe Reinforcement Learning
2306.00035 (2023-06)
ROSARL: Reward-Only Safe Reinforcement Learning
and 1 more not named here
quat2zalign 3 other papers
2 dated earlier, 1 later
2201.12427 (2022-01)
Towards Safe Reinforcement Learning with a Safety Editor Policy
2303.03339 (2023-03)
Reducing Safety Interventions in Provably Safe Reinforcement Learning
2401.14758 (2024-01)
Off-Policy Primal-Dual Safe Reinforcement Learning
theta2vec 3 other papers
2 dated earlier, 1 later
2201.12427 (2022-01)
Towards Safe Reinforcement Learning with a Safety Editor Policy
2303.03339 (2023-03)
Reducing Safety Interventions in Provably Safe Reinforcement Learning
2401.14758 (2024-01)
Off-Policy Primal-Dual Safe Reinforcement Learning
ObservationModel 2 other papers
2 dated earlier
1912.01603 (2019-12)
Dream to Control: Learning Behaviors by Latent Imagination
2005.05960 (2020-05)
Planning to Explore via Self-Supervised World Models
bottle 2 other papers
2 dated earlier
1912.01603 (2019-12)
Dream to Control: Learning Behaviors by Latent Imagination
2005.05960 (2020-05)
Planning to Explore via Self-Supervised World Models

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

In the context of safe exploration, Reinforcement Learning (RL) has long grappled with the challenges of balancing the tradeoff between maximizing rewards and minimizing safety violations, particularly in complex environments with contact-rich or non-smooth dynamics, and when dealing with high-dimensional pixel observations. Furthermore, incorporating state-wise safety constraints in the exploration and learning process, where the agent must avoid unsafe regions without prior knowledge, adds another layer of complexity. In this paper, we propose a novel pixel-observation safe RL algorithm that efficiently encodes state-wise safety constraints with unknown hazard regions through a newly introduced latent barrier-like function learning mechanism. As a joint learning framework, our approach begins by constructing a latent dynamics model with low-dimensional latent spaces derived from pixel observations. We then build and learn a latent barrier-like function on top of the latent dynamics and conduct policy optimization simultaneously, thereby improving both safety and the total expected return. Experimental evaluations on the safety-gym benchmark suite demonstrate that our proposed method significantly reduces safety violations throughout the training process, and demonstrates faster safety convergence compared to existing methods while achieving competitive results in reward return.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2311.02227")
get_code_for_paper("2311.02227")
have("2311.02227")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2311.02227.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2311.02227.svg)](https://syntology.ai/paper/2311.02227)

Connect an agent — have() is free.