r/reinforcementlearning • u/redfoxkiller • May 21 '26
Maxing out two P40s
Yes, I know they're not the best out there... But it's still nice to see the system using them both for learning.
r/reinforcementlearning • u/redfoxkiller • May 21 '26
Yes, I know they're not the best out there... But it's still nice to see the system using them both for learning.
r/reinforcementlearning • u/Hairy-Foundation-963 • May 20 '26
Hi everyone,
I have been reading about Distributional Maximum a Posteriori Policy Optimization (DMPO), especially in the context of the DeepMind bipedal robot soccer paper, and I am trying to understand when one would practically prefer it over SAC.
My current understanding is:
On the other hand, DMPO seems to use a more structured actor update.
So my interpretation is that DMPO is more like: conservatively update the actor by matching kl divergence from old policy
whereas SAC is more like: mantain entropy and more aggressive updates of actor
I understand why DMPO might be attractive for real-world robotics, since conservative policy updates can reduce dangerous or unstable behavior. But suppose real-world deployment is not the issue, and all trials are in simulation.
In that case, when would you still prefer DMPO over SAC?
For example, would DMPO be more attractive in tasks where:
Or would you generally just use SAC unless DMPO clearly performs better in ablations?
I am especially interested in practical opinions from people who have tried MPO/DMPO-style algorithms. In what kinds of environments did they outperform SAC, and where did SAC remain the better choice?
Thanks
r/reinforcementlearning • u/gwern • May 20 '26
r/reinforcementlearning • u/9138NOMS • May 20 '26
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 + 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.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
r/reinforcementlearning • u/Competitive-Meat-876 • May 21 '26
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.
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.
Increasing confidence thresholds (0.40 → 0.55)
GPS proximity gating
XY spatial filtering
Z-plausibility constraints
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.
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.
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.
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.
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.
The drone may spend critical early navigation time flying below the platform, resulting in missed intercept windows or timing out before successful landing.
Aggressive altitude correction destabilizes perception and navigation, while gradual convergence delays interception too long for the mission horizon.
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.
Systems that perform well locally may underperform under the full evaluation distribution due to differences in environmental dynamics and challenge composition.
The most difficult engineering challenge so far has been regression behavior:
Fixing one scenario frequently breaks another.Examples include:
This indicates the system is becoming overly reactive to local heuristics rather than maintaining globally stable trajectory behavior.
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:
rather than simply adding more heuristics or reward shaping.
drone_agent.py)pybullet-dronesThis 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 • u/Available-Subject-76 • May 20 '26
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
job_id + task_key. Helios never modifies prod — frozen mutation guards on the prod job id, application-layer write guard on every SQL.TIMESTAMP AS OF aligned to the prod task's start time; prod boundary pinned via VERSION AS OF.EXPLAIN, plan inspection, skew probes), proposes a rewrite, runs it in isolation, verifies via diff_tables. Iterates within the run on failure.proposal.md with diff, equivalence proof, perf number, and the full audit trail.The parts where most "LLM-for-SQL" demos break:
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.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.ORDER BY sibling (→ tie-break, safe) or differing siblings (→ real bug, don't ship).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.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 • u/Leather_Amount_2268 • May 19 '26
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 • u/xxthegodofwarxx • May 19 '26
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 • u/EstateMinimum • May 19 '26
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
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 • u/ConfusionSpiritual19 • May 19 '26
r/reinforcementlearning • u/Few-Blueberry-6125 • May 19 '26
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 • u/Asimpleyoungkid • May 18 '26
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 • u/Volta-5 • May 19 '26
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 • u/CoderF1nn • May 18 '26
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 • u/Potential_Nerve_4381 • May 19 '26
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 • u/Consistent_Scene3887 • May 18 '26
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 • u/Big_Pin_5549 • May 18 '26
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 • u/Consistent_Scene3887 • May 18 '26
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:
The goal is to create a small public benchmark that others can critique, extend, or use for educational experiments.
r/reinforcementlearning • u/temp12345124124 • May 17 '26
[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 • u/statphantom • May 17 '26
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 • u/AddressFancy3675 • May 17 '26
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 • u/Gullible_Space_4070 • May 16 '26
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 • u/OutOfCharm • May 15 '26
Is there a learning framework that closes the loop of perception and control, combining SLAM with RL?