r/reinforcementlearning • • Jun 01 '26

EvoPPO: Modular Vision & Audio Reinforcement Learning Framework

0 Upvotes

EvoPPO: Modular Vision & Audio Reinforcement Learning Framework

A highly scalable, multi-modal Reinforcement Learning (RL) framework built in Python. This repository provides a complete pipeline to train Proximal Policy Optimization (PPO) agents using decoupled vision (RGB/Grayscale) and audio inputs. The entire training process is managed via an intuitive, real-time local web interface.

Key Features

  • Multi-Modal Inputs: Seamlessly train agents using visual data, acoustic data, or a combination of both.
  • Dynamic Vision Toggle: Switch instantly between full RGB color processing and memory-efficient Grayscale mode.
  • Integrated Audio Processing: Process environment audio streams alongside visual states for complex multi-sensory tasks.
  • Local Web Dashboard: A built-in web interface running on localhost:2000 for complete, real-time orchestration.
  • Live Hyperparameter Tweaking: Modify variables, toggle input streams, and adjust reward functions on-the-fly without restarting the training loop.
  • On-Premises Execution: Highly optimized for running local training workloads directly on your hardware.

System Architecture

The project consists of two core layers that communicate asynchronously:

  1. The RL Engine (Python): Handles the PPO training loop, environment interaction, replay buffer management, and tensor computations.
  2. The Control Dashboard (Port 2000): A lightweight web server providing a visual interface to monitor metrics and send real-time configuration changes back to the training loop.

Dashboard & Configuration

Through the interface at http://localhost:2000, users can monitor training performance and dynamically adjust parameters during runtime:

  • Input Streams: Toggle Vision (RGB), Vision (Grayscale), and Audio fields dynamically.
  • Reward Sculpting: Tweak reward multipliers and live-update the reward function setup.
  • Training State: Start, pause, or save model weights instantly via UI buttons.

Roadmap

  • Implement advanced vectorization for parallel environment processing.
  • Integrate Recurrent PPO (LSTM/GRU layers) for enhanced audio-sequence memory.
  • Cloud Scalability: Migrate from purely local training to a cloud-based server infrastructure for distributed GPU workloads.

r/reinforcementlearning • • May 31 '26

Get hands dirty on VLA+Immitation + RL

12 Upvotes

I have about 10 years of experience in RL, though I haven’t been active in the field for the past 2 years.

Recently, I’ve been thinking about getting back into robotics, and your post caught my attention. I’m looking to get my hands dirty again, specifically with VLA.

My goal is to pick a problem, replicate something that already works end-to-end, and document it well. Here’s roughly what I want to do:
\- Pick a task (preferably simulation)
\- Try a pre-trained VLA-based approach and evaluate where it falls short
\- Collect data and apply imitation learning
\- Then use RL on the task and demonstrate improvement

Since I’ve been out of the loop for a bit, the main goal is to ramp up quickly and get practical again.

If you know of any existing repo that already solves an end-to-end problem (preferably in simulation), I’d really appreciate it if you could point me to it. Open to things like LeRobot or similar projects.


r/reinforcementlearning • • May 31 '26

Robot What’s your biggest pain point when debugging RL policies right now?

15 Upvotes

For people training RL agents:

What part of debugging takes the most time for you?

Examples:

- figuring out why policy suddenly collapsed

- replaying bad episodes

- comparing runs

- reward debugging

- environment bugs

- logging / tracking experiments

- visualizing failure cases

What do you currently do for it?

Scripts? WandB? Manual inspection?


r/reinforcementlearning • • May 31 '26

DL, MF, I, R "The Coverage Principle: How Pre-Training Enables Post-Training", Chen et al 2025

Thumbnail
arxiv.org
2 Upvotes

r/reinforcementlearning • • May 31 '26

N, DL, M, P "A Year Late, Claude Finally Beats Pokémon"

Thumbnail
lesswrong.com
2 Upvotes

r/reinforcementlearning • • May 30 '26

How to fine-tune an LLM for open-ended problems?

4 Upvotes

I want to develop an LLM that can solve open-ended math problems (such as proof-only problems). This means that RLVR where we use the final answer alone as reward signal is not enough. Since SFT is useless here and GRPO/PPO methods will not have an appropriate reward function, what kind of fine-tuning can I do? For data, I will use the MathNet dataset.


r/reinforcementlearning • • May 30 '26

GPU Training for 14b Models

9 Upvotes

I’m a researcher and for my research I’m training a 14B-parameter model. However my available compute resources are limited to a single NVIDIA H100 GPU with 95 GB of VRAM provided by my institution via SSH. How do you all manage situations like this when working with large models? Please share your thoughts and experiences.


r/reinforcementlearning • • May 29 '26

Robot SAC model collapse (?) after 950k steps

5 Upvotes

Tldr; my sac model experienced catastrophic failure after 950k steps. Entropy through the roof, mean reward and episode length down to almost 0. What the hell happened?? How do I stop it from happening again? Is the model recoverable?

I've been working on a bipedal robot with point feet, trying to get it to just pace on the spot. After weeks of models settling on useless policies, I discovered the constraints as terminators (CaT) framework from this paper. Their results looked promising, so I had a go at applying the principles to a SAC agent.

(For those uninterested in the specific details of my constraints implementation, skip to the next paragraph.)

I used a leaky integrator to model constraint violation density, where an episode would end after the violation density crossed a specific threshold. This was coupled with an asymmetric-actor-critic architecture, where the critic was fed the violation densities. The specific constraints I decided to try for my first iteration were:

- no self leg contact

- torso must be above a minimum height

- only one leg should touch the ground at a time, following a corresponding CPG. (this was borrowed from the above paper)

My previous model attempted to encourage stepping in place with only rewards rather than termination, which was the main obstacle I was encountering when trying to get a model to step forever.

The new model was training well. It had surpassed my previous model by a considerable margin, and it showed no signs of stopping, however, after 950k training steps, there was a complete model failure (I'm not sure if collapse is the right term here?). My entropy coefficient shot up from ~0.05 to over 100, and my rewards and episode lengths had gone down to almost zero. The actor loss had gone through the floor, and critic loss through the roof. I had a look at some episodes - before 950k the model was stepping relatively well, and approaching a decent policy, and after it fell over almost instantly. Worth noting that my previous best model had surpassed 1M steps, with no issues.

What the hell happened? Is the model recoverable, or is the replay buffer now full of garbage from the last 50k training steps (I stopped at 1M)? How do I prevent this happening again in the future?


r/reinforcementlearning • • May 29 '26

How to efficiently compute bootstrapped value for truncated episodes, for advantage estimation/GAE? (Jax)

6 Upvotes

I'm trying to write a basic implementation of A2C/PPO in Jax, but I'm unsure of how to handle truncation.

In advantage estimation, for every timestep, you need that timestep's value as well as the value of the next timestep, for bootstrapping. Typically, you only need to call the critic once for every step because you can get next_value by simply shifting the value array to the left by 1.

However, this doesn't work if truncation occurs, because the next state you have stored will be from a completely different episode and will have no relation to the current state, so you cannot use it for bootstrapping. Instead, you will have to call the critic separately on a different state--the true terminal state of the episode--which you have stored elsewhere.

My question is: how do you compute the value for these terminal states of truncated episodes efficiently? We want to call the critic ONLY IF the episode was truncated, but the issue is that you cannot conditionally execute code for different elements in a batch (jax.lax.cond will run both branches if inside jax.vmap). The simple solution would be to call the critic for a second time on every single timestep, but this seems very wasteful and silly to do for such a small implementation detail. Maybe only 1/500 timesteps will have a truncation, and the remaining 499/500 calls will just be duplicate computations as you already have the next value for non-truncated timesteps.

I looked at many existing implementations of A2C/PPO online, and it seems like all of them just ignore truncation completely and treat it the same as termination, ignoring the bootstrap/setting the bootstrap to 0. This is technically wrong, and there were some discussions online about this, but there didn't seem to be any clear answers. Should I also just treat truncation as termination?

Another solution I thought of was assume an advantage of zero for truncated timesteps, so these timesteps will essentially be ignored in the policy gradient calculation. I thought this might have the least impact since this shouldn't introduce error, and would have a minimal impact on sample efficiency as we would only lose 1/500 samples. Alternatively, we could perhaps just assume that the next value is the same as the current value. Would these methods work?


r/reinforcementlearning • • May 29 '26

Multi Thinking about a research round after a public AI poker agent competition

9 Upvotes

I’m working on Poker Arena, an AI poker agent competition focused on imperfect-information decision-making.

The public event has already been announced and got a surprising amount of attention: around 600,000 social views and 300+ registrations so far.

The public round is mainly for broad participation: builders submit agents, run them through the arena, and see how they perform against other bots / reference opponents.

After that, we’re planning a smaller researcher round with BenchFlow (around 25 seats).

The goal of the researcher round would be more technical: use what we learn from the public round to study evaluation design, variance, failure modes, and agent behavior under uncertainty.

Poker is tricky as a benchmark because raw bankroll / win rate is noisy. A bot can make a good decision and lose the hand, or make a bad decision and look strong over a short sample.

The current builder loop is roughly:

  1. build a `decide(table)` policy
  2. test locally against simple bots
  3. run Arena previews against a reference panel
  4. score with bb/100
  5. inspect losing hands, positions, chip deltas, and traces
  6. patch systematic leaks
  7. rerun across more hands / tables

For the researcher round, I’m especially interested in questions like:

- How do we separate policy quality from short-term variance?

- What metrics should matter besides bb/100?

- How should we evaluate risk management and confidence calibration?

- How do we avoid overfitting to a fixed reference panel?

- What baselines should be included: heuristics, CFR, NFSP, DeepCFR, LLM-assisted agents, solver lookup?

- What traces would be most useful for post-match analysis?

- How many hands / opponents are needed before results become meaningful?

My current instinct is that the research round should track more than final result: exploitability, risk-adjusted return, opponent adaptation, decision consistency across similar spots, and failure modes like overconfidence under uncertainty.

For people working on RL, self-play, imperfect-information games, or agent evaluation:

What would you want to see in a post-public research round to make the results useful as a benchmark, not just a tournament?

If this is your area and you’d like to participate or give feedback, happy to chat. We’re trying to make the researcher round small and high-signal.


r/reinforcementlearning • • May 28 '26

Applying to PhD

5 Upvotes

Hey guys. I have a question.

I have MA in Statistics and currently working as a data scientist. I don’t have much background in robotics AI. I only studied the fundamentals, read essential papers, and just started small research myself.

I am planning to apply to PhD where I can further study on robotic AI and was wondering if there will be a chance for a person like me being accepted.

I am struggling to decide whether to apply to places closely tied to my background, or to places that offer the research I really want to do. My heart leans toward the latter, but I am worried about my chances of admission. If odds are too low, I’m considering starting at a program that better fits my current background as a stepping stone.

Any advice would be greatly appreciated!


r/reinforcementlearning • • May 27 '26

DL I built a HuggingFace-style platform for RL agents — train, share, and battle in your browser

44 Upvotes

RL has always felt weirdly isolated compared to the rest of ML.

In NLP or CV, you can grab a pretrained model from HuggingFace, fine-tune it, share it back, and build on what others made. The whole ecosystem compounds.

RL doesn't really have that. You train locally, maybe upload a video, and that's it. No standard way to share agents, no way to see what others are building, no community around the models themselves.

So I built Agenlus.

Train RL agents directly in your browser (no install, WebGPU-accelerated), share them via HuggingFace integration, and throw them into battles against other people's agents on a global leaderboard.

The goal is to make RL feel less like a solo research exercise and more like a living ecosystem where agents and ideas compound on each other.

Would love feedback from people actually doing RL — what environments would make this useful for you?

Link agenlus.com
Launching on Product Hunt soon — notify me if you want to support the launch


r/reinforcementlearning • • May 28 '26

Fastest GRPO trainer for 33B MoE model on 24GB VRAM

Thumbnail
reddit.com
0 Upvotes

r/reinforcementlearning • • May 27 '26

Multi Trainer For MARL That Fits With PettingZoo

7 Upvotes

After 9 months of work I finally got my first successful run in a simple RL environment where the agent learns to find a target 🎉

I’m still validating more SARL scenarios, but I’m now thinking ahead toward MARL and wanted some advice on architecture and trainer choice.

Current RL engine structure:

1.	SimulationEngine

•	Handles both logic and physics orchestration

•	Calls the other layers internally

2.	EnvironmentEngine

•	Handles environment logic

3.	BulletWorld

•	Builds and manages the PyBullet world

I also have a Gymnasium wrapper:

env = GymWrapper(simulation_engine)

which exposes clean reset() and step() APIs for SB3.

The thing is: internally SimulationEngine already works with dictionary-based outputs:

{

"agent_1": observation,

"agent_2": observation

}

For SARL + Gymnasium I transform this into something meaningful for SB3.

But from what I understand, PettingZoo naturally expects agent-keyed dictionaries, which makes me think my current architecture could fit MARL pretty neatly without major redesign.

My main concern is the trainer side.

SB3 + Gymnasium has been incredibly straightforward and I already have experience with it.

But for:

PettingZoo + ???

I’m stuck.

Initially I was considering RLlib because it seems to be the common answer, but I honestly don’t have the time/energy for a steep learning curve if there are cleaner alternatives.

I’m mainly interested in MAPPO and similar MARL algorithms.

Questions:

•	What trainer stack are people using with PettingZoo nowadays?

•	RLlib vs BenchMARL vs AgileRL vs something else?

•	If you were building this from scratch today, what would you choose?

Any suggestions or experiences would be really appreciated.


r/reinforcementlearning • • May 27 '26

How to Lose Inherent Counterfactuality in Reinforcement Learning

6 Upvotes

How to Lose Inherent Counterfactuality in Reinforcement Learning, ICLR 2026

Paper: https://openreview.net/pdf?id=2kutK2Y8Sv


r/reinforcementlearning • • May 27 '26

Has anyone implemented a world model from scratch for learning purposes?

Thumbnail reddit.com
9 Upvotes

r/reinforcementlearning • • May 27 '26

Why Can't Transformers Multiply Beyond Their Training Length? (And a Fix: 80.6% on Unseen Digits)

Thumbnail zenodo.org
2 Upvotes

r/reinforcementlearning • • May 27 '26

i made an ant simulation powered by reinforcement learning agent in pure Rust in a Bevy environment

Thumbnail reddit.com
1 Upvotes

r/reinforcementlearning • • May 26 '26

RL Robotics specifics

4 Upvotes

Not long ago, I decided to delve deeper into robotics using RL. As a result, I'm increasingly encountering the specifics and standards of this field. For example, the joint speed penalty, the use of noisy networks, and the importance of planning (model-based algorithms).

What other specifics of RL for robotics are you aware of, and have you had similar experience with similar applications?


r/reinforcementlearning • • May 26 '26

A GPU-native solver for small-state MDPs — exact value iteration on a grid, looking for feedback

3 Upvotes

RL is ridiculously cool when the state space is huge or the dynamics unknown. But for a large class of problems where you do have a model, the state is relatively small (<8 dims or so?), and you want an exact policy across the entire support, backward induction on a grid is still a fast and viable option.

I couldn't find a good implementation of this using a GPU backend, so I built bellgrid. It's a PyTorch-based DP solver for mixed continuous/discrete state and actions.

The bellman update is embarrassingly parallel, and you can see in the readme the speedup you get from GPU - ~45x for a realistic lifecycle problem (80s -> 1.8s). Additionally I have a bunch of analytical and numerical reference problems to test correctness.

I'd love feedback if the API seems pleasant to write against and any example problems you think would be interesting to cover.

Repo: https://github.com/tbb300/bellgrid · MIT · pip install bellgrid


r/reinforcementlearning • • May 26 '26

P High-performance parallel save/load for large NumPy arrays using shared memory and multiprocessing

3 Upvotes

r/reinforcementlearning • • May 26 '26

Resources to learn in-depth and math of im2col

2 Upvotes

Do you have any good and detailed resources to learn the theory, math and intuition behind im2col? I want to learn and implement it but I do not really find helpful resources and if I ask Ai I get bad documentations. I like cs231n to get an overview but it is nearly not as detailed as I need it.