[Paper Review] Tensor Networks for Medical Image Classification
This paper proposes LoTeNet, a locally orderless tensor network model that adapts matrix product state (MPS) tensor networks for medical image classification by preserving global image structure through local neighborhood statistics. It achieves state-of-the-art performance on PCam and LIDC-IDRI datasets with fewer hyperparameters and significantly reduced GPU memory usage compared to CNNs and prior tensor network models.
With the increasing adoption of machine learning tools like neural networks across several domains, interesting connections and comparisons to concepts from other domains are coming to light. In this work, we focus on the class of Tensor Networks, which has been a work horse for physicists in the last two decades to analyse quantum many-body systems. Building on the recent interest in tensor networks for machine learning, we extend the Matrix Product State tensor networks (which can be interpreted as linear classifiers operating in exponentially high dimensional spaces) to be useful in medical image analysis tasks. We focus on classification problems as a first step where we motivate the use of tensor networks and propose adaptions for 2D images using classical image domain concepts such as local orderlessness of images. With the proposed locally orderless tensor network model (LoTeNet), we show that tensor networks are capable of attaining performance that is comparable to state-of-the-art deep learning methods. We evaluate the model on two publicly available medical imaging datasets and show performance improvements with fewer model hyperparameters and lesser computational resources compared to relevant baseline methods.
Motivation & Objective
- Address the limitation of flattening 2D medical images into 1D vectors in tensor network models, which disrupts global spatial structure.
- Overcome the constraint of low-resolution image processing in existing tensor network methods by introducing a hierarchical, locally orderless feature representation.
- Enable efficient, scalable classification of high-resolution medical images using tensor networks with reduced computational and memory overhead.
- Demonstrate that tensor networks can achieve competitive performance with deep learning baselines while requiring fewer hyperparameters and less GPU memory.
Proposed method
- Adapt matrix product state (MPS) tensor networks to operate directly on 2D image patches by treating local image neighborhoods as orderless regions.
- Introduce a locally orderless feature encoding that captures statistical properties of small image patches independent of pixel order, preserving global structure across scales.
- Construct a hierarchical tensor network architecture where each layer applies MPS-based contraction to progressively compress and classify image features.
- Optimize the entire model end-to-end using backpropagation through the tensor network structure, enabling gradient-based learning.
- Use a bond dimension (β) as the primary hyperparameter controlling model capacity, with experiments showing robustness even at low β (e.g., β=5).
- Apply standard deep learning training protocols (Adam optimizer, cross-entropy loss, early stopping) on the LoTeNet architecture for both PCam and LIDC-IDRI datasets.
Experimental results
Research questions
- RQ1Can tensor networks be effectively adapted for high-resolution medical image classification without flattening the input?
- RQ2Does the locally orderless image representation preserve global structural information better than standard flattening in tensor networks?
- RQ3How does LoTeNet's performance compare to state-of-the-art deep learning models like DenseNet and rotation-equivariant CNNs in medical image classification tasks?
- RQ4To what extent does LoTeNet reduce GPU memory consumption compared to convolutional neural networks and prior tensor network models?
- RQ5How sensitive is LoTeNet's performance to changes in the bond dimension β, and can it maintain high accuracy with low β values?
Key findings
- LoTeNet achieves an AUC of 0.943 on the PCam histopathology dataset, comparable to state-of-the-art models like Rotation Eq-CNN (AUC 0.963) and DenseNet (AUC 0.962).
- On the LIDC-IDRI thoracic CT dataset, LoTeNet achieves an AUC of 0.874, outperforming both DenseNet (AUC 0.829) and the single-layer MPS model Tensor Net-X (AUC 0.847).
- LoTeNet uses only 0.8 GB of GPU memory on PCam and 0.7 GB on LIDC-IDRI, significantly less than DenseNet (10.5 GB) and Rotation Eq-CNN (11.0 GB), despite having more parameters (1M vs. 120K).
- The model shows robust performance across datasets with the same hyperparameter configuration (learning rate, batch size), indicating strong transferability and low hyperparameter sensitivity.
- Performance remains stable across different bond dimension values (β), with minimal fluctuations observed even at β=5, suggesting that low-rank approximations are sufficient for high performance.
- Training per epoch takes only 3 minutes on PCam and 30 seconds on LIDC-IDRI, indicating efficient computation despite the high-dimensional feature space.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.