Direct Ascent Synthesis: Revealing Hidden Generative Capabilities in Discriminative Models

Stanislav Fort, Jonathan Whitaker
2/11/2025
cs.CV

No official code found. Best implementation: stanislavfort/Direct_Ascent_Synthesis (42 stars, AGPL-3.0, last commit 2025-03-05).

Abstract

We demonstrate that discriminative models inherently contain powerful generative capabilities, challenging the fundamental distinction between discriminative and generative architectures. Our method, Direct Ascent Synthesis (DAS), reveals these latent capabilities through multi-resolution optimization of CLIP model representations. While traditional inversion attempts produce adversarial patterns, DAS achieves high-quality image synthesis by decomposing optimization across multiple spatial scales (1x1 to 224x224), requiring no additional training. This approach not only enables diverse applications -- from text-to-image generation to style transfer -- but maintains natural image statistics ($1/f^2$ spectrum) and guides the generation away from non-robust adversarial patterns. Our results demonstrate that standard discriminative models encode substantially richer generative knowledge than previously recognized, providing new perspectives on model interpretability and the relationship between adversarial examples and natural image synthesis.

View on arXivView PDF

Code Implementations(1)

AGPL-3.0

A demo for the Direct Ascent Synthesis: Hidden Generative Capabilities in Discriminative Models paper (https://arxiv.org/abs/2502.07753)

421Jupyter NotebookFeb 16, 20251 years agoAGPL-3.0

Similar Papers

Cite this paper

@article{fort2025direct,
  title  = {Direct Ascent Synthesis: Revealing Hidden Generative Capabilities in Discriminative Models},
  author = {Stanislav Fort and Jonathan Whitaker},
  year   = {2025},
  eprint = {2502.07753},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.07753v1}
}

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/2502.07753.svg)](https://codeofpaper.com/paper/2502.07753)

Discussion