arXiv Science⌕ Search

arXiv · 2611.39532

Signed RL Environments: Reward Integrity for Agent Training

Abstract

Reinforcement learning trains agents on whatever the reward pays for. When the reward is read from tests run at the end of an episode, or from the agent's own report, an agent can earn it by faking a test run, claiming a check it never ran, or breaking a rule that leaves the final state unchanged. We introduce signed RL environments, a method for reward integrity. The agent acts only through recorded paths, and every command, every attempt to reach the network and every access to an out-of-scope file is signed, as it happens, by a signer outside the agent's reach. After the episode, a verifier with no network computes the reward only from that signed record and the final state of the task's services, so any reward can be recomputed offline from its bundle. Every grader must also pass a release gate: honest solutions must score 1 and scripted cheats must score 0. We release the harness, the verifier and three tasks in the Harbor format, with 4 honest solutions and 40 scripted cheats in eight kinds, from faked test runs to secrets sent out encoded. In a credential-rotation task, Claude Haiku, Sonnet and Opus 5.5 opened another service's secrets file in 11 of 24 episodes, a rule break that a grader reading only the final state would miss. The signed record showed the command each time: a search of the whole repository for the leaked key. A control that restates the rule at that step, and says that filtering a search's output does not make it allowed, brought the count to 0 of 24 (one-sided Fisher p = 0.0001). Across 127 Opus 5.5 episodes on eight hardened tasks, no shortcut that a grader rewards was taken. The code and tasks are open source at https://github.com/Cygnux-Labs/Signed-RL-envs, and eighteen further tasks are available on request.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Bravish Ghosh. 2026-11-29. Signed RL Environments: Reward Integrity for Agent Training. https://arxiv.science/abs/2611.39532

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Directed Brain--Body Graphs Across Timescales: Rate-Matched Granger Causality With Per-Edge Robustness Values

Objective: Brain and body signals are sampled at different rates, and unmeasured common influences can make one signal appear to drive another. We aimed to estimate directed brain--body graphs without a common sampling grid and to quantify each edge's robustness to hidden drivers. Methods: Rate-matched Granger causality (RMGC) predicts each signal at a resolution matched to its sampling rate, from causal windows of the other signals' own samples. Each edge receives a robustness value: the strength of the weakest simulated common driver, in a fixed class, that reproduces it. We compared RMGC with established methods on a simulated benchmark (64 replicates) and on sleep (CAP Sleep Database) and awake recordings (BBBD, MultiPhysio-HRC), with breathing observed and hidden. Results: RMGC matched the best established method's recall (0.92) at less than half the false-positive rate of a common-grid model (0.05 against 0.12), and declared a reversed edge in 4% of replicates, against 100% for that model. Robustness values never overstated the driver behind a spurious edge and separated true from spurious edges better than edge size (area under the curve 0.80 against 0.40). Of brain--heart edges stable with breathing hidden, 49% in sleep and 94% and 79% awake could be reproduced by a hidden driver no stronger than breathing. Conclusion: RMGC estimates directed graphs from multirate signals and events with controlled false positives and per-edge robustness values. Significance: RMGC lets brain--body studies report how strong a shared driver such as breathing would need to be to explain each directed edge.

cs.CE↗

Where Should Your Keys Live? Metadata-Aware Placement for Redis on CXL Memory

Expanding Redis memory capacity with CXL requires placement policies that account for access latency, not just available bandwidth. We evaluate Redis on real CXL hardware and find that Linux NUMA interleaving does not translate the additional CXL bandwidth into substantial gains in peak throughput. At server saturation, equal DRAM-CXL interleaving delivers approximately 13\% less throughput than DRAM-only placement. Increasing the CXL share to 75\% yields throughput within 3\% of CXL-only placement, with some cases performing worse despite retaining a DRAM allocation. These observations motivate separating latency-sensitive indexing metadata from string values rather than treating all Redis allocations uniformly. We present ReCXL, a metadata-aware placement mechanism that retains indexing metadata in DRAM and distributes string values across DRAM and CXL subject to a configurable soft DRAM budget. ReCXL implements this policy through a DevDAX-backed userspace allocator without kernel modifications. With the same DRAM footprint as equal interleaving, ReCXL achieves 94.9-97.5\% of DRAM-only throughput, compared with 86.0-88.3\% for interleaving. It also exceeds equal interleaving throughput while using half as much DRAM. These results demonstrate that metadata-aware placement can make more effective use of limited DRAM when scaling Redis capacity with CXL.

cs.CE↗

A Discrete-Event Simulation Framework for High-Bandwidth Flash

Evaluating High-Bandwidth Flash (HBF) has been impractical, as neither hardware nor faithful architectural models are widely available. HBF is a NAND-based device that offers DRAM-like parallel interfaces and terabyte-scale capacity for AI workloads. We therefore built a discrete-event simulator implementing the OCP HBF v0.7.0 specification down to individual hardware resources and their sharing among concurrent requests. The simulator matches the specification's peak user bandwidth within 0.32% on all three speed grades. Experiments reveal that HBF is highly sensitive to interference: a write stream comprising only 0.3% of traffic degrades p99 read latency by a factor of 15, host-side queueing alone can reach milliseconds, and program suspension must guarantee write progress. Applying our framework to 17 dense, mixture-of-experts, and multimodal LLMs, we further show that inference throughput hinges on where model weights and the KV cache reside.

cs.CE↗