TopoDiffusionNet: A Topology-aware Diffusion Model

Saumya Gupta, D. Samaras, Chao Chen
2/12/2026

No official code found. Best implementation: Saumya-Gupta-26/TopoDiffusionNet (28 stars, MIT, last commit 2025-04-17).

Abstract

Diffusion models excel at creating visually impressive images but often struggle to generate images with a specified topology. The Betti number, which represents the number of structures in an image, is a fundamental measure in topology. Yet, diffusion models fail to satisfy even this basic constraint. This limitation restricts their utility in applications requiring exact control, like robotics and environmental modeling. To address this, we propose TopoDiffusionNet (TDN), a novel approach that enforces diffusion models to maintain the desired topology. We leverage tools from topological data analysis, particularly persistent homology, to extract the topological structures within an image. We then design a topology-based objective function to guide the denoising process, preserving intended structures while suppressing noisy ones. Our experiments across four datasets demonstrate significant improvements in topological accuracy. TDN is the first to integrate topology with diffusion models, opening new avenues of research in this area. Code available at https://github.com/Saumya-Gupta-26/TopoDiffusionNet

View on arXivView PDF

Code Implementations(1)

MIT

This repository contains the implementation for our work "TopoDiffusionNet: A Topology-aware Diffusion Model", accepted to ICLR 2025.

281PythonFeb 3, 20251 years agoMIT

Similar Papers

Cite this paper

@article{gupta2026topodiffusionnet,
  title  = {TopoDiffusionNet: A Topology-aware Diffusion Model},
  author = {Saumya Gupta and D. Samaras and Chao Chen},
  year   = {2026},
  eprint = {2410.16646},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2410.16646},
  journal = {ICLR 2024 2024}
}

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

Discussion