SACn: Soft Actor-Critic with n-step Returns

Jakub Łyskawa, Jakub Lewandowski, Paweł Wawrzyński
12/15/2025
cs.LGcs.AI
rl

No confident code implementation found for this paper.

Abstract

Soft Actor-Critic (SAC) is widely used in practical applications and is now one of the most relevant off-policy online model-free reinforcement learning (RL) methods. The technique of n-step returns is known to increase the convergence speed of RL algorithms compared to their 1-step returns-based versions.

Show full abstract

However, SAC is notoriously difficult to combine with n-step returns, since their usual combination introduces bias in off-policy algorithms due to the changes in action distribution. While this problem is solved by importance sampling, a method for estimating expected values of one distribution using samples from another distribution, importance sampling may result in numerical instability. In this work, we combine SAC with n-step returns in a way that overcomes this issue. We present an approach to applying numerically stable importance sampling with simplified hyperparameter selection. Furthermore, we analyze the entropy estimation approach of Soft Actor-Critic in the context of the n-step maximum entropy framework and formulate the $τ$-sampled entropy estimation to reduce the variance of the learning target. Finally, we formulate the Soft Actor-Critic with n-step returns (SAC$n$) algorithm that we experimentally verify on MuJoCo simulated environments.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yskawa2025sacn,
  title  = {SACn: Soft Actor-Critic with n-step Returns},
  author = {Jakub Łyskawa and Jakub Lewandowski and Paweł Wawrzyński},
  year   = {2025},
  eprint = {2512.13165},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.13165v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.13165.svg)](https://codeofpaper.com/paper/2512.13165)

Discussion