Tensor Polynomial Additive Model

Yang Chen, Ce Zhu, Jiani Liu, Yipeng LiuarXiv 2024 · DOI

Introduction

The Tensor Polynomial Additive Model (TPAM) represents a significant advancement in "white-box" machine learning. While deep learning models often achieve high performance at the cost of being "black boxes," TPAM bridges this gap. By treating data as multi-dimensional tensors rather than flattened vectors, TPAM achieves superior accuracy and massive parameter compression while providing fine-grained, human-readable explanations for its decisions.

The Challenge: Interpretability vs. Structural Integrity

In the pursuit of interpretable AI, researchers frequently employ Generalized Additive Models (GAMs). These models are inherently transparent because the final output is a simple sum of individual feature contributions. However, GAMs typically struggle with high-order data like images. Standard GAMs "flatten" images into 1D vectors, a process that destroys critical spatial relationships. Furthermore, modeling interactions between features in high dimensions often leads to a "parameter explosion," making models unwieldy and difficult to train.

The TPAM Framework

TPAM addresses these limitations through several structural innovations:

  1. Tensor Representation: By processing inputs as tensors, TPAM preserves the inherent multi-dimensional structure of the data, maintaining spatial context that vectorization loses.
  2. Polynomial Interactions: The model uses polynomial expansion to capture complex feature interactions (e.g., the co-occurrence of specific visual patterns) rather than analyzing features in isolation.
  3. Hierarchical Low-Rank Approximation (V-TPAM): To manage parameter scaling, TPAM utilizes CP decomposition. This technique breaks down large weight tensors into smaller factor vectors, allowing the model to capture high-order interactions with approximately 5x fewer parameters than traditional models.
  4. Patch-based Variants: Inspired by Convolutional Neural Networks (CNNs), variants like MPT-TPAM apply the model to local image patches at multiple scales, capturing both fine details and global context.

Performance and Efficiency

Empirical evaluations across diverse benchmarks—including MNIST, CIFAR-10, and CUB-200—demonstrate TPAM's effectiveness. On CIFAR-10, TPAM variants achieved approximately 66% accuracy, significantly outperforming other interpretable models like NAM (~41%) and SPAM (~45%).

TPAM achieves higher accuracy with significantly fewer parameters compared to existing interpretable models.

Beyond accuracy, TPAM is remarkably efficient. It achieves a high compression rate while maintaining performance, proving that billions of parameters are not always necessary to model complex interactions if the underlying data structure is respected.

Fine-Grained Interpretability

One of TPAM's most compelling features is its ability to produce high-resolution saliency maps. By integrating TPAM as a classifier head for CNNs, the authors developed P-CAM and PI-CAM. Unlike standard Class Activation Maps (CAM) that assign a single weight to an entire feature map, TPAM allows for pixel-level weighting.

TPAM provides fine-grained self-explanations for digit classification (left) and sharper, more localized saliency maps via PI-CAM (right) compared to traditional methods.

In localization tasks on the CUB-200 dataset, PI-CAM concentrated over 80% of its "energy" within the object's bounding box, compared to roughly 70% for standard Grad-CAM. This results in "fine-grained" explanations that pinpoint exact object boundaries rather than blurry regions of interest.

Conclusion

TPAM demonstrates that interpretability does not have to come at the expense of performance or efficiency. By leveraging tensor structures and low-rank approximations, it provides a scalable path toward transparent AI. While a performance gap remains between fully interpretable models and the largest "black-box" architectures, TPAM significantly narrows this divide, offering a robust tool for domains where understanding the "why" is as critical as the "what."

Summary updated

BibTeX
@misc{chen2024tensor,
  author = {Yang Chen and Ce Zhu and Jiani Liu and Yipeng Liu},
  title = {{Tensor Polynomial Additive Model}},
  year = {2024},
  eprint = {2406.02980},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.02980},
}
Figure