Index of every page on this site: llms.txt
All skills
arpitg1304 avatar

/robot-reinforcement-learning

@8a39029
Run it yourself

Reinforcement learning for robots: when RL beats imitation or classical control, MDP design (observations, action spaces, control rate, terminated vs truncated), reward design and reward hacking, algorithm choice, massively parallel sim training, safe real-robot RL, and debugging training curves. Use when the user mentions reinforcement learning, RL, PPO, SAC, TD3, GAE, reward function, reward shaping, curriculum, domain randomization, sim-to-real, actuator network, asymmetric actor-critic, teacher-student distillation, rsl_rl, rl_games, skrl, Stable-Baselines3, CleanRL, Brax training, FastTD3, HIL-SERL, SERL, RLPD, DrQ, residual RL, DSRL, RL fine-tuning of a BC, diffusion or VLA policy, time-out bootstrapping, entropy collapse, value loss explosion, NaN during training, or evaluating RL with seeds and IQM. Also for Isaac Lab, mjlab or Playground locomotion and manipulation policies.

Use this Skill: https://skilld.dev/gh/arpitg1304/robotics-agent-skills/robot-reinforcement-learning

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesreal-world-rl.md

≈547 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Real-World RL: Safety, Resets, Rewards, Interventions

Moved from SKILL.md section 6.

Safety Layers (outside the policy, fail closed)

Layer Implementation
Workspace bounds Clip EE targets to a box (LeRobot end_effector_bounds; HIL-SERL bounds)
Step limits Max EE translation/rotation per step (LeRobot end_effector_step_sizes)
Compliance Impedance/admittance control with bounded stiffness; force/torque thresholds that abort
Joint and torque limits Enforced in the driver, below the policy
Watchdog Hold position if no action arrives within one control period plus margin
Human override Intervention device always active; E-stop reachable

Resets

  • Scripted resets: return to a fixed or randomised joint configuration (LeRobot fixed_reset_joint_positions, reset_time_s).
  • Human resets: acceptable for hours-long runs; budget the human time.
  • Learned reset policy / forward-backward training: a second policy undoes the task.
  • Reset-free: design the task to be cyclic (pick, place, pick again).
  • Randomise the reset pose slightly so the policy does not overfit one start.

Reward From Classifiers

  • Train a binary success classifier on images: HIL-SERL reports typically ~200 positive and ~1000 negative frames, with >95% accuracy on held-out data. LeRobot trains one with lerobot-train and applies it with success_threshold.
  • The policy will search for false positives. Add frames from policy rollouts as hard negatives, and periodically audit classifier positives by eye.
  • Zero-shot VLM reward models exist (LeRobot integrates TOPReward). Treat them as shaping or progress signals and validate against human labels before letting the policy optimise them.

Human Interventions

  • HIL-SERL stores intervention transitions in both the demonstration and RL buffers.
  • A healthy run shows intervention rate falling over training (LeRobot's guide plots it); flat or rising intervention rate means the reward, action space or observation is wrong.
  • Intervene to correct and to prevent damage, not to complete every episode; constant takeover turns RL into slow imitation.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts4d3 checks · Risk SAFE
  • Gen Agent Trust Hub4d

    The skill is a comprehensive technical reference for Robot Reinforcement Learning. It provides legitimate guidance on MDP design, reward shaping, and library selection for robotics tasks. All code examples are safe, using only the Python standard library, and all external references target well-known research repositories and academic publications.

  • Socket4d

    No alerts

  • Snyk4d

    Risk: LOW · No issues

Signed by skilld at 8a39029. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 6 days ago

README badge

README badge for arpitg1304/robotics-agent-skills/robot-reinforcement-learning