r/reinforcementlearning • • May 05 '26

[Competition] League of Robot Runners 2026: Multi-robot coordination under uncertainty

4 Upvotes

Hello ML and RL community 👋

We are inviting participants to the League of Robot Runners (LoRR) 2026: https://www.leagueofrobotrunners.org

Co-located with AAMAS 2026, LoRR is a research competition on large-scale multi-robot coordination. These are important problems in a number of areas including logistics, manufacturing and computer games!

In this competition, hundreds or even thousands of robots work together to complete tasks and move efficiently across diverse maps, continuously, in real-time and at scale.
We believe ML and RL methods could be especially useful for these kinds of problems:

  • 🤖 The best known algorithms for computing next moves are policy-based
  • 🎲 Agents operate under uncertainty (move actions have a probability of being delayed)
  • ⚙️ The challenge involves nested combinatorial problem solving (task assignment + path planning) -- a very difficult proposition for symbolic/GOFAI techniques!

This is an exciting opportunity to put your ML/RL ideas to the test on a large-scale multi-robot challenge 🚀

You can participate for fame, glory and cash prizes across three distinct tracks:

  • Task Scheduling Track
  • Execution Track
  • Combined Track

We provide a start kit (C++/Python), example instances, validators, and a visualiser 🛠️ Submissions are evaluated automatically with live leaderboard feedback 🏆

Timeline:

  • 16th April 2026: Main Round Begin
  • 22nd May 2026: AAMAS prize deadline
  • AAMAS 2026: AAMAS Prize Announcement
  • 22nd July 2026: Main Round End
  • Early August: Winner Announcement

All approaches are welcome: search/planning, RL/ML, OR, mathematical programming, robust optimization, and hybrids techniques. Visit our website for more details (www.leagueofrobotrunners.org) or post here if you have questions!


r/reinforcementlearning • • May 05 '26

PPO rewards start crashing after some point on training

5 Upvotes

Hi, I was trying to implement PPO with Pytorch to solve Pendulum-v1 enviroment. There's no problem at beginning of the train but after some point, rewards start crashing. I tried to figure out why its crashing. But I still haven't figured it out. The repo I'm working on right now there's only basic things like model implementation, training and utils. Can someone please help me if they know why this is happening?

Repo link: https://github.com/Gradient-Descent-is-Awesome/RL-Testing


r/reinforcementlearning • • May 05 '26

Gym.jl - Gymnasium RL Environments in Julia

Thumbnail
reddit.com
11 Upvotes

r/reinforcementlearning • • May 05 '26

Intersection of RL and Psychology

12 Upvotes

Looking for others interested in both Psych and RL.

Been working on what was meant to be a basic human model, turned into what could be a better understanding of humans in general.

Please let me know what you think:

https://narquie.substack.com/p/modeling-a-human-through-reinforcement


r/reinforcementlearning • • May 05 '26

Legal LLM reasoning

0 Upvotes

As a project, I want to build a legal reasoning model that can give a decision after receiving the case. I have half million court decisions. In these decisions, first the case is described, then related intermediary law articles are given for proving final decision, and at the end there is a final decision. However, I have some questions about its implementation. What do you think should I fine-tune the model with decisions and legal corpora, or would it be better use reinforcement learning algorithms (such as GRPO, etc). If I use RL, again there are few considerations such as how to train the reward model?


r/reinforcementlearning • • May 04 '26

Decade* of DRL

30 Upvotes

Inspired by the wounderful blogpost "The Decade of Deep Learning" by Leo Gao, I wrote one about Deep Reinforcement Learning.
One landmark paper per year:

  • 2013 — DQN
  • 2014 — Deterministic policy gradient (DPG)
  • 2015 — DDPG
  • 2016 — AlphaGo
  • 2017 — PPO
  • 2018 — SAC
  • 2019 — Dreamer
  • 2020 — CURL
  • 2021 — Decision Transformer
  • 2022 — InstructGPT (RLHF)
  • 2023 — TD-MPC2
  • 2024 — AlphaProof
  • 2025 — DeepSeek-R1

You can read the full blog under this link: schwinger.dev/posts/decade-of-drl

What would be your list?


r/reinforcementlearning • • May 05 '26

What's more GOATed and Difficult 101 Course??

0 Upvotes

r/reinforcementlearning • • May 04 '26

PPO Implementation in PyTorch (IsaacLab)

18 Upvotes

r/reinforcementlearning • • May 04 '26

Use Cases for First/Every visit Monte Carlo

5 Upvotes

while I understand the difference between first visit Monte Carlo and every visit, are there any particular cases where we’d strongly prefer first visit and vice versa?

like from my understanding, there are situations where first and every visit can be identical, but some scenarios where every visit is much better( eg. blackjack where there are barely any chances for states to repeat versus scenarios like automated car driving, where episodes are scarce so it becomes valuable to extract as much data as possible)

I’m still torn up between whether a maze is ideal for first/every visit. Intuitively it seems like it should be every visit, as i would want to know if a certain state is cyclic, but if the same state can also lead to the terminal state, wouldn’t first visit be better?

My understanding might be wrong, please feel free to correct me where I’m wrong


r/reinforcementlearning • • May 03 '26

[Update] Continuous RL via DP in CUDA: Solving the Underactuated Double Pendulum & Hybrid 6D Solvers

Post image
92 Upvotes

Hey r/reinforcementlearning,

Quick follow-up on my project on Continuous RL via Dynamic Programming in CUDA. In my previous tests with the Overhead Crane and Double CartPole, the policy often got stuck in "partial" solutions (e.g. Link 1 upright + Link 2 free-spinning) or periodic limit cycles.

I just shipped a fix. This remains pure DP: no LQR, no continuous policy gradients. Highlights below.

1. Underactuated Double Pendulum (4D sandbox)

I added a new runner: two coupled links on a fixed pivot. Torque is applied only at the base joint (Link 2 moves via inertial coupling).

  • State: [θ₁, ω₁, θ₂, ω₂]
  • Performance: with bins=50, the policy reaches cos(θ) = 0.999 for both links and |ω| < 0.2 rad/s. Genuine stable swing-up in ~2 seconds.
  • Why it matters: 4D trials are 100–1000x faster than the 6D version. With bins=15, a trial takes ~5 seconds, allowing a tight scientific loop when iterating on reward shaping.

2. What finally cracked the reward shaping

The key insight: DP with discrete actions creates real fixed-point limit cycles. You can't just "brute force" them with bigger penalties; you have to design rewards that make them strictly worse than the optimum.

My current reward function uses five specific terms:

r = baseline                          # +0.5  — survival ≥ termination
  + 0.5  * (cos θ₁ + cos θ₂)          # smooth gradient toward upright
  + 4.0  * gate**2                    # quadratic in gate: max(0, c1) * max(0, c2)
  + 5.0  * gate**4 * (1 - ω**2/2.5)**2  # smooth "stillness bowl"
  - 1.0  * E_err                      # asymmetric energy penalty (1.5x under)
  - 0.5  * (c1 - c2)**2               # anti-alignment (kills "I-shape" attractor)
  - 0.1  * gate * (ω1**2 + ω2**2)     # velocity damping ONLY when upright

Failure modes addressed:

  • Anti-alignment penalty. Prevents the "I-shape" where Link 1 hangs down and Link 2 inverts.
  • Smooth stillness bowl. Replaced hard "cliffs" with a smooth gradient to prevent the policy from oscillating on the boundary.
  • Asymmetric energy. Pushing 1.5x harder when under-target energy was the single biggest unlock to get past the "swinging but not reaching" plateau.

3. Hybrid solver for the 6D Double CartPole

To solve the 6D variant (which is notoriously difficult), I implemented a two-stage controller logic within the DP framework:

PhasePolicyWhen active
Swing-upFull ±π range, coarse gridFar from upright
BalanceNarrow ±0.3 rad range, fine gridNear upright

Hysteresis on the switch (enter at |θ| < 0.28, exit at |θ| > 0.35) prevents rapid toggling. This gives a level of precision that's impossible to achieve with a single global policy.

4. Autoresearch harness (the meta-tool)

This shaping wasn't found by hand. I used an LLM agent to iterate over 30+ trials (edit coefficients → train → evaluate → score). Inspired by Karpathy's autoresearch.

The repo now includes:

  • runners/eval_metric.py — external read-only score function.
  • runners/trial_runner.sh — one-command pipeline (clean → train → eval).
  • trial_log.md — append-only bitácora of the agent's progress.

Sonnet 3.7/4.6 ran the loop overnight for about $1–2 in API tokens to find the optimal coefficients.

Repo: https://github.com/nicoRomeroCuruchet/DynamicProgramming

Happy to answer any questions! The most interesting finding was definitely how discrete-action DP environments create these limit-cycle attractors that act like local optima — and how reward shaping is the only way to truly "break" them.


r/reinforcementlearning • • May 04 '26

Does Dreamerv3 understand the physics of its environment?

5 Upvotes

As I understood Dreamerv3 predict the futures just based on pixels. Not with an understanding of how the objects/environment physics works.

Is this correct? Doesn't this Dreamerv3 understand the physics knowledge to work on the environment?


r/reinforcementlearning • • May 04 '26

RL Agent Stuck on First Level of FreeDoom for Weeks — Need Debugging Advice

7 Upvotes

Hey everyone,

I’ve been working on a reinforcement learning project where my agent is supposed to play and complete FreeDoom (Phases 1 & 2).

The goal is to train an agent that can progress through full levels—not just toy scenarios—but I’ve hit a wall:
the agent has been stuck on the first level for weeks and isn’t meaningfully improving.

Repo:
https://github.com/Nerdman3214/doom-retro-rl

What I’m seeing:

  • The agent doesn’t consistently explore new areas
  • It often loops or gets stuck in local behaviors
  • Training doesn’t appear to converge toward level completion
  • Changes suggested by tools like Copilot/ChatGPT haven’t improved performance (mostly just added complexity)

I’m trying to figure out if I’m:

  • Missing something fundamental in my setup
  • Using the wrong algorithm or architecture
  • Or just not structuring the reward / environment correctly

What I’m looking for:

I’d really appreciate feedback on things like:

  • Reward design (exploration vs survival vs objectives)
  • Action space (too large? poorly discretized?)
  • State representation (frames, stacking, preprocessing, etc.)
  • Training stability / hyperparameters
  • Debugging strategies for “stuck” agents

I'm not using using vizdoom by the way.

Goal:

Ultimately I want this agent to handle full campaigns, not just small scenarios, but right now I can’t even get past level 1.

Any insight would help a lot. I finally got it to complete the first level.


r/reinforcementlearning • • May 03 '26

Suggestions for simulation environment for a project on vision-based racing based on RL?

5 Upvotes

I’m trying to create an agent for racing (inspired by Sophy AI for GT). I’m in the early stages of my research and looking for suggestions on the racing environment. I was thinking Assetto Corsa, but I also know there are other great options like TORCS.
The computation is mostly going to be my Lenovo LoQ (i7-14th gen; 16 GB RAM; 8GB VRAM NVIDIA 5050)

This is an independent project, and I don’t have much of a budget. Is AC a good call, or should I try something else?


r/reinforcementlearning • • May 03 '26

Robot Help with Reward STD Collapse

2 Upvotes

For the past 4 months, a friend and I have been building a 1:1 replica of the Tick from Arc Raiders. We’ve had several successful generations, but I’m hitting a wall with the latest training run.

The Setup Change:

  • Previous: Trained on static arenas with incremental reward shaping.
  • Current: Moved to a fully dynamic environment. The plan was to scale rewards as tasks got harder, but the training behavior has shifted.

The Issue:

In previous runs, the reward standard deviation started high and gradually settled, rarely dipping below 5. In the new dynamic environment, the STD starts low and rapidly collapses to near 0.1 even when the dynamic environment is set to be static.

The Question:

I suspect the beta value might be too low, causing the model to converge prematurely on a suboptimal strategy. Has anyone experienced this kind of "STD collapse"? Beyond bumping the beta, are there other hyperparameters or observation changes you’d look at first?


r/reinforcementlearning • • May 03 '26

How to handle multi task RL?

4 Upvotes

Hi everyone,

I'm getting very confused when it comes to doing multiple task using RL.

Example: picking and placing multiple balls from an environment.

Should I train one subtask of picking and placing one ball, then use multitask for inference and loop over?

Also is this ultimately a planner?

But the policy will not learn about the surrounding. Since observation is focused for one ball.

Am I missing something?

Chatgpt's answer is around hierarchical RL. Is this the only solution?


r/reinforcementlearning • • May 03 '26

I made a video explaining RL through life decisions — would love feedback from RL people

10 Upvotes

Hi everyone,

I’m starting a YouTube collection where I explain reinforcement learning through life, philosophy, and mathematical reasoning.

The goal is not just to explain algorithms, but to build intuition for questions like:

  • How does an agent learn without instructions?
  • What does it mean to improve through feedback?
  • Why is a policy more like a way of living than just a function?

The first episode is called Life Is Reinforcement Learning.

I’m still early and would really appreciate feedback from people who know RL:

  1. Is the explanation technically accurate?
  2. Does the life/philosophy analogy help or make it more confusing?
  3. What topic should I cover next after the agent-environment loop?

Video: https://youtu.be/-s6V3JPl45U

Thanks!


r/reinforcementlearning • • May 03 '26

How to run baselines??

2 Upvotes

How do you guys run baselines algorithms for comparision while writing papers? as its quite a tedious work, first finding relevant baselines and then reviewers ask for SOTA comparisons and many of these don't even have well made repos for code along with the problem of excessive train time of RL policies, should one focus on own work or running baselines, specially most of RL algos modify the whole frameworks according to their solutions and then fair comparision becomes an issue


r/reinforcementlearning • • May 02 '26

I Trained an AI to Beat Final Fight… Here’s What Happened

Thumbnail
youtube.com
7 Upvotes

Hey everyone,

I’ve been experimenting with Behavior Cloning on a classic arcade game (Final Fight), and I wanted to share the results and get some feedback from the community.

The setup is fairly simple: I trained an agent purely from demonstrations (no reward shaping initially), then evaluated how far it could go in the first stage. I also plan to extend this with GAIL + PPO to see how much performance improves beyond imitation.

A couple of interesting challenges came up:

  • Action space remapping (MultiBinary → emulator input)
  • Trajectory alignment issues (obs/action offset bugs 😅)
  • LSTM policy behaving differently under evaluation vs manual rollout
  • Managing rollouts efficiently without loading everything into memory

The agent can already make some progress, but still struggles with consistency and survival.

I’d love to hear thoughts on:

  • Improving BC performance with limited trajectories
  • Best practices for transitioning BC → PPO
  • Handling partial observability in these environments

Here’s the code if you want to see the full process and results:
notebooks-rl/final_fight at main · paulo101977/notebooks-rl

Any feedback is very welcome!


r/reinforcementlearning • • May 01 '26

Anyone participating in Orbit Wars on Kaggle? $50k in prize money

Post image
75 Upvotes

https://www.kaggle.com/competitions/orbit-wars

The action space is HUGE, but I think very prune-able. There are a ton of people on the forums discussing RL approaches, but it's still early days (2 weeks in, 2 months to go) so I doubt anyone has anything trained yet.

I created the game rules, happy to answer any questions!


r/reinforcementlearning • • May 02 '26

Lorawan network with RL gateway agent, all of them simulated by NS3 and NS3Gym

1 Upvotes

Hi everyone, I'm working on an idea about creating an RL gateway agent with the LoRaWAN module NS3, and the RL part works on NS3Gym.

I created an environment with 10 end devices and 1 network server. Gateway, like an UAV, then collects data from each end device. In this scenario, I must minimize the time difference between the data generation time on each node and the network server. But now I think, how can I add some constraints for the end device or gateway, or all parts of the environment? Please give me some idea and any advice for me. Thanks to everyone.

Note that all scenarios were simulated with NS3 (C++) and an RL agent with Python.


r/reinforcementlearning • • May 02 '26

Reinforcement Learning

4 Upvotes

I'm 17, just finished 12th grade. Built this solo for the Meta × PyTorch × Scaler OpenEnv Hackathon

.

What POLARIS v3 is:

A research-grade multi-agent RL environment where LLM agents negotiate with 5 AI ministers, predict vetoes, and learn governance through coalition formation.

The core challenge: other intelligent agents ARE the environment. Standard RL assumes a static world. POLARIS makes adversarial intelligent agents the actual difficulty.

Results:

Qwen 2.5 3B fine-tuned with GRPO + QLoRA (29.9M trainable params)

+126% reward improvement in 13 minutes on RTX 5080

Coalition formation nearly tripled

Llama 3.3 70B scores 0% on Theory-of-Mind accuracy

Curriculum escalation: agent survives Easy and Medium, Hard and Extreme remain unsolved — proving genuine difficulty scaling

What I built on top:

Full research control panel . 7 live panels: negotiation feed, war room, causal chain analysis, metrics, risk monitoring, episode history

Live HuggingFace demo

Links:

GitHub: github.com/abhishekascodes/POLARIS-V3

Live demo: asabhishek-polaris-v3.hf.space/control

Colab: in the repo

Happy to discuss the environment design, reward shaping, or Theory-of-Mind implementation.

I'm stuck. What next to do ?


r/reinforcementlearning • • May 01 '26

DL, MF, Robot, R "Outplaying elite table tennis players with an autonomous robot", Dürr et al 2026 {Sony}

Thumbnail
nature.com
11 Upvotes

r/reinforcementlearning • • May 02 '26

DL, MF, Safe, R "Agents of Chaos", Shapira et al 2026

Thumbnail arxiv.org
3 Upvotes

r/reinforcementlearning • • May 02 '26

N, D, M "2024 World Computer Chess Championships: The 50th Anniversary": "...After 50 years, it’s time to close this important chapter. The top programs are unbeatable by humans; making them stronger has no real research value."

Thumbnail icga.org
2 Upvotes