인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
생산성 및 협업 · SKILL.md

soft_bellman_backup

soft_bellman_backup

Construct SAC soft state values, Q targets, and Bellman residuals from replay rewards, log probabilities, and critic estimates.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: soft_bellman_backup description: Construct SAC soft state values, Q targets, and Bellman residuals from replay rewards, log probabilities, and critic estimates.

Soft Bellman Backup

Use this skill to validate the critic side of Soft Actor-Critic. It applies the paper's soft value estimate V = Q - alpha * log_pi and Q target r + gamma * (1-done) * V_next on bounded batches.

Inputs

  • Current Q estimates and policy log probabilities.
  • Rewards, done flags, and next soft values.
  • Discount factor and temperature coefficient.

Outputs

  • Soft values.
  • Q targets.
  • Mean squared Bellman error.

Workflow

  1. Compute soft_value = q_value - alpha * log_prob.
  2. For each transition, compute reward for terminal transitions.
  3. For nonterminal transitions, add discounted next soft value.
  4. Compare Q estimates against targets with squared residuals.
  5. Save the residuals for recovery traces.

Validation

Run python tests/test_soft_bellman.py or the Distiller skill validator.

Limitations

This skill does not define neural network architectures. It is a deterministic batch-level contract for SAC backups.

저장한 Skills