Papers › Simulating images of radio galaxies with diffusion models

Simulating images of radio galaxies with diffusion models

10 Oct 2024arXiv:2410.07794links table onlyarchive 2025-07-28

Tobias Vičánek Martínez, Nicolás Barón Pérez, Marcus Brüggen

The archive published only this paper's code-link row. Authors, date and abstract are from arXiv's metadata (CC0), read from the Kaggle arXiv metadata snapshot of 2026-09-12 where its title matched the archive's; the title is the archive's.

With increasing amounts of data in astronomy, automated analysis methods have become crucial. Synthetic data are required for developing and testing such methods. Current simulations often suffer from insufficient detail or inaccurate representation of source type occurrences. To overcome those deficiencies, we implemented a deep generative model trained on observations to generate realistic radio galaxy images with full control over the flux and source morphology. We used a diffusion model, trained with continuous time steps to reduce sampling time without quality impairments. Two models were trained on two different datasets, respectively. One set was a selection of images from the second data release of the LOFAR Two-Metre Sky Survey (LoTSS). The model is conditioned on peak flux values to preserve signal intensity information after re-scaling image pixel values. The other, smaller set was obtained from the VLA survey of Faint Images of the Radio Sky at Twenty-Centimeters (FIRST). In that set, every image was provided with a morphological class label the corresponding model was conditioned on. Conditioned sampling is realized with classifier-free diffusion guidance. We evaluated the quality of generated images by comparing distributions of different quantities over the real and generated data, including results from the standard source-finding algorithms. The class conditioning was evaluated by training a classifier and comparing its performance on both real and generated data. We were able to generate realistic images of high quality using 25 sampling steps, which is unprecedented in the field of radio astronomy. The generated images are visually indistinguishable from the training data and the distributions of different image metrics were replicated. The classifier performs equally well for real and generated images, indicating strong sampling control over morphological properties.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2410.07794")

Code

Syntology Ran 10 of 13 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 10 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

tmartinezML/LOFAR-Diffusion officialmentioned in papermentioned on GitHubpytorchGPL-3.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 10 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

10ran
3unverified

Licence: 13 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from tmartinezML/LOFAR-Diffusion. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

clamp_tensor tmartinezML/LOFAR-Diffusion/src/model/layers.py official repository ran fingerprinted GPL-3.0 (copyleft) · pointer only · d4c9642cc7c34b56 · report
denoised_guided tmartinezML/LOFAR-Diffusion/src/model/diffusion.py official repository ran GPL-3.0 (copyleft) · pointer only · 1d7296a67ecfd1e0 · report
edm_loss tmartinezML/LOFAR-Diffusion/src/training/train_utils.py official repository ran GPL-3.0 (copyleft) · pointer only · 865b92a662a6ff3a · report
get_logger tmartinezML/LOFAR-Diffusion/src/utils/logging.py official repository ran GPL-3.0 (copyleft) · pointer only · b4720eb5bbc00d40 · report
get_power_ema_avg_fn tmartinezML/LOFAR-Diffusion/src/training/train_utils.py official repository ran GPL-3.0 (copyleft) · pointer only · d8aa9fe28994d066 · report
get_sampling_noise_levels tmartinezML/LOFAR-Diffusion/src/model/diffusion.py official repository ran GPL-3.0 (copyleft) · pointer only · 35d9d4f91b7cc480 · report
isModel tmartinezML/LOFAR-Diffusion/src/model/model_utils.py official repository ran GPL-3.0 (copyleft) · pointer only · 8f99f3f766049e9a · report
sample_sigmas tmartinezML/LOFAR-Diffusion/src/training/train_utils.py official repository ran GPL-3.0 (copyleft) · pointer only · 9a02e82b6fddbc71 · report
upsample tmartinezML/LOFAR-Diffusion/src/model/layers.py official repository ran GPL-3.0 (copyleft) · pointer only · 46553cf807695847 · report
zero_module tmartinezML/LOFAR-Diffusion/src/model/layers.py official repository ran GPL-3.0 (copyleft) · pointer only · 50790859f4a6a562 · report
plot_image_grid tmartinezML/LOFAR-Diffusion/src/plotting/image_plots.py official repository unverified GPL-3.0 (copyleft) · pointer only · a95137f048be48c0 · report
plot_image_grid_from_file tmartinezML/LOFAR-Diffusion/src/plotting/image_plots.py official repository unverified GPL-3.0 (copyleft) · pointer only · c3b5237e4b43532b · report
random_image_grid tmartinezML/LOFAR-Diffusion/src/plotting/image_plots.py official repository unverified GPL-3.0 (copyleft) · pointer only · 5b72d2e981bf603f · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections