r/reinforcementlearning • u/gwern • 5h ago
D, Safe "Managing frontier AI risk: From training to deployment", OpenAI (defense-in-depth for RL training runs)
r/reinforcementlearning • u/gwern • 5h ago
r/reinforcementlearning • u/gwern • 4h ago
r/reinforcementlearning • u/Wise_Tomatillo5723 • 9h ago
websandbox rebuilds the five WebArena sites as one SQLite DB plus a small Node server each, for RL on web agents. Resets in milliseconds, dozens of copies per machine, 807 of 812 tasks verified plus 12,283 generated, template-disjoint splits. Apache-2.0: https://github.com/junfengzh/websandbox
r/reinforcementlearning • u/gwern • 4h ago
r/reinforcementlearning • u/Nearby_Flounder3655 • 11h ago
Hi everyone! I'm a computer engineering undergrad in Brazil, new to RL for legged robots, and I'd love some guidance from people who've done this.
Background: ROS 2 + Gazebo, embedded systems, Python/ML. No RL or Isaac Sim/Lab experience yet.
Setup: Unitree Go2-W (simulation for now; access to the real robot is still uncertain). [PREDATOR PHN16-72 RTX 4070 laptop GPU, 16 GB RAM, dual-boot Ubuntu.]
What I've done so far: read some wheeled-legged navigation papers.
Which path to follow?
r/reinforcementlearning • u/Even-Prune3029 • 16h ago
So it started as a personal project now college is involved a bit in it but i am trying to learn DQN and q- learning methods by testing my skills on open gymnasium games but i m not able to forge a path of how will this RL take me to Robotics RL and I need a teammate that will kinda be helpful to guide me with his experience and work with me alongside for RL.I am well versed in Robotics side of project so i can contribute their better.
r/reinforcementlearning • u/the_wacky_gemini • 2d ago
I've been in the industry for 8+ years. My background is in classical ML/stats and NLP. I have worked with model post-training and do understand basic RL concepts, but want to get an in-depth understanding of RL, specifically where it applies to post-training LLMs. What are some good books I can read on this?
r/reinforcementlearning • u/scb_11 • 1d ago
r/reinforcementlearning • u/Excellent-Math-7313 • 1d ago
r/reinforcementlearning • u/Diligent-Win9401 • 1d ago
Interested one please DM...
r/reinforcementlearning • u/LivingCompetitive384 • 2d ago
Hey everyone!
I've been exploring an interesting problem in reinforcement learning: can the time it takes to generate a trajectory influence which experiences actually get used to update a policy?
In asynchronous RL training, rollout workers don't always finish at the same time. This can create latency-dependent selection effects, potentially changing the distribution of experiences used during PPO updates.
We investigated this through experiments with GPT-2 and LLaMA-3-8B.
A few things we explored:
One result: LLaMA-3-8B GSM8K accuracy dropped from 68.4% to 44.1% under rollout truncation.
This work has been accepted at NeurIPS 2026, and I'll be presenting it in Sydney this December.
Curious if others here have encountered similar issues in asynchronous RL or distributed policy optimization. Would be great to hear your thoughts or meet fellow attendees in Sydney!
r/reinforcementlearning • u/DoorNice5898 • 3d ago
Any thoughts on this?
r/reinforcementlearning • u/Rolo • 2d ago
Hey folks. I built a Gymnasium environment around MUD2, the multiplayer text adventure game.
I've been using the game as an RL sandbox myself for some time, but have tidied it up and packaged it in the hope it'll be useful to others. It now supports multiple agents via PettingZoo and deterministic seeding.
The original game is still running today with an active player base.
I've also put together a browser playground with some demos, including end-to-end DQN and LLM examples. Everything runs in WebAssembly, so you can try it out and edit the Python without installing anything.
GitHub:
https://github.com/rolo/mudgym
Playground:
https://mudgym.kingrolo.com/
JupyterLite DQN:
https://rolo.github.io/mudgym/lite/notebooks/index.html?path=goal_room_dqn.ipynb
I'd love to hear what people think, or if it might be useful to anyone. Thanks.
r/reinforcementlearning • u/Safe_Tone1529 • 3d ago
This is my robot dog. 12 Waveshare ST3215 servos, and an Android phone strapped on as the brain.
The walking policy was trained with RL in a simulator I built myself on top of MuJoCo. I modeled the real servos in it (I measured mine and found the sim was accelerating them way faster than the real ones can, so that took some fixing), trained it in sim, then ran it on the phone.
It’s still pretty early. Next I’m working on getting it to catch itself when it gets pushed, especially standing still.
More on the robot and the simulator on my portfolio: rhettbrewer.vercel.app
Happy to answer questions about the build or the training setup.
r/reinforcementlearning • u/gwern • 2d ago
r/reinforcementlearning • u/Aware-Run7143 • 3d ago
We just released Alloy, an open-source (Apache-2.0) physics engine for robot learning. I work on it.
Many manipulation tasks mix materials: pouring water, folding a towel, scooping sand, routing a cable. In sim those usually live in different tools. Alloy puts them in one scene and picks a solver per object:
Many copies of a scene run as parallel worlds on one GPU, or on a CPU. It loads MJCF, has Gymnasium-style vector envs with ready-made tasks (pick, peg insert, drawer, pour, an experimental towel fold), and adapters for rsl_rl, Stable-Baselines3 and skrl. It also ships an MCP server so coding agents can build and run scenes.
When to use something else: rigid robots only, MuJoCo Warp alone is leaner; for differentiable sim, use Newton directly. Known limits are on the docs' Keep in mind page.
pip install alloy-engine (Python 3.11 or 3.12)
Paper: https://arxiv.org/abs/2611.16312 Code: https://github.com/argonrobotics-ai/alloy Docs: https://alloy.argonrobotics.ai/docs/
Feedback welcome, especially on tasks you'd want to train that mix materials.
r/reinforcementlearning • u/East-Muffin-6472 • 4d ago
[Curated list: Beginners]
Personal favorite resources on learning Reinforcement Learning from Scratch:
Reading order and link herex
r/reinforcementlearning • u/felixr314 • 3d ago
Hi,
Here is another example of the asymmetric multi-head AlphaZero that METIS-Core implements. In this case, the problem (the environment) is a network of electrical substations.
The grid is a simple approximation: 4 substations in a ring, DC power flow, cascading disconnection of overloaded lines, and a daily demand curve with an evening peak. Grid2Op (sequential power-grid simulation) could have been used, but the goal was to test the framework on a very different problem.
🔷 Team Blue: the 4 substations, which must keep the power supply running. They see the grid through sensors that may be spoofed.
🔶 Team Red: two hackers, a Striker (fake-demand botnets and line tripping) and a Spoofer (falsifies Blue’s sensor readings). Their goal is a blackout (less than 78% of real demand served). Nobody programs how they should coordinate. To speed up learning, I did add a hand-written heuristic with a 30% weight in the MCTS evaluation; it gives a small bonus when an attack is hidden by spoofing, but it doesn’t say what to attack or when.
During training, Team Red (the hackers) discovered these strategies on its own:
The most interesting part was watching the arms race: Blue learned to shut down an attack, Red took tens or hundreds of episodes to find a new target or a new time of day, and the cycle started again. Blue even “forgot” how to defend against an old attack, and Red reused it about 500 episodes later.
This is a toy research environment to test multi-agent self-play; the point is to train better defenders by letting them face an adaptive attacker.
Related paper with the same idea (an attacker and a defender learning at the same time on a power grid), "Adversarial Multi-Agent Reinforcement Learning for Proactive False Data Injection Detection" from NREL: https://arxiv.org/abs/2411.12130
Links:
r/reinforcementlearning • u/speederaser • 3d ago
Players compete across four venues (Fromagerie, Bistro, Villes, Festival) by placing cheese tokens, fulfilling orders, and managing resources. The AI agent learns entirely through self-play against copies of itself, using a linear Q-function over a 292-dimensional state encoding.
Project here: https://github.com/rsfutch77/fromage-ai
r/reinforcementlearning • u/gwern • 4d ago
r/reinforcementlearning • u/Material-Watercress1 • 4d ago
The main challenge was getting the model to play like a real human. The model I trained is too aggressive for capturing continents but doesn't always play sensibly, it doesn't defend it's borders or punish enemy openings.
I tried training on human teacher games but the bottleneck is how many games I can play and win.
r/reinforcementlearning • u/Dear_Treat3688 • 5d ago
We’ve recently updated HarborRL, an open-source framework for agentic reinforcement learning (RL), focusing on simplifying distributed training, deployment, and experiment management.
🆕 What’s New (November 2026)
⚡ 1. Elastic Scaling for Distributed Training
Added elastic gateway scaling with static routing, automatic scaling across multiple machines, and automatic retirement of idle resources to improve resource utilization.
🌐 2. SSH-Free Cluster Deployment
Introduced a new Hub deployment mode where worker nodes pull tasks over HTTP, enabling distributed execution without cross-machine SSH access, including in firewall-restricted environments.
🧠 3. Unified RL Training Pipeline
Integrated multiple RL algorithms into a shared Slime-based training pipeline, validated on mathematical reasoning tasks, to reduce the engineering effort of configuring different RL algorithms.
🛠️ 4. Improved Configuration and Sandbox Execution
Enhanced the configuration wizard, Web console, sandbox rollout execution, and resource cleanup to simplify experiment setup and management.
💡 Why HarborRL?
Agentic RL often requires substantial engineering effort to connect task environments, agent harnesses, and RL training engines, especially in distributed settings.
These updates aim to reduce that overhead and make agentic RL experiments easier to configure, deploy, and scale.
GitHub: https://github.com/datamllab/HarborRL
License: MIT
💬 Curious how others are handling distributed rollout execution, resource scaling, and sandbox management in their agentic RL setups.
r/reinforcementlearning • u/the_darkest_horse • 5d ago
We've been building verifiable coding tasks for agent training (Harbor layout, same format Terminal-Bench 2 uses). Writing the tasks turned out to be the easy part. Deciding when a task is actually done took way longer, so sharing our current gate in case it's useful, and I'd like to hear what others check.
Every task has to pass all of these:
Then we bucket by how long a strong engineer takes: 30 min to 3 hrs, 3 to 15 hrs, and anything longer goes in a long-horizon bucket with milestones and partial reward.
The blind solve is the expensive one. It's there because the author always knows something that never made it into the instructions.
What do you all do about reward hacking when the tests are visible to the agent? Hiding them helps but then the agent can't check its own work.
(Disclosure: this is for Creeks, a data company we started. Happy to share a sample task layout if anyone wants to see one.)
r/reinforcementlearning • u/sagivborn • 4d ago
How can I contact the discord admins for a problem with joining?
My discord had been hijacked a month ago and I suspect I have been banned from the server...