Skip to content
T-S-LiangPublic

About

Official implementation for SAGE: Salient Factor Discovery And Generation with Visual Foundation Representations

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

SAGE logo

SAGE: Salient Factor Discovery and Generation with Visual Foundation Representations

Page Paper Code License: MIT

Shuang Liang1,2†, Lejun Liao2†, Shiyuan Zhang2,3†, Max C. Zhang2, Xiaolong Luo4, Han Wang1, Stefano Anzellotti2, Yuan Yuan2*

Preprint 2026

1The University of Hong Kong, 2Boston College, 3University of Virginia, 4Harvard University

†Equal contribution. *Corresponding author.

Discover · Disentangle · Generate

We will release our code upon the acceptance of our paper.


📢 News

  • [2026-Sep-30] 📄 Our paper is available on arXiv.

🚀 Code Release

We will release our code upon the acceptance of our paper.

  • Code release upon paper acceptance.

🔥 Highlights

SAGE separates shared common factors from target-specific salient factors in visual foundation representations, connecting contrastive analysis with reference-guided generation.

  • ✅ Subtype discovery without subtype labels: Learn from background/target dataset membership and uncover digit identities, eyewear styles, and retinal OCT disease subtypes.
  • ✅ High-fidelity reconstruction: Achieve reconstruction FID of 1.78 on Digits-ImageNet and 1.65 on FFHQ eyeglasses.
  • ✅ Generation from a visual reference: Use the reference's salient representation to generate new content with the same subtype, without a text description.
  • ✅ Interpretable factor manipulation: Transfer, remove, and interpolate salient attributes while keeping the common representation fixed.
SAGE overview: reconstruction, subtype discovery, and salient-conditioned generation

🧩 Method Overview

SAGE uses a two-stage framework:

  1. Discover common and salient factors. Learn separate encoders in the spatial latent of a frozen representation autoencoder. Reconstruction, adversarial swapping, sparsity, and cycle consistency encourage informative, distinct factors.
  2. Generate from a salient reference. Globally max-pool the learned salient representation and use it to condition a diffusion transformer, allowing common content to vary across generated images.
Stage 1: common and salient factor discovery

Stage 2: salient-conditioned diffusion generation

🎨 Visualization

Reconstruction and Factor Separation

Full, common-only, and salient-only reconstructions visualize what each factor captures.

Reconstruction and factor separation on Digits-ImageNet and FFHQ

Unsupervised Subtype Discovery

The salient space reveals digit and eyewear subtypes, including finer sunglasses styles and mislabeled images.

Salient representation visualizations for subtype discovery

Attribute Transfer and Removal

Swap salient factors to transfer attributes, or set the salient factor to zero to remove them.

Digit and eyeglasses attribute transfer and removal

Salient-Conditioned Generation

Generate diverse scenes and faces guided by a reference's digit or eyewear subtype. On Digits-ImageNet, subtype accuracy improves from 27.70% with raw DINOv3 conditioning to 90.48% with SAGE. On FFHQ, diversity increases while subtype accuracy is slightly lower (96.6% vs. 98.5%).

Reference-guided generation with raw DINOv3 features and SAGE salient factors

More results, including interpolation and retinal OCT experiments, are available on the project page and in the paper.


🎓 Citation

If you find SAGE useful in your research, please consider citing:

@misc{liang2026sage,
  title={{SAGE}: Salient Factor Discovery and Generation with Visual Foundation Representations},
  author={Liang, Shuang and Liao, Lejun and Zhang, Shiyuan and Zhang, Max C. and Luo, Xiaolong and Wang, Han and Anzellotti, Stefano and Yuan, Yuan},
  year={2026},
  eprint={2609.39635},
  archivePrefix={arXiv},
  primaryClass={cs.CV},
  url={https://arxiv.org/abs/2609.39635}
}

📄 License

This repository is licensed under the MIT License.


📧 Contact

For questions, suggestions, or collaboration inquiries:


⭐ Star us on GitHub to follow future updates!

🌐 Website | 📄 Paper | 🚀 Code Release

About

Official implementation for SAGE: Salient Factor Discovery And Generation with Visual Foundation Representations

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors