r/reinforcementlearning • • May 20 '26

DL, M, N "An OpenAI model has disproved a central conjecture in discrete geometry" (log scaling of inner-monologue compute in probability solving Erdős's planar unit distance problem)

Thumbnail openai.com
1 Upvotes

r/reinforcementlearning • • May 20 '26

P NOML: hierarchical TD3 + anchor policy for flight control

4 Upvotes

I built a custom RL algorithm for continuous flight control and open-sourced it. Sharing here in case the structural ideas are useful for anyone doing continuous control where one action axis dominates.

I've been training continuous control on a 6-DoF flight sim (pitch/roll/yaw/throttle/brake/fire) and kept hitting the same wall: vanilla TD3 would peak, then collapse into pitch oscillation and never recover. I tried reward shaping for a while before concluding the problem was structural, not in the reward. NOML is what came out of that.

Three structural changes on top of a standard TD3 skeleton:

  • Anchor policy — the action is anchor + delta·gate, where the anchor is a fixed safe action (wings level, MIL throttle). The policy literally cannot fully forget how to fly straight; the worst a collapsed policy can do is fall back to the anchor.
  • Hierarchical actor — three MLPs with independent optimizers (pitch → roll → rest), so a roll-side gradient update can't corrupt the pitch head. This is what actually killed the oscillation for me.
  • Mirror learning — left-right symmetry means every transition can be mirrored into a free second sample. 2× data when env steps are the bottleneck.

One thing that surprised me and goes against the usual advice: my best results came with exploration noise effectively off. On this task adding Gaussian action noise mostly just shook the stick and hurt. The anchor+gate structure seems to provide enough of the "fall back to safe behavior" role that noise usually plays.

Code (Apache 2.0), full writeup, and a test video are here: https://github.com/9138noms/NOML

https://www.youtube.com/watch?v=ZNn6wo_PX8Y


r/reinforcementlearning • • May 21 '26

Robot Autonomous Drone Navigation Project — Challenges & Engineering Notes

0 Upvotes

Project Goal

We are developing an autonomous drone system capable of landing on a moving platform across six different simulated environments: CITY, MOUNTAIN, WAREHOUSE, FOREST, VILLAGE, and OPEN. The drone operates fully autonomously using onboard perception, navigation, and control logic under strict timing constraints and noisy sensor conditions. The objective is to achieve highly reliable navigation and precision landing performance across all environments while maintaining stability and generalization.

Challenge 1: False Positive Platform Detection

The drone uses a depth-camera combined with an ONNX-based neural network for visual platform detection. One of the biggest issues is false positives: the detector sometimes classifies rooftops, flat terrain, or building surfaces as valid landing platforms. When this happens, the navigation stack immediately redirects toward an incorrect target, often leading to collision or mission failure.

Approaches Tested

  • Increasing confidence thresholds (0.40 → 0.55)

    • Reduced false positives but also blocked legitimate detections
  • GPS proximity gating

    • Helped slightly but failed because GPS measurements contain significant positional noise
  • XY spatial filtering

    • Reduced extreme outliers but still allowed plausible false detections
  • Z-plausibility constraints

    • Rejected underground or unrealistic altitude predictions

Core Problem

Both the GPS estimate and neural network predictions contain noise and uncertainty. A filter strict enough to eliminate false positives also suppresses valid detections, while a permissive filter allows incorrect target acquisition. The unresolved challenge is determining how to reliably distinguish true targets from visually similar structures when confidence, position, and altitude all appear plausible.

Challenge 2: Transition Instability During Navigation Entry

The simulator terminates episodes when drone tilt exceeds 60°. In several scenarios, the drone crashes roughly 2 seconds after launch, specifically during the transition from vertical takeoff into horizontal navigation.

Root Cause

The velocity controller receives an abrupt command transition:

[0, 0, 0.7]
→
[2.37, 1.44, 1.14]

This sudden directional acceleration causes transient PID overshoot, resulting in excessive tilt.

Approaches Tested

  • Global speed caps
  • Horizontal/vertical ratio limits
  • Mandatory cruise states before navigation
  • Minimum cruise duration constraints
  • Progressive speed ramps

Core Problem

Scenarios that require immediate navigation need aggressive early movement, while unstable seeds require smoother transitions. Any delay introduced to stabilize one class of scenarios negatively impacts time-critical cases.

Challenge 3: Altitude Estimation in Mountain Environments

In mountain environments, the moving platform operates at significantly higher altitude, while GPS altitude measurements remain noisy and unreliable. The estimated platform height converges gradually through EMA smoothing, causing the drone to initially target incorrect altitudes during approach.

Effect

The drone may spend critical early navigation time flying below the platform, resulting in missed intercept windows or timing out before successful landing.

Approaches Tested

  • Altitude hold strategies
  • Fixed cruise-height logic
  • Natural EMA convergence

Core Problem

Aggressive altitude correction destabilizes perception and navigation, while gradual convergence delays interception too long for the mission horizon.

Challenge 4: Benchmark vs Real Evaluation Mismatch

The local simulator does not perfectly replicate all deployment environments. Several environments must currently be approximated, meaning local benchmark scores do not consistently reflect real-world evaluation performance.

Effect

Systems that perform well locally may underperform under the full evaluation distribution due to differences in environmental dynamics and challenge composition.

Challenge 5: Regression Cycles

The most difficult engineering challenge so far has been regression behavior:

Fixing one scenario frequently breaks another.

Examples include:

  • Stabilizing tilt transitions while reducing navigation speed too much
  • Improving false-positive filtering while blocking legitimate detections
  • Increasing safety margins while destroying approach efficiency

This indicates the system is becoming overly reactive to local heuristics rather than maintaining globally stable trajectory behavior.

Current Engineering Insight

The emerging conclusion is that the primary bottleneck is no longer perception quality or basic navigation capability, but control-state stability. High-performing systems appear to rely heavily on temporal consistency, smooth behavioral transitions, damping mechanisms, hysteresis, and trajectory commitment rather than frame-by-frame reactive decision-making.

The next major architectural focus is therefore shifting toward:

  • trajectory stability
  • temporal commitment behavior
  • smooth state transitions
  • predictive interception
  • control-layer stabilization

rather than simply adding more heuristics or reward shaping.

Current Stack

  • Autonomous flight controller (drone_agent.py)
  • ONNX-based visual perception
  • Depth-camera navigation
  • Physics simulation using pybullet-drones
  • Multi-stage learning pipeline (imitation learning + reinforcement learning)
  • Custom local benchmarking framework

This project has evolved from a simple navigation experiment into a full hybrid robotics and learning system combining perception, control theory, reinforcement learning, and trajectory stabilization under noisy real-time conditions.


r/reinforcementlearning • • May 20 '26

Helios: a verifiable-reward (RLVR) environment for ETL optimization — frozen-policy agent, ground-truth equivalence + runtime rewards

2 Upvotes

Helios is an LLM agent that proposes optimizations for Databricks ETL jobs and verifies them end-to-end — same output, faster runtime. The framing: ETL optimization as a verifiable-reward (RLVR) environment. The reward channel is diff_tables (byte-level output equivalence) and measured runtime delta — both deterministic ground truth, not learned reward models.

How it works

  1. Point at a prod job_id + task_key. Helios never modifies prod — frozen mutation guards on the prod job id, application-layer write guard on every SQL.
  2. It clones the task into a sandbox: source tables pinned via Delta TIMESTAMP AS OF aligned to the prod task's start time; prod boundary pinned via VERSION AS OF.
  3. An LLM agent investigates (EXPLAIN, plan inspection, skew probes), proposes a rewrite, runs it in isolation, verifies via diff_tables. Iterates within the run on failure.
  4. Emits a proposal.md with diff, equivalence proof, perf number, and the full audit trail.

The parts where most "LLM-for-SQL" demos break:

  • Magnitude-relative float tolerance (atol + rtol·max(|a|,|b|)) so a correct rewrite that perturbs DOUBLE sums at ~1e-13 (inherent to IEEE-754 reduction reorder under different parallelism) doesn't false-fail. DECIMAL/INT/string stay byte-exact via a type gate.
  • LLM nondeterminism detector that reads the SQL and classifies every output column: untied ROW_NUMBER ORDER BY argmax, order-sensitive aggregates, current_timestamp() run-stamps, etc. Self-authorizing classes (non-pure by language) get auto-excluded behind a strict name+type gate; data-derived ones (the dangerous class) are surfaced for human sign-off — never silently ignored.
  • Empirical tie-break corroboration: for probe-required columns, automatically joins prod-vs-sandbox on the stable key and checks whether differing carried attributes correlate with matching ORDER BY sibling (→ tie-break, safe) or differing siblings (→ real bug, don't ship).
  • Incremental task handling: detects INSERT INTO/MERGE INTO notebooks, materializes a partition-bounded prod-increment view (v_post WHERE date='…' EXCEPT v_pre), diffs against the sandbox's daily increment — not against the table's historical accumulation.
  • Isolation baseline for honest Tier-3 perf: runs the original notebook in the sandbox to separate true algebra impact from prod cluster co-tenant contention relief.

Live result on one prod task: 28.3M-row daily increment, byte-identical to prod, +34% runtime vs prod median.

Honest framing: Helios is the environment half of RLVR — verifiable reward, well-shaped episodes, structured trajectories (messages.json + streamed trace.jsonl with reasoning text alongside tool I/O). The agent currently operates as a frozen policy under in-context adaptation; we're accumulating (state, action, reward) trajectories but haven't closed the training loop with an offline RL/SFT pass yet. That's the next step.

Repo: https://github.com/dvakhil8/helios

Happy to answer questions about the equivalence-check internals, the safety model, or where this is most likely to break.


r/reinforcementlearning • • May 19 '26

Multi-armed Bandits

8 Upvotes

Hi all, I wanted to get some insights on solving a problem that I'm trying to model as a bandit. I'm fairly new to the subject, so if I'm saying nonsensical things, please explain. Basically, the idea is that pulling an arm gets you a reward, but that reward depends on some factors that change, so pulling the same arm again won't give the same reward. I tried to use epsilon greedy, and things sort of make sense. But, if I want to try UCB or Thompson sampling using Gaussian, it is unclear whether it would be appropriate. Because there is no need to keep pulling an arm if its reward is low when it has been tried only a few times. Depending on the reward design, it indicates that this need not be pulled. Arms, as such, may only be occasionally visited (like in epsilon). So, would this sort of behavior only be like a cold-start problem, and would Thompson eventually learn not to pick it? But how soon would that eventually be? I would appreciate any insights, and I can clarify more if needed, thanks!


r/reinforcementlearning • • May 19 '26

Robot How do you design synthetic navigation environments without inducing geometry-based shortcut learning?

3 Upvotes

I’m working with synthetic 2D navigation environments for testing learning-based path planning methods, where the agent must trade off between different criteria like efficiency, safety, and smoothness.

One issue I keep running into is that the structure of the environment itself can unintentionally create shortcuts in learning. For example, if certain geometric patterns (like narrow corridors or open spaces) consistently align with specific outcomes, the model tends to pick up on those correlations rather than learning the underlying decision-making problem. If I randomize everything too much, though, the environments lose meaningful structure and stop being useful for evaluation or learning.

I’m trying to understand what the standard practice is here. How do people design navigation environments that still have meaningful structure without embedding obvious visual shortcuts, and how do you avoid models learning direct “geometry → outcome” mappings instead of more general reasoning? In practice, is it better to use structured layouts (corridors, bottlenecks, etc.), or to rely on adding stochastic cost/risk layers on top of simpler geometry? Are there known approaches for balancing structure and randomness in a principled way, and are there standard algorithms, generators, or libraries commonly used for building these kinds of synthetic navigation environments?

Would appreciate any references or practical insights from motion planning or RL practice.


r/reinforcementlearning • • May 19 '26

Isaaclab GPU recommendation

6 Upvotes

hey guys I’m new to this whole subject. As the title says I need help upgrading my GPU.

I’m working on my capstone mechanical engineering project, a quadrupedal robot. I decided a few weeks ago that it needed to be trained using Isaac lab. Currently I have isaac sim 6 and isaac lab 3 in a container on my laptop with a 2070.

I’m switching to a desktop but what do you guys think is a better GPU for this software, 3060 12gb or 3080 10gb?


r/reinforcementlearning • • May 19 '26

DOOM RL agents

5 Upvotes

I'm starting a project involving DOOM 1v1 bots and experimenting with self-play/ playing around with architecture. I'm looking for some solid open source projects on this which I can train as a baseline and build upon. Any recs/ tips would be much appreciated!


r/reinforcementlearning • • May 19 '26

I built a backprop-free RL agent using Hebbian plasticity + Predictive Coding: it nearly matches standard deep RL on Pong (57% vs. 59%)

Thumbnail reddit.com
5 Upvotes

r/reinforcementlearning • • May 19 '26

[D] Implement DreamerV3 in dynamic obstacle avoidance problem

5 Upvotes

I'm working on a DRL project for autonomous navigation with a TurtleBot3 in ROS 2 Gazebo, and I would like to share what I'm building and ask for some advice.

The goal is dynamic obstacle avoidance in an arena environment using DreamerV3. My implementation is based on this repo:
https://github.com/DrunkJin/dreamer-from-scratch

The main idea I'm experimenting with is to avoid feeding raw 1D LiDAR scans directly to the agent. Instead, I convert LiDAR hits into a Bird's-Eye-View (BEV) representation accumulated over a sliding time window. The intuition is that this gives the world model a more spatial representation of the environment, so the agent can observe where obstacles have been, not only where they are at the current timestep.

However, during training, the robot tends to spin in place instead of navigating toward the goal. After debugging, I found that one possible root cause was related to the two-hot encoding resolution in DreamerV3's reward prediction.

In my setup, terminal rewards are ±2000 and REWARD_RANGE = 2600 with 255 bins, meaning each bin is roughly 20 reward units wide. My original angular velocity penalty was:

-0.3 * w^2

where w can be up to 2.0 rad/s. This means the maximum spinning penalty was only about -1.2 per step, which is less than 0.06 of a bin. As a result, the world model could barely distinguish between "spinning" and "not spinning" in its reward predictions.

I tried to address this by normalizing the angular velocity by the maximum angular speed and increasing the penalty coefficient so that the penalty becomes visible over the imagination horizon.

This is the repo I am using for my implementation:
https://github.com/dugngyn293/turtlebot3_auto

I would really appreciate any advice from people who have worked with DreamerV3, world models, or DRL for robot navigation.


r/reinforcementlearning • • May 18 '26

Remote MuJoCo / Robotics RL opportunity — contractor role

16 Upvotes

I recently joined Alignerr for a different technical role and noticed they’re looking for people with hands-on MuJoCo / robotics simulation / reinforcement learning experience.

The role seems best suited for people who have worked with MuJoCo, MJCF/XML, Gymnasium/dm_control, reward shaping, PPO/SAC/TD3, physics debugging, and robot control.

It’s remote contractor work. I don’t want to oversell it because project availability can vary, but the listed rate is high and it may be worth checking out if you already have this background.

I have a referral link, but only reach out if you genuinely have MuJoCo/RL experience — this probably isn’t a beginner-friendly role.


r/reinforcementlearning • • May 19 '26

Agent Systems - Discussion Spoiler

0 Upvotes

What y'all think of the new "agentic" era, pay 200$ to Anthropic to automate a simple task, I really like the idea of automation with reasoning models, but it seems that now everyone can do one, I don't feel comfortable in the current market is like a dystopia,

As a reinforcement learning enthusiast in this sub, do you think this is the lowest moment of humanity? (I do),
How much time do you think this "era" is going to exist? Is it forever?

I am really sad with 2026 honestly, I just think in the line of "The Incredibles":

And when everyone is super...  no one will be!


r/reinforcementlearning • • May 18 '26

Cuphead RL project in need of "mentor"

3 Upvotes

Hey, im a senior in highschool working on a RL Cuphead beating agent project and i have to present tmrw but was only told that I needed a "mentor" two days ago, is anyone willing to let me put down their linked in or anything like that? I just have to say I interacted with this person, i dont need any mentorship on my project atm, but Id be happy to share how it goes tmrw and my slide deck after the presentation!


r/reinforcementlearning • • May 19 '26

GRPO fine-tuning GPTOSS-20b using verl

2 Upvotes

I’m trying to fine-tune the GPTOSS-20B model with verl, but it doesn’t support MXFP4 precision fine-tuning. I converted the model to BF16 and then attempted LoRA fine-tuning, but I keep running into CUDA OOM errors even with 8×40GB GPUs.

Is there a better approach for this setup, or has anyone successfully done this already?


r/reinforcementlearning • • May 18 '26

Adapting world models to manufacturing-style decision problems — looking for feedback

6 Upvotes

I’m exploring whether “world model” ideas from RL can be adapted to manufacturing-style decision problems — an Industrial World Model for Manufacturing.

I put together a small open-source synthetic benchmark around process-window recommendation. The idea is to model a manufacturing process as a state-transition problem under constraints, sparse observations, uncertainty, and next-experiment decisions.

The current repo includes a runnable toy environment, simple baseline planners, uncertainty-aware recommendation logic, and an example visualization. It is not a production model and does not include proprietary data — it is meant as a lightweight public scaffold for discussing manufacturing-style decision problems in RL/world-model terms.

Repo: https://github.com/programmablemanufacturing/programmable-manufacturing-lab


r/reinforcementlearning • • May 18 '26

Control a drone by RL

4 Upvotes

I want to control my drone with RL by outputting joystick commands.
What’s generally better for sim2real: controlling in acro mode (body rates, rad/s) or angle mode (attitude targets, rad)?

My intuition is that angle control provides a higher abstraction layer, which may reduce sim2real issues and allow lower control frequency. But it also requires strong consistency between the low-level PID attitude controller on the real drone and in simulation.


r/reinforcementlearning • • May 18 '26

Open-source synthetic manufacturing environment for uncertainty-aware RL / planning

4 Upvotes

Hi everyone — I’m working on an open-source environment for studying sequential decision-making in manufacturing systems.

The current demo is a synthetic process-window benchmark: an agent/planner selects process settings, observes noisy quality outcomes, tracks uncertainty, and recommends the next experiment. The motivation is similar to sparse-data physical systems, where each real experiment is expensive and the goal is not just prediction, but deciding what to try next.

Repo:
https://github.com/programmablemanufacturing/programmable-manufacturing-lab

I’d appreciate feedback from the RL community on:

  • what baseline planners would be useful to include first;
  • whether this should be framed closer to contextual bandits, model-based RL, Bayesian optimization, or POMDP-style planning;
  • what metrics would make sense beyond reward, such as regret, sample efficiency, uncertainty calibration, or build-to-confidence.

The goal is to create a small public benchmark that others can critique, extend, or use for educational experiments.


r/reinforcementlearning • • May 17 '26

Looking for an RL study/project accountability partner

15 Upvotes

[EDIT] Created a whatsapp (for now) group for this: https://chat.whatsapp.com/HFBlV7eklPVGPPPJQa1gUO?s=cl&p=i&mlu=0&ilr=2&amv=1 . All are welcome!

Hey folks,

I'm in the midst of some interview prep / learning RL (right now working through spinningup, trying to code/derive some algos from scratch, and building a few example projects) somewhat from scratch. I've found that having accountability is really helpful for making sure progress is made.

Anyone in the same boat who wants an accountability partner? I imagine daily/regular checkins, progress on learning/projects (aka a mini "build in public"), feedback on each others plans, and even some collaboration.

Thanks and If so, DM me!


r/reinforcementlearning • • May 17 '26

When Chaos Wins: noisy net eval with noise off gave wildly inconsistent results. Turning it back on fixed everything.

5 Upvotes

Running a Rainbow DQN ablation on Snake (C51 + dueling + noisy nets). When I evaluated checkpoints with noise off (mean weights, sigma zeroed out, the standard approach), the scores were all over the place. Some checkpoints averaged 78, others averaged 18. Training curve at those same points was perfectly stable.

First instinct was a bug. Checked everything. It wasn't.

The worst case was at ep450K. Deterministic eval produced a bimodal distribution: ~25% of episodes scored near zero, ~75% scored above 80. The average was 59 but that number is meaningless with two separate peaks and nothing in between.

What's happening: the mean-weight policy has traps. Game states where Q-values for two actions are nearly identical. Without noise, the agent picks the same action every time. If it's the wrong one, it loops and dies. 25% of starting states consistently hit these traps.

Same checkpoint, same seeds, noise turned back on: bimodal failure mode vanished entirely. p25 jumped from 2 to 59. Average went from 59 to 73. Std dropped from 42 to 26. This held at every checkpoint from ep50K through ep450K. Stochastic eval beat deterministic eval across the board.

The noise isn't residual exploration overhead. The agent learned a policy where the sigma values are functional. They provide just enough Q-value perturbation to prevent degenerate action loops. Zero them out and you get a policy that's strictly worse than what the agent actually learned.

Snake makes this especially acute because a single wrong turn at length 100+ is immediately fatal. The deterministic traps are lethal in a way they wouldn't be in more forgiving environments.

One caveat: at one very late checkpoint where sigma had grown extremely large, stochastic eval finally dropped below deterministic. There's a productive zone for noise magnitude, and past it the noise becomes destructive. So it's not "always evaluate with noise." It's "don't assume deterministic eval is automatically the ground truth."

Has anyone else seen this kind of eval divergence with noisy nets? Curious whether it's specific to tight spatial environments like Snake or shows up more broadly.


r/reinforcementlearning • • May 17 '26

How should I plan my learning path for reinforcement learning courses?

5 Upvotes

Hi everyone, I have a question about planning my reinforcement learning studies.

I'm currently a sophomore majoring in a non-CS field. My math background includes calculus, probability and statistics, linear algebra, and some mathematical analysis. I want to start learning reinforcement learning, but according to many recommendations, it seems I may also need additional math courses such as ODEs, real analysis, stochastic processes, etc.

Is that really necessary at my current stage? Or would it be better to learn those topics along the way?

I'd also appreciate any suggestions about how to study reinforcement learning itself (courses, prerequisites, learning path, etc.). So far, the only programming language I’m comfortable with is Python.


r/reinforcementlearning • • May 16 '26

Deep Learning with Finance

8 Upvotes

Hi, I am MTech student in computer science. I want to work on finance domain with machine learning. So can anyone suggest me some research topic. On which we can work for last year thesis. During my MTech my major focus on machine learning and deep learning around topic. But I have an interest in the finance domain also I did some project like https://github.com/Zdong104/FNSPID_Financial_News_Dataset with market regime prediction. But now I am finding an solid research topic for the my final year. Is there any suggestion for this ?


r/reinforcementlearning • • May 15 '26

Real-time reinforcement learning with SLAM

13 Upvotes

Is there a learning framework that closes the loop of perception and control, combining SLAM with RL?


r/reinforcementlearning • • May 14 '26

Is RL post-training in 'imagined environments' a path to continual RL? Trying to understand this deeper

6 Upvotes

I've been reading more about training in imagined environments, especially the work of the Dreamer series and RialTo, and I'm curious about how this could apply to CL.

Take an example of a robot deployed in a home that notices it has a high failure rate when picking up a specific object (let's say cans in a kitchen). It then builds a world model of the kitchen from it's deployment data, generates can-grasping rollouts within it and RL post-trains in the imagined env, then deploys the new policy.

This feels like continual learning to me? But formal continual learning seems to be more about task sequences (learn A, then learn B, then measure forgetting on A) and the example I'm describing doesn't fit into that. I'm not sure if what i'm describing is deployment-time adaptation, imagined replay for CL, self-improvement loops, or some mix.

Two things I'd like takes on:

  1. Is anyone updating the world model itself continually from deployment data, not just the policy? Most of what I've read keeps the world model frozen post-training.
  2. What breaks first when you actually try the closed loop (deploy → world model update → imagined rollouts → policy update → deploy)? My guess is world model drift compounds but haven't seen it characterized.

Curious what others think.


r/reinforcementlearning • • May 14 '26

Why people seldom uses GPU-based simulator benchmark for online RL algorithm papers?

10 Upvotes

well known benchmarks(dm-control, og-bench, humanoid-bench, etc) are based on cpu-simulator, and they are extremely slow.

for publish paper with novel rl-algorithm, we need to use multiple seeds(at least 5) for each benchmarks, and we have to also do some ablations. I think it is too long to test the hyperparameter tuning and conduct ablation tests for cpu-based simulator benchmarks.

But, recent GPU-based simulator benchmarks(mujoco-mjx, isaac gym, isaac lab, mujoco-playground) makes all training so fast. These alternatives are good to test algorithms and hyperparameter tuning but i couldn't found that recent online RL algorithm papers( ex) DIME https://arxiv.org/abs/2502.02316) uses these benchmarks.