Papers › Lossless, Scalable Implicit Likelihood Inference for Cosmological Fields

Lossless, Scalable Implicit Likelihood Inference for Cosmological Fields

15 Jul 2021arXiv:2107.07405links table onlyarchive 2025-07-28

T. Lucas Makinen, Tom Charnock, Justin Alsing, Benjamin D. Wandelt

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.

We present a comparison of simulation-based inference to full, field-based analytical inference in cosmological data analysis. To do so, we explore parameter inference for two cases where the information content is calculable analytically: Gaussian random fields whose covariance depends on parameters through the power spectrum; and correlated lognormal fields with cosmological power spectra. We compare two inference techniques: i) explicit field-level inference using the known likelihood and ii) implicit likelihood inference with maximally informative summary statistics compressed via Information Maximising Neural Networks (IMNNs). We find that a) summaries obtained from convolutional neural network compression do not lose information and therefore saturate the known field information content, both for the Gaussian covariance and the lognormal cases, b) simulation-based inference using these maximally informative nonlinear summaries recovers nearly losslessly the exact posteriors of field-level inference, bypassing the need to evaluate expensive likelihoods or invert covariance matrices, and c) even for this simple example, implicit, simulation-based likelihood incurs a much smaller computational cost than inference with an explicit likelihood. This work uses a new IMNNs implementation in Jax that can take advantage of fully-differentiable simulation and inference pipeline. We also demonstrate that a single retraining of the IMNN summaries effectively achieves the theoretically maximal information, enhancing the robustness to the choice of fiducial model where the IMNN is trained.

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="2107.07405")

Code

Syntology Ran 0 of 8 code samples harvested from 2 repositories linked to this paper; 8 have no recorded run.

By repository: official repository: 2 samples from 1 repository, 0 ran; community (archive-listed): 6 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

tlmakinen/kosmo-kompress officialmentioned on GitHubjaxApache-2.0 report
tlmakinen/cosmicgraphs mentioned on GitHubjaxMIT report
tlmakinen/powerbox-jax mentioned on GitHubjaxApache-2.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

8 samples harvested; 0 ran; 0 honoured the contract we drafted; 8 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.

8unverified

Licence: 0 of the 8 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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.

InceptBlock tlmakinen/kosmo-kompress/fields/3d-conv-stax.py official repository unverified Apache-2.0 (permissive) · d830c550e9c9d82c · report
InceptBlock2 tlmakinen/kosmo-kompress/fields/3d-conv-stax.py official repository unverified Apache-2.0 (permissive) · bb0079e95e922d84 · report
angular_average tlmakinen/powerbox-jax/powerbox_jax/tools.py community (archive-listed) unverified Apache-2.0 (permissive) · a6a84664aa9a3e0f · report
angular_average_nd tlmakinen/powerbox-jax/powerbox_jax/tools.py community (archive-listed) unverified Apache-2.0 (permissive) · 82666e7bb4e4b807 · report
fft tlmakinen/powerbox-jax/powerbox_jax/dft.py community (archive-listed) unverified Apache-2.0 (permissive) · 5f4891cdc0e79720 · report
fftshift tlmakinen/powerbox-jax/powerbox_jax/dft.py community (archive-listed) unverified Apache-2.0 (permissive) · f17b2879eb430740 · report
get_power tlmakinen/powerbox-jax/powerbox_jax/tools.py community (archive-listed) unverified Apache-2.0 (permissive) · dd412f30d0111417 · report
ifft tlmakinen/powerbox-jax/powerbox_jax/dft.py community (archive-listed) unverified Apache-2.0 (permissive) · 601dc9092738ee00 · 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