[Paper Review] Forward-mode automatic differentiation for the tensor renormalization group and its relation to the impurity method
The paper develops a forward-mode automatic differentiation framework for tensor renormalization group (TRG) methods, showing it yields higher-accuracy derivatives (internal energy, specific heat) at comparable cost to impurity methods, and connects to impurity methods in certain limits.
We propose a forward-mode automatic differentiation (AD) framework for tensor renormalization group (TRG) methods. In this approach, evaluating the derivatives of the partition function up to order $k$ increases the matrix-multiplication cost by a factor of $(k+1)(k+2)/2$ compared to computing the free energy alone, and the memory footprint is only $k+1$ times that of the original calculation. In the limit where the derivatives of the SVD are neglected, we establish a theoretical correspondence between our forward-mode AD and conventional impurity methods. Numerically, we find that the proposed AD algorithm can calculate internal energy and specific heat significantly higher accuracy than the impurity method at comparable computational cost. We also provide a practical procedure to extract critical exponents from derivatives of the renormalized tensor in TRG calculations in both two and three dimensions. In addition, we discuss how to efficiently differentiate an arbitrary tensor network.
Motivation & Objective
- Motivate and formulate a forward-mode AD framework for TRG (HOTRG and BWTRG) to compute derivatives of the partition function and observables.
- Establish theoretical connections between forward-mode AD and impurity methods, including limits where SVD derivatives are neglected.
- Demonstrate numerical advantages of AD over impurity methods in accuracy for internal energy and specific heat.
- Provide practical procedures to extract critical exponents from derivatives in TRG in two and three dimensions.
- Discuss generalizability to differentiating arbitrary tensor networks.
Proposed method
- Represent TRG as a differentiable computation graph and apply forward-mode chain rule to propagate derivatives along the renormalization flow.
- Derive evolution equations for first and second derivatives of the renormalized tensor under HOTRG, including derivatives of the SVD-derived projectors (E, F).
- Show that derivative cost up to order k scales as (k+1)(k+2)/2 times the cost of the original calculation, with memory footprint ≈ (k+1)× that of the base method.
- Demonstrate differentiation rules for BWTRG using projectors and bond weights, yielding analogous derivative update formulas.
- Relate forward-mode AD to the impurity method by showing the impurity limit corresponds to neglecting SVD derivatives (η→∞).
- Provide a practical, language-agnostic implementation approach that avoids backpropagation through deep graphs.

Experimental results
Research questions
- RQ1Can forward-mode AD compute derivatives of TRG observables (like Z, internal energy, specific heat) with higher accuracy than impurity methods at similar cost?
- RQ2What is the memory and computational cost scaling when differentiating TRG up to order k, and how does this compare to the impurity approach?
- RQ3How can derivatives of TRG tensors be used to extract critical exponents via finite-size scaling in two and three dimensions?
- RQ4Is the forward-mode AD framework broadly applicable to other tensor networks beyond HOTRG and BWTRG?
Key findings
- Forward-mode AD yields significantly higher accuracy for internal energy and specific heat than the impurity method at comparable costs.
- The derivative cost scales as (k+1)(k+2)/2 times the base HOTRG cost, with memory footprint proportional to k+1.
- In the η→∞ limit, forward-mode AD reduces to the impurity method, establishing a theoretical connection between the approaches.
- The approach enables extraction of critical exponents from derivatives of renormalized tensors in 2D and 3D TRG calculations.
- The method applies to BWTRG with analogous derivative rules and shows similar cost scaling.
- Numerical results in 2D Ising model demonstrate substantially higher accuracy of AD over impurity methods across temperature ranges.

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.