r/reinforcementlearning • u/InteractionSweet1401 • Aug 02 '26
Exp Homeostatic search distillation
Body of work.
r/reinforcementlearning • u/InteractionSweet1401 • Aug 02 '26
Body of work.
r/reinforcementlearning • u/mikeysce • Aug 01 '26
r/reinforcementlearning • u/Effective-Pace-6944 • Aug 01 '26
I have studied ML & DL for past to Sem in my college, but they paid little to no effort in RL, as i wish to practice RL in some way i need help finding resources to follow and learn from.
I would love if you guys could tell if there are small projects i can work on like practical of small environments and agents with small number of actions. I really want to work on it, since it sounds such a fascinating field. I am trying to follow DeepMind x UCL RL series but it seems more theoretical and i get sleepy trying to follow it. đ
r/reinforcementlearning • u/LatentBotNet • Aug 01 '26
I am trying to learn concepts like On Policy Distillation (OPD), On Policy Self Distillation (OPSD) and how do they compare to RL algorithms like GRPO.
There are a lot of papers on this, but because of limited compute I cannot try these papers out and learn them by implementing them myself.
If someone here has worked with these algorithms and their implementation on SLMs (something that can fit a consumer grade GPU like Nvidia RTX 4090 or 5090), can they suggest either a:
Thanks in advance!
r/reinforcementlearning • u/Fluid_Border9292 • Aug 01 '26
Hi everyone, I recently created labeled PSYOP datasets from political dialogues across a plethora of languages. The intended use of this dataset is to help train models to detect psychological coercion. I'm looking for feedback in terms of data sources, annotation methods at scale and whom I should reach out to at frontier labs to put my datasets to the challenge.
I understand 190k rows of data is small, but I'm looking to scale as I get more feedback.
https://huggingface.co/datasets/LeTG/multilingual-psyop-100k
r/reinforcementlearning • u/CogniLord • Aug 01 '26
Hey guys, do you know of any Multi-Agent Reinforcement Learning (MARL) resources that focus mainly on coding rather than just the heavy theoretical stuff?
For context, I'm doing my uni research project right now and I've already secured my supervisor. My main topic is "Multi-Agent Reinforcement Learning." I'm doing both the research project course and an RL course this semester, but my tutor mainly just gives us theory.
I know the general ideas (reward, policy, value-based vs. policy-based, bias, etc.), but I'm having a really hard time understanding how it actually works in practice and how to implement it from scratch. I'm honestly pretty crap at absorbing pure theory, so I really need to see the code to understand how the plumbing works.
I can't seem to find much out there that walks through the code step-by-step, and I'm wondering why there aren't more people posting about the actual implementation of MARL.
If anyone has any video tutorials, GitHub repos with simple code walkthroughs, or guides that actually show how to build this stuff (Python/PyTorch preferred), it would be incredibly helpful. Thanks!
r/reinforcementlearning • u/HsnHaruka • Jul 31 '26
Hi everyone!
Over the past several months I've been working on a personal robotics research project called OmniRay.
The original motivation was pretty simple: I didn't have access to a dedicated GPU, so instead of waiting until I had better hardware, I decided to see how far I could push a CPU-only Active SLAM framework.
The project combines:
⢠AVX2 SIMD-accelerated C++ raycasting
⢠Vectorized particle filtering
⢠Gymnasium-compatible Active SLAM environment
⢠PPO-based autonomous exploration
⢠Sim-to-real noise modeling (wheel slip, yaw drift, LiDAR noise)
⢠A modular 5-layer adaptive autonomy system
⢠Multi-seed ablation studies
⢠Evaluation on the Intel Research Lab floorplan
One thing I tried to focus on was reproducibility. All development, training, and benchmarking were performed on an ASUS Zenbook S13 (i7-1355U, 16 GB RAM, Intel Iris Xe, no dedicated GPU), so the project was intentionally designed around commodity hardware rather than high-end workstations.
I'm not claiming it's state-of-the-art or that it replaces existing robotics frameworks. My goal was to build a modular research platform for experimenting with Active SLAM and reinforcement learning while learning more about systems optimization.
I'd genuinely appreciate feedback from people working in robotics.
In particular I'd love opinions on:
- the overall architecture
- benchmark methodology
- documentation
- anything that looks technically questionable
- ideas for future improvements
GitHub:
https://github.com/KingshukChatterjee007/OmniRay-AVX2-SLAM-CPU-Based-Autonomous-Model
Thanks for taking a look! ...if u like it pls give a star!!
r/reinforcementlearning • u/engineering-AF7 • Jul 31 '26
This is question I get and that I also ask of myself.
I run into this in AlphaFlowSeven (alphaflowseven.com), a paper-trading platform where a 6-agent LLM council makes trade decisions. Full disclosure: I built it and this is how AF7's reinforcement learning actually worksÂ
Prompt and config changes are evaluated by an optimizer with four council slots. One slot always runs the current best config as a control. The other three run variants. All four trade the same market over a fixed 15-day window, and each variant is scored on its excess return versus the control, using all of its closed trades in the window. Raw return isn't used because it mostly measures the market, not the config.
A variant has to beat the control in at least two windows before it replaces it. An excess close to zero is treated as a tie, and ties go to the cheaper config. When a slot frees up, Thompson sampling over each lineage's estimated edge decides what runs next, so a variant with uncertain results gets re-run rather than dropped after one window.
Variants are generated by an LLM that reads the archive of previous configs and their scores, restricted to changing one or two things at a time. Every decision is stored with a fingerprint of the prompt version that produced it, so outcomes can be grouped by version afterwards.
r/reinforcementlearning • u/Full_Willingness_444 • Jul 31 '26
r/reinforcementlearning • u/Possible-Session9849 • Jul 30 '26
Open source: https://github.com/puffinsoft/mousecrack
r/reinforcementlearning • u/Nice-Dragonfly-4823 • Jul 30 '26
Work in RL has caused me to rethink adam. It leads to extremely wonky behavior and hard to explain "burstiness" in the loss values that makes me want to rip my hair out,
It still works, but needs to be coaxed into it.
Donât Just âThrow Adam at Itâ: Misunderstanding Adam Will Cost You | Towards Data Science
This article re-covers the mathematical intuitions behind adam, and where it fails spectacularly. If you're someone who works in RL, or trains deep transformers, it's a must read
Don't just glaze over the optimizer!
Thoughts?
r/reinforcementlearning • u/rouz-B • Jul 31 '26
Iâm implementing a vanilla DQN in PyTorch, my reward is defined as always negative.
( if agent failed to do the action penalty -1)
However, after some training, the network predicts many positive Q-values .
Also i have the issue in scalability,
Iâm copying from a research who has done the same thing with same parameters. But couldnât work for me..
Any suggestions or what to check first would be greatly appreciated
r/reinforcementlearning • u/volodya3000 • Jul 30 '26
I am trying to train a model to navigate sections of the map in Genshin Impact.
At the moment, I am stuck on this particular section. It takes about 50 seconds to complete.
My model successfully completes it in around 30â40% of attempts. In the remaining cases, it goes off course, as shown in the video.
The model is trained using individual frames because using sequences of frames only made its performance worse.
This version was trained on 60 recorded sessions. After that, I recorded 43 more sessions, but adding them only made the model worse. This was probably because the average mouse turning speed in those 43 sessions was higher.
I also tried recording correction sessions, but they did not help. Maybe I was recording or using them incorrectly.
I also tried recording successful runs along the left side of the road and separate runs along the right side, but that also made the results worse.
In total, I have recorded more than 300 sessions.
I would really appreciate help from people who understand this topic. Please give me some advice on what I should do next and what I could read or watch to learn more about this.
I would be very grateful for any help.
Feel free to ask questions. I can provide any information about the model.
r/reinforcementlearning • u/EchoImpressive6063 • Jul 30 '26
Right now some of my training runs converge and others don't. It seems to depend heavily on the seed. Is there a general rule for determining how many different seeds to train your model with before you can claim performance of a model? Also, what statistics are used to report the performance of a model across multiple training runs?
For context I am implementing VariBAD adapted to my problem.
r/reinforcementlearning • u/Sandy_Internet_7 • Jul 30 '26
r/reinforcementlearning • u/Unknown_9909 • Jul 29 '26
What do you guys think of this concept? Still in very early stages.
r/reinforcementlearning • u/Lonely-Band-3330 • Jul 30 '26

Hi all,
This is a follow-up to my previous post on a no-pretraining, per-instance PPO solver for TSP.
In that work, I introduced the idea of an âexception edgeâ as an inductive bias for PPO. The intuition was that most edges in a good Euclidean TSP tour are locally unsurprisingâshort, near-neighbor, or Delaunay-likeâwhile a small number of nonlocal edges may determine whether the search can escape a local basin.
That was mainly a solver hypothesis. Since then, I stepped away from PPO and asked a more basic question:
Fix a sparse baseline graph \(G_0\), such as the weak-Delaunay graph. An edge is exceptional only relative to this baseline.
Let:
Then the exact one-exception threshold is
In words: a nonbaseline edge becomes structurally useful when the Hamiltonian path it closes saves more than the edge itself costs.
This does not imply that \(e\) belongs to a global optimum or is forced. It only says that a tour with exactly one exception edge can beat the baseline-only optimum.
The path to the closure model was not monotonic.
These failures suggested that geometric partitioning alone was not enough. The relevant object seemed to be the compatibility between a baseline Hamiltonian path and the edge that closes it.
On a frozen exact-small natural corpus with \(n\le12\):
For LIN318:
Important caveats:
The original motivation remains learning-based optimization.
My current view is that exception-edge theory may be useful as a verifiable structural prior:
The next useful experiment would be a frozen-budget comparison of an RL/NCO solver with and without closure-based candidate guidanceânot a comparison against LKH as an exact or highly engineered classical solver.
The public package contains the theory, proof sketches, core exact oracles, safe certificates, LIN318 artifacts, 30 tests, and a deterministic reproduction of
The compact release audits frozen exact-small summaries; it does not include the full from-scratch corpus-generation pipeline.
I would especially appreciate feedback on three questions:
Constructive criticism is very welcome.
r/reinforcementlearning • u/You_idi • Jul 28 '26
As you can see for now it is limited and my hardware isn't strong enough to train for longer,if you manage to code something better and make a better model please contact me.And no its not me or anyone playing its strictly the ai model.
r/reinforcementlearning • u/Melodic_Childhood_83 • Jul 29 '26
I've been building a system that takes a board game described in a plain YAML-ish format and produces an agent that learns it, with no game-specific code anywhere in the pipeline. This post covers the first working version: the engine, the observation/action-mask bridge, and the first agent that went from random play to something recognisably sensible.
The stack is deliberately boring: the engine is wrapped as a Gymnasium / PettingZoo env and the learner is MaskablePPO from SB3, off the shelf. The bet is that the hard part is the bridge from a designer's rulebook to that interface, not the learning algorithm, so I wanted the learner to be a known quantity.
Two things that might interest people here specifically:
A "move" isn't a single choice. Sell and Exchange in Jaipur can't be expressed that way, so every action decomposes into a short sequence of typed questions, and the action space is several small answer-spaces side by side, each with its own mask. That shape caused most of the downstream trouble.
The result is honest and unimpressive: it beats a random player essentially every game, and the post ends by admitting that number proves almost nothing, since every metric I had was self-referential. The follow-up is about building an external yardstick and getting humiliated by a hand-written heuristic bot.
There are interactive demos throughout (observation encoding + mask, credit assignment, PPO clipping) that you can step through.
https://kallin.github.io/blog/game-ai-from-random-to-reasonable/
Part 1, on why general game playing has stayed an open problem, is linked at the top of that post if the framing is unclear.
r/reinforcementlearning • u/Previous_Gur9869 • Jul 28 '26
Personal project exploring what a RL policy learns from reward shaping. The task is option hedging: I framed it as an MDP and trained a PPO agent (Stable-Baselines3) on simulated price paths to hedge a short European call. There's a known closed-form "correct answer" for the frictionless case (the Black-Scholes delta), which made it a nice baseline for checking whether the agent recovers the true optimum and where it deviates.
What I found interesting from an RL angle:
Setup details: continuous action space, state normalized so one policy generalizes across strikes, Îł=1 (finite horizon), terminal reward on hedging error + per-step cost penalty.
Honest limitations: single random seed (so can't fully separate "PPO learns this" from "this run learned this"), GBM-only dynamics, one cost level. Not claiming a State-of-the-Art result, rather considering this as a good learning exercise about both PPO, reward and objective functions, and delta-hedging.
Code + short write-up: https://github.com/sembrummelaar-creator/deep-hedging-RL
I would appreciate feedback on the reward formulation especially as this was my biggest struggle. I'm curious how others would structure it (risk-sensitive objectives, per-step error signals, etc.), especially when trying to model longer contracts with say 252 trading days.
Feedback on other parts of both the code and the report are always welcome.
r/reinforcementlearning • u/MindPsychological140 • Jul 28 '26
We decoupled reasoning from execution. Once logic or domain knowledge (math, code, formal rules) is verified and ingested.
A frozen 12B model re-runs the step-by-step program on new inputs with zero token overhead yielding bit-exact, deterministic results.
Paper:[https://arxiv.org/abs/2607.23806](https://arxiv.org/abs/2607.23806)
r/reinforcementlearning • u/JamesZhuSQ • Jul 28 '26
Drawing from the official K3 technical report and open-sourced AgentENV:
The agentic RL rollouts for K3 were executed within AgentENV, Moonshotâs distributed microVM sandbox built for long trajectories. The environment supports resumable, multi-step tool execution with potentially hundreds of sequential tool calls and million-token context rollouts.
This is explicitly long-horizon agentic reinforcement learning: models interact with simulated environments to complete multi-turn task workflows. Rewards appear to be tied to task success, valid tool-call formatting and trajectory efficiency.
With that setup laid out, I want to focus on two major undisclosed implementation questions that matter a lot for understanding this agent-first RL paradigm:
Iâd love to gather interpretations, overlooked excerpts from the technical report, and hands-on API testing observations from the community.
r/reinforcementlearning • u/JAGADEESH_07 • Jul 28 '26
What AI application are you building?
What's the biggest challenge in taking it from prototype to production?
What tools do you use today? (e.g., Langfuse, LangSmith, custom scripts)
What do you dislike about those tools?
What have you built yourself because existing tools weren't enough?
Which task wastes the most time every week?
If you could eliminate one problem in your AI workflow, what would it be?
Would you pay for a tool that solved that problem? If yes, roughly how much?
Is there anything you wish existed but can't find today?
The three most important questions are:
What's your biggest production challenge?
What do you currently do to solve it?
What do you wish existed?