DiScoFormer: Plug-In Density and Score Estimation with Transformers
Not on the map. Why?
Abstract (arXiv)
Estimating probability density and its score from samples remains a core problem in generative modeling, Bayesian inference, and kinetic theory. Existing methods are bifurcated: classical kernel density estimators (KDE) generalize across distributions but suffer from the curse of dimensionality, while modern neural score models achieve high precision but require retraining for every target distribution. We introduce DiScoFormer (Density and Score Transformer), a ``train-once, infer-anywhere" equivariant Transformer that maps i.i.d. samples to both density values and score vectors, generalizing across distributions and sample sizes. Analytically, we prove that self-attention can recover normalized KDE, establishing it as a functional generalization of kernel methods; empirically, individual attention heads learn multi-scale, kernel-like behaviors. The model converges faster and achieves higher precision than KDE for density estimation, and provides a high-fidelity plug-in score oracle for score-debiased KDE, Fisher information computation, and Fokker-Planck-type PDEs.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 33 of its 54 references that are in the map. First posted on arXiv 8 Nov 2025.
Builds on
33 of 54 references.
References · 33
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2020Denoising Diffusion Implicit Modelscited by 9,655
- 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
- 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,067
- 2022Elucidating the Design Space of Diffusion-Based Generative Modelscited by 2,994
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
- 2020Fourier Neural Operator for Parametric Partial Differential Equationscited by 2,806
- 2015Variational Inference with Normalizing Flowscited by 2,161
- 2016Density estimation using Real NVPcited by 2,029
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2022DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Stepscited by 1,961
- 2020Rethinking Attention with Performerscited by 1,584
21 more
- 2017Deep Setscited by 1,394
- 2017Masked Autoregressive Flow for Density Estimationcited by 680
- 2021Perceiver IO: A General Architecture for Structured Inputs & Outputscited by 616
- 2016Stein Variational Gradient Descent: A General Purpose Bayesian Inference Algorithmcited by 498
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
- 2022Sampling is as easy as learning the score: theory for diffusion models with minimal data assumptionscited by 440
- 2019Sliced Score Matching: A Scalable Approach to Density and Score Estimationcited by 381
- 2018Invariant and Equivariant Graph Networkscited by 339
- 2018Neural Processescited by 307
- 2022Test-Time Training with Masked Autoencoderscited by 208
- 2017Stein Variational Gradient Descent as Gradient Flowcited by 149
- 2023The probability flow ODE is provably fastcited by 145
- 2021SOFT: Softmax-free Transformer with Linear Complexitycited by 128
- 2016Towards a Neural Statisticiancited by 119
- 2020Interacting particle solutions of Fokker-Planck equations through gradient-log-density estimationcited by 87
- 2019On the geometry of Stein variational gradient descentcited by 82
- 2023Score-based Transport Modeling for Mean-Field Fokker-Planck Equationscited by 13
- 2024Universal Approximation of Mean-Field Models via Transformerscited by 7
- 2024Transport based particle methods for the Fokker-Planck-Landau equationcited by 4
- 2025Score-based deterministic density samplingcited by 4
- 2024Score Neural Operator: A Generative Model for Learning and Generalizing Across Multiple Probability Distributionscited by 2
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026One Operator for Many Densities: Amortized Approximation of Conditioning by Neural Operatorscited by 2
- 2026A Neural Score-Based Particle Method for the Vlasov-Maxwell-Landau Systemcited by 0
- 2026Adaptive Kernel Density Estimation with Pre-trainingcited by 0
- 2026Support-Conditioned Flow Matching Is Kernel Smoothingcited by 0
- 2026When Less Compute Is More: Adaptive Early Exit Improves Pretrained Outlier Detectioncited by 0
- 2026When Less Compute Is More: Adaptive Early Exit Improves Pretrained Outlier Detection26 Sep 2026
- 2026Support-Conditioned Flow Matching Is Kernel Smoothing13 May 2026
- 2026Adaptive Kernel Density Estimation with Pre-training13 May 2026
- 2026One Operator for Many Densities: Amortized Approximation of Conditioning by Neural Operators7 May 2026
- 2026A Neural Score-Based Particle Method for the Vlasov-Maxwell-Landau System26 Mar 2026