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
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.
In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.
Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.
For agents, on Syntology's MCP service (how to connect):
get_harvested_code_for_paper(arxiv_id="2607.12523")get_code(code_sha256="…")with a sample'scode_sha256from the list belowget_citation_path(paper_1="2607.12523", paper_2="…")with another paper's arXiv id or titleget_concepts_for_paper(arxiv_id="2607.12523")
Code
Syntology 29 code samples harvested from 1 repository linked to this paper: 17 ran (of which 11 constructed an object rather than computing a result; 12 with no instrument failure: 0 honoured, 1 violated, 11 with no contract checked; 5 where Syntology's instrument failed) · 12 unverified. Where Syntology's instrument failed: 2 where our contract draft was wrong; 3 where the contract check could not run; failures of Syntology's instrument, not of the code.
By repository: found in paper text by Syntology: 29 samples from 1 repository, 17 ran (12 with no instrument failure; 5 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.
Levels written on 2026-09-22 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.
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 (of which 11 constructed an object rather than computing a result; 12 with no instrument failure: 0 honoured, 1 violated, 11 with no contract checked; 5 where Syntology's instrument failed) · 12 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.
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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.
Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.
A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity.
1f6f194ab884ba83 · report
fixture: returned AggregatedResult · level recorded 2026-09-22 7d5314b3bbd8152f · report
fixture: returned AnomalyConfig · level recorded 2026-09-22 e54bc879db15c08c · report
fixture: returned AnomalySpec · level recorded 2026-09-22 11557293ad03cbd4 · report
fixture: returned DetectionResult · level recorded 2026-09-22 0a78a2bfb5ce612b · report
fixture: returned DetectorConfig · level recorded 2026-09-22 304049d890290246 · report
fixture: returned EpisodeEvaluation · level recorded 2026-09-22 431034dde087b734 · report
fixture: returned MetricConfig · level recorded 2026-09-22 e6e056bb7c66da46 · report
fixture: returned MetricResult · level recorded 2026-09-22 d62f8000f7f208cb · report
fixture: returned RegistryError · level recorded 2026-09-22 f89ed0a99412feb7 · report
fixture: returned Trajectory · level recorded 2026-09-22 38247e6e9ec1bf4e · report
fixture: returned _RegistryStore · level recorded 2026-09-22 1d5956a5640037a3 · report
fixture: signature ground_truth:ndarray/1/int, scores:ndarray/1/float · returned float · level recorded 2026-09-22 63223460956aeb43 · report
fixture: signature ground_truth:ndarray/1/int, scores:ndarray/1/float · returned float · level recorded 2026-09-22 699cfcfcb68582f2 · report
fixture: signature ground_truth:ndarray/1/int, scores:ndarray/1/float · returned float · level recorded 2026-09-22 178a8e749f1067a6 · report
fixture: signature obj:dict/0/? · returned dict · level recorded 2026-09-22 7edb98faaf0ce7cc · report
fixture: signature metric_name:str/0/str, ground_truth:ndarray/1/int, scores:ndarray/1/float, labels:ndarray/1/int · returned float · level recorded 2026-09-22 05464b1a88378334 · report
fixture: signature ground_truth:ndarray/1/int, scores:ndarray/1/float, labels:ndarray/1/int, block_length:int/0/int, rng:RandomState/0/? · returned tuple · level recorded 2026-09-22 78f7d2bccc043d53 · report
9efbe03a7851253a · report
e8a2607a060828ab · report
b529a39e5d3ba6fd · report
97835433cf696d46 · report
0e27ba3756bfadf4 · report
87478d03655653dd · report
f3e73bfa41ed3ff1 · report
cad24bffab7efd74 · report
c1ce2debe89e235e · report
382a83b52ac5776f · report
73e5896978f9ae19 · report
Method as code Syntology
What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it.
1 assembly on this paper: 1 harvested, 0 generated.
harvested Assembly for OOD-RL-Bench (graph method: OOD-RL-Bench). 29 bricks; individually on a fixture: 17 ran (of which 11 constructed an object rather than computing a result; 12 with no instrument failure: 0 honoured, 1 violated, 11 with no contract checked; 5 where Syntology's instrument failed) · 12 unverified. The assembly has not been run end-to-end.
- BenchmarkRunner entry · level 0 · unverified ·
0e27ba3756bfadf4 - AggregatedResult helper · level 1 · ran ·
1f6f194ab884ba83 - BaseAnomalyInjector sampler · level 0 · unverified ·
78f7d2bccc043d53 - BaseDetector model · level 0 · unverified ·
9efbe03a7851253a - BaseMetric metric · level 0 · unverified ·
e8a2607a060828ab - BenchmarkConfig helper · level 0 · unverified ·
b529a39e5d3ba6fd - BenchmarkReport data_transform · level 0 · unverified ·
97835433cf696d46 - EpisodeEvaluation helper · level 1 · ran ·
304049d890290246 - EvaluationProtocol metric · level 0 · unverified ·
87478d03655653dd - Registry helper · level 0 · unverified ·
f3e73bfa41ed3ff1 - Trajectory helper · level 1 · ran ·
f89ed0a99412feb7 - AnomalySpec helper · level 1 · ran ·
e54bc879db15c08c - DetectionResult helper · level 1 · ran ·
11557293ad03cbd4 - MetricResult helper · level 1 · ran ·
e6e056bb7c66da46 - AnomalyConfig helper · level 1 · ran ·
7d5314b3bbd8152f - DetectorConfig helper · level 1 · ran ·
0a78a2bfb5ce612b - MetricConfig helper · level 1 · ran ·
431034dde087b734 - RegistryError helper · level 1 · ran ·
d62f8000f7f208cb - _anomaly_requires_online_environment helper · level 0 · unverified ·
cad24bffab7efd74 - _check_constructor_params helper · level 0 · unverified ·
c1ce2debe89e235e - _ensure_builtin_components_registered helper · level 0 · unverified ·
382a83b52ac5776f - _json_sanitize helper · level 1 · ran · our draft was wrong ·
178a8e749f1067a6 - _metric_value_from_arrays helper · level 1 · ran; the contract check could not run (RAISES) ·
7edb98faaf0ce7cc - _moving_block_sample helper · level 1 · ran · our draft was wrong ·
05464b1a88378334 - _stable_seed helper · level 0 · unverified ·
73e5896978f9ae19 - _RegistryStore helper · level 1 · ran ·
38247e6e9ec1bf4e - _fast_auprc helper · level 1 · ran; the contract check could not run (RAISES) ·
1d5956a5640037a3 - _fast_auroc helper · level 1 · ran; the contract check could not run (RAISES) ·
63223460956aeb43 - _fast_fpr_at_95tpr helper · level 1 · ran · violated contract ·
699cfcfcb68582f2
Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2607.12523") returns these assemblies with each brick's role and wiring (how to connect).
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