Skip to main content
QUICK REVIEW

[Paper Review] Equi-ViT: Rotational Equivariant Vision Transformer for Robust Histopathology Analysis

Fuyao Chen, Yuexi Du|arXiv (Cornell University)|Jan 14, 2026
AI in cancer detectionComputer Science0 citations
TL;DR

Equi-ViT integrates Gaussian Mixture Ring Convolution into ViT patch embedding to achieve rotation-equivariant representations for robust histopathology classification. It outperforms standard ViT and E(2) ViT on rotation robustness on a colorectal cancer dataset.

ABSTRACT

Vision Transformers (ViTs) have gained rapid adoption in computational pathology for their ability to model long-range dependencies through self-attention, addressing the limitations of convolutional neural networks that excel at local pattern capture but struggle with global contextual reasoning. Recent pathology-specific foundation models have further advanced performance by leveraging large-scale pretraining. However, standard ViTs remain inherently non-equivariant to transformations such as rotations and reflections, which are ubiquitous variations in histopathology imaging. To address this limitation, we propose Equi-ViT, which integrates an equivariant convolution kernel into the patch embedding stage of a ViT architecture, imparting built-in rotational equivariance to learned representations. Equi-ViT achieves superior rotation-consistent patch embeddings and stable classification performance across image orientations. Our results on a public colorectal cancer dataset demonstrate that incorporating equivariant patch embedding enhances data efficiency and robustness, suggesting that equivariant transformers could potentially serve as more generalizable backbones for the application of ViT in histopathology, such as digital pathology foundation models.

Motivation & Objective

  • Motivate robust analysis of histopathology images with arbitrary orientation.
  • Develop a ViT backbone with built-in rotational and reflection equivariance at patch embedding.
  • Evaluate rotational robustness and data efficiency on a public colorectal cancer dataset.
  • Compare against non-equivariant ViTs and state-of-the-art equivariant patch embeddings.
  • Assess computational efficiency and parameter count of the proposed embedding.

Proposed method

  • Replace ViT patch embedding with a two-stage GMR-Conv based embedding to impart rotation/reflection equivariance.
  • Adopt ViT-Base backbone from Hugging Face as the classifier head.
  • Train with AdamW, cosine annealing, 5e-5 LR, 10 epochs, batch size 64, using cross-entropy loss.
  • Evaluate on original and rotated test sets across 0–90° increments, reporting mean and SD.
  • Compare against non-equivariant ViTs and other equivariant methods (E(2)-ViT, GMR-R18, etc.).

Experimental results

Research questions

  • RQ1Can GMR-Conv based patch embedding confer rotational and reflection equivariance to ViT features from the start of tokenization?
  • RQ2Does Equi-ViT improve rotation-consistent classification performance compared to standard ViTs and existing equivariant ViTs?
  • RQ3What is the trade-off between model size, memory usage, and rotational robustness for Equi-ViT?
  • RQ4How does Equi-ViT's patch embedding equivariance affect token-level alignment under image rotations?
  • RQ5Is the approach data-efficient relative to CNN-based equivariant models for histopathology tasks?

Key findings

  • Equi-ViT achieves rotation accuracy of 86.8 ± 0.59 on rotated tests, outperforming Standard-ViT (83.1 ± 6.93) and Conv ViT (77.6 ± 7.32).
  • Equi-ViT surpasses E(2)-ViT (74.5 ± 5.1) in rotation robustness on the dataset.
  • Patch embedding with GMR-Conv yields near-perfect token alignment across rotations, unlike standard ViT token features.
  • The embedding module of Equi-ViT contains 0.79M parameters (3.0 MB), making it more memory-efficient than Conv ViT’s embedding (2.4M params, 9.1 MB).
  • Ablation shows [6, 11] GMR-Conv config yields best rotation performance (86.8 ± 0.59) versus other kernels or pure Conv embeddings.
  • Equi-ViT does not surpass CNN-based equivariant models in overall accuracy, likely due to ViT’s higher data requirements and parameterization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.