actor-critic-methods

Guide selection, configuration, and debugging of actor-critic methods for continuous-control reinforcement learning.

1|Updated Oct 29, 2025
One-click install
npx skills add https://github.com/tachyon-beep/hamlet --skill actor-critic-methods
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: actor-critic-methods
Source: https://github.com/tachyon-beep/hamlet/tree/main/.claude/skills/yzmir-deep-rl/skills/actor-critic-methods
Command: npx skills add https://github.com/tachyon-beep/hamlet --skill actor-critic-methods

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides practical guidance for implementing and debugging actor-critic methods (A2C/A3C, SAC, TD3) for continuous control in reinforcement learning, helping practitioners design stable and efficient agents.

Core Features & Use Cases

  • On-policy and off-policy actor-critic methods: covers A2C, A3C, SAC, TD3 with explanations and troubleshooting.
  • Stability and performance guidance: discusses advantages, pitfalls (critic learning, advantage estimation, target networks), and best practices.
  • Use Case: You are training a robotic arm with continuous action space and need to select and tune actor-critic algorithms to stabilize learning and improve sample efficiency.

Quick Start

Provide an end-to-end outline to set up an actor-critic RL experiment, including environment, model selection, training loop, and debugging checks.

Frequently Asked Questions about actor-critic-methods

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose between SAC and TD3 for continuous control reinforcement learning?

Choosing between SAC and TD3 for continuous control depends on your needs: SAC uses entropy tuning for better exploration, while TD3 offers deterministic policy gradients with target networks to prevent overestimation. This skill guides algorithm selection based on stability and sample efficiency requirements.

Why is my actor-critic agent unstable during training in a continuous action space?

Actor-critic instability in continuous action spaces often stems from critic learning issues, poor advantage estimation, or improper target network updates. This skill provides debugging checklists to troubleshoot loss formulations, tune entropy, and stabilize your reinforcement learning pipeline.

What is the difference between on-policy A2C and off-policy SAC in reinforcement learning?

A2C is an on-policy actor-critic method requiring synchronous updates from current trajectories, whereas SAC is off-policy, utilizing replay buffers and entropy maximization for better sample efficiency. This skill covers both architectures and their specific training configurations.

How do I set up an actor-critic reinforcement learning experiment for robotics?

To set up an actor-critic reinforcement learning experiment for robotics, define the continuous action environment, select an algorithm like TD3 or SAC, configure network architectures, and run the training loop with structured debugging checks. This skill provides an end-to-end setup outline.

When should I use A3C instead of A2C for training reinforcement learning agents?

Use A3C instead of A2C when you need asynchronous parallel training across multiple environment instances to speed up data collection and stabilize learning. This skill explains the distinctions and performance tuning for both on-policy actor-critic methods.

What are the best practices for tuning entropy in Soft Actor-Critic?

Tuning entropy in Soft Actor-Critic involves balancing exploration and exploitation by adjusting the temperature parameter within the loss formulation. This skill offers practical guidance on entropy tuning and advantage estimation to optimize performance in continuous control tasks.