Papers › OOD-RL-Bench: A Benchmark Framework for Out-of-Distribution Detection in Reinforcement Learning

OOD-RL-Bench: A Benchmark Framework for Out-of-Distribution Detection in Reinforcement Learning

14 Jul 2026arXiv:2607.12523added by Syntology

Emil Mittag, Richard Dazeley, Peter Vamplew

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Reliable reinforcement learning (RL) agents must maintain operational integrity amidst sensor malfunctions, dynamic disturbances, and slow environmental shifts. The detection of out-of-distribution conditions is pivotal to determining when an agent's observations, transitions, or trajectory dynamics deviate from the assumptions underpinning its policy training. Current out-of-distribution (OOD) detection benchmarks typically evaluate image classifiers or static low-dimensional datasets, failing to account for the complex, action-dependent temporal structure inherent in RL trajectories. To address this gap, we present OOD-RL-Bench, a comprehensive and extensible framework designed to evaluate OOD detectors against categories of anomalies injected into RL trajectories. Detectors and anomaly injectors are integrated through shared interfaces and configuration, which allows new scoring methods and perturbation families to be evaluated without modification of the core benchmark loop. We evaluate the utility of the framework using a Deep Q-Network policy within the LunarLander-v3 environment. We assess the performance of each detector across a suite of anomaly types using matched-time AUROC, matched-time AUPRC, matched-time false-positive rate, detection delay, and segmented-onset metrics. Our analysis reveals significant performance variance across anomaly types: observation perturbations and regime switches are identified with high accuracy by several methods, while observation delay and action-conditioned dynamics remain difficult even when post-onset anomaly scores are compared against clean scores from the same timesteps. We make the framework, trained policy checkpoint, and complete results publicly available as a reproducible artefact.

PaperPDFCode 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="2607.12523")

Code

Syntology Ran 17 of 29 code samples harvested from 1 repository linked to this paper; 12 have no recorded run. Of those that ran: 1 ran · violated contract; 2 ran · our draft was wrong; 3 ran · fixture could not drive it; 11 ran with no contract checked.

By repository: found in paper text by Syntology: 29 samples from 1 repository, 17 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ood-rl-bench/ood-rl-bench found in paper text by Syntology report

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

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

1ran · violated contract
2ran · our draft was wrong
3ran · fixture could not drive it
11ran
12unverified

Licence: 0 of the 29 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 ood-rl-bench/ood-rl-bench. “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.

AggregatedResult ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology ran Apache-2.0 (permissive) · 1f6f194ab884ba83 · report
AnomalyConfig ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology ran Apache-2.0 (permissive) · 7d5314b3bbd8152f · report
AnomalySpec ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology ran Apache-2.0 (permissive) · e54bc879db15c08c · report
DetectionResult ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology ran Apache-2.0 (permissive) · 11557293ad03cbd4 · report
DetectorConfig ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology ran Apache-2.0 (permissive) · 0a78a2bfb5ce612b · report
EpisodeEvaluation ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology ran Apache-2.0 (permissive) · 304049d890290246 · report
MetricConfig ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology ran Apache-2.0 (permissive) · 431034dde087b734 · report
MetricResult ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology ran Apache-2.0 (permissive) · e6e056bb7c66da46 · report
RegistryError ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology ran Apache-2.0 (permissive) · d62f8000f7f208cb · report
Trajectory ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology ran Apache-2.0 (permissive) · f89ed0a99412feb7 · report
_RegistryStore ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology ran Apache-2.0 (permissive) · 38247e6e9ec1bf4e · report
_fast_auprc ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · 1d5956a5640037a3 · report
_fast_auroc ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · 63223460956aeb43 · report
_fast_fpr_at_95tpr ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology ran · violated contract fingerprinted Apache-2.0 (permissive) · 699cfcfcb68582f2 · report
_json_sanitize ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology ran · our draft was wrong Apache-2.0 (permissive) · 178a8e749f1067a6 · report
_metric_value_from_arrays ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · 7edb98faaf0ce7cc · report
_moving_block_sample ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology ran · our draft was wrong Apache-2.0 (permissive) · 05464b1a88378334 · report
BaseAnomalyInjector ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 78f7d2bccc043d53 · report
BaseDetector ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 9efbe03a7851253a · report
BaseMetric ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology unverified Apache-2.0 (permissive) · e8a2607a060828ab · report
BenchmarkConfig ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology unverified Apache-2.0 (permissive) · b529a39e5d3ba6fd · report
BenchmarkReport ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 97835433cf696d46 · report
BenchmarkRunner ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 0e27ba3756bfadf4 · report
EvaluationProtocol ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 87478d03655653dd · report
Registry ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology unverified Apache-2.0 (permissive) · f3e73bfa41ed3ff1 · report
_anomaly_requires_online_environment ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology unverified Apache-2.0 (permissive) · cad24bffab7efd74 · report
_check_constructor_params ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology unverified Apache-2.0 (permissive) · c1ce2debe89e235e · report
_ensure_builtin_components_registered ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 382a83b52ac5776f · report
_stable_seed ood-rl-bench/ood-rl-bench/ood_rl_bench/core/benchmark.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 73e5896978f9ae19 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2607.12523, was issued in July 2026, after that date, so the archive has no leaderboard rows for it.

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