gregkseno commited on
Commit
634d9c7
·
1 Parent(s): 2a75063

Add readme

Browse files
Files changed (1) hide show
  1. README.md +91 -3
README.md CHANGED
@@ -1,3 +1,91 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div align="center">
2
+
3
+ # Entering the Era of Discrete Diffusion Models: A Benchmark for Schrödinger Bridges and Entropic Optimal Transport
4
+
5
+ [Xavier Aramayo](https://scholar.google.com/citations?user=1B9UIYoAAAAJ),
6
+ [Grigoriy Ksenofontov](https://scholar.google.com/citations?user=e0mirzYAAAAJ), [Aleksei Leonov](https://scholar.google.com/citations?user=gzj9nOcAAAAJ), [Iaroslav Koshelev](https://scholar.google.com/citations?user=gmaJRL4AAAAJ), [Alexander Korotin](https://scholar.google.ru/citations?user=1rIIvjAAAAAJ)
7
+
8
+ [![arXiv Paper](https://img.shields.io/badge/arXiv-2502.01416-b31b1b)](https://arxiv.org/abs/2509.23348)
9
+ [![OpenReview Paper](https://img.shields.io/badge/OpenReview-PDF-8c1b13)](https://openreview.net/forum?id=XcPDT615Gd)
10
+ [![GitHub](https://img.shields.io/github/stars/gregkseno/catsbench?style=social)](https://github.com/gregkseno/catsbench)
11
+ [![Hugging Face Model](https://img.shields.io/badge/🤗%20Hugging%20Face-view-green)](https://huggingface.co/gregkseno/catsbench)
12
+ ![GitHub License](https://img.shields.io/github/license/gregkseno/csbm)
13
+
14
+ </div>
15
+
16
+ This repository contains the benchmark checkpoints associated with the paper *"Entering the Era of Discrete Diffusion Models: A Benchmark for Schrödinger Bridges and Entropic Optimal Transport"*, accepted at **ICLR 2026**.
17
+
18
+ <!-- ![teaser](./images/teaser.png) -->
19
+
20
+ ## 📦 CatSBench (Package)
21
+
22
+ Benchmark usage is provided via `catsbench`, a standalone package that includes benchmark definitions, evaluation metrics, and reusable utilities, including a Triton-optimized log-sum-exp (LSE) matmul kernel.
23
+
24
+ ### 📥 Installation
25
+
26
+ Install the benchmark package via `pip`:
27
+
28
+ ```bash
29
+ pip install catsbench
30
+ ```
31
+
32
+ ### 🚀 Quickstart
33
+
34
+ Load a benchmark definition and its assets from a pretrained repository:
35
+
36
+ ```python
37
+ from catsbench import BenchmarkHD
38
+
39
+ bench = BenchmarkHD.from_pretrained(
40
+ "gregkseno/catsbench",
41
+ "hd_d2_s50_gaussian_a0.02_gaussian",
42
+ init_benchmark=False, # skip heavy initialization at load time
43
+ )
44
+ ```
45
+
46
+ To sample marginals $p_0$ and $p_1$:
47
+
48
+ ```python
49
+ x_start, x_end = bench.sample_input_target(32) # ([B=32, D=2], [B=32, D=2])
50
+ ```
51
+
52
+ Or sample them separately:
53
+
54
+ ```python
55
+ x_start = bench.sample_input(32) # [B=32, D=2]
56
+ x_end = bench.sample_target(32) # [B=32, D=2]
57
+ ```
58
+
59
+ > [!IMPORTANT]
60
+ > Both examples above sample independently, i.e., $(x_0, x_1) \sim p_0(x_0),p_1(x_1)$.
61
+
62
+ To sample from the ground-truth EOT/SB coupling, i.e., $(x_0, x_1) \sim p_0(x_0),q^*(x_1 | x_0)$, use:
63
+
64
+ ```python
65
+ x_start = bench.sample_input(32) # [B=32, D=2]
66
+ x_end = bench.sample(x_start) # [B=32, D=2]
67
+ ```
68
+
69
+ > [!NOTE]
70
+ > See the end-to-end benchmark workflow (initialization, evaluation, metrics, plotting) in [`notebooks/benchmark_usage.ipynb`](https://github.com/gregkseno/catsbench/blob/master/notebooks/benchmark_usage.ipynb).
71
+
72
+ ### 🎓 Citation
73
+
74
+ ```bibtex
75
+ @misc{
76
+ carrasco2025enteringeradiscretediffusion,
77
+ title={Entering the Era of Discrete Diffusion Models: A Benchmark for {Schr\"odinger} Bridges and Entropic Optimal Transport},
78
+ author={Xavier Aramayo Carrasco and Grigoriy Ksenofontov and Aleksei Leonov and Iaroslav Sergeevich Koshelev and Alexander Korotin},
79
+ year={2025},
80
+ eprint={2509.23348},
81
+ archivePrefix={arXiv},
82
+ primaryClass={cs.LG},
83
+ url={https://arxiv.org/abs/2509.23348},
84
+ }
85
+ ```
86
+
87
+ ## 🙏 Credits
88
+
89
+ - [Comet ML](https://www.comet.com) — experiment-tracking and visualization toolkit;
90
+ - [Inkscape](https://inkscape.org/) — an excellent open-source editor for vector graphics;
91
+ - [Hydra/Lightning template](https://github.com/ashleve/lightning-hydra-template) - project template used as a starting point.