FlowLensing: Simulating Gravitational Lensing with Flow Matching

Published: 06 Dec 2025, Last Modified: 13 Nov 2025NeurIPSEveryoneCC BY 4.0
Abstract: Gravitational lensing is one of the most powerful probes of dark matter, yet creating high-fidelity lensed images at scale remains a bottleneck. Existing tools rely on ray-tracing or forward-modeling pipelines that, while precise, are prohibitively slow. We introduce $\texttt{FlowLensing}$, a Diffusion Transformer-based compact and efficient flow-matching model for strong gravitational lensing simulation. $\texttt{FlowLensing}$ operates in both discrete and continuous regimes, handling classes such as different dark matter models as well as continuous model parameters ensuring physical consistency. By enabling scalable simulations, our model can advance dark matter studies, specifically for probing dark matter substructure in cosmological surveys. We find that our model achieves a speedup of over 200$\times$ compared to classical simulators for intensive dark matter models, with high fidelity and low inference latency. $\texttt{FlowLensing}$ enables rapid, scalable, and physically consistent image synthesis, offering a practical alternative to traditional forward-modeling pipelines.
Loading