AutoHOOT: Automatic High-Order Optimization for Tensors

Linjian Ma, Jiayu Ye, Edgar Solomonik
5/10/2020
cs.MSmath.NA

Official code: LinjianMa/AutoHOOT (22 stars, Python, Apache-2.0, last commit 2023-04-14).

Abstract

High-order optimization methods, including Newton's method and its variants as well as alternating minimization methods, dominate the optimization algorithms for tensor decompositions and tensor networks. These tensor methods are used for data analysis and simulation of quantum systems.

Show full abstract

In this work, we introduce AutoHOOT, the first automatic differentiation (AD) framework targeting at high-order optimization for tensor computations. AutoHOOT takes input tensor computation expressions and generates optimized derivative expressions. In particular, AutoHOOT contains a new explicit Jacobian / Hessian expression generation kernel whose outputs maintain the input tensors' granularity and are easy to optimize. The expressions are then optimized by both the traditional compiler optimization techniques and specific tensor algebra transformations. Experimental results show that AutoHOOT achieves competitive CPU and GPU performance for both tensor decomposition and tensor network applications compared to existing AD software and other tensor computation libraries with manually written kernels. The tensor methods generated by AutoHOOT are also well-parallelizable, and we demonstrate good scalability on a distributed memory supercomputer.

View on arXivView PDF

Code Implementations(1)

LinjianMa/AutoHOOTOfficial100%
Apache-2.0

Automatic High-Order Optimization for Tensors

221PythonJul 5, 20193 years agoApache-2.0

Similar Papers

Cite this paper

@article{ma2020autohoot,
  title  = {AutoHOOT: Automatic High-Order Optimization for Tensors},
  author = {Linjian Ma and Jiayu Ye and Edgar Solomonik},
  year   = {2020},
  eprint = {2005.04540},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.04540}
}

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/2005.04540.svg)](https://codeofpaper.com/paper/2005.04540)

Discussion