[Paper Review] Total stochastic gradient algorithms and applications in reinforcement learning
This paper introduces a novel framework for gradient estimation in probabilistic computation graphs using the total derivative rule, enabling intuitive derivation of policy gradient estimators. It proposes new estimators—DEL (density estimation-based) and GS (jump to intermediate nodes)—and provides evidence that both gradient and reward smoothing via Gaussian approximations explain PILCO's success in reinforcement learning.
Backpropagation and the chain rule of derivatives have been prominent; however, the total derivative rule has not enjoyed the same amount of attention. In this work we show how the total derivative rule leads to an intuitive visual framework for creating gradient estimators on graphical models. In particular, previous "policy gradient theorems" are easily derived. We derive new gradient estimators based on density estimation, as well as a likelihood ratio gradient, which "jumps" to an intermediate node, not directly to the objective function. We evaluate our methods on model-based policy gradient algorithms, achieve good performance, and present evidence towards demystifying the success of the popular PILCO algorithm.
Motivation & Objective
- To develop a unified, intuitive framework for deriving gradient estimators in stochastic computation graphs using the total derivative rule.
- To address limitations of existing frameworks like Schulman et al.'s surrogate loss approach, which do not cover deterministic policy gradients or total propagation.
- To provide new insights into the success of the PILCO algorithm by decoupling gradient and reward effects in Gaussian-based trajectory approximations.
- To introduce novel gradient estimators that avoid the curse of chaos and do not require injected noise, improving sample efficiency and stability.
Proposed method
- Uses the total derivative rule $\frac{df}{da} = \frac{\partial f}{\partial a} + \frac{\partial f}{\partial b}\frac{db}{da}$ to decompose gradients along computational paths in probabilistic graphs.
- Proposes the DEL (Density Estimation-based Likelihood Ratio) estimator, which estimates gradients via density estimation without requiring noise injection.
- Introduces the GS (Gradient to an Intermediate Node) estimator, which performs likelihood ratio gradient estimation not to the final objective but to an intermediate node in the computation graph.
- Applies the framework to model-based policy gradient algorithms, evaluating performance on cart-pole swing-up and balancing tasks.
- Employs a probabilistic computation graph abstraction that separates model structure from inference algorithms, analogous to probabilistic graphical models.
- Uses both synthetic and real-world benchmarks to compare GTP (Generalized Total Propagation), PILCO, and other baselines, measuring success rates and loss distributions.
Experimental results
Research questions
- RQ1How can the total derivative rule be used to systematically derive gradient estimators in stochastic computation graphs?
- RQ2What are the conceptual and empirical advantages of estimating gradients via intermediate nodes (GS) versus direct estimation to the objective?
- RQ3To what extent do Gaussian approximations in PILCO contribute to its success—through gradient stability or reward smoothing?
- RQ4Can density estimation-based gradient estimators (DEL) avoid the curse of chaos and eliminate the need for noise injection in policy gradients?
- RQ5How do different gradient estimators compare in data efficiency and robustness on challenging control tasks like cart-pole swing-up?
Key findings
- The GS estimator enables backpropagation through discrete computations while preserving temporal dependencies in particle trajectories, unlike resampling-based methods.
- GTP (Generalized Total Propagation) matches PILCO's performance on the Tip Cost task, with a final loss of $9.78 \pm 0.40$, compared to PILCO's $9.10 \pm 0.22$.
- In the Angle Cost scenario with low noise ($k=10^{-2}$), GTP achieves a success rate of 0.88, matching PILCO, while TP (Total Propagation) performs significantly worse with 0.82.
- The DEL estimator shows strong conceptual promise, as it avoids both the curse of chaos and the need for noise injection, though it requires further development.
- Outliers in GTP and PILCO are caused by convergence to local minima exploiting the tail of the Gaussian state distribution, challenging prior assumptions about PILCO's exploration strategy.
- Both gradient stability and reward smoothing via Gaussian approximations contribute to PILCO’s success, with the latter being particularly effective in high-noise regimes where LR-based methods fail.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.