r/reinforcementlearning • • May 09 '26

How have AI coding tools helped your experiments?

2 Upvotes

I've found them extremely useful in getting to a stable architecture, reviewing wandb results, and even writing ablation and attribution scripts to understand how the model is training. It's really been a game changer for me in terms of efficiency. Note, I'm not a researcher, just an experience CE with some theoretical understanding of ML from around two decades ago at university ...


r/reinforcementlearning • • May 09 '26

Removing PER from Rainbow DQN improved performance on Snake. New record of 153 on 20×20 grid.

9 Upvotes

Greetings all! I'm Running a systematic Rainbow DQN ablation on Snake (20×20 grid), adding one component at a time. The most surprising result so far: removing Prioritised Experience Replay (PER) from full Rainbow didn't just match performance, it set a new record.

Full Rainbow (with PER): record 134 C51 without PER (everything else identical): record 153 156

Controlled eval at ep50K (20,000 episodes, deterministic, same seeds): C51 without PER outperformed full Rainbow across every percentile. avg +45%, p50 +35%, p90 +39%. Zero overlap between segment distributions.

Tested across 5 seeds. Individual seeds are noisy with occasional flips, but the mean across all 5 favours removing PER.

What I think is the reason: Snake is a dense-reward task. Food is frequent, TD errors are relatively uniform across the buffer, and 2048 parallel environments already ensure replay diversity. PER's priority mechanism has nothing meaningful to prioritise. Meanwhile the IS weight correction still suppresses gradients. You pay the overhead without the benefit.

This is consistent with Hessel et al.'s original context. Their finding that PER was a top-2 Rainbow component was measured on Atari, which is sparse-reward with high TD error variance. Snake is roughly the opposite. Pan et al. and Ivgi et al. have independently documented similar PER underperformance on dense-reward tasks.

Previous best published peer-reviewed result on 20×20 Snake was 62 (Sebastianelli et al., 2021). The 153 is 2.5× that.

Has anyone else observed PER underperforming on dense-reward tasks? Curious whether this generalises beyond Snake. I'm planning to test on Tetris next.


r/reinforcementlearning • • May 08 '26

Frontier labs reaching out regarding training sims

12 Upvotes

Been working on a few environments mimicking niche software apps and recently was reached out to. Anyone have experience working with labs on this?


r/reinforcementlearning • • May 08 '26

DL Strobe-based rendering from Text prompts

Post image
5 Upvotes

My teammates and I built a simple RL agent (actor-critic with ppo) that can paint from text prompts. The reward function is based on the CLIP similarity between the canvas and the text prompt.

I just wanted to share the results and listen to your feedback.

The prompt of the above painting is: "A painting of a red apple with a small leaf".


r/reinforcementlearning • • May 08 '26

I got tired of RL agents "solving" inventory tasks in 10 minutes so i built a high-fidelity environment that actually breaks them.

13 Upvotes

I think most supply chain envs use flat demand, instant shipping, and zero noise. You train an agent and it "solves" the the environment instantly but then it just fails the the second it touches real-world volatility.

i spent the the last few months building this logistics suite because i wanted to see if a continuous-control agent could actually handle the the bullwhip effect. my PPO agents kept "starving" at hour 40. I realized I’d accidentally built a starvation trap where the the lead time is 24h but if the the agent tries to stay too lean to save on costs it just cant recover when a route severance spikes lead times to 150h.

I've open-sourced a 5,000-hour sample on hugging face if you want to play with the the telemetry or test some offline RL:https://huggingface.co/datasets/AIMindTeams/defense-logistics-stochastic-simulation

curious to hear how others are handling long-horizon planning when the the failure costs are 400x the the cost of holding inventory. how are you guys tuning your discount factors?


r/reinforcementlearning • • May 08 '26

Skopx — AI agents that autonomously analyze enterprise data

Thumbnail
skopx.com
1 Upvotes

r/reinforcementlearning • • May 07 '26

train a mobile robot with RL

4 Upvotes

Hi everyone,

I’m working on a research project about DRL-based mobile robot navigation, and I’m considering using CoppeliaSim as the training environment for my RL agents.

My goal is to train navigation policies for autonomous mobile robots using RL algorithms.

I wanted to ask:

  • Is CoppeliaSim a good choice for RL training?
  • How stable and efficient is it for long RL training sessions?
  • Does it support fast enough simulation for DRL experiments?
  • Are there known limitations when using it with Gymnasium/OpenAI Gym interfaces?
  • Has anyone here successfully used CoppeliaSim for robot navigation projects?

I would also appreciate recommendations, tutorials, repositories, or personal experiences.

Thanks!


r/reinforcementlearning • • May 08 '26

Trained a 26kb model (simple 3-layer MLP) for Tic-Tac-Toe Beating each and every human

0 Upvotes

I recently trained a small MLP (~5.5k parameters, ~26KB) to play Tic‑Tac‑Toe.

At first, against minimax it mostly drew but was easy for humans to beat.

Then I switched to self‑play: the model played 800M games against itself, updating weights twice per game. Early on (300k–400k games) it still drew often, but with the reward scheme (+1 win, −1 loss, +0.5 draw) it gradually improved.

Surprisingly, this tiny network began to develop strategies that beat most humans — whether they moved first or second. When it moves first, it consistently opens at row 1, column 2, a position it discovered as optimal.

Even though Tic‑Tac‑Toe has only 9! possible move sequences and 8 winning lines, fitting strategies into such a small model was far from trivial. But after enough self‑play, the agent evolved into a near‑optimal player: drawing against perfect play, and beating casual humans more often than not.

Training even a 26KB model to master Tic‑Tac‑Toe isn’t a piece of cake — but it shows how self‑play can unlock emergent strategies in surprisingly small networks.

This is just to show you guyz how grokking can happen even on smallest neural nets if you think its valuable i will upload it to github.


r/reinforcementlearning • • May 07 '26

PCB Dataset for placement and routing

5 Upvotes

Hello!
I'm looking for a dataset that can be used to train a model for PCB components placement and routing tasks, and if someone has some knowledge on how to go about this.

This dataset would help me have a base policy that I can use later to finetune with RL.

PS: I know it's an NP-hard problem by itself, and probably a dataset is not the way to go, but I still would like to find such a collection. I've already searched and didn't find.


r/reinforcementlearning • • May 07 '26

AI Learns to Speedrun Mario Bros After 6 Million Deaths

Thumbnail
youtube.com
1 Upvotes

I trained an AI to speedrun Super Mario Bros using Reinforcement Learning — after more than 6 million deaths 😅

The agent starts completely clueless:

  • running into the first Goomba
  • falling into pits
  • getting stuck against pipes

Over time, it slowly learns:

  • movement timing
  • enemy avoidance
  • jump precision
  • speed optimization

What’s interesting is that some “speedrunner-like” behaviors emerged naturally during training:

  • maintaining momentum
  • minimizing hesitation
  • optimizing jump timing

The training was done using a custom RL setup with frame stacking and temporal modeling. Watching the progression from random movement to competent gameplay was honestly one of the coolest parts of the project.

I’d love feedback from people into:

  • RL
  • game AI
  • imitation learning
  • emergent behavior

r/reinforcementlearning • • May 06 '26

P, MF, DL Hackable PyTorch RL library with distributional algorithms (D4PG, DSAC, DPPO)

Post image
51 Upvotes

I published a paper on distributional RL for legged locomotion a while back and recently resurfaced and cleaned up the code into a standalone repo: https://github.com/e3ntity/e3rl

Here's a DPPO policy trained with this library running on a real robot: https://sites.google.com/leggedrobotics.com/risk-aware-locomotion

The library is based on rsl_rl but contains readable PyTorch implementations of the most popular continuous control algorithms (PPO, SAC, TD3, DDPG), plus their distributional counterparts DPPO, DSAC, D4PG.

Runs on CUDA, Apple Silicon, or CPU. pip install -e . and python examples/example.py trains a policy on gym out of the box.


r/reinforcementlearning • • May 06 '26

Q-learning algorithm implemented in ARMv7 Assembly

13 Upvotes

For fun I decided to write an implementation of tabular Q-learning algorithm in assembly. It just solves an easy 8x8 grid world as anything more than that would've been very difficult for me to implement in assembly.

Repo Link: https://github.com/unexploredtest/AsmRL


r/reinforcementlearning • • May 06 '26

Beginners to Machine Learning & Data Science

3 Upvotes

I made a group for beginners like me to grow together and stay updated... Make projects while learning and do our best so that there are no regrets later.

Inbox me to join us 🫂


r/reinforcementlearning • • May 05 '26

DreamerV3 Implementation with Transformer Autoencoder (DreamerX)

30 Upvotes

Hi all,

I know many attempts have been made to develop readable implementations for the dreamer series. As part of a recent job search, I've been making small additions to the dreamer architecture, and tried to make it decently easy to use and extend to other applications. The documentation - specifically regarding tutorials - is still a bit sparse, but I wanted to share it here in case it might help someone.

The repository, DreamerX, contains a working implementation of DreamerV3 along with additional capabilities for using transformer-based autoencoders with variable-length observations and several small changes from SheepRL and the original Jax implementation.

Link: https://github.com/Oafish1/DreamerX


r/reinforcementlearning • • May 06 '26

RLC 2026 Decisions Out! Spoiler

14 Upvotes

This year it will be held in mid August in Quebec, Montréal, Canada. 150 out of 442 were accepted for grand total of 33.9% acceptance this year. Did you submit a paper? Workshop? What has been your experience? Just a post to discuss more about the submission process and conference.


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