Forward-mode automatic differentiation for the tensor renormalization group and its relation to the impurity method
Yuto Sugimoto
TL;DR
This work introduces forward-mode automatic differentiation integrated with tensor renormalization group methods to compute derivatives of the partition function and observables directly along the renormalization flow. By propagating derivative information with the forward TRG steps, the method achieves derivatives up to order $k$ at a contraction-cost factor of $(k+1)(k+2)/2$ and memory growth of $k$, avoiding the heavy memory burden of reverse-mode AD. The framework reproduces the impurity method in the SVD-derivative-vanishing limit, while delivering significantly higher accuracy for internal energy and specific heat in 2D (and reasonable results in 3D) and enabling finite-size scaling analyses to extract critical exponents from derivatives of renormalized tensors. The approach applies to HOTRG and BWTRG and provides a practical path for derivative-based investigations in tensor-network calculations, with potential extensions to higher dimensions, symmetry-aware implementations, and dynamical observables.
Abstract
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, while the memory footprint is only $k$ 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.
