Exo Skryer: A JAX-accelerated sub-stellar atmospheric retrieval framework.
Elspeth K.H. Lee · 2026
Read Exo Skryer: A JAX-accelerated sub-stellar atmospheric retrieval framework. by Elspeth K.H. Lee (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2602-19687.txt.
Introduction
Retrieval frameworks recover thermal and chemical traits of exoplanet and brown dwarf atmospheres from data, yet JWST's wide, mid-resolution spectra and ground-based high-resolution spectra have ballooned compute costs. Elspeth K. H. Lee presents Exo Skryer, a sub-stellar atmosphere retrieval framework built on the JAX library for Python. It pairs scalable, efficient forward modeling with posterior sampling.
Example retrievals for pre-JWST and current JWST-era transmission and emission spectra match earlier modeling work, apart from one WASP-107b test case. A new method directly retrieves the real and imaginary optical constants, n and k, of suspected aerosol infrared absorption features. With its speed, Exo Skryer suits future demanding retrievals with more spatial detail, richer forward models, and high-dimensional parameter sets, and it is open source on GitHub.
Catalog record
| CREATOR | Elspeth K.H. Lee |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 66 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2602-19687
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Exo Skryer: A JAX-accelerated sub-stellar atmospheric retrieval framework. Elspeth K.H. Lee Abstract Contemporary exoplanet and brown dwarf atmospheric research relies heavily on retrieval frameworks to recover thermal and chemical properties and perform model comparison in an observational data-driven approach. However, the computational effort required for retrieval modelling has rapidly increased, driven by JWST data that covers large spectral intervals at moderate spectral resolutions, and ground-based, high-resolution spectroscopy. To help tackle the computational burden faced by contemporary retrieval requirements, I present a new sub-stellar atmosphere retrieval modelling framework, Exo Skryer , that utilises the JAX library for Python to enable scalable, computationally efficient forward modelling as well as posterior sampling. I present example retrievals for pre- and current JWST era observations for both transmission and emission spectra, finding consistent results to previous retrieval modelling efforts, apart from a WASP-107b test case. In addition, I present a new method to directly retrieve the real and imaginary optical constants ( n n , k k ) of suspected aerosol infrared absorption features. Due to its computational expediency, Exo Skryer will be highly suited for future demanding retrieval efforts that incorporate more spatial dimensionality, complex forward models and high-dimensional parameter sets. keywords planets and satellites: atmospheres – brown dwarfs – methods: numerical 1 Introduction The information content of exoplanet and brown dwarf atmospheres available for analysis by astronomers has increased substantially since the start of the JWST era, with new insights into the nature of their atmospheres published on a near-weekly basis. In tandem with this slew of new data, retrieval modelling has now become a standard component of first-look analyses of new JWST data. Numerous retrieval codes have been developed in the past couple decades, with several listed in 54 . The aim of retrieval in contemporary exoplanet atmospheric research is to statistically infer in a formal manner the atmospheric parameters of the exoplanet utilising a data-driven approach, where the observational data points and errors are used to inform the likelihood of a set of sampled forward model parameters in a statistically consistent approach. Model comparison can also be made in a systematic way through comparing the ratio of Bayesian evidence. This is performed by neglecting or adding parts of the forward model from an initial baseline, for example, removing individual gas phase opacity sources one-by-one ( 28 ; 85 , e.g.) . More advanced model comparison techniques such as ‘leave one out’ (LOO) ( 84 , e.g.) to estimate the sensitivity of the results to individual data points, have also been applied to exoplanet retrieval efforts. The high performance computing (HPC) infrastructure accessible to typical researchers in astrophysics is increasingly becoming more heterogeneous, including mixtures of central processing units (CPUs) and graphics processing units (GPUs). This is primarily driven by the rapid development and rollout schedules of machine learning (ML) products in the technology industrial sector, where GPUs are a critical component for scaling the training and inference for these models. Institute and national HPC infrastructures are increasingly trending with industry in procurement for their HPC inventories. As both the research interest and utilisation of this infrastructure at research institutes increases, this is making GPUs more commonly available at institutional HPC centres. This is incentivising scientific codes to migrate from CPUs to GPUs, especially for computationally intensive workloads such as exoplanet atmosphere retrieval modelling. In this paper, I present a new atmospheric retrieval framework, Exo Skryer , a flexible Python + JAX based code which can operate both the forward model and sampling scheme on CPUs, GPUs or a combination of both. I apply Exo Skryer to topical 1D transmission and emission spectra scenarios encountered by contemporary sub-stellar retrieval studies. This paper acts as the core reference for Exo Skryer , with further development expected to occur in the next years. In Section 2 , I present the Exo Skryer retrieval framework, the JAX programming paradigm and nested-sampling options with JAX, the temperature-pressure, chemistry and cloud structure options within Exo Skryer . In Section 3 , I detail the various gas phase opacities that Exo Skryer can utilise. In Section 4 , I detail the radiative-transfer methodology used for the 1D transmission spectra retrievals. In Section 5 , I detail the radiative-transfer methodology used for the 1D emission spectra retrievals. In Section 6 , I present various retrieval examples and results using Exo Skryer , spanning pre-JWST and JWST era observational data. Section 7 contains the discussion, and Section 8 the conclusions of this study. 2 The Exo Skryer Framework Exo Skryer is designed with high modularity and flexibility in mind. The code is driven by a simple YAML-formatted input file, which details the physics modules, opacity sources, retrieval parameters, sampling options and runtime environment. Exo Skryer then uses the configuration to build a custom forward model that is then used for the likelihood evaluation inside the sampling framework. This same YAML file is then used to post-process the posterior samples to produce corner plots, best fit plots and other diagnostics, ensuring the exact same custom forward model is used. Parameters and any intermediate data are stored as flexible Python dictionaries, which allows data present in the YAML file to be sent to the forward model building routine. This includes the sampled parameters, constant parameters and other auxiliary data that is required for the specific forward models to be used. Users can design and integrate their own JAX-compatible physics functions, such as radiative-transfer, chemistry and cloud models, which can be used to build the sampled forward model function. 2.1 Why JAX? Exo Skryer is built around JAX, an open-source numerical computing library for Python that provides a NumPy-like interface with just-in-time compilation and accelerator support. Retrieval workflows are dominated by repeated forward-model evaluations inside a sampler; even modest improvements in model throughput translate directly into substantial reductions in end-to-end runtime. JAX offers three advantages that align well with retrieval modelling: (i) compilation of array-based kernels, reducing Python overhead and improving throughput; (ii) straightforward execution on CPUs and GPUs, enabling scalable evaluation over large spectral grids; and (iii) automatic differentiation, which provides a pathway to future gradient-based optimisation and inference, as well as sensitivity analyses. The main trade-off is that JAX encourages a more functional programming style and requires care with side effects and control flow, which can necessitate refactoring and additional testing. In return, it provides a robust foundation for efficient retrieval modelling on increasingly heterogeneous HPC infrastructure. 2.2 Nested sampling with JAX Nested sampling (NS) ( 73 ; 17 , e.g.) has become the de facto standard sampling technique for sub-stellar atmosphere retrieval modelling in the past decade ( 83 , e.g.) , mostly outpacing the MCMC based techniques used in earlier retrieval efforts ( 12 , e.g.) in day-to-day workloads. An in-depth description of NS is not in the scope of this study, however, a key benefit of NS is the ability to easily make model comparison and detection significance through calculation of the ‘Bayes evidence’ of different relative parameter sets. I use three nested sampling frameworks in Exo Skryer : pymultinest ( 16 ) , dynesty ( 75 ) and JAXNS ( 3 ) . JAXNS can operate on the GPU, enabling both the sampling and forward model stages