Tensor Computation: A New Framework for High-Dimensional Problems in EDA

Zheng Zhang, Kim Batselier, Haotian Liu, Luca Daniel, Ngai Wong · DOI

Introduction

Modern Electronic Design Automation (EDA) faces a significant scaling challenge. As chip designs move toward nano-scale integration, engineers must account for hundreds of uncertain parameters, including manufacturing process variations and complex nonlinearities. Traditional EDA tools rely on matrix and vector algebra, which suffer from the "curse of dimensionality." In a system with $d$ parameters and $n$ samples per parameter, the total number of variables grows exponentially as $n^d$. For instance, a simulation with 57 random parameters would require approximately $10^{27}$ samples using standard grid-based methods—a computationally impossible task. This paper proposes tensor computation as a mathematical framework to break this exponential growth by leveraging multi-way arrays.

Tensor Decomposition Methods

The core of this framework lies in representing massive high-dimensional arrays as products of smaller factors through tensor decompositions.

Tucker Decomposition

Tucker decomposition expresses a tensor as a small "core" tensor multiplied by factor matrices along each mode. This method is highly effective for data compression, reducing the storage requirements of high-dimensional datasets while preserving their structural information.

Tucker decomposition represents a high-dimensional tensor using a small core tensor and factor matrices.

Tensor Train (TT) Decomposition

A more recent and particularly powerful method is the Tensor Train (TT) decomposition. In TT, a $d$-way tensor is decomposed into a chain of low-order tensors (typically 3-way "cores"). The primary advantage of TT is that its storage cost scales linearly with the number of dimensions ($d$), effectively bypassing the curse of dimensionality.

Tensor Train (TT) decomposition breaks a high-dimensional tensor into a chain of lower-order tensors, enabling linear scaling.

Key Insights and Applications

The transition from exponential to linear scaling is transformative. While a full tensor requires $n^d$ elements, a TT representation only needs $O(dnr^2)$ elements, where $r$ is the tensor rank. Furthermore, tensor algebra allows mathematical operations like integration and convolution to be performed directly on the compressed format, avoiding the need for decompression.

The framework also utilizes Tensor Completion to predict high-dimensional spaces from a small number of expensive simulation samples. Additionally, Tensor-based Model Order Reduction (MOR) enables the modeling of high-order nonlinearities, such as Volterra series, without memory explosion.

Experimental Results

The proposed methods were validated on several complex circuit benchmarks:

  • CMOS Ring Oscillator: For a 7-stage oscillator with 57 random parameters, tensor completion achieved high accuracy with only 500 samples, compared to over 6,000 required by traditional sparse grids.
  • MEMS-IC Co-design: In a system with 184 random parameters, the TT approach reduced simulation time from 15.4 hours (Monte Carlo) to just 10 minutes.
  • Nonlinear Mixer Circuit: Tensor-based Volterra series modeling provided a 60x speedup over conventional methods with a relative error of only 0.6%.

Conclusion and Future Directions

Tensor computation offers a promising path forward for EDA, yet challenges remain. Determining the optimal tensor rank is NP-hard, and current optimization algorithms like Alternating Least Squares (ALS) can be prone to local minima. Future work must focus on automating rank selection and improving the robustness of recovery algorithms to handle noisy simulation data, making these tools accessible for industry-standard SPICE environments.

Summary updated

BibTeX
@article{zhang2016tensor,
  author = {Zheng Zhang and Kim Batselier and Haotian Liu and Luca Daniel and Ngai Wong},
  title = {{Tensor Computation: A New Framework for High-Dimensional Problems in EDA}},
  journal = {IEEE Trans. Comput. Aided Des. Integr. Circuits Syst.},
  year = {2016},
  doi = {10.1109/tcad.2016.2618879},
}
Figure