Exploring Compositionality in Vision Transformers using Wavelet Representations

Akshad Shyam Purushottamdas, Pranav K Nayak, Divya Mehul Rajparia, Deekshith Patel, Yashmitha Gogineni +2 more
12/30/2025
cs.CV

No confident code implementation found for this paper.

Abstract

While insights into the workings of the transformer model have largely emerged by analysing their behaviour on language tasks, this work investigates the representations learnt by the Vision Transformer (ViT) encoder through the lens of compositionality. We introduce a framework, analogous to prior work on measuring compositionality in representation learning, to test for compositionality in the ViT encoder. Crucial to drawing this analogy is the Discrete Wavelet Transform (DWT), which is a simple yet effective tool for obtaining input-dependent primitives in the vision setting. By examining the ability of composed representations to reproduce original image representations, we empirically test the extent to which compositionality is respected in the representation space. Our findings show that primitives from a one-level DWT decomposition produce encoder representations that approximately compose in latent space, offering a new perspective on how ViTs structure information.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{purushottamdas2025exploring,
  title  = {Exploring Compositionality in Vision Transformers using Wavelet Representations},
  author = {Akshad Shyam Purushottamdas and Pranav K Nayak and Divya Mehul Rajparia and Deekshith Patel and Yashmitha Gogineni and Konda Reddy Mopuri and Sumohana S. Channappayya},
  year   = {2025},
  eprint = {2512.24438},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.24438v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.24438.svg)](https://codeofpaper.com/paper/2512.24438)

Discussion