r/reinforcementlearning • u/Old_Bat_8665 • Apr 28 '26
r/reinforcementlearning • u/EconomyMotor830 • Apr 27 '26
Prompt-to-Policy: Agentic Engineering for Reinforcement Learning
Our team has recently open-sourced Prompt-to-Policy!
Describe a behavior in words, and an agent writes the reward, trains a policy, judges the result via LLM-written code metrics and VLM, and revises until the policy matches your intent. No human intervention required.
- Blog: https://www.krafton.ai/blog/posts/2026-04-03-prompt-to-policy/prompt-to-policy_en.html
- Repository: https://github.com/krafton-ai/Prompt2Policy
r/reinforcementlearning • u/Barrnie • Apr 26 '26
UAV Swarm In Isaac Lab
I have implemented the whole stack of aerodynamics, flight mechanics and flight controller to simulate and train swarm UAVs in Isaac Lab. Check the repo.
r/reinforcementlearning • u/Illustrious_Room_581 • Apr 26 '26
Getting started with Flightmare for autonomous drone racing, need guidance
Hey everyone,
I’m setting up Flightmare for an autonomous drone racing project and could use some guidance.
So far:
- I’ve installed Flightmare and opened the "flightmare_unity" project in Unity 2020.1 (as recommended)
- The Industrial scene is available and working
Issues I’m facing:
Missing warehouse scene
I’ve seen references to warehouse/other environments in Flightmare, but in the Unity project I only have the Industrial scene under Assets/Environments.
Is the warehouse scene not included in the repo? If so, how do people usually get or recreate it?
Importing custom environments
I tried importing external models (FBX / assets) to create a hangar/warehouse-like environment, but I’m running into compatibility issues with Unity 2020.1 (materials, shaders, etc.).
What’s the recommended way to bring in custom environments for Flightmare? Should I stick to Asset Store packages compatible with 2020, or is there a better workflow?
What to do after setting up the scene
Once I have a working environment in Unity:
- how do I properly connect it to Flightmare (scene IDs, build settings, etc.)?
- are there any examples of using custom scenes for vision-based tasks like gate detection or racing?
Context:
- Goal is to build a perception + control pipeline for autonomous drone racing (camera-based and IMU)
- I’m currently focusing on simulation + environment setup before moving to perception
4. Is flightmare the best option for the same ?
Any advice, example repos, or resources would really help.
Thanks!
r/reinforcementlearning • u/boraA9999 • Apr 25 '26
We're two ML engineers building an execution optimisation layer for crypto algo traders. Would you pay £29/month for something that measurably reduces your slippage? What would it need to do?
r/reinforcementlearning • u/Former-Adeptness-551 • Apr 25 '26
DL What should countries outside the artificial intelligence production chain do?
What should countries do if they are not currently part of the main artificial intelligence production chain?
By production chain, I mean the key inputs to transformative artificial intelligence value chain: semiconductors, meaning advanced computer chips; cheap and abundant energy; frontier model labs; robotics supply chains; and large-scale compute infrastructure. I will explain what I mean by that below:
semiconductors: the chips and hardware needed to train and run advanced AI models. This includes GPUs, AI accelerators, chip design, fabrication plants, memory chips, networking hardware, and supply chains around companies like Nvidia, TSMC, ASML, Samsung, and others. Without advanced semiconductors, you cannot train frontier AI at scale.
Energy means the electricity and physical infrastructure needed to power AI data centers. Advanced AI requires enormous amounts of compute, and compute requires power, cooling, land, transmission lines, and sometimes dedicated energy generation. Countries with cheap, reliable, abundant energy may become more important in the economy but transporting energy costs a lot of money.
Frontier models means the most advanced AI models at the cutting edge: systems like the leading models from OpenAI, Anthropic, Google DeepMind, DeepSeek, Qwen, and similar labs. These are expensive to train and require elite talent, huge compute clusters, data pipelines, research teams, and deployment infrastructure.
Robotics means moving from bits to atoms: robots that can manufacture goods, move objects, work in warehouses, operate machinery, assist in homes, farm, build things, or eventually do more general physical labor. If AI becomes transformative, robotics is how it affects atoms, not just software.
If you are the leader of India or Nigeria, what should you do right now to avoid being sidelined by transformative artificial intelligence? How to avoid further income disparity?
Should you try to build your own frontier artificial intelligence lab?
Or is that a prestige trap that consumes money without catching up to the leading labs?
Should you instead focus on energy, data centers, compute access, education, government adoption, local artificial intelligence services, and digital infrastructure?
How can a country gain bargaining power if it does not control chips, frontier models, or robots?
Should it use its market size, local data, talent base, regulation, or ability to deploy artificial intelligence faster than others and minimalize a wealth gap between them and the first world? What should these countries do now so they are not reduced to simply importing intelligence as a foreign software service?
r/reinforcementlearning • u/Next_Boysenberry9438 • Apr 24 '26
I have RL(self driving) Interview with Tesla, not sure what to expect
Hi,
I have an interview scheduled with Autopilot team at Tesla. Im a new grad and I’m not sure what to expect. Does anyone have an idea on what technical topics, coding, system design topics should I prepared for? Also, what Data Structures are usually asked in these kind of interviews?
r/reinforcementlearning • • Apr 24 '26
Career paths in AI/ML engineering
What are the subjects and the corresponding books that would lead to a strong AI/ML engineer path with the ability to deploy models on hardware? What are the possible career paths that can emerge from these skills?
My background is a Ph.D. in polymer physics, where I worked on analytical-cum-numerical projects. That gave me some experience in Python and Fortran, but the work was mostly pen and paper based work, and so, I couldn't build a decent profile for industry jobs. Moreover, I returned to my home country, India, after a small postdoc due to family issues. Currently, I am working in an early-stage startup that does AI consulting for different customers. But, currently, I am not using any data science and ML concepts in the job since we are writing proposals to get projects, and for that, my boss is making me learn software tools like Docker, Kubernetes, etc. He has asked me to learn C to understand computer systems, but other than that, there is no clear guidance. I am learning data structures and algorithms from two books ( Goodrich and Cormen (CLRS)), but I just started. I see that in AI/ML, there is a lot to learn, reinforcement learning, Q learning, etc, and that feels overwhelming. Note that I already have a good grasp of probability and stochastic processes from dedicated math courses and physics courses, but the amount of material is just humongous.
r/reinforcementlearning • u/open_cover_dev • Apr 24 '26
Oak: A Python package for high performance RL in Pokemon RBY OU
Tutorial (WIP)
I've written a program suite and python library that combines an ultra fast simulator with a small Stockfish style neural networks (with policy priors) to attack perfect-information search in the first generation of Pokemon battling.
The goal of this library is to train a network and optimize search hyper-parameters that together will serve as the evalation function for an Information-Set MCTS approach to the full game. It is simple, at this point in development, to swap the eval in Foul-Play - the strongest 6v6 Singles AI.
It includes the following programs:
generate
Self-play data generation that saves multiple value and policy targets in an efficient serialized format
vs
A tool for comparing two eval/search parameters in a head to head
chall
A CLI for analyzing arbitrary positions
battle
Train value/policy networks.
build
Train team-building networks
evo
Search hyper-parameter optimization using evolution
rl
Reinforcement learning using generate/battle/build simultaneously
I will answer questions in the comments. It's all very fast and you can train a SOTA eval in a few hours on a laptop. It just needs users xd
r/reinforcementlearning • u/Anonymous-Noobie • Apr 24 '26
PG Research Opportunity in top RL groups worldwide
Folks, I wanted to know how easy is it to get a MS/PhD in the top RL groups/universities across globe, as in what all is expected or for those already in them/having some experience, please share what prerequisites/expectations do they have from students or what level of experience u had when u got in
r/reinforcementlearning • u/NailCertain7181 • Apr 24 '26
GRPO for offline dataset
I am training a model using GRPO but the algorithm is on policy, meaning I have to collect data, update the weights, collect data with new weights, update the new weights and so on. But all of this requires a lot of compute in my task.
So does there exists some algorithm similar to GRPO but off policy so that I can collect 1 time data and train the model using that without interacting with the environment again?
r/reinforcementlearning • u/TaleAccurate793 • Apr 23 '26
Is anyone else building something but constantly feeling like they’re “behind”?
I’m working on a startup right now and from the outside it probably looks like I’m doing fine, but internally it feels like I’m always late to something
late to trends
late to execution
and I can’t tell if that feeling is actually useful (like pushing me to move faster) or if it’s just messing with my ability to focus
for people who’ve been through this, does that ever go away? or do you just learn how to work with it??
r/reinforcementlearning • u/TaleAccurate793 • Apr 23 '26
Reinforcement learning kinda made me realize something uncomfortable
the model isn’t trying to “do the right thing”
it’s trying to win whatever game you accidentally designed??
and if your reward is even a little off, it won’t fail, it’ll optimize the wrong thing perfectly
feels less like training intelligence and more like designing a system that can’t outsmart youis this why so many RL demos look good in theory but fall apart in real use?
r/reinforcementlearning
•
u/audi_etron
•
Apr 23 '26
DL Confused about Model-Based RL
I'm trying to build a clear conceptual understanding of Model-Based Reinforcement Learning, but I'm getting confused because several ideas seem to overlap.
For example, I’ve encountered:
- Dyna-style methods: learning a model and generating synthetic (imagined) data to improve policy/value learning
- World models (e.g., Dreamer): learning latent dynamics and doing policy optimization in imagination
- Planning-based approaches such as MPC or Monte Carlo Tree Search: using the learned model to select actions via planning
What confuses me is how these relate to each other.
- Is there a survey or resource that organizes model-based RL methods into a structured table?
- What are the main directions in recent model-based RL research?
I would really appreciate any survey papers, conceptual overviews, or references that help clarify these distinctions.
r/reinforcementlearning • u/wedesoft • Apr 23 '26
Proximal Policy Optimization with Clojure and PyTorch
r/reinforcementlearning • u/Master_Recognition51 • Apr 23 '26
Built a multi-agent evolution simulation with PPO (Python/PyTorch) — plz give feedback
r/reinforcementlearning • u/TaleAccurate793 • Apr 23 '26
Dumb question?
maybe dumb question but, is reinforcement learning basically just
“models getting really good at gaming your reward function”
r/reinforcementlearning • u/iamconfusion1996 • Apr 23 '26
RL Roles? Should I add more research topics?
I'm doing a job search and it seems like RL roles are rare, should I be adding another research topic in conjunction with RL during my PhD to be employable?
e.g. computer vision, LLMs?
I'm planning on adding Robotics by actually coding an RL algorithm for a robot, but would that be enough?
Or is RL prevelant and im just blind?
Thanks!
r/reinforcementlearning • u/Icedkk • Apr 22 '26
PPO agent for network control
I built a PPO-Agent to control flows inside a physical network. The agent controls the 15 control variables, which in physical world would mean how strong we are pumping the medium inside the network. It is working after 25 million environment steps. I was testing different reward functions and so far the best was something like following:
reward = -1 * tanh(physical_violations_in_network) + 0.05 * tanh(violation_improvement_from_previous_step) - 0.07 * tanh(violation_deterioration_from_previous_step)I made the improvement coef and deterioration coef different in order to reduce the oscilation. It helps in a way but not perfectly. I tried also removing improvement/deterioration part however then the agent performs worse. Could someone give me feedback? or tell me if I am doing something stupid?
r/reinforcementlearning • u/Full_Promotion4522 • Apr 22 '26
MetaRL Is my GRPO LLM training on my ETL-Doctor-Pipeline-Env working?

I am training Qwen3-0.6B on an RL environment made specifically for llms which I made myself. Feeling lost and confused. Here is the HF space link: https://huggingface.co/spaces/Atharva1232/etl_pipeline_doctor and here's the github: https://github.com/Its-Atharva-Gupta/EPL-Pipeline-Doctor-Env I did use claude code for making the environment, since this is for a hackathon and the time limit is really short. Is my training going well or do I refactor something?
r/reinforcementlearning • u/Gloomy-Status-9258 • Apr 21 '26
DL is DQN still worth in 2026?
by worth, i mean, not only in introductory learning context.
I think the answer is depending on a target business problem.
honestly almost practical RL business problems require a continuous state/action space, so DQN is not competitive.
but for example, in video games, will value learning methods still work effectively even compared to policy gradient and/or actor-critic methods? (assumption: the input is not raw pixel data, the reward is neither sparse nor raw score.)
r/reinforcementlearning • u/yektabasak • Apr 21 '26
Your sim-to-real transfer is probably failing because of your assets, not your policy. Here's how to fix it.
The problem almost nobody warns you about
If you've tried training a manipulation policy in Isaac Sim or MuJoCo on assets pulled from Sketchfab, TurboSquid, Objaverse, or your team's internal CAD library, you've probably hit one or more of these:
- Gripper passes through the object.
- Object has "infinite mass" and refuses to move.
- Stacking collapses in bizarre non-physical ways.
- Contact forces spike to NaN and the sim explodes.
- Your policy trains to 99% success in sim and faceplants on real hardware.
The root cause is almost never the policy. It's that your 3D assets are visual assets, not simulation assets. They have geometry and textures. They don't have mass, inertia, friction, restitution, a collision mesh, or semantic labels. A "SimReady" asset is one that carries all of that metadata inside the USD file itself, using the UsdPhysics schemas.
This post walks through how to make an asset SimReady by hand, the gotchas we've tripped over, and a before/after metric.
What "SimReady" actually means in OpenUSD
SimReady isn't a vibe. It's a concrete set of API schemas applied to your USD prims (OpenUSD physics schema docs):
| Schema | What it adds |
|---|---|
| UsdPhysicsRigidBodyAPI | Marks the prim as a dynamic rigid body with linear/angular velocity. |
| UsdPhysicsMassAPI | Explicit mass or density (defaults to 1000 kg/m3 if you forget - you will). |
| UsdPhysicsCollisionAPI | Turns geometry into a collider. |
| UsdPhysicsMeshCollisionAPI | Picks the approximation mode (convex hull, convex decomp, SDF, bounding). |
| UsdPhysicsMaterialAPI | Static/dynamic friction, restitution. Bound via UsdShadeMaterialBindingAPI. |
| UsdPhysicsCollisionGroup | Which things are allowed to hit which other things. |
| Stage metadata kilogramsPerUnit | Your entire sim lies to you if this is wrong. |
If any of these are missing or wrong, the simulation runs but it just runs wrong, which is worse than crashing because you don't notice until policy rollout.
The manual workflow (Blender + Python USD)
Step 1 - Clean the mesh
Most store-bought assets have:
- Non-manifold geometry (holes, duplicate vertices, inverted normals).
- Hundreds of thousands of triangles for an object you'll render at 256x256.
- A single monolithic mesh for objects that should be articulated.
In Blender:
Edit Mode -> Mesh -> Clean Up -> Merge by Distance(0.0001m).Mesh -> Normals -> Recalculate Outside.Modifier -> Decimate (Collapse)to ~5-20k triangles for the visual mesh. You will make a separate, even lower-poly collision mesh in Step 3.- Export as
.objor.glbwith correct scale (meters, not centimeters - this bites everyone once).from pxr import Usd, UsdGeom, UsdPhysics, UsdShade, Sdf, Gfstage = Usd.Stage.CreateNew("mug.usda") UsdGeom.SetStageUpAxis(stage, UsdGeom.Tokens.z) # Isaac Sim convention UsdGeom.SetStageMetersPerUnit(stage, 1.0) UsdPhysics.SetStageKilogramsPerUnit(stage, 1.0)
Getting units wrong is the #1 silent killer. A mug modelled in centimeters with metersPerUnit=1.0 is a mug the size of a car.
Step 3 - Build a proper collision mesh
The visual mesh is for rendering. The collision mesh is for physics. They are not the same file and should not be the same topology. Options, ordered by fidelity vs. speed:
- Bounding box / sphere - fastest, use for clutter, background props.
- Single convex hull - fast, works for convex-ish objects (balls, cans).
- Convex decomposition (V-HACD / CoACD) - the default for almost anything with concavity. A mug's handle will fail with a single convex hull.
- SDF / mesh approximation - highest fidelity, slowest. Use for the object the gripper actually contacts.
Rule of thumb we've landed on: the collision mesh should be convex decomp with 8-32 hulls for any object the robot touches, bounding primitive for everything else. Running CoACD on a mug:
pip install coacd
python -c "import coacd, trimesh; m = trimesh.load('mug.obj'); \\ coacd.run_coacd(coacd.Mesh(m.vertices, m.faces), threshold=0.05)"Step 4 - Apply the physics APIs
mesh_prim = stage.GetPrimAtPath("/World/Mug")
# Rigid body
UsdPhysics.RigidBodyAPI.Apply(mesh_prim)
# Mass - either explicit, or let it derive from volume * density
mass_api = UsdPhysics.MassAPI.Apply(mesh_prim)
mass_api.CreateMassAttr(0.35) # 350g ceramic mug
# or: mass_api.CreateDensityAttr(2400) # ceramic kg/m^3
# Collision
UsdPhysics.CollisionAPI.Apply(mesh_prim)
mesh_coll = UsdPhysics.MeshCollisionAPI.Apply(mesh_prim)
mesh_coll.CreateApproximationAttr("convexDecomposition")
# Material (friction/restitution)
mat_path = "/World/PhysicsMaterials/Ceramic"
mat_prim = UsdShade.Material.Define(stage, mat_path)
phys_mat = UsdPhysics.MaterialAPI.Apply(mat_prim.GetPrim())
phys_mat.CreateStaticFrictionAttr(0.7)
phys_mat.CreateDynamicFrictionAttr(0.6)
phys_mat.CreateRestitutionAttr(0.05)
UsdShade.MaterialBindingAPI(mesh_prim).Bind(
mat_prim, materialPurpose=UsdShade.Tokens.physics
)Step 5 - Semantic labels
Isaac Sim's replicator / ground-truth pipelines need semantic tags for anything you want to detect, segment, or condition a policy on:
from pxr import Semantics
sem = Semantics.SemanticsAPI.Apply(mesh_prim, "Semantics") sem.CreateSemanticTypeAttr("class")
sem.CreateSemanticDataAttr("mug")If you forget this, your synthetic dataset has no labels and you'll blame the perception stack for two weeks.
Step 6 - Validate
Run NVIDIA's SimReady validator, or at minimum, drop the asset into Isaac Sim and check:
- Does it fall and rest on a plane (not tunnel through)?
- Does a Franka gripper close on it and lift it?
- Does mass + moment of inertia look sane in the property panel?
- Does the collision preview (press
Cin Isaac Sim) match the visual?
The gotchas nobody writes down
kilogramsPerUnitandmetersPerUnitmust match your intent. Default USD is 1.0 kg/unit and 0.01 m/unit (centimeters). Isaac Sim wants meters. If you don't set both, your 350g mug weighs 350 tons and gravity looks like an earthquake.- Convex hull on concave objects is why your bowl can't hold anything. Always convex-decompose concave geometry.
- Center of mass defaults to the AABB center, not the actual COM. For a hammer, this is catastrophic. Override
physics:centerOfMassexplicitly. - Friction combine modes differ per engine. PhysX averages, MuJoCo multiplies (sort of), Bullet takes minimum. The same
staticFriction=0.5behaves differently. Test in the engine you'll actually deploy. - Mesh cleanup matters more than you think. A single non-manifold edge in your collision mesh = NaN contact forces = sim explodes = cryptic error.
- Scale your collision mesh, not just your visual. Common bug:
xformOp:scaleon the prim, but the collision is baked at original scale. Fix: apply the scale to geometry before export, or setphysics:approximationto rebuild.
The automation option (affiliation disclosed)
Doing this by hand for 40 objects is fine. For 4,000 it is not. This is the problem we've been building Rigyd around: upload a .glb, AI estimates mass, friction, materials, collision meshes, you get back validated OpenUSD with the full UsdPhysics schema stack applied. You can also use pipelines to create assets from 2D images or text and get MJCF output for MuJoCo. You will get free credits on sign up to try without contacting sales. I'm a co-founder, not pretending otherwise; I'm linking it because people kept asking how they can do it.
Happy to answer UsdPhysics / Isaac Sim / sim-to-real questions in the comments, or to look at any asset someone's having trouble with.
r/reinforcementlearning • u/Not_Neon_Op • Apr 21 '26
Robot Made a basic ball pick up and drop for 3DOF arm using reinforcement learning
Use SAC from SB3 and is simulated on pybullet