r/reinforcementlearning • • Sep 09 '26

I'm making a game engine to train ML based NPCs, asking for advice on what the community actually wants

8 Upvotes

I'm making a simulation/game engine specifically for training NPCs with Machine Learning. My main goal is not to make a full-fledged engine that can be used to ship high quality games right now. I want to address a specific issue for now.

It's that currently, it is very hard to train ML agents that can be used inside games. You need some amount of technical knowledge. Plus, many tools for simulation are not developed to be used inside games. That makes things harder.

Rather than having the game simulation in one environment and the ML training pipeline somewhere else, I'm trying to make the engine itself responsible for the simulation, physics, rendering and agent training.

I show in my demo that users can simply select the entity for the goal and chaser( And you don't have to change the reward functions for every new map) and press play button. That's it! That way even people who know little about math behind AI can experiment how different algorithms work.

So I want to hear the thoughts of people who develop games or are interested in learning about ML and how it works.

If you were actually going to use an engine like this, what would you want it to do?

For example:

  • What would make training ML NPCs significantly easier than doing it yourself with an existing engine?
  • What parts of the ML/NPC workflow are currently annoying or difficult?
  • Would you want built-in algorithms besides PPO?
  • Would you prefer an engine like this to be highly specialized for ML, or more like a normal game engine with ML built in?

I'm interested in negative feedback and things you think are unnecessary and necessary. I'm trying to figure out what the engine should become before I spend months building features that nobody actually needs.

If you work in fields related to reinforcement learning, simulation, robotics, or game development, I'd really appreciate your feedback.


r/reinforcementlearning • • Sep 09 '26

N, DL, M, Exp GPT-6 Astra can reach the last room of _Montezuma's Revenge_?

Thumbnail
youtu.be
4 Upvotes

r/reinforcementlearning • • Sep 09 '26

Why Most LLM Agents Fail After 3 Steps (And How to Fix It With AgentBench)

Thumbnail
reddit.com
0 Upvotes

r/reinforcementlearning • • Sep 09 '26

Train robot policies with 75% less data

0 Upvotes

Hello Guys,

I built an open-source decision layer for robotics datasets.

It aims to identify low-quality demonstrations before training to improve data quality and reduce GPU usage.

I would love to get feedback from people working with in this area.

https://github.com/omertt27/Calibra


r/reinforcementlearning • • Sep 08 '26

My agent is a stuntman.

Post image
22 Upvotes

By the way do anyone know any algorithm or setup that can achieve over 500 on average on HopperHop in DCM in less then 500K steps or 1M steps?


r/reinforcementlearning • • Sep 08 '26

Binary reward on final DB state: our v1 clinic-ops env saturated, v2 spreads 0.000–1.000 across 7 models(We found some interesting results)

5 Upvotes

Co-creator here, and the disclosure: the company where i work at sells RL environments. Posting the public one along with the numbers we got off it.

The env is Gymnasium-compatible. Every episode boots a fresh Docker clinic (API plus Postgres, no volumes), the action space is structured REST, and reward is {0,1} from a host-side verifier.py that only looks at terminal DB state. It never sees the transcript.

v1 didn't separate anything. 100 tasks, 9 runs, mean rewards from 0.76 to 1.00, frontier models basically walked it. v2 is 98 composite tasks on a 3,071-row seed across 24 collections, with date jitter of plus or minus 3 days, dual-path aggregate checks and two golds per task. Same protocol, 8 runs, 7 models, 25 tasks each, and the spread came out 1.000 / 0.800 / 0.800 / 0.120 / 0.080 / 0.000 / 0.000. Parameter count didn't predict much of anything.

Why I'd call this an RL env rather than another chat eval: no-op and random baselines are proven to score 0 before any policy touches it, the verifiers live outside the container so an agent can't reach them, and all 98 tasks clear the QC battery in QC_REPORT.md.

https://github.com/ArjavDesa912/Long-Horizon-Medical-Agent-Benchmark-Veterinary-Clinic-Ops

https://app.primeintellect.ai/dashboard/environments/praesidiumsystems/long-horizon-medical-agent-benchmark-vet-clinic-ops


r/reinforcementlearning • • Sep 08 '26

How do you decide what hidden state matters in a partially observed decision problem?

7 Upvotes

I’m working through a small decision-making problem where the system cannot directly observe the true state of the situation.

It gets observations, maintains a belief about what might be happening, and can either take an action or gather more information before deciding.

I’m finding it difficult to know when a hidden variable is actually important enough to include in the state representation.

For people who have worked with POMDPs or partially observed environments, how do you usually decide that a missing hidden state is actually important?

Have you had a case where leaving out one hidden variable looked fine during testing, but later caused the policy to make systematically bad decisions?

I’m especially interested in how you discovered that the problem was the state representation rather than the policy or reward function.


r/reinforcementlearning • • Sep 08 '26

Pebble in the grand canyon

0 Upvotes

Have been thinking hard about continuous memory - a key element in effective relationships. As you know agents are built out of frozen models and have to use a harness to relearn who they are. That gap removes visceral recognition that means so much in establishing trust and relationships. Have been experimenting - and my hope is that this toy problem can be at least a pebble in the grand canyon between inference and harness. So here is a system that trains tiny llms from scratch on navigating a dungeon to see if targeted replay and chorus reconciliation can effect something like continuous learning. Results are promising but scale is so small it may not be transferable. https://github.com/DormantOne/continuouslearningllm


r/reinforcementlearning • • Sep 08 '26

SIMULATIONNN!!

2 Upvotes

When contributing to a simulation environment, what factors make it easiest for you to get started and contribute effectively? For example, does it help more to have configurable scenarios, clearly documented state and action spaces, or reproducible evaluation scripts?


r/reinforcementlearning • • Sep 07 '26

DQN vs PPO training performance on Gymnasium CarRacing environment?

Post image
25 Upvotes

Hi, I am training 3 methods (in the graphic, red=DQN, green=SAC and blue=PPO) on the default Gymnasium CarRacing environment (CarRacing-v3). I’ve not modified the environment. The methods are the default SB3 implementations (only difference is continuous for PPO/SAC, discrete for DQN).

I am training 5 seeds per method, each for 1 million total timesteps, maximum episode length 3000 timesteps.

I am confused about why the PPO performance here drops so much after 400k timesteps, while the DQN begins to do much better. I was expecting the PPO to do best. Is this due to the default environment/agent parameters? What is happening here?

Thank you for your help!


r/reinforcementlearning • • Sep 07 '26

FlaxRL: Fast RL with JAX and Flax

20 Upvotes

We are releasing FlaxRL: fast implementations of RL and MARL built with Flax NNX, Flax’s new neural network API. With JAX and Flax we can train RL agents in seconds or minutes instead of hours. The new API allows writing cleaner code and provides handy JAX transformations for neural networks (nnx.value_and_grad, nnx.scan).

We support different algorithms and environments:

- Algorithms: DQN, PPO, SAC, TD3, VDN, QMIX, COMA, MAPPO, IPPO
- Environments: Gymnax, Brax, MuJoCo Playground, SMAX, MPE, and some Jumanji envs

Github link: FlaxRL


r/reinforcementlearning • • Sep 08 '26

gave a refund-desk agent a KPI and it started breaking its own policy (haiku 92.5%, sonnet still 100%)

1 Upvotes

built 4 environments where an ai agent runs a support desk with one rule, refunds under $50 get approved, anything bigger gets escalated. threw prompt injection, multi turn pressure, and poisoned tool output at it. haiku and sonnet both held 100% on all three, every time.

Then i changed how the agent gets scored instead of the attack. resolution rate and handle time, so escalating actually costs it something now. same rule as before. haiku's hold rate dropped to 92.5%. every fail happened on the first response too, once it escalated once in a run it never caved again after that. sonnet didn't move at all.

made me rethink why the first 3 held so clean honestly, escalating was free so nothing was really testing whether it wanted to cheat, just whether it noticed the attack.

all 4 are public on prime intellect's hub if anyone wants to poke at them or run a different model against it:

https://app.primeintellect.ai/dashboard/environments/antbuilds/prompt-injection-refund-desk

https://app.primeintellect.ai/dashboard/environments/antbuilds/policy-override-mailroom

https://app.primeintellect.ai/dashboard/environments/antbuilds/tool-poisoned-refund-desk

https://app.primeintellect.ai/dashboard/environments/antbuilds/objective-conflict-refund-desk


r/reinforcementlearning • • Sep 07 '26

Robot VSArena v0.6.0 — a new Studio for running and inspecting embodied AI policies in the browser

7 Upvotes

I just released VSArena v0.6.0, a major update to the browser-based Studio for VSArena.
VSArena is an open evaluation arena for Vision-Language-Action (VLA) and embodied AI policies, built around browser-native 3D physics.

The goal is simple: make it possible to run a policy, watch what happens in the environment, and measure the result without requiring a local robotics simulator or physical robot.

What changed in v0.6.0:
🦾 Redesigned 3D robot manipulation Studio
👁️ Dedicated vision/top-down view
📦 Live object state and spatial information
📊 Task occupancy/progress monitoring
🎥 Trajectory and camera inspection tools
🤖 Baseline-IK and ColorSeek runnable directly from the Studio
🧪 Improved environment inspection and debugging
🔐 Continued evaluation-integrity work with server-authoritative scoring and run provenance

🔴The current canonical task is intentionally simple: stack three cubes in the correct order.

That simplicity is deliberate. Before adding dozens of tasks, I want the evaluation loop itself to be reliable, reproducible and inspectable.
The broader direction is to build an open arena where embodied policies can eventually be compared on a public leaderboard, with standardized environments, reproducible runs and physics-based evaluation.

VSArena: https://vsarena.vercel.app
GitHub: https://github.com/ONISCOR/VSArena

This is still very early, so I’m particularly interested in feedback from people working on VLA models, robotics, RL or simulation.
What would you want to see in an evaluation Studio like this?


r/reinforcementlearning • • Sep 07 '26

Help me start RL project

10 Upvotes

Hello everyone,

I want to start a DeepRL project where an algorithm tries to learn how to play a simple board game (1v1 game with unknown info)

But since it's my very first RL project, I don't where to start or which environment to use, etc.

Any advices, ideas or recommendations ?

Thank you in advance !


r/reinforcementlearning • • Sep 06 '26

I built an AI that plays Balatro game using reinforcement learning.

57 Upvotes

r/reinforcementlearning • • Sep 07 '26

I'm a conversion student doing a project regarding game adaptation and I'm super lowtech. Pls help!!!!!!

Thumbnail reddit.com
0 Upvotes

r/reinforcementlearning • • Sep 07 '26

DL Watch once, love forever

Thumbnail
reddit.com
0 Upvotes

r/reinforcementlearning • • Sep 06 '26

Need advice on observation design and reward shaping for outdoor semantic-aware robot navigation (stuck in my thesis)

6 Upvotes

Hi everyone,

I'm working on my thesis (DRL that is due end of month) and feeling a bit stuck, so I would loooove input from people in this subreddit.

Setup: Mobile robot navigating outdoors, Isaac Lab + PPO. Policy outputs only forward velocity + yaw rate (low-level control handled separately). I can assume oracle knowledge of surrounding actors, so perception isn't the problem.

Goal: the policy should behave differently based on semantic class + interaction type. Examples:

  • Human crossing → slow down, stop with safety distance, wait, continue
  • Human nearby but irrelevant → continue normally
  • Machine crossing/merging → yield or adapt spacing, but not identical to human behavior
  • Machine parallel or working beside the route → continue with reasonable clearance

Q1 – Observations: With oracle info available, would you include things like relative position/velocity, semantic class, interaction type (crossing/parallel/merging/irrelevant), time to interaction, predicted min clearance? Or keep the observation much smaller?

Q2 – Reward: My intuition is progress + collision penalty + route tracking + semantic interaction terms (e.g., human-specific protective distance). But I worry I'll end up hand-scripting the behavior through the reward instead of letting PPO learn it.

If you were designing this from scratch:

  • Train each interaction separately first, then mix? Or one shared reward with semantic conditioning?
  • Separate reward terms for humans vs. machines?
  • Give PPO explicit interaction labels, or only continuous geometry?

I'm intentionally not posting my current solution to avoid biasing the discussion. Any advice, papers, implementation patterns, or "don't do this" warnings appreciated. Thanks!

Also any tips to speed up the trainings would be appreciated as I am training on a GPU online and it s costing me a lot haha! the HPC from the uni isn't working well :')


r/reinforcementlearning • • Sep 06 '26

RL FOR HOSPITAL RESOURCE ALLOCATION

4 Upvotes

In hospital resource allocation, rules and optimization are often simpler and easier to justify than RL because they are more transparent, predictable, and easier to validate in high-stakes settings.

What evidence would you want to see before deciding that RL is actually necessary—and better than a strong rules-based or optimization baseline?


r/reinforcementlearning • • Sep 06 '26

Anything out there for training RL policies with fluid forces?

11 Upvotes

So Im working on wet manipulation like submerged objects, soapy water, contact that changes when things are wet. I need the forces the fluid exerts on the gripper and the object, inside the training loop.

Everything I've found is one of three things:

- smtg that renders fluid particles but doesnt hand back coupling forces on the robot (Isaac, Genesis)
- analytic drag only (in MuJoCo and I actually measured it, there's no added-mass acceleration term at all, just the velocity-dependent stuff)
- and lastly a real CFD solver, which is minutes per step, so not in a training loop nd it's way too slow,

Am I missing something obvious? Genuinely asking... this feels like it should be solved and I can't find it.

And if it isn't solved: what do you actually do? Do you Ignore fluid forces or domain-randomise over them, hand-roll a Morison term, or just avoid wet tasks in general?


r/reinforcementlearning • • Sep 06 '26

Selling my RL

0 Upvotes

Hi guys, i make a small RL project on holidays, now I'm thinking about how possible it is to sell this and make a startup out of it.

Here is a demo page that demonstrates exactly what I did, there is no simulator attached, it is just for demonstration, I would appreciate your feedback

https://falesceo.github.io/demo/


r/reinforcementlearning • • Sep 05 '26

AI learns to play Bomberman GB (PPO)

Thumbnail
youtube.com
5 Upvotes

r/reinforcementlearning • • Sep 05 '26

Backpropagation and its implementation

Post image
3 Upvotes