pith. machine review for the scientific record. sign in

arxiv: 2604.24654 · v2 · submitted 2026-04-27 · 🌌 astro-ph.CO · gr-qc· hep-ph· hep-th

Recognition: unknown

SWIM: Stochastic Warm Inflation Module to generate and analyse Warm Inflationary power spectrum

Suratna Das, Umang Kumar

Pith reviewed 2026-05-08 01:33 UTC · model grok-4.3

classification 🌌 astro-ph.CO gr-qchep-phhep-th
keywords warm inflationpower spectrumstochastic perturbationsnumerical integrationmachine learningMCMC parameter estimationCMB constraintscosmological models
0
0 comments X

The pith

SWIM numerically solves the full stochastic perturbation equations of Warm Inflation to generate power spectra for arbitrary potentials and dissipative coefficients.

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The paper introduces SWIM, a C++ and Python module that generates the scalar power spectrum in Warm Inflation either through semi-analytical approximations or by directly solving the stochastic perturbation equations without approximations. It integrates with the Cobaya MCMC sampler and uses machine learning to accelerate parameter estimation against CMB data, while handling any form of inflationary potential. This matters for cases where semi-analytical spectra become inaccurate, as the full numerical approach then becomes necessary for reliable constraints. SWIM is presented as the only available code equipped to perform this complete numerical task and is shown to run faster than prior semi-analytical tools in most situations.

Core claim

SWIM solves the standard stochastic perturbation equations of Warm Inflation numerically without approximations, employs machine learning to reduce the cost of MCMC sampling on the full numerical spectrum, and accommodates any Warm Inflation model with arbitrary potentials and dissipative coefficients, enabling parameter constraints with current CMB data in regimes where semi-analytical methods fall short.

What carries the argument

The SWIM module that numerically integrates the stochastic perturbation equations and substitutes a machine learning surrogate for rapid power spectrum evaluation inside MCMC chains.

If this is right

  • Any Warm Inflation model with arbitrary potential can now be tested directly against CMB observations using the full numerical power spectrum.
  • MCMC runs on the complete numerical spectrum become feasible at reduced computational cost through the machine learning acceleration.
  • Situations previously inaccessible because semi-analytical spectra were inadequate can now be analyzed for parameter estimation.
  • Runtime comparisons show SWIM outperforms existing semi-analytical numerical codes in most tested cases.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • The availability of unbiased numerical spectra may reveal systematic offsets in earlier constraints derived from semi-analytical approximations.
  • Similar full-numerical stochastic pipelines could be developed for other early-universe scenarios where perturbative approximations break down.
  • SWIM's public release lowers the barrier for exploring Warm Inflation parameter space that was previously computationally prohibitive.

Load-bearing premise

The machine learning surrogate reproduces the fully numerical power spectrum accurately enough that MCMC constraints remain unbiased, and the C++ integrator remains stable for arbitrary potentials without hidden convergence issues.

What would settle it

Compute posterior constraints on a Warm Inflation model using both the semi-analytical and full numerical spectra from SWIM on the same CMB dataset and check whether the parameter posteriors shift beyond statistical errors.

read the original abstract

Numerical analysis to determine the form of the scalar power spectrum in Warm Inflationary paradigm is inevitable. One further needs numerical techniques to analyse any Warm Inflation model with the current observational data through the MCMC codes that are available publicly, like COSMOMC or Cobaya. We present SWIM (Stochastic Warm Inflation Module) written in C++ and Python, that not only helps generate the Warm Inflationary scalar power spectrum, either semi-analytically or fully numerically, but also is integrated with Cobaya enabling the user to constrain the model parameters with current CMB data and thus to put any Warm Inflation model to test. SWIM numerically solves the standard stochastic perturbation equations of Warm Inflation without any approximations, uses machine learning techniques to speed up the MCMC analysis while analysing the fully numerical power spectrum that significantly reduces the computational cost, and is able to accommodate any Warm Inflation model with any form of inflationary potential and dissipative coefficient for numerical analysis. We show that SWIM, in most of the cases, outperforms other numerical codes on Warm Inflation that are designed to yield only the semi-analytical power spectrum as far as the runtimes are concerned. We further point out that there can be situations where the semi-analytical way of determining the scalar power spectrum in Warm Inflation can fall short, and one needs the full numerical power spectrum for parameter estimation given the observational data. In such cases, SWIM is the only code available so far that is designed to perform the task. Hence, SWIM offers a complete numerical platform for thorough analysis of Warm Inflation models against the current cosmological data. SWIM has been made publicly available at https://github.com/umg-kmr/SWIM.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

3 major / 2 minor

Summary. The paper introduces SWIM, a publicly available C++ and Python module integrated with Cobaya, that generates the Warm Inflation scalar power spectrum either semi-analytically or via full numerical solution of the stochastic perturbation equations for arbitrary inflationary potentials and dissipative coefficients. It claims the numerical solver operates without approximations, employs machine-learning surrogates to accelerate MCMC parameter estimation against CMB data while preserving the fully numerical spectrum, outperforms existing semi-analytical codes in runtime for most cases, and is uniquely positioned for models where semi-analytical approximations are insufficient.

Significance. If the numerical integrator and ML surrogate are shown to be accurate and stable, SWIM would provide a valuable, flexible platform for confronting Warm Inflation models with current data in regimes where analytic approximations break down, addressing a practical gap in available tools for full stochastic analysis.

major comments (3)
  1. Abstract: The central claim that the C++ integrator 'numerically solves the standard stochastic perturbation equations of Warm Inflation without any approximations' is load-bearing for the entire utility of the code, yet the manuscript provides no convergence tests, error budgets, or comparisons against known analytic limits (e.g., weak-dissipation or constant-dissipation cases) to substantiate this.
  2. Abstract: The assertion that machine-learning techniques 'speed up the MCMC analysis while analysing the fully numerical power spectrum' without introducing bias is critical to the claimed computational advantage, but no quantitative validation (cross-validation error, surrogate-induced shifts in posterior parameters, or tests on edge-case potentials) is reported to confirm that MCMC constraints remain unbiased.
  3. Abstract: The statement that SWIM 'is the only code available so far' for cases requiring the full numerical power spectrum is presented without a systematic comparison to other existing numerical Warm Inflation implementations, leaving the uniqueness claim unsupported.
minor comments (2)
  1. The abstract and description would benefit from explicit citation of the stochastic equations being solved (e.g., the form of the curvature perturbation equation and noise terms) to allow readers to verify the implementation scope.
  2. Runtime comparisons with other codes should specify the hardware, model parameters, and number of MCMC samples used to make the performance claims reproducible.

Simulated Author's Rebuttal

3 responses · 0 unresolved

We thank the referee for their careful and constructive review of our manuscript. We address each major comment point by point below. We agree that additional explicit validations will strengthen the presentation of the numerical methods and will incorporate the requested material in the revised version.

read point-by-point responses
  1. Referee: Abstract: The central claim that the C++ integrator 'numerically solves the standard stochastic perturbation equations of Warm Inflation without any approximations' is load-bearing for the entire utility of the code, yet the manuscript provides no convergence tests, error budgets, or comparisons against known analytic limits (e.g., weak-dissipation or constant-dissipation cases) to substantiate this.

    Authors: We appreciate the referee pointing out the need for stronger substantiation of the numerical integrator. Section 3 of the manuscript describes the stochastic perturbation equations and the C++ implementation of the solver, while Section 5 presents runtime benchmarks against semi-analytical codes. We acknowledge, however, that dedicated convergence tests, error budgets, and direct comparisons to analytic limits are not presented in sufficient detail. In the revised manuscript we will add a new subsection with explicit convergence studies, including relative error plots versus time-step size and spatial resolution, together with comparisons to known analytic results in the weak-dissipation regime and for constant dissipation coefficients. revision: yes

  2. Referee: Abstract: The assertion that machine-learning techniques 'speed up the MCMC analysis while analysing the fully numerical power spectrum' without introducing bias is critical to the claimed computational advantage, but no quantitative validation (cross-validation error, surrogate-induced shifts in posterior parameters, or tests on edge-case potentials) is reported to confirm that MCMC constraints remain unbiased.

    Authors: We thank the referee for this important observation on the ML surrogate validation. The manuscript (Section 4) explains the construction of the surrogate and its use within Cobaya to accelerate sampling while retaining the full numerical spectrum. Quantitative diagnostics such as cross-validation errors and posterior-shift tests are indeed not reported. We will add these in the revision: a table of cross-validation errors across the training domain, a direct comparison of MCMC posteriors obtained with and without the surrogate for at least one benchmark model, and results for an edge-case potential to demonstrate that parameter constraints remain unbiased within the reported uncertainties. revision: yes

  3. Referee: Abstract: The statement that SWIM 'is the only code available so far' for cases requiring the full numerical power spectrum is presented without a systematic comparison to other existing numerical Warm Inflation implementations, leaving the uniqueness claim unsupported.

    Authors: We agree that the uniqueness statement would be better supported by an explicit comparison. Our claim rests on the fact that, to our knowledge, no other publicly available code solves the full stochastic perturbation equations numerically for arbitrary potentials and dissipation forms while also providing direct MCMC integration. Nevertheless, we will include in the revised manuscript a comparison table that systematically lists the capabilities of existing Warm Inflation tools (semi-analytical versus fully numerical stochastic solvers) and highlights the specific regimes where SWIM provides functionality not currently available elsewhere. revision: yes

Circularity Check

0 steps flagged

No circularity: computational implementation of numerical solver and ML surrogate

full rationale

The paper presents SWIM as a C++/Python module that numerically integrates the standard stochastic perturbation equations of warm inflation for arbitrary potentials and dissipative coefficients, then uses machine learning to accelerate MCMC sampling in Cobaya. No derivation chain is claimed that reduces by construction to fitted inputs, self-definitions, or self-citations. The central assertions concern code capabilities (full numerical solution without approximations, runtime improvements, accommodation of any model) rather than theoretical predictions derived from the paper's own outputs. The ML surrogate accuracy is an unverified assumption for unbiased constraints, but this is an implementation validation issue, not a circular reduction of any equation or result to its inputs. The paper is self-contained as a tool description against external benchmarks (existing semi-analytic codes, public MCMC frameworks).

Axiom & Free-Parameter Ledger

0 free parameters · 0 axioms · 0 invented entities

This is a software-tool paper that implements existing stochastic equations rather than introducing new physical principles; therefore the ledger contains no free parameters, axioms, or invented entities.

pith-pipeline@v0.9.0 · 5609 in / 1293 out tokens · 69005 ms · 2026-05-08T01:33:27.387489+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Reference graph

Works this paper leans on

58 extracted references · 57 canonical work pages

  1. [1]

    Berera,Warm inflation,Phys

    A. Berera,Warm inflation,Phys. Rev. Lett.75(1995) 3218 [astro-ph/9509049]

  2. [2]

    Das and R.O

    S. Das and R.O. Ramos,Runaway potentials in warm inflation satisfying the swampland conjectures,Phys. Rev. D102(2020) 103522 [2007.15268]. – 30 –

  3. [3]

    S. Das, U. Kumar, S.S. Mishra and V. Sahni,Witten-O’Raifeartaigh potential revisited in the context of warm inflation,Phys. Rev. D113(2026) 063522 [2511.23219]

  4. [4]

    Berera, S

    A. Berera, S. Brahma, Z. Qiu, R. O. Ramos and G.S. Rodrigues,The early universe is ACT-ing warm,JCAP11(2025) 059 [2504.02655]

  5. [5]

    Bartrum, M

    S. Bartrum, M. Bastero-Gil, A. Berera, R. Cerezo, R.O. Ramos and J.G. Rosa,The importance of being warm (during inflation),Phys. Lett. B732(2014) 116 [1307.5868]

  6. [6]

    Bastero-Gil, A

    M. Bastero-Gil, A. Berera, R.O. Ramos and J.G. Rosa,Towards a reliable effective field theory of inflation,Phys. Lett. B813(2021) 136055 [1907.13410]

  7. [7]

    Kamali, M

    V. Kamali, M. Motaharfar and R.O. Ramos,Warm brane inflation with an exponential potential: a consistent realization away from the swampland,Phys. Rev. D101(2020) 023535 [1910.06796]. [8]Planckcollaboration,Planck 2018 results. X. Constraints on inflation,Astron. Astrophys. 641(2020) A10 [1807.06211]

  8. [8]

    Das,Note on single-field inflation and the swampland criteria,Phys

    S. Das,Note on single-field inflation and the swampland criteria,Phys. Rev. D99(2019) 083510 [1809.03962]

  9. [9]

    Das,Warm Inflation in the light of Swampland Criteria,Phys

    S. Das,Warm Inflation in the light of Swampland Criteria,Phys. Rev. D99(2019) 063514 [1810.05038]

  10. [10]

    Motaharfar, V

    M. Motaharfar, V. Kamali and R.O. Ramos,Warm inflation as a way out of the swampland, Phys. Rev. D99(2019) 063513 [1810.02816]

  11. [11]

    Das,Distance, de Sitter and Trans-Planckian Censorship conjectures: the status quo of Warm Inflation,Phys

    S. Das,Distance, de Sitter and Trans-Planckian Censorship conjectures: the status quo of Warm Inflation,Phys. Dark Univ.27(2020) 100432 [1910.02147]

  12. [12]

    On the Geometry of the String Landscape and the Swampland

    H. Ooguri and C. Vafa,On the Geometry of the String Landscape and the Swampland,Nucl. Phys. B766(2007) 21 [hep-th/0605264]

  13. [13]

    Distance and de Sitter Conjectures on the Swampland

    H. Ooguri, E. Palti, G. Shiu and C. Vafa,Distance and de Sitter Conjectures on the Swampland,Phys. Lett. B788(2019) 180 [1810.05506]

  14. [14]

    Garg and C

    S.K. Garg and C. Krishnan,Bounds on Slow Roll and the de Sitter Swampland,JHEP11 (2019) 075 [1807.05193]

  15. [15]

    Kinney, S

    W.H. Kinney, S. Vagnozzi and L. Visinelli,The zoo plot meets the swampland: mutual (in)consistency of single-field inflation, string conjectures, and cosmological data,Class. Quant. Grav.36(2019) 117001 [1808.06424]

  16. [16]

    Bastero-Gil, A

    M. Bastero-Gil, A. Berera, R.O. Ramos and J.G. Rosa,Warm Little Inflaton,Phys. Rev. Lett. 117(2016) 151301 [1604.08838]

  17. [17]

    Berghaus, P.W

    K.V. Berghaus, P.W. Graham and D.E. Kaplan,Minimal Warm Inflation,JCAP03(2020) 034 [1910.07525]

  18. [18]

    Chakraborty and R

    D. Chakraborty and R. O. Ramos,Warming up the fibres,JHEP09(2025) 020 [2505.04447]

  19. [19]

    Chakraborty and R

    D. Chakraborty and R. O. Ramos,Warm Warped Throats,2603.29781

  20. [20]

    Arya,Formation of Primordial Black Holes from Warm Inflation,JCAP09(2020) 042 [1910.05238]

    R. Arya,Formation of Primordial Black Holes from Warm Inflation,JCAP09(2020) 042 [1910.05238]

  21. [21]

    Bastero-Gil and M.S

    M. Bastero-Gil and M.S. Díaz-Blanco,Gravity waves and primordial black holes in scalar warm little inflation,JCAP12(2021) 052 [2105.08045]

  22. [22]

    Arya, R.K

    R. Arya, R.K. Jain and A.K. Mishra,Primordial black holes dark matter and secondary gravitational waves from warm Higgs-G inflation,JCAP02(2024) 034 [2302.08940]

  23. [23]

    ¨Ozsoy and G

    O. Özsoy and G. Tasinato,Inflation and Primordial Black Holes,Universe9(2023) 203 [2301.03600]. – 31 –

  24. [24]

    Biswas, K

    S. Biswas, K. Bhattacharya and S. Das,Embedding ultraslow-roll inflaton dynamics in warm inflation,Phys. Rev. D109(2024) 023501 [2308.12704]

  25. [25]

    Biswas, K

    S. Biswas, K. Bhattacharya and S. Das,Reassessing constant-roll warm inflation,Phys. Rev. D 110(2024) 063536 [2406.00340]

  26. [26]

    Green,Primordial black holes as a dark matter candidate - a brief overview,Nucl

    A.M. Green,Primordial black holes as a dark matter candidate - a brief overview,Nucl. Phys. B1003(2024) 116494 [2402.15211]

  27. [27]

    Kallosh and A

    R. Kallosh and A. Linde,On the present status of inflationary cosmology,Gen. Rel. Grav.57 (2025) 135 [2505.13646]. [29]Atacama Cosmology Telescopecollaboration,The Atacama Cosmology Telescope: DR6 power spectra, likelihoods andΛCDM parameters,JCAP11(2025) 062 [2503.14452]. [30]Atacama Cosmology Telescopecollaboration,The Atacama Cosmology Telescope: DR6 c...

  28. [28]

    Chakraborty and S

    D. Chakraborty and S. Das,Behavior ofα-attractors in warm inflation,Phys. Rev. D112 (2025) 063535 [2506.08489]

  29. [29]

    Kamali, M

    V. Kamali, M. Motaharfar and R. O. Ramos,Recent Developments in Warm Inflation, Universe9(2023) 124 [2302.02827]

  30. [30]

    Berera,The Warm Inflation Story,Universe9(2023) 272 [2305.10879]

    A. Berera,The Warm Inflation Story,Universe9(2023) 272 [2305.10879]

  31. [31]

    Graham and I.G

    C. Graham and I.G. Moss,Density fluctuations from warm inflation,JCAP07(2009) 013 [0905.3500]

  32. [32]

    Bastero-Gil, A

    M. Bastero-Gil, A. Berera and R.O. Ramos,Shear viscous effects on the primordial power spectrum from warm inflation,JCAP07(2011) 030 [1106.0701]

  33. [33]

    Ramos and L.A

    R.O. Ramos and L.A. da Silva,Power spectrum for inflation models with quantum and thermal noises,JCAP03(2013) 032 [1302.3544]

  34. [34]

    Gleiser and R.O

    M. Gleiser and R.O. Ramos,Microphysical approach to nonequilibrium dynamics of quantum fields,Phys. Rev. D50(1994) 2441 [hep-ph/9311278]

  35. [35]

    Ballesteros, M

    G. Ballesteros, M.A.G. García, A.P. Rodríguez, M. Pierre and J. Rey,Primordial black holes and gravitational waves from dissipation during inflation,JCAP12(2022) 006 [2208.14978]

  36. [36]

    Ballesteros, A

    G. Ballesteros, A. Perez Rodriguez and M. Pierre,Monomial warm inflation revisited,JCAP 03(2024) 003 [2304.05978]

  37. [37]

    Cosmological parameters from CMB and other data: a Monte-Carlo approach

    A. Lewis and S. Bridle,Cosmological parameters from CMB and other data: A Monte Carlo approach,Phys. Rev. D66(2002) 103511 [astro-ph/0205436]

  38. [38]

    Efficient sampling of fast and slow cosmological parameters

    A. Lewis,Efficient sampling of fast and slow cosmological parameters,Phys. Rev. D87(2013) 103529 [1304.4473]

  39. [39]

    Torrado and A

    J. Torrado and A. Lewis,Cobaya: Code for Bayesian Analysis of hierarchical physical models, JCAP05(2021) 057 [2005.05290]

  40. [40]

    Efficient Computation of CMB anisotropies in closed FRW models

    A. Lewis, A. Challinor and A. Lasenby,Efficient computation of CMB anisotropies in closed FRW models,Astrophys. J.538(2000) 473 [astro-ph/9911177]

  41. [41]

    CMB power spectrum parameter degeneracies in the era of precision cosmology

    C. Howlett, A. Lewis, A. Hall and A. Challinor,CMB power spectrum parameter degeneracies in the era of precision cosmology,JCAP04(2012) 027 [1201.3654]

  42. [42]

    Bastero-Gil, S

    M. Bastero-Gil, S. Bhattacharya, K. Dutta and M.R. Gangopadhyay,Constraining Warm Inflation with CMB data,JCAP02(2018) 054 [1710.10008]

  43. [43]

    R. Arya, A. Dasgupta, G. Goswami, J. Prasad and R. Rangarajan,Revisiting CMB constraints on warm inflation,JCAP02(2018) 043 [1710.11109]. – 32 –

  44. [44]

    Kumar and S

    U. Kumar and S. Das,A generalized method of constraining Warm Inflation with CMB data, JCAP10(2024) 058 [2407.06032]

  45. [45]

    Montefalcone, V

    G. Montefalcone, V. Aragam, L. Visinelli and K. Freese,WarmSPy: a numerical study of cosmological perturbations in warm inflation,JCAP01(2024) 032 [2306.16190]

  46. [46]

    Rodrigues and R

    G.S. Rodrigues and R. O. Ramos,WI2easy: warm inflation dynamics made easy,JCAP09 (2025) 014 [2504.17760]

  47. [47]

    Moss and C

    I.G. Moss and C. Xiong,Dissipation coefficients for supersymmetric inflatonary models, hep-ph/0603266

  48. [48]

    Bastero-Gil, A

    M. Bastero-Gil, A. Berera and R.O. Ramos,Dissipation coefficients from scalar and fermion quantum field interactions,JCAP09(2011) 033 [1008.1929]

  49. [49]

    Bastero-Gil, A

    M. Bastero-Gil, A. Berera, R.O. Ramos and J.G. Rosa,General dissipation coefficient in low-temperature warm inflation,JCAP01(2013) 016 [1207.0445]

  50. [50]

    Moss and C

    I.G. Moss and C. Xiong,On the consistency of warm inflation,JCAP11(2008) 023 [0808.0261]

  51. [51]

    del Campo, R

    S. del Campo, R. Herrera, D. Pavón and J.R. Villanueva,On the consistency of warm inflation in the presence of viscosity,JCAP08(2010) 002 [1007.0103]

  52. [52]

    Bastero-Gil, A

    M. Bastero-Gil, A. Berera, R. Cerezo, R.O. Ramos and G.S. Vicente,Stability analysis for the background equations for inflation with dissipation and in a viscous radiation bath,JCAP11 (2012) 042 [1209.0712]

  53. [53]

    Berghaus, M

    K.V. Berghaus, M. Drewes and S. Zell,Warm Inflation with the Standard Model,Phys. Rev. Lett.135(2025) 171002 [2503.18829]

  54. [54]

    Bastero-Gil, A

    M. Bastero-Gil, A. Berera, I.G. Moss and R.O. Ramos,Cosmological fluctuations of a random field and radiation fluid,JCAP05(2014) 004 [1401.1149]

  55. [55]

    Montefalcone, V

    G. Montefalcone, V. Aragam, L. Visinelli and K. Freese,Observational constraints on warm natural inflation,JCAP03(2023) 002 [2212.04482]

  56. [56]

    Bastero-Gil, P

    M. Bastero-Gil, P. García Osorio and A. Torres Manso,Not So Minimal Warm Inflation, 2603.12856

  57. [57]

    Breiman,Random forests,Machine Learning45(2001) 5

    L. Breiman,Random forests,Machine Learning45(2001) 5

  58. [58]

    Conceição, A

    M. Conceição, A. Krone-Martins, A. da Silva and Á. Moliné,Fast emulation of cosmological density fields based on dimensionality reduction and supervised machine learning,Astron. Astrophys.681(2024) A123 [2304.06099]. – 33 –