Skip to main navigation Skip to search Skip to main content

Tensor-to-tensor models with fast iterated sum features

  • Joscha Diehl*
  • , Rasheed Ibraheem
  • , Leonard Schmitz
  • , Yue Wu
  • *Corresponding author for this work

Research output: Working paper/Preprint/Pre-registration › Working Paper/Preprint

26 Downloads (Pure)

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.
Original languageEnglish
Number of pages23
DOIs
Publication statusPublished - 6 Jun 2025

Funding

R. Ibraheem is a PhD student in EPSRC’s MAC-MIGS Centre for Doctoral Training. MAC-MIGS is supported by the UK’s Engineering and Physical Science Research Council (grant number EP/S023291/1). J. Diehl is partially supported by DFG grant 539875438 “Counting permutation and chirotope patterns: algorithms, algebra, and applications” through the DFG priority programme SPP 2458 ”Combinatorial Synergies”. The project is co-financed by the European Regional Development Fund (ERDF) within the framework of the Interreg VIA programme. L. Schmitz acknowledges support from DFG CRC/TRR 388 “Rough Analysis, Stochastic Dynamics and Related Fields”.

Keywords

  • iterated sums
  • signatures
  • state-space models
  • permutation patterns
  • anomaly detection

Fingerprint

Dive into the research topics of 'Tensor-to-tensor models with fast iterated sum features'. Together they form a unique fingerprint.
  • Tensor-to-tensor models with fast iterated sum features

    Diehl, J., Ibraheem, R., Schmitz, L. & Wu, Y., 28 Apr 2026, In: Neurocomputing. 675, 132884.

    Research output: Contribution to journal › Article › peer-review

    Open Access
    File
    4 Downloads (Pure)

Cite this