English

FlowLensing: Simulating Gravitational Lensing with Flow Matching

Instrumentation and Methods for Astrophysics 2025-11-17 v3 Computer Vision and Pattern Recognition

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 FlowLensing, a Diffusion Transformer-based compact and efficient flow-matching model for strong gravitational lensing simulation. 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. FlowLensing enables rapid, scalable, and physically consistent image synthesis, offering a practical alternative to traditional forward-modeling pipelines.

Keywords

Cite

@article{arxiv.2510.07878,
  title  = {FlowLensing: Simulating Gravitational Lensing with Flow Matching},
  author = {Hamees Sayed and Pranath Reddy and Michael W. Toomey and Sergei Gleyzer},
  journal= {arXiv preprint arXiv:2510.07878},
  year   = {2025}
}

Comments

6 pages, 2 figures, 3 tables

R2 v1 2026-07-01T06:25:56.189Z