Tensor-to-tensor models with fast iterated sum features
Diehl, Joscha and Ibraheem, Rasheed and Schmitz, Leonard and Wu, Yue (2025) Tensor-to-tensor models with fast iterated sum features. Other. arXiv. (https://doi.org/10.48550/arXiv.2506.06041)
Preview |
Text.
Filename: Diehl-etal-ArXiv-2025-Tensor-to-tensor-models-with-fast-iterated-sum.pdf
Final Published Version Download (3MB)| Preview |
Abstract
Data in the form of images or higher-order tensors is ubiquitous in modern deep learning applications. Owing to their inherent high dimensionality, the need for subquadratic layers processing such data is even more pressing than for sequence data. We propose a novel tensor-to-tensor layer with linear cost in the input size, utilizing the mathematical gadget of "corner trees'' from the field of permutation counting. In particular, for order-two tensors, we provide an image-to-image layer that can be plugged into image processing pipelines. On the one hand, our method can be seen as a higher-order generalization of state-space models. On the other hand, it is based on a multiparameter generalization of the signature of iterated integrals (or sums). The proposed tensor-to-tensor concept is used to build a neural network layer called the Fast Iterated Sums (FIS) layer which integrates seamlessly with other layer types. We demonstrate the usability of the FIS layer with both classification and anomaly detection tasks. By replacing some layers of a smaller ResNet architecture with FIS, a similar accuracy (with a difference of only 0.1\%) was achieved in comparison to a larger ResNet while reducing the number of trainable parameters and multi-add operations. The FIS layer was also used to build an anomaly detection model that achieved an average AUROC of 97.3\% on the texture images of the popular MVTec AD dataset. The processing and modelling codes are publicly available at https://github.com/diehlj/fast-iterated-sums.
ORCID iDs
Diehl, Joscha, Ibraheem, Rasheed, Schmitz, Leonard and Wu, Yue
ORCID: https://orcid.org/0000-0002-6281-2229;
-
-
Item type: Monograph(Other) ID code: 93544 Dates: DateEvent6 June 2025PublishedSubjects: Science > Mathematics > Probabilities. Mathematical statistics Department: Faculty of Science > Mathematics and Statistics Depositing user: Pure Administrator Date deposited: 22 Jul 2025 11:59 Last modified: 10 Mar 2026 01:50 URI: https://strathprints.strath.ac.uk/id/eprint/93544
Tools
Tools





