ViTCAE: ViT-based Class-conditioned Autoencoder
Abstract
Vision Transformer (ViT) based autoencoders often underutilize the global Class token and employ static attention mechanisms, limiting both generative control and optimization efficiency. This paper introduces ViTCAE, a framework that addresses these issues by re-purposing the Class token into a generative linchpin. In our architecture, the encoder maps the Class token to a global latent variable that dictates the prior distribution for local, patch-level latent variables, establishing a robust dependency where global semantics directly inform the synthesis of local details. Drawing inspiration from opinion dynamics, we treat each attention head as a dynamical system of interacting tokens seeking consensus. This perspective motivates a convergence-aware temperature scheduler that adaptively anneals each head's influence function based on its distributional stability. This process enables a principled head-freezing mechanism, guided by theoretically-grounded diagnostics like an attention evolution distance and a consensus/cluster functional. This technique prunes converged heads during training to significantly improve computational efficiency without sacrificing fidelity. By unifying a generative Class token with an adaptive attention mechanism rooted in multi-agent consensus theory, ViTCAE offers a more efficient and controllable approach to transformer-based generation.
Empirical ResultsBrowse all benchmarks →
| Benchmark | Method | Metric | Score | Protocol / Evidence |
|---|---|---|---|---|
| TinyImageNet · Tiny ImageNet | ViTCAE, TA | Acc. | 92.87% | Temperature Adjustment control-strategy comparison; evaluation split not stated.Source quoteL289: Tiny ImageNet │ TA (Ours) │ 4 │ 196 │ 92.87 |
| TinyImageNet · Tiny ImageNet | Baseline (without control) | Acc. | 85.33% | Temperature Adjustment control-strategy comparison; evaluation split not stated.Source quoteL290: Tiny ImageNet │ Baseline │ 12 │ 196 │ 85.33 [0.3em] |
| CIFAR-10 | ViTCAE, TA | Acc. | 82.33% | Temperature Adjustment control-strategy comparison; evaluation split not stated.Source quoteL292: CIFAR-10 │ TA (Ours) │ 0 │ 60 │ 82.33 |
| CIFAR-10 | Baseline (without control) | Acc. | 79.01% | Temperature Adjustment control-strategy comparison; evaluation split not stated.Source quoteL293: CIFAR-10 │ Baseline │ 4 │ 60 │ 79.01 [0.3em] |
| CelebA Face | ViTCAE, TA | Acc. | 89.67% | Temperature Adjustment control-strategy comparison; evaluation split not stated.Source quoteL295: CelebA Face │ TA (Ours) │ 3 │ 138 │ 89.67 |
| CelebA Face | Baseline (without control) | Acc. | 81.91% | Temperature Adjustment control-strategy comparison; evaluation split not stated.Source quoteL296: CelebA Face │ Baseline │ 8 │ 138 │ 81.91 |
BibTeX
@misc{jebraeeli2025vitcae,
author = {Vahid Jebraeeli and Hamid Krim and Derya Cansever},
title = {{ViTCAE: ViT-based Class-conditioned Autoencoder}},
year = {2025},
eprint = {2509.16554},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2509.16554},
}Ask Althea to put this paper to the test.