r/reinforcementlearning • • 16h ago

DL, MF, R "PocketRL: Training a 7B Language Model with Reinforcement Learning on One RTX 5090", Chung & Du 2026

Thumbnail
arxiv.org
33 Upvotes

r/reinforcementlearning • • 16h ago

DL, MF, R, Safe "Trait Hitchhiking in LLM Post-Training", Soubki et al 2026

Thumbnail
arxiv.org
7 Upvotes

r/reinforcementlearning • • 18h ago

Measuring a PPO self-play ladder as shipped: ratings from sampled play missed a +357 Elo cliff that players hit

Post image
0 Upvotes

I trained a PPO agent by self-play for a two-player Splendor-style card game and turned training snapshots into difficulty levels for a free browser game. A few things I learned while measuring them, which might be useful to others shipping RL agents to players:

  1. Measure the bot the way you ship it. My Elo ladder came from round robins with sampled actions. The server plays argmax, and re-measured that way the gaps came out quite different: some shrank, but one adjacent pair went from ~75% expected to 88.6% (+195 predicted, +357 measured). Real players hit exactly that wall (69% wins one level below, 15% at that level; one player lost 18 in a row). An intermediate snapshot that splits the gap (+177 / +171) fixed it.
  2. Search saturates quickly on top of a decent policy. Adding MCTS with 8 simulations per move was worth about +190 Elo over the raw network. 64 simulations beat 32 only 55% of the time (40 games, so rough) at twice the CPU.
  3. Hidden information: the only hidden state is the order of the face-down decks, so the search reshuffles them in every simulation rather than reading the true order the server receives.
  4. The "win chance" shown to players comes from a separate value model trained on 100k self-play games of the strongest snapshot, calibrated to within about one percentage point on held-out games.

The network is a small token-based transformer encoder with policy and value heads, run on Cloudflare Workers in a TypeScript port, so the weights stay on the server.

You can play it here: https://playpentacle.com/ (more on the AI: https://playpentacle.com/en/ai/). Not affiliated with Splendor. Happy to answer questions about the training setup.


r/reinforcementlearning • • 23h ago

Robot Tempora-1: An open-weight 27B model that rivals frontier VLMs on robotic subtask annotation at $0.10/hour of video

Thumbnail
reddit.com
1 Upvotes

r/reinforcementlearning • • 1d ago

Computing rollout with weights from prior step (on-policy)

1 Upvotes

I'm looking into on-policy methods at the moment, and the environnements seem to be running with the latest weights of the actor/critic models, aka synchronous rollout.

That means the training must wait for the environnement to complete the rollout before the next training step can begin.

I did a quick test with PPO and Ant environnement and tried to de-phase the process, asynchronous rollout by one step = the rollout uses the weights from step-1 so it can run in parallel to the update. Immediately the return curve is a lot worse.

Is there a principled way to implement this ? Surely some people looked into this already and documented it but I must be looking in the wrong places.


r/reinforcementlearning • • 1d ago

Two autonomous agents learning to survive together in Minecraft without LLMs

0 Upvotes

I built a Minecraft testbed for two autonomous agents, Adam and Eva. They search for food, build shelter, respond to hazards, and communicate through in-world chat. Their decisions use no LLM calls and they do not share memory or a filesystem.

During one 12.6-hour run they built 539 nest blocks and developed 24 shared words. The agents combine a fruit-fly connectome with an active-inference loop and a Rust voxel planner. We describe the setup, controlled experiments and failures in our preprint, including an initially failed LEGO EV3 transfer that we replicated after fixing a coordinate-frame bug.

The production runtime is proprietary. The manuscript, datasets and verification scripts are public. I would welcome technical feedback and ideas for new survival challenges.

Watch Adam and Eva live on Kick: https://kick.com/sergeylech

Zenodo: https://zenodo.org/records/24622856

Verification package: https://github.com/lech2000/from-topology-to-traversal


r/reinforcementlearning • • 1d ago

Robot I used the digital reconstruction of human brain to create a policy for simulated humanoid robot object manipulation

2 Upvotes

In 2021 Google released the H01 Dataset, which took a 1mm^3 piece of human brain then reconstructed it in a computer then released the dataset for public use, so using thar data of the human's brain, I took a subgraph (basically a small section of their neurons) to build a recurrent neural network to act as the brain of a simulated humanoid robot, and then tasked it to push a cube. if you want to learn more I have links below. I have been working on this for a couple months now, and I have dreamed about using human brains and applying it to robotics for almost 10 years so I am excited to showcase this.

Project Page: https://mro9.github.io/exohominid/


r/reinforcementlearning • • 1d ago

BasketWorld: RL environment for learning basketball strategy

2 Upvotes

This is a hobby project I've been working on for a while. It's a 2D environment but I've made the visuals 3D so it's not quite so boring to watch. It's one policy controlling each side. Each player has 6 move actions (ie hex tiles) and the ball handler can pass and shoot as well. For each team turns are autoregressive in the sense the first action is randomly selected and then each player after that has the context of the previous selection. I originally started with SB3 but ported everything to JAX a year ago or so. If you're interested, check out the git repo (https://github.com/EvanZ/basketworld) and substack (https://basketworld.substack.com/).


r/reinforcementlearning • • 1d ago

I trained a car with PPO in Unreal's Learning Agents: 9,392 episodes, and the deterministic policy crashed where the stochastic one lapped

Thumbnail
youtu.be
0 Upvotes

I've been playing with Unreal Engine 5.8's Learning Agents plugin and made a video of the whole run, from attempt 0 to racing a hand-written baseline driver.

Setup:

- PPO, 32 cars sharing one policy, trained on CPU (MacBook Pro), about 50 minutes wall clock
- 18 observations: speed, position on the road, the road shape ahead, and the current wheel angle
- 2 actions: throttle/brake and steering
- Reward: +0.1 per metre forward, -5 for hitting a wall, -2 for stalling

Things that surprised me:

- The first policy steered bang-bang, flicking the wheel about 14 times a second. Rate-limiting the steering (half a second lock to lock) plus a small penalty on steering changes fixed it, and lap times didn't get worse.

- Replaying the final brain deterministically (mean action) crashed at the hairpin every time. Sampling from the policy lapped fine.

- My first run's attempt counts were inflated because I had agents resetting on every policy update. Worth checking if you use RunTraining.

Results: 9,392 episodes (9,304 crashes), best lap 33.6 s, and it beat the scripted driver in 10 of 10 races, though it crashed a lot early in some of them.

Happy to answer questions about the setup. I'd also like ideas on why the mean action fails at the hairpin when samples don't.


r/reinforcementlearning • • 2d ago

DL, M, P "Amber Eye: a Slay the Spire engine approaching top-level play"

Thumbnail 8e9f.github.io
12 Upvotes

r/reinforcementlearning • • 2d ago

League of Legends (Patch 16.19) - Reinforcement Learning - 5-Ezreal mirror 30-min game at 4x

Thumbnail
youtube.com
2 Upvotes

r/reinforcementlearning • • 2d ago

Two autonomous agents learning to survive together in Minecraft without LLMs

Thumbnail
reddit.com
1 Upvotes

r/reinforcementlearning • • 3d ago

P [Paper + code] Deployment-time plasticity in a compact recurrent RL agent, with pre-registered decision rules and the failures reported

37 Upvotes

We're a small team in Rawalpindi/Islamabad, Pakistan. We just released the code and data behind our paper "Deployment-Time Plasticity and Experience-Driven Memory in a Compact Recurrent Reinforcement Learner: An Empirical Study with Pre-Specified Decision Rules".

Repo: https://github.com/zOthix/mimi-brain4-paper

Setup

- The agent (libbrain4) is a compact recurrent learner in C, meta-trained, then evaluated on lives it has never seen. Each life is 12,000 steps, with 32 lives per task family.

- It has a failure memory: a fixed hash table keyed by rounded observations. It stores actions that failed in each place (no observation change, or negative reward through a fading trace) and leans the next action away from them. It is reset every life.

- Baselines: PPO, recurrent PPO and an RL2-style learner (Stable-Baselines3 / sb3-contrib), tuned with successive halving and trained to 77M steps.

- For a fair comparison, we ported the same failure memory to the baselines in Python, with a unit test checking that it matches the C header on recorded streams.

- Every experiment's pass/fail rule was committed before its first run. CPU evaluation is bit-identical on the same platform and build.

Results

- 10 held-out families, 10 meta-trained minds, 3 fresh seed blocks: mean 0.498 (95% CI 0.480 to 0.515). Best tuned baseline without memory: PPO, 0.0977. Best baseline with the same failure memory: PPO+memory, 0.271. Pass.

- 8 task families written blind to our results by a separate process and sealed before evaluation: agent 0.067 vs PPO 0.057. Pass, but narrow.

- DareFightingICE: pre-registered tests passed against PyThunder and ERHEA_PI. The other conditions were inconclusive.

- Omniglot 5-way 1-shot: 0.883 vs 0.963 for a prototypical network. Fail.

- XLand-MiniGrid: 3.66 vs 5.33 for RL2. Fail.

- A revised failure memory, tested as a follow-up and not pre-registered, improved the blind families from 0.063 to 0.118, but made no real difference on the held-out families (+0.0015).

Reproducing

- Every verdict can be re-read from the committed result files in minutes, with standard-library Python.

- A check of about 1 minute on 4 threads re-runs one mind's lives and diffs them against the published output.

- Not included (available on request): the baseline checkpoints (about 2 GB) and the end-of-fight minds.

Where we'd value critique

  1. Is the memory-wrapped PPO a fair enough baseline for the failure memory, or would you want something like an episodic-control baseline?
  2. The gap shrinks a lot on the blind families (0.067 vs 0.057). What would you read into that?
  3. Which public benchmark should come next? Atari 100k at 10 seeds is on our roadmap.

The code is under a non-commercial licence (free for research). If you want to support the compute: https://labs.khive.io/fund


r/reinforcementlearning • • 3d ago

Robot Motubrain 2.0: From large-scale World Action Model pre-training to recursive self-improvement

7 Upvotes

motubrain 2.0 released its 20B World Action Model, trained on 2M hours of internet videos and 500K hours of embodied data.

they livestreamed 25 days of training, covering pre-training, post-training, agent development, and early experiments with RSI.

they also conducted over 10000 real-robot task trials and evaluated different model checkpoints on real robots.

model weights, code, data resources, processing tools, and training notes are now available.

some questions:

  • How much does large-scale video pre-training contribute to robot policy generalization?
  • How can robots use their own experience to improve their policies?
  • What are the main challenges in building a continuous self-improvement loop?

hope to discuss🙌

Technical blog: https://www.motubrain.cn/en/blog/motubrain-2/


r/reinforcementlearning • • 2d ago

Production ML Engineering Workshop: Deployment, Validation & Monitoring (Dec 5)

1 Upvotes

hey everyone, sharing this for people working on machine learning who are interested in the engineering challenges beyond model development.

developing a model is one thing. making sure the complete system can be reproduced, deployed and monitored reliably is another.

some important areas include:

  • reproducible training and inference workflows
  • validating incoming data
  • monitoring model performance
  • detecting distribution changes
  • managing deployment and model updates
  • building applications around trained models

Packt is hosting a hands-on Production ML Engineering workshop on December 5 covering these areas.

the practical tools include scikit-learn, XGBoost, LightGBM, CatBoost and Streamlit.

it's a live online session at 9:30 AM EST.

Full workshop details and registration

happy to answer questions about the workshop!


r/reinforcementlearning • • 3d ago

We're opening up real industrial robot cells for 48 hours: cable insertion, assembly and inspection tasks, each with a dataset and a baseline to beat (Zurich, 11–13 Dec, free)

2 Upvotes

If you've wanted to see how your policy holds up on a real contact-rich task rather than in sim, this is a chance: each task has a dataset and a baseline policy to beat. From Fri 11 to Sun 13 Dec we're putting builders on real industrial cells at DARE Campus, Schlieren (10 min from Zurich HB) to work on contact-rich tasks: cable insertion, assembly, inspection.

What you get:

- a dataset collected on each task and a baseline policy to beat

- the Forgis codebase, with the engineers who wrote it on the floor with you

- every run recorded with force/torque ground truth; the runs become an open dataset and benchmark, released with a paper that credits every participant

- a 10K prize pool

Free, food covered (travel's on you), 18+. Apply solo or as a team of up to five; we complete the teams. Applications close Sun 6 Dec, rolling acceptance.

Details and the application: https://luma.com/oj617tvc?utm_source=reddit-rl&utm_campaign=hk-community

Happy to answer anything about the cells, the tasks or the data format below.


r/reinforcementlearning • • 3d ago

On-policy distillation vs. GRPO and SFT on Qwen3-0.6B (GSM8K): dense reverse KL vs. sparse reward & single-TPU constraints

4 Upvotes

Ran an empirical comparison of on-policy distillation (student generates rollouts, frozen teacher scores every token with per-token reverse KL log p_teacher - log p_student and zero discount) against GRPO and SFT on teacher samples over ~1M tokens each on a single Colab TPU v5e (15.75 GiB), using Qwen3-0.6B (student), Qwen3-1.7B (teacher), and Tunix 0.1.7 (JAX/Flax NNX, LoRA rank=16, alpha=32 across all 7 projections).

Why compare them side-by-side:

  • GRPO relies on sparse outcome rewards on student rollouts, which made stopping behavior and learning rate sensitivity immediately visible.
  • SFT trains off-policy on teacher completions, risking distribution mismatch when the student goes off-script.
  • On-policy distillation gives dense per-token signal on states the student actually visits without the teacher authoring the trajectories.

RL & training observations on GSM8K (1,312 test problems, 640-token cap, greedy eval with 95% bootstrap CIs vs. untrained Qwen3-0.6B at 65.5%**; teacher at** 82.0%**):**

  • Tight accuracy cluster: Across ~1M tokens, on-policy distillation across two seeds (66.9%, 68.1%), SFT warm-started distillation (67.3%), SFT (67.8%), filtered SFT (67.2%), and lr=3e-5 GRPO (68.0%) all landed within +1.4 to +2.6 points of the untrained student, with 95% intervals touching zero and a 1.2-point gap between identical distillation seeds.
  • KL went down while accuracy stayed flat: Mean per-token reverse KL dropped consistently from ~0.34 to 0.24 nats/token across seeds, so the student aligned closer to teacher token distributions/style than raw pass@1 gains reflected.
  • GRPO reward & LR traps: Rewarding only final boxed correctness led the model to stop emitting <|im_end|> and hit the token cap; requiring completion fixed stopping, while lr=1e-4 collapsed to a short-answer shortcut (36.9% pass@1) vs. 68.0% at lr=3e-5.
  • Sampling & memory gotchas: In Tunix 0.1.7, setting temperature=1.0 without top_p=1.0 still decoded greedily (zeroing rollout diversity for GRPO until top_p=1.0 and per-step seeds were set), and batch_size=32 with a 512-token KV cache (16,384 positions) fit cleanly while 32,768 positions hit decode memory limits.

Narrow setup (single model pair, GSM8K, ~1M tokens, mostly single seeds on a single TPU chip), so treat it as a practical single-chip check rather than a general claim.

Repo with code, configs, and logs: https://github.com/Brayanbrayan/on-policy-distillation


r/reinforcementlearning • • 3d ago

I built a tiny PPO agent to speedrun an RTS challenge

Thumbnail
youtu.be
2 Upvotes

Here’s how I did it: https://cyb3r17.substack.com/p/my-world-record-attempt

Feedback and suggestions welcome, I’m trying to get it to beat the human world record! 😊


r/reinforcementlearning • • 4d ago

What my Pokémon Gold agent learned and where it got stuck

2 Upvotes

Wanted to share some success I had with my first reinforcement learning project. My goal was to train a neural net to beat Pokémon Gold, inspired by a similar project from Peter Whidden.

Video · Code and logs


r/reinforcementlearning • • 4d ago

Re-running the 10-armed bandit testbed: how much does epsilon matter? (numbers inside)

1 Upvotes

I wanted to reproduce the classic multi-armed bandit experiment from Sutton & Barto (Chapter 2) to see the effect of ε in ε-greedy with my own code, not just the figure from the book.

Setup: 2,000 independent bandit problems, 10 arms each. True action values are drawn from N(0,1), rewards are N(q*(a), 1). Sample-average value estimates, random tie-breaking, 1,000 steps per run. Everything is averaged over the 2,000 problems. NumPy 2.5.3.

greedy = np.where(Q == Q.max(1, keepdims=True),
                  rng.random((runs, k)), -1).argmax(1)     # random tie-break
explore = rng.random(runs) < eps
a = np.where(explore, rng.integers(0, k, runs), greedy)
r = rng.normal(q_true[idx, a], 1.0)
N[idx, a] += 1
Q[idx, a] += (r - Q[idx, a]) / N[idx, a]                    # sample average

Results:

eps=0.0   first 100 steps: 0.948 | last 100 steps: 1.022 | optimal action (last 100): 34.7%
eps=0.01  first 100 steps: 0.972 | last 100 steps: 1.292 | optimal action (last 100): 58.4%
eps=0.1   first 100 steps: 1.005 | last 100 steps: 1.367 | optimal action (last 100): 80.0%

What I take from it:

  • Pure greedy gets stuck. It picks the best-looking arm after a few noisy samples and mostly stays there, so it ends up choosing the true best arm only about 35% of the time.
  • ε=0.01 is slower to learn but would catch up given more steps. At step 1,000 it's at 58%, still improving.
  • ε=0.1 learns faster here, but will always explore 10% of the time, so with enough steps its optimal-action rate would be capped near 91% (90% greedy plus a share of random picks that happen to be optimal), while smaller ε could eventually do better. I haven't run longer horizons to confirm that.
  • This depends on the setup: stationary arms, Gaussian rewards, sample averages. In a non-stationary problem, or with a constant step size, things change.

I haven't tried optimistic initial values, UCB or a decaying ε, which the book also covers.

If anyone has suggestions: which of those would you compare next, and is there something about this testbed that tends to mislead beginners (like the average hiding the variance between runs)?


r/reinforcementlearning • • 4d ago

Psych Looking for people with experience in alignement to take a look at my model spec

1 Upvotes

I'm a psychotherapist exploring how clinical psychology can contribute to alignement. And I wrote a paper about where values come from. It ends with an arm training four-arm training experiment to see if alignment improves. Tbh, I'm not confident about the design in its current state so I'd love to have the input of experts from the field. We can talk in Dms or we can have a 30 minute call. I'll pay you for your time. Thank you!


r/reinforcementlearning • • 4d ago

Local AI Model Plays Super Mario Bros. (NES)

Post image
0 Upvotes

I was bored this weekend, so I vibe-coded an app to watch AI play Super Mario Bros. I first made the application in Claude Code. For now, it uses a local LLM model with Ollama (QWEN3.6). I need to experiment with more models.
I coded this over the weekend, let it run on its own at first, then spruced up the interface and used some other knowledge to make this emulator. Currently only for Mac, but I am building a Windows/Linux version soon. *I am sure there are others out there, but I can't find anyone who has done this.

Check out my project and love some feedback to make this more EPIC! Zelda is next.

https://github.com/thededman/ai-plays-mario


r/reinforcementlearning • • 5d ago

DL, M, Robot, R GPT-6 Astra on robotic manipulation

Thumbnail
openai.robocurve.org
7 Upvotes

r/reinforcementlearning • • 5d ago

DL, D, M, Robot, MetaRL "The End of Robot Learning and the Last Research Agenda", Kyle Vedder 2026-11

Thumbnail
vedder.io
7 Upvotes