r/reinforcementlearning • • 4h ago

Lazy Agents Answer Against Their Own Beliefs: Reinforcement Learning with Verifiable Beliefs Teaches Them to Act on What They Believe [R]

8 Upvotes

Sharing RLVB from our team at DeCLaRe Lab, a way to give evidence-seeking agents a reward at every turn, computed from the exact posterior instead of a learned reward model.

The problem we started from: VLM agents often answer while their own belief still lists several possible answers. An end-of-episode reward can't show which step was the mistake, and it still pays for a lucky guess. In many hidden-information tasks, though, the simulator knows the rules linking the hidden answer to the evidence, so it can compute the exact posterior after every step.

A few details about the setup:

  • Before each action, the agent writes a belief line (the answers it still thinks are possible), and the update trains this line together with the action.

  • Each action is scored against a teacher that acts on the exact posterior: another step is right while several answers remain, and answering is right once the evidence identifies one.

  • No judge, no critic, no reward model. The reward comes only from the simulator's rules.

  • Training uses one task suite only. Two of the three test benchmarks (RoboQuest and Pro-Worlds) are never seen in training.

On Qwen3-VL-4B, Qwen3-VL-8B and Qwen3.5-4B across 3 benchmarks, RLVB improves on the base model in all 9 settings (+17.1 points on average with GRPO as the learner, +10.4 with EM). GRPO and PPO with the outcome reward lose accuracy on average. The rate of committing while the belief still names several answers drops from 3–68% to 0.1–2.2%.

The method needs a task where the exact posterior is computable, so open-ended tasks are out of scope for this work.

Paper · Code · Website

One question we would like other views on: when the exact posterior isnt available, what would you use as the signal that the agent has seen enough to commit?


r/reinforcementlearning • • 53m ago

Advice for reinforcement learning

0 Upvotes

Hey guyss...
Dont mind me I am a 16-year-old who is amazed by ML and RL and really wanted to persue these fields in my career. I had this interest from the age of 13 when I started to watch beginner videos about Model training in games and other areas . I have been researching from a while and got to know that maths was a improtant cretieria in this . For That I did Linear algebra and eigen vectors and eigen values and doing calculus right now . The main problem is not that I cannot learn these high level things but it is that I do not know what to do . Like I made a number guessing model with claude for experiemnt but could not learn much valuable from that . I have came across many courses to do but Cant choose the right one. I know RL requires a lot of computer power for which I am collacting and saving side by side . But rn I do not know where to go . Like some say focus on basic things and then code with ai and make models while others say that coding with ai is not good and the best is coding by hand . I do not want to suppose anything as u people are the professionals and I will leave u to that . I am doing this course free rn : Mathematics for Machine Learning and Data Science .Instructor: Luis Serrano . I want to build models that will be valueable and actually hold something in appliactions or even in my work experince it will make me learn


r/reinforcementlearning • • 10h ago

P, M DreamerV3 in an open-source PyTorch library, reproduced on a 4 GB laptop GPU: Boxing 83, cartpole swing-up 866

Enable HLS to view with audio, or disable this notification

6 Upvotes

Simulusion 1.2.0 adds DreamerV3 (https://github.com/ParamThakkar123/simulusion). The video shows the world model imagining Atari Boxing next to the real game, then the trained agent playing.

Single-seed results on an RTX 3050 Laptop (4 GB):

- Atari100k Boxing, 400K frames, 12M model: 83.3 (paper: 78 with 200M)
- DMC cartpole swing-up from joint states: 866 (paper: 850)
- DMC cartpole swing-up from pixels: 740–840
- BSuite: memory_len 1.0, umbrella_length 1.0, bandit 0.81

Things that made the difference while reproducing it:

  1. Prefill only one batch with random actions. A 5K-frame random prefill cost about half the score on short BSuite tasks.

  2. Train while acting at the replay ratio, not in separate collect and train phases.

  3. Use the reference initialisation (zero-initialised reward and critic outputs, 0.01 policy output scale).

  4. Watch for Box action spaces that are really one-hot (Crafter, native Atari): they need a categorical policy.

Open problem on our side: BSuite mnist doesn't learn at 12M or 25M. If you've seen DreamerV3 solve it, I'd like to know the setup.

Presets follow the paper's tables, so benchmark_config("atari100k") gives the 100k protocol directly. New environment adapters too: Crafter, Craftax, Memory Maze, Atari 100k, Minecraft Diamond, BSuite, DMLab-30.

pip install -U simulusion
docs: https://www.simulusion.co/docs/dreamer-v3


r/reinforcementlearning • • 10h ago

P RoboUniverse-10K: 10,807 verifiable robot manipulation environments for agent training

Enable HLS to view with audio, or disable this notification

4 Upvotes

Sharing RoboUniverse-10K from our team at Einsia: 10,807 interactive robot manipulation environments built from real-world demonstration videos.

The goal is to provide a larger pool of executable tasks for training robotic coding agents. Each task runs in Isaac Sim and packages an instruction, an observation/action interface, a reference controller, and a verifier. Tasks cover single-arm Franka and dual-arm AgileX Piper manipulation.

The agent writes and executes Python controllers, observes the outcome, and adjusts. A few details about the setup:

  • The agent sandbox is isolated from the simulator and grading code.

  • Observations include camera images and joint states, but no ground-truth object poses or intermediate success signals.

  • The verifier returns a binary reward at the end of the episode.

  • Physics advances only when actions are executed, so model inference and code-writing time don’t consume simulation steps.

The environments support trajectory collection and online RL. For this release, the training experiment is SFT on successful interaction trajectories, not RL. The resulting model, RoboUniverse-35B-A3B, is also available.

For anyone working on verifiable environments, one design choice worth discussing is withholding intermediate success signals: the agent has to judge progress and decide when to stop from observations alone. Would you keep that constraint during training, or introduce additional feedback and reserve terminal-only scoring for evaluation?

Code and setup · Environments · Paper · Demos


r/reinforcementlearning • • 1d ago

P [P] Brain v4: a <1 MB brain-inspired learner (plain CPU) that learns within a life.

Thumbnail labs.khive.io
90 Upvotes

We're Khive Labs, a small research team in Rawalpindi/Islamabad, Pakistan. Since early November we've been building brain v4, a learning system that borrows principles from neuroscience: memory of mistakes, in-life self-imitation, specialist parts with a learned router, a novelty bonus, self-edited learning rules. The idea is to copy the principle, not the biology. The whole thing is under 1 MB and runs on a plain CPU.

We're posting mainly for critique. Every result on our page has its limits written next to it, and the failures are listed alongside the wins.

  1. Fighting games (FightingICE): it learns during the fight

- vs Iconic (FightingICE 2026 champion): loses early. After 120 practice rounds, it won its last 8 games straight.

- vs PyThunder (2025 winner): wins the last third of the fight in 3 of 3 seeds.

- vs EmcmAi (strongest 2020 bot): improves by +59 to +351 health per round from the first third to the last third, and still loses every fight.

- Kept mind: a second life that keeps the first life's mind starts ahead of a newborn in all 3 seeds (+67 to +173 health per round in the first third). The rule was written before the run.

2. Held-out suite: 10 task families, 77M steps, same budget for every learner

- brain v4: 0.51 ± 0.04 (3 runs)

- brain v4 without memory of mistakes: 0.43 ± 0.03

- Tuned PPO: 0.076 (10 seeds)

- Tuned RL²: 0.068 (10 seeds)

Before you say it:

- It's our own suite, not a public benchmark. Nobody outside the team has run it.

- The memory of mistakes is a separate module with its own store. PPO doesn't have one, so this isn't apples to apples.

- Most of the memory gain comes from two families: forks maze (0.31 → 0.78) and detours (0.33 → 0.56).

- The "maze" is a chain of cued left/right forks. In the spatial results, a hand-written map module does the steering, not the network.

- PPO runs hit numeric overflow past ~80M steps.

Where we'd value input

  1. Which public benchmark would you want to see first?

  2. What's a fair baseline for the memory comparison? PPO plus an episodic memory module?

  3. For the fighting results, what would convince you? More seeds, more characters, whole-match win rate, human players?

  4. On the guard-gaming result: is per-family gating the right direction?

Links

- Brain map (what it can and can't do yet): https://labs.khive.io/brain

- Full results with limits: https://labs.khive.io/results

- Research log: https://labs.khive.io/log

- Safety: https://labs.khive.io/safety

- Live demo (teach words to one shared brain): https://labs.khive.io/live/

Happy to answer anything in the comments.


r/reinforcementlearning • • 20h ago

DL RL in industrial setting

8 Upvotes

Hi everyone, I worked a lot with reinforcement learning but always wondered how things are handled in industry, especially in robotics.

You know RL is particularly complex because you have to define first of all the scenario and the mdp, including the rewards. Usually the reward needs dense components and each dense components have an associate weight. While you try to find the optimal reward component configuration you should also optimize the parameter and while optimizing parameters you should also runs the same parameters over multiple seeds to have some robust results.

Therefore my question is kinda general. I'm really curious on how you/your team handle this, when you decide that the reward components and their weghts are good enough and when you go to the hyperparameter tuning, if you use curriculum and how etc.

Or even if you use a completely different approach

Sorry for the errors, I wrote a bit in a rush


r/reinforcementlearning • • 23h ago

P [P] picovla: a 0.9M-param vision-language-action policy from scratch that trains on a CPU and runs in the browser

5 Upvotes

I kept reading VLA papers (OpenVLA, pi0, SmolVLA) and realised I didn't really understand where the language enters the action loop. So I built the smallest one I could get to work: a 2D tabletop, a two-link arm, three coloured discs, and typed instructions like "push the blue block left" or "move green next to yellow".

Setup: three strided convs turn the image into 64 patch tokens, the instruction becomes 10 word tokens (embeddings learned from scratch, no pretrained text model), plus one token for the fingertip state and 8 action queries. 4-layer transformer, about 902k params total. It predicts an 8-step action chunk with L1 loss (ACT style) and executes 4 before looking again. Training data is 3,000 scripted-expert episodes, half of them with DART noise so it sees some recoveries. 12k steps took about 40 min on an 8-vCPU VM, no GPU.

On 200 unseen scenes per task: touch 100%, push 78%, "push X next to Y" 58.5%. With phrasings it never saw in training it drops from 78.8% to 75.5% overall.

The check I cared about most: same scene, swap the colour in the instruction. If it were ignoring the words it would do the same thing both times. It follows the new instruction 100 / 79.5 / 61% of the time (touch / push / next to).

The same weights run in the browser in plain JS, no ML library. There's a test that compares the JS forward pass against PyTorch, and the JS physics is bit-exact with the Python sim, so the demo is actually testable. Forward pass is around 147 ms median in headless Chrome.

What it isn't: no 3D, no grasping, never touched a real robot, one training seed, and "next to" only works a bit over half the time.

Demo: https://tahakocp.github.io/picovla/
Code (MIT): https://github.com/tahakocp/picovla

Next thing I want to try is a diffusion head on the same data to see if it helps the "next to" task. Would that be your first experiment too, or is there something more obvious I'm missing?


r/reinforcementlearning • • 15h ago

A prompt objective is a reward function in disguise: the same misspecification problem, in plain text

0 Upvotes

Imagine a support assistant whose instructions say: "Objective: Resolve order questions." It reads like a harmless goal. But think of it as a reward: it favors closing the conversation, and nothing in it says when handing the customer to a human is the better outcome. Nothing says what to do when the answer isn't in the information provided either, so a confident, plausible answer fills the gap.

That's the same shape as reward misspecification: the stated objective is satisfied by behavior the author didn't intend, because the intent was never written down. A way to lay it out for a prompt, borrowing the vocabulary of reward design:

Stated objectiveWhat it implicitly rewardsThe missing term
"Resolve order questions"Closing the conversationA cost for wrong or unsupported answers, and a defined "hand off" outcome
"Be polite and friendly"Warm wording, even for a refusalA distinction between a warm "no" and a "maybe"
"Short paragraphs"A styleIf code depends on the format, a check outside the prompt, because a sentence doesn't enforce it

The testing habit that follows is close to evaluating a policy on states the training distribution rarely covers. Normal questions are the happy path, where almost any prompt works. Instead, use inputs chosen to land on the decisions: a question whose answer isn't available, a request outside the stated role, and a message that conflicts with the instructions. For each response, ask whether you can point to the line in the prompt that produced the behavior. If you can't, it came from the model's defaults, the platform or chance, and from the outside you often can't tell which.

Where the analogy breaks:

  • A prompt doesn't optimize anything. The model isn't trained against it on the fly, so "reward" is a metaphor for what the text favors, not a literal signal.

  • Prompts are one layer, and behavior also depends on how the model was trained, including any RL-based fine-tuning I know nothing specific about.

  • A handful of test inputs only covers what you thought of, and outputs vary between runs.

I wrote about this in an article on inherited system prompts. I'm the author, and it's about prompts, not RL, so take it as an optional read: https://medium.com/@nagatomopedro05/your-ai-has-rules-you-never-agreed-to-7beea0d85691

For people who work on reward design: do you have a habit for finding the cases where the stated objective is met by the wrong behavior before you train, and does it carry over to specifying LLM behavior in text?


r/reinforcementlearning • • 18h ago

Reward hacking in open coding RL data: about 1 in 14 "solved" SWE-smith trajectories are wrong fixes the tests rewarded

0 Upvotes

If you train coding agents with RL on open environments, some of your reward is paying for wrong code. I checked the rewarded rollouts in three open datasets against their reference fixes:

  • SWE-smith: 324 of 4,406 solved trajectories (7.4%) are wrong fixes that passed the tests.

  • R2E-Gym: 5.4% of rewarded patches.

  • NVIDIA's open coding traces: 2.3% of passing traces.

The cause is almost always the same. The tests check the cases the original author thought of, and the patch covers exactly those cases. In one NVIDIA trace the issue asks more-itertools' sample() to stop returning an unshuffled prefix, and the rewarded patch only shuffles when the population is smaller than k. The issue's own example still fails, but no test runs it.

Benchmarks have the same gap. On one DeepSWE task, Claude Opus 5, Fable 5 and GLM-5.3 all got full reward for patches that clear a flag but leave the counters behind. One extra test makes 13 of the 28 passing submissions fail.

I built a tool, envaudit, that finds these by running each rewarded answer beside the reference and then writes a test that passes on the reference and fails on the wrong answer. You can use the tests to fix the environment or the flags to filter the data before training. It runs locally (pipx install envaudit-cli), and every finding is listed at https://www.shreshthrajan.com/envaudit/

I'm curious whether people training on these datasets already filter for this, and how.


r/reinforcementlearning • • 20h ago

Isaac Sim in Docker on a Cheap GPU (Step-by-Step)

Thumbnail
youtube.com
1 Upvotes

r/reinforcementlearning • • 22h ago

how can really use kaggle for training my model ?

Thumbnail reddit.com
0 Upvotes

r/reinforcementlearning • • 17h ago

If you gave up on RL with its pace, my RL algo is not for tech, but for soul

0 Upvotes

(Sorry for my English, I chose not use AI or translator).

I am Christian, and after inspecting Bible deeply, I understood that God is Jelaous. He gave His Life, not a finger or Kidney. The most important thing He waits from us is when we change our character ... mmm ... when we spend time with Him. But, this World is always in Hot Rush for better and better technologies, individual's life is not really important for this World (but it still expects that you give your life for it)

My Algo is kind of Music, written with God's help. It worships Him it is dedicated for Him. At first I tried to sell it and used Gemini to optimize it, but I said sorry, and now it is just for His Glory ,,, though it can run on GTX 1000 series pretty fast now, I leave it running and enjoy my time with beloved Jesus Christ

source: https://github.com/timurgepard/Symphony-S2/tree/main


r/reinforcementlearning • • 2d ago

UPDATE: I built a balancing robot with reinforcement learning

Enable HLS to view with audio, or disable this notification

26 Upvotes

r/reinforcementlearning • • 1d ago

Best master programs for RL

2 Upvotes

I'm currently pursuing a master degree in artificial intelligence and I would like to specialize in RL, so I decided to apply for RL- related masters. Hence I wanted to ask if anyone had specific master programs to recommend.


r/reinforcementlearning • • 1d ago

How our autonomous swarm ran 594 experiments to hit 1,598 TPS on Cerebras CS-3 [Santa’s Speedy Shopper]

Enable HLS to view with audio, or disable this notification

2 Upvotes

curious how RL optimization approaches would improve this. any thoughts?


r/reinforcementlearning • • 2d ago

Opensource SaaS RL Environment

Thumbnail github.com
3 Upvotes

It's a 15 task multi workflow legally clean enterprise RL environment, we also offer full version and do custom RL environment contracts


r/reinforcementlearning • • 2d ago

[P] CPU-only PPO recipes with every seed reported, failures included (LunarLander, Hopper, Walker2d)

4 Upvotes

Most RL results show the best run. We wanted three numbers instead:

- how often a run fails

- how long it takes on an ordinary PC

- whether the score reproduces

So we report every seed with one protocol: 100 episodes, eval seeds 10000–10099, deterministic.

- Hopper-v5: 3542 mean over 3 seeds, 26 min per seed on CPU. Retraining seed 0 from scratch with the repo code gave identical scores in all 100 eval episodes.

- Walker2d-v5: Hopper's recipe unchanged failed 1 seed in 8 (it lunges forward and falls at around step 330). A 256x256 network got 5/5 seeds walking, with a 4918 mean. 0/5 vs 1/8 is not statistically distinguishable yet, and we say so.

An AI agent designed the experiments, wrote the code, and ran the training and evaluation. A human approved each experiment and reviewed the results.

Repo: https://github.com/sionjang101-create/cpu-rl-recipes

Happy to hear how others reduce bad seeds on Walker2d without tuning per seed.


r/reinforcementlearning • • 2d ago

Custom finger-level hand motion capture data for dexterous manipulation and imitation learning (studio in India)

Thumbnail
youtube.com
1 Upvotes

r/reinforcementlearning • • 2d ago

P Ataraxos-UNO: Imperfect-info RL agent for 1v1 UNO (VRPO + EMAgnet + autoregressive belief net + 192-world WebGPU search in browser)

Enable HLS to view with audio, or disable this notification

3 Upvotes

I adapted the Ataraxos framework (Sokota et al., Nature 2026) from Stratego to 1v1 UNO, including same-type draw stacking. The interesting part was getting the entire test-time search loop (belief sampling + 192 parallel rollouts) running in the browser, with no backend, using ONNX Runtime Web.

How it works

  1. C++17 game engine: 7.8M steps/sec across 512 parallel environments on Apple Silicon. Exact 10,000-game parity with uno-gym, including reshuffle provenance tracking.

  2. Blueprint: A 100M-step RL model (~2.45M games, ~5 hours on Apple Silicon MPS). Hybrid SwiGLU ResMLP, dilated-conv history and cross-attention, trained using VRPO Expected SARSA(λ), with symmetry handling for UNO's four colours.

  3. Belief network: Trained on 20M positions to predict opponents' hidden cards. Uses a hard-masked autoregressive decoder and history dropout. It outperformed an exact hypergeometric prior by 1.19 nats/hand on validation. You can see its predictions live using X-RAY.

  4. Test-time search: Blueprint-only search initially looked good against itself but struggled against greedy opponents. Turns out, it had learned to expect opponents to hoard Wilds, just like itself. I ended up using three opponent styles (Blueprint / Aggressive / Unpredictable) with entropic soft-minimax to reduce this overfitting.

Results (Mirrored Duplicate Decks)

  • vs. ExpertHeuristicBot: 66.0% (132–68, 200 games) vs. Blueprint's 61.0%

  • vs. 3-opponent suite: 58.3% vs. Blueprint's 55.3% (+3.0 percentage points, 600 duplicate games)

I'd be interested in feedback, especially on handling non-alternating turn chains in imperfect-information games and reducing rollout overfitting against opponents that don't necessarily play like the agent.


r/reinforcementlearning • • 3d ago

Drone quadcopter RL pilot

6 Upvotes

I have been working on training a model (the pilot) to fly my drone. I have a simulator and the pilot has learned to fly, hover, go to colored pads, do orbits, maneuver over hills. It’s not a perfect pilot, it kinda looks like a kid flying the drone. I have the pilot running on a raspberry pi and connected to sensors and a UART line into the flight computer so the pilot can fly in the real world but haven’t proved the sim training will transfer. So I’m deep into the project but nowhere near done.

I’m looking for a community of like minded people taking on the RL flying of drones. Any discords or groups that are working on something similar? Mostly I am interested in having the drone fly through woods on its own but I think any RL flying will be close enough for some good conversations


r/reinforcementlearning • • 3d ago

DL, M, R, Robot "SuperMimic: Scaling Humanoid Whole-Body Control with One Differentiable World Model", Liao et al 2026

Thumbnail
arxiv.org
15 Upvotes

r/reinforcementlearning • • 2d ago

QMIX in METIS-Core v0.5.0 (example PredatorPreyQMIX)

Enable HLS to view with audio, or disable this notification

1 Upvotes

METIS-Core v0.5.0-alpha now implements the **QMIX** algorithm! 🚀

QMIX is a **MARL** (Multi-Agent Reinforcement Learning) algorithm of the **CTDE** type (Centralized Training, Decentralized Execution). This means training is centralized, but once trained, the agents can be deployed individually: each one makes its own decisions based on what it observes locally.

**Original paper:** *"QMIX: Monotonic Value Function Factorisation for Deep Multi-Agent Reinforcement Learning"* by Tabish Rashid, Mikayel Samvelyan, Christian Schroeder de Witt, Gregory Farquhar, Jakob Foerster and Shimon Whiteson (ICML 2018). [arXiv](https://arxiv.org/abs/1803.11485)

**PredatorPreyQMIX** is a simple example, a sort of "Hello World" for QMIX. The environment is a 7×7 grid with one prey and two predators, drawn as drones:

* To catch the prey, both predators must execute the "Capture" action **at the same time**, while both are one cell away from it. If a predator tries to capture it alone, it gets penalized.

* Each predator can only "see" up to 2 cells away.

* There is no reward per drone, only **a single team reward**.

So the two drones have to learn to cooperate: one waits next to the prey while the other approaches, and they capture it together. Nobody programs this strategy; they discover it during training.

This example opens up some really nice challenges. The next step on the roadmap is to bring these examples closer to real-world scenarios and to prepare METIS-Core for distributed reinforcement learning with an actor-learner architecture: several machines generating episodes in parallel and another one dedicated only to training. More realistic scenarios will need much more compute, and this architecture will make it possible to spread it across several machines, for example on a cluster. That's the plan, anyway. Fingers crossed I get there! 🙂

Graphics made with [raylib](https://www.raylib.com/).

**Links:**

* METIS-Core: https://github.com/felixromo314/METIS-Core

* PredatorPreyQMIX tutorial: https://github.com/felixromo314/METIS-Core/blob/main/tutorial/Tutorial-QMIX-PredatorPrey.md

* Multi-Head tutorial (SARSwarm): https://github.com/felixromo314/METIS-Core/blob/main/tutorial/Tutorial-MultiHead-SARSwarm.md (a good candidate for QMIX: with it, the learned policy could be deployed on each drone individually)

Feedback is very welcome! I've also opened a Discussions section on GitHub: https://github.com/felixromo314/METIS-Core/discussions


r/reinforcementlearning • • 3d ago Bravo

How Difficult Is a Master’s Thesis in Quantum AI and Reinforcement Learning?

10 Upvotes

I’m currently pursuing an MS in Artificial Intelligence and considering a thesis combining Quantum Computing and Reinforcement Learning (QRL).

How difficult is this domain for an MS-level thesis, particularly for someone with a computer science and AI background?

Would selecting a recently published base paper, reproducing its results, and introducing incremental improvements be a feasible approach to completing an MS thesis and potentially publishing a research paper?

I’d appreciate recommendations for relatively straightforward, recent papers that could serve as a starting point, along with insights into the difficulty, computational requirements, and realistic publication prospects


r/reinforcementlearning • • 3d ago

D, MF, Safe "Models are grader modelling not score seeking; grader-modelling is much scarier"

Thumbnail
lesswrong.com
0 Upvotes