Search arXiv⌕ Search

arXiv subjects

Noah Farr

Publications and source records attributed to Noah Farr.

2 recordsLinked to original sources

Abstractions for Scaling Reinforcement Learning in JAX

Reinforcement learning (RL) is no longer confined to games and simulated control but has become central to the post-training of large language and vision-language-action models. We present boonta, a distributed RL library in JAX that unifies these settings under one set of abstractions, which keep the techniques for scaling out of algorithms and environments. Its training loops, networks and data sources provide multi-GPU training, asynchronous collection, reduced precision and custom kernels, so the same algorithm implementation runs from CartPole to the post-training of a language model. PPO on Craftax-Classic scales across the GPUs of a node, the recurrent behavior cloning implementation pretrains GPT-2, and recurrent GRPO post-trains Qwen3 to play a number-guessing game through tool calls, all without changing the algorithms. With the same settings, boonta matches the throughput of Stoix on most benchmarks, and its scaling techniques make it faster with large batches. The code is released under the Apache 2.0 license at https://github.com/noahfarr/boonta.

cs.LG↗

Streaming Reinforcement Learning under Partial Observability with Real-Time Recurrent Learning

Streaming reinforcement learning has emerged as an online learning paradigm that conforms to the restrictions of natural learning agents that process data incrementally, i.e. with a batch size of 1 and no replay buffer. While streaming RL has recently been shown to scale with deep function approximation with full observability, partially observable settings have remained out of reach. Truncated backpropagation through time collapses to a one-step gradient horizon under the streaming setting, and exact real-time recurrent learning is prohibitively expensive. We close this gap using recurrent trace units, a diagonal recurrent architecture that enables exact RTRL with linear time and memory complexity in the parameter count, and show that they integrate cleanly into existing streaming algorithms across both discrete and continuous control. On a MemoryChain diagnostic with chain lengths from 2 to 128, our method sustains performance where streaming TBPTT(1) baselines using feedforward, GRU, and RTU networks collapse. On five POPGym tasks and on partially observable MuJoCo continuous control, the streaming approach is competitive with batched PPO on POPGym and recovers a substantial fraction of batched performance on masked MuJoCo, despite using no replay buffer or batched updates.

cs.LG↗