Performance Optimization of Tensor Contraction Expressions for Many-Body Methods in Quantum Chemistry

Type: Article

Publication Date: 2009-09-28

Citations: 32

DOI: https://doi.org/10.1021/jp9051215

View Chat PDF

Abstract

Complex tensor contraction expressions arise in accurate electronic structure models in quantum chemistry, such as the coupled cluster method. This paper addresses two complementary aspects of performance optimization of such tensor contraction expressions. Transformations using algebraic properties of commutativity and associativity can be used to significantly decrease the number of arithmetic operations required for evaluation of these expressions. The identification of common subexpressions among a set of tensor contraction expressions can result in a reduction of the total number of operations required to evaluate the tensor contractions. The first part of the paper describes an effective algorithm for operation minimization with common subexpression identification and demonstrates its effectiveness on tensor contraction expressions for coupled cluster equations. The second part of the paper highlights the importance of data layout transformation in the optimization of tensor contraction computations on modern processors. A number of considerations, such as minimization of cache misses and utilization of multimedia vector instructions, are discussed. A library for efficient index permutation of multidimensional tensors is described, and experimental performance data is provided that demonstrates its effectiveness.

Locations

  • The Journal of Physical Chemistry A - View
  • CiteSeer X (The Pennsylvania State University) - View - PDF
  • PubMed - View

Similar Works

Action Title Year Authors
+ Performance Optimization of Tensor Contraction Expressions for Many Body Methods in Quantum Chemistry 2009 Sriram Krishnamoorthy
David E. Bernholdt
Russell M. Pitzer
P. Sadayappan
+ Effective Utilization of Tensor Symmetry in Operation Optimization of Tensor Contraction Expressions 2012 Pai-Wei Lai
Huaijian Zhang
Samyam Rajbhandari
Edward F. Valeev
Karol Kowalski
P. Sadayappan
+ TAMM: Tensor Algebra for Many-body Methods 2022 Erdal Mutlu
Ajay Panyala
Nitin Gawande
Abhishek Bagusetty
Jinsung Kim
Karol Kowalski
Nicholas P. Bauman
Bo Peng
Jiri Brabec
Sriram Krishnamoorthy
+ TAMM: Tensor algebra for many-body methods 2023 Erdal Mutlu
Ajay Panyala
Nitin Gawande
Abhishek Bagusetty
Jeffrey Glabe
Jinsung Kim
Karol Kowalski
Nicholas P. Bauman
Bo Peng
Himadri Pathak
+ Spin Summations: A High-Performance Perspective 2017 Paul Springer
Devin A. Matthews
Paolo Bientinesi
+ Spin Summations: A High-Performance Perspective 2017 P. T. Springer
Devin A. Matthews
Paolo Bientinesi
+ Optimizing Distributed Tensor Contractions Using Node-Aware Processor Grids 2023 Andreas Irmler
Raghavendra Kanakagiri
Sebastian T. Ohlmann
Edgar Solomonik
Andreas Grüneis
+ Optimizing Distributed Tensor Contractions using Node-Aware Processor Grids 2023 Andreas Irmler
Raghavendra Kanakagiri
Sebastian T. Ohlmann
Edgar Solomonik
Andreas Grüneis
+ Contracting Symmetric Tensors Using Fewer Multiplications 2015 Edgar Solomonik
James Demmel
+ Compression of the electron repulsion integral tensor in tensor hypercontraction format with cubic scaling cost 2014 Jianfeng Lu
Lexing Ying
+ Toward generalized tensor algebra for ab initio quantum chemistry methods 2019 Erdal Mutlu
Karol Kowalski
Sriram Krishnamoorthy
+ PDF Chat Report on 2007.08056v3 2022 Yang Gao
Phillip Helms
Garnet Kin‐Lic Chan
Edgar Solomonik
+ PDF Chat Report on 2007.08056v3 2022 Yang Gao
Phillip Helms
Garnet Kin‐Lic Chan
Edgar Solomonik
+ PDF Chat Report on 2007.08056v3 2022 Johannes Hauschild
+ A brief summary on formalizing parallel tensor distributions redistributions and algorithm derivations. 2015 Martin Schatz
Tamara G. Kolda
Robert A. Geijn
+ PDF Chat Faster identification of optimal contraction sequences for tensor networks 2014 Robert N. C. Pfeifer
Jutho Haegeman
Frank Verstraete
+ Cyclops Tensor Framework: Reducing Communication and Eliminating Load Imbalance in Massively Parallel Contractions 2013 Edgar Solomonik
Devin A. Matthews
Jeff R. Hammond
James Demmel
+ PDF Chat Compression of the electron repulsion integral tensor in tensor hypercontraction format with cubic scaling cost 2015 Jianfeng Lu
Lexing Ying
+ Classifications and canonical forms of tensor product expressions in the presence of permutation symmetries 2016 Zhendong Li
Sihong Shao
Wenjian Liu
+ Generating Efficient Tensor Contractions for GPUs 2015 Thomas Nelson
Axel Rivera
Prasanna Balaprakash
Mary Hall
Paul Hovland
Elizabeth R. Jessup
Boyana Norris

Cited by (16)

Action Title Year Authors
+ AutoHOOT: Automatic High-Order Optimization for Tensors 2020 Linjian Ma
Jiayu Ye
Edgar Solomonik
+ Efficient Utilization of Multi-Threading Parallelism on Heterogeneous Systems for Sparse Tensor Contraction 2024 Guoqing Xiao
Chuanghui Yin
Yuedan Chen
Mingxing Duan
Kenli Li
+ High-Performance Tensor Contraction without BLAS. 2016 Devin A. Matthews
+ Generating Efficient Tensor Contractions for GPUs 2015 Thomas Nelson
Axel Rivera
Prasanna Balaprakash
Mary Hall
Paul Hovland
Elizabeth R. Jessup
Boyana Norris
+ Sparta 2021 Jiawen Liu
Jie Ren
Roberto Gioiosa
Dong Li
Jiajia Li
+ PDF Chat Strassen's Algorithm for Tensor Contraction 2018 Jianyu Huang
Devin A. Matthews
Robert A. Geijn
+ Athena 2021 Jiawen Liu
Dong Li
Roberto Gioiosa
Jiajia Li
+ Strassen's Algorithm for Tensor Contraction 2017 Jianyu Huang
Devin A. Matthews
Robert A. Geijn
+ PDF Chat High-Performance Tensor Contraction without Transposition 2018 Devin A. Matthews
+ SparseAuto: An Auto-scheduler for Sparse Tensor Computations using Recursive Loop Nest Restructuring 2024 Adhitha Dias
Logan Anderson
Kirshanthan Sundararajah
Artem Pelenitsyn
Milind Kulkarni
+ AutoHOOT 2020 Linjian Ma
Jiayu Ye
Edgar Solomonik
+ High-Performance Tensor Contraction without Transposition 2016 Devin A. Matthews
+ PDF Chat Theory and implementation of a novel stochastic approach to coupled cluster 2020 Charles Scott
Roberto Di Remigio
T. Daniel Crawford
Alex J. W. Thom
+ PDF Chat Two- and Three-Pion Finite-Volume Spectra at Maximal Isospin from Lattice QCD 2019 Ben Hörz
Andrew D. Hanlon
+ PDF Chat Cross-Loop Optimization of Arithmetic Intensity for Finite Element Local Assembly 2015 Fabio Luporini
Ana Lucia Vărbănescu
Florian Rathgeber
Gheorghe-Teodor Bercea
J. Ramanujam
David A. Ham
Paul H. J. Kelly
+ Spin Summations: A High-Performance Perspective 2017 Paul Springer
Devin A. Matthews
Paolo Bientinesi

Citing (0)

Action Title Year Authors