Download README.md from sophtang/DBTM: direct link, hf CLI and curl.
- Browser
- Download file 4.71 kB
-
https://huggingface.co/sophtang/DBTM/resolve/main/README.md
- Command line
-
hf download hf://sophtang/DBTM/README.md
-
curl -L -o README.md https://huggingface.co/sophtang/DBTM/resolve/main/README.md
license: apache-2.0
library_name: pytorch
language:
- en
tags:
- discrete-beckmann-transport
- non-autoregressive
- language-modeling
- reasoning
- sudoku
- arxiv:2609.15903
Discrete Beckmann Transport Models for One-Step Language Modeling and Reasoning
Sophia Tang1,†, Shiyi Wang2,3,4
1 University of Pennsylvania
2 Harvard University · 3 Kempner Institute · 4 IAIFI
† Work done while a visiting researcher at Harvard University.
Project Page · Paper · Code · alphaXiv · Talk · Blog · BibTeX
DBTM learns a time-independent transport map directly from data. The map can generate in one network function evaluation (NFE). With more evaluations, the sampler commits confident tokens, re-noises the remaining positions, and applies the same map again. RIL denotes refinement-in-loop training.
Available Checkpoints
Language cells show reported generative perplexity and within-sequence unigram entropy at 4 network function evaluations (NFEs). Reasoning cells show exact-solve accuracy for Sudoku and final-answer accuracy for GSM8K.
| File | Dataset | Architecture | Size | Result |
|---|---|---|---|---|
lm1b_dit_dbtm.ckpt |
LM1B | DiT | 1.13 GB | 119.99 Gen-PPL (4.20 entropy) |
lm1b_dit_dbtm_ril.ckpt |
LM1B | DiT | 1.11 GB | 73.54 Gen-PPL (4.04 entropy) |
owt_dit_dbtm.ckpt |
OpenWebText | DiT | 1.38 GB | 123.1 Gen-PPL (5.18 entropy) |
owt_dit_dbtm_ril.ckpt |
OpenWebText | DiT | 1.38 GB | 115.5 Gen-PPL (5.42 entropy) |
owt_linear_dbtm.ckpt |
OpenWebText | Gated-delta linear attention | 1.42 GB | 52.2 Gen-PPL (5.26 entropy) |
owt_linear_dbtm_ril.ckpt |
OpenWebText | Gated-delta linear attention | 1.42 GB | 57.5 Gen-PPL (5.52 entropy) |
sudoku_easy_dit_dbtm_ril.ckpt |
Sudoku Easy | DiT | 247 MB | 99.50% / 99.90% at 4 / 16 NFEs |
sudoku_medium_dit_dbtm_ril.ckpt |
Sudoku Medium | DiT | 247 MB | 97.30% / 99.35% at 4 / 16 NFEs |
sudoku_hard_dit_dbtm_ril.ckpt |
Sudoku Hard | DiT | 247 MB | 85.60% / 97.30% at 4 / 16 NFEs |
tinygsm_dit_dbtm_ril.ckpt |
TinyGSM → GSM8K | DiT | 1.36 GB | 16.76% at 32 NFEs |
Sudoku Hard uses step 142,880, a later snapshot than the paper’s step 132,853. The OpenWebText results above are paper values. Local reruns at 1, 2, and 4 NFEs differed from the reported values by at most 1.22% in Gen-PPL and 0.010 in entropy.
The files contain model and EMA weights for evaluation with the corresponding code and config. Optimizer state and training configuration are kept in the original training checkpoints.
Usage
Run these commands from your DBTM release checkout after installing the dependencies in the code README.
hf download sophtang/DBTM owt_linear_dbtm_ril.ckpt --local-dir checkpoints
python -m dbtm.evaluate experiment=owt_lin_ril \
eval.checkpoint_path="$PWD/checkpoints/owt_linear_dbtm_ril.ckpt" \
seed=1 eval.num_samples=1024 eval.batch_size=16 'eval.rounds=[1,2,4]' \
sampling.refinement_threshold=0.3 sampling.repetition_penalty=1.0 \
sampling.temperature=0.0 sampling.refinement_fresh_noise=true
For GSM8K, download tinygsm_dit_dbtm_ril.ckpt into checkpoints/ and run ROUNDS=32 bash tinygsm/scripts/eval_phi_atm_tinygsm_nfe.sh.
Training Details
| Task | Model | Tokenizer | Sequence length |
|---|---|---|---|
| LM1B | 12-block DiT | bert-base-uncased |
128 |
| OpenWebText | 12-block DiT or 9 gated-delta and 3 attention blocks | GPT-2 | 1,024 |
| Sudoku | 8-block DiT with width 512 | 12 puzzle tokens | 180 |
| TinyGSM | 12-block DiT | SmolLM-135M | 512 |
The base objective combines transport, boundary, and anchor losses on a partial-context interpolant. Language RIL uses self-distillation. Sudoku RIL uses oracle-agreement rollouts, committing true digits in the cells where the predicted distribution agrees most with the solution. OpenWebText RIL starts from the 52.5k linear and 62.5k DiT base checkpoints.
Citation
@article{tang2026discrete,
title={Discrete Beckmann Transport Models for One-Step Language Modeling and Reasoning},
author={Sophia Tang and Shiyi Wang},
journal={arXiv preprint arXiv:2609.15903},
year={2026},
url={https://arxiv.org/abs/2609.15903}
}
License
The DBTM model weights are licensed under Apache 2.0.
