Baojiu Li
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Previous Organizations / Institutes
The organizations / institutes from the scholar's other articles in the past ten years
Research Subjects
Baojiu Li has a total of 649 co-authors. Here are the top co-authors by number of shared publications:
- Carlton M. Baugh
Institute for Computational Cosmology, Department of Physics, Durham University , South Road, Durham DH1 3LE
34 shared publications - Gong-Bo Zhao
National Astronomical Observatories, Chinese Academy of Sciences, Beijing 100101, China
29 shared publications - Kazuya Koyama
Institute of Cosmology and Gravitation, University of Portsmouth
28 shared publications - Christian Arnold
Institute for Computational Cosmology, Department of Physics, Durham University , South Road, Durham DH1 3LE, UK
21 shared publications - David Fonseca Mota
Institute of Theoretical Astrophysics, University of Oslo
21 shared publications - John D. Barrow
DAMTP, Centre for Mathematical Sciences, University of Cambridge, Wilberforce Road, Cambridge CB3 0WA, United Kingdom
21 shared publications
Latest Publications
- 1 November 2026
- Published by IOP Publishing in Journal of Cosmology and Astroparticle Physics
- Vol. 2026 (11)
Biased tracers, Hybrid Effective Field Theory and modified gravity
The modelling of the power spectrum of biased tracers has become a central topic in the analysis of modern cosmological galaxy surveys. Perturbative templates formulated in both Eulerian and Lagrangian frameworks have been extensively developed over the last decades, with their implementation in ΛCDM thoroughly investigated and validated. In parallel, approaches combining perturbation theory with the output of dark-matter-only simulations have emerged as powerful tools for modelling the nonlinear regime, most notably the Hybrid Effective Field Theory (HEFT) framework [ Mon. Not. Roy. Astron. Soc. 492 (2020) 5754]. In this work, we discuss the perturbative biased expansion within the local Lagrangian bias scheme and its implementation in the HEFT framework for modified gravity cosmologies. We focus on f ( R ) gravity, a theory characterized by scale-dependent growth and chameleon screening, making it one of the most challenging scenarios for the computation of Lagrangian Perturbation Theory growth functions and for the generation of accurate numerical simulations. We present a detailed overview of the ingredients required to compute loop-corrected biased power spectra analytically and compare these predictions against fully non-perturbative simulation results. Finally, we propose a strategy to extend existing HEFT-based ΛCDM emulators, such as bacco and Aemulus , to beyond-ΛCDM cosmologies.
- 1 November 2026
- Published by IOP Publishing in Journal of Cosmology and Astroparticle Physics
- Vol. 2026 (11)
Biased tracers, Hybrid Effective Field Theory and modified gravity
The modelling of the power spectrum of biased tracers has become a central topic in the analysis of modern cosmological galaxy surveys. Perturbative templates formulated in both Eulerian and Lagrangian frameworks have been extensively developed over the last decades, with their implementation in ΛCDM thoroughly investigated and validated. In parallel, approaches combining perturbation theory with the output of dark-matter-only simulations have emerged as powerful tools for modelling the nonlinear regime, most notably the Hybrid Effective Field Theory (HEFT) framework [ Mon. Not. Roy. Astron. Soc. 492 (2020) 5754]. In this work, we discuss the perturbative biased expansion within the local Lagrangian bias scheme and its implementation in the HEFT framework for modified gravity cosmologies. We focus on f ( R ) gravity, a theory characterized by scale-dependent growth and chameleon screening, making it one of the most challenging scenarios for the computation of Lagrangian Perturbation Theory growth functions and for the generation of accurate numerical simulations. We present a detailed overview of the ingredients required to compute loop-corrected biased power spectra analytically and compare these predictions against fully non-perturbative simulation results. Finally, we propose a strategy to extend existing HEFT-based ΛCDM emulators, such as bacco and Aemulus , to beyond-ΛCDM cosmologies.
- Open Access
- 28 September 2026
- Published by Oxford University Press (OUP) in Monthly Notices of the Royal Astronomical Society
- Vol. 553 (1)
A modern halo streaming model for redshift space distortions
Accurate modelling of redshift-space distortions (RSD) in galaxy clustering is essential for extracting cosmological information from current and forthcoming large-scale structure surveys. While perturbation theory is reliable on large scales, much of the constraining power lies at intermediate and small separations, where non-linear dynamics within and between dark matter haloes dominate. We present a halo streaming model for non-linear galaxy clustering in redshift space that is accurate and physically interpretable. Our framework combines the streaming model for RSD with a halo-model decomposition of the galaxy clustering into central/satellite and one-/two-halo contributions. We build dedicated emulators for the key physical ingredients, trained on a suite of N-body simulations: halo mass functions, real-space halo two-point correlation functions, and pairwise velocity moments. By emulating these modular building blocks rather than the final redshift-space observable, this approach preserves physical transparency, enables targeted optimization for each ingredient, and remains flexible to changes in tracer populations and galaxy–halo connection models. The resulting halo streaming model reproduces the simulated non-linear anisotropic clustering signal down to highly non-linear scales, while achieving the computational efficiency required for cosmological parameter inference. This framework is designed to support full-shape RSD analyses for surveys such as DESI and Euclid, facilitating precision measurements of structure growth and tests of gravity. All codes and trained emulators are publicly available in the freyja repository (https://github.com/chzruan/freyja).
- 28 September 2026
- Published by Oxford University Press (OUP) in Monthly Notices of the Royal Astronomical Society
- Vol. 553 (1)
Open AccessA modern halo streaming model for redshift space distortions
Accurate modelling of redshift-space distortions (RSD) in galaxy clustering is essential for extracting cosmological information from current and forthcoming large-scale structure surveys. While perturbation theory is reliable on large scales, much of the constraining power lies at intermediate and small separations, where non-linear dynamics within and between dark matter haloes dominate. We present a halo streaming model for non-linear galaxy clustering in redshift space that is accurate and physically interpretable. Our framework combines the streaming model for RSD with a halo-model decomposition of the galaxy clustering into central/satellite and one-/two-halo contributions. We build dedicated emulators for the key physical ingredients, trained on a suite of N-body simulations: halo mass functions, real-space halo two-point correlation functions, and pairwise velocity moments. By emulating these modular building blocks rather than the final redshift-space observable, this approach preserves physical transparency, enables targeted optimization for each ingredient, and remains flexible to changes in tracer populations and galaxy–halo connection models. The resulting halo streaming model reproduces the simulated non-linear anisotropic clustering signal down to highly non-linear scales, while achieving the computational efficiency required for cosmological parameter inference. This framework is designed to support full-shape RSD analyses for surveys such as DESI and Euclid, facilitating precision measurements of structure growth and tests of gravity. All codes and trained emulators are publicly available in the freyja repository (https://github.com/chzruan/freyja).
- Open Access
- 18 August 2026
- Published by Oxford University Press (OUP) in Monthly Notices of the Royal Astronomical Society
- Vol. 551 (3)
Galaxy formation in modified gravity – II. Galaxy halo connection and assembly bias
Modern surveys such as Dark Energy Spectroscopic Instrument and Euclid, which collect data for hundreds of millions of galaxies to map the large-scale structure (LSS) of the Universe, hold the key to determining the cosmological parameters and testing new physics. This ambition, however, is limited by uncertainties in the galaxy–halo connection: the link between observed galaxies and the underlying, unobservable matter field, by accounting for effects such as galaxy bias and assembly bias (AB). These are particularly poorly understood for modified gravity (MG) models, which are popular alternatives to the cosmological constant to explain accelerated expansion. We approach this problem using mock emission-line galaxy (ELG) and luminous red galaxy (LRG) catalogues in $f(R)$ gravity matching the specifications of ongoing Stage-IV galaxy surveys, generated from state-of-the-art MG hydrodynamical simulations. While the interplay between MG – especially the chameleon screening mechanism – and galaxy formation leaves complicated imprints in the galaxy–halo connection, a simple physical picture emerges in which halo and galaxy formation are enhanced for progressively more massive haloes over time. We confirm that the basic galaxy–halo connection model, the halo occupation distribution (HOD), in which galaxy occupation is determined solely by halo mass, underestimates galaxy clustering strength in Lmbda-cold dark matter by 10–20 per cent at $z\lesssim 1$ when neglecting AB, and demonstrate that MG introduces further complexity. Extending this model with a suitably chosen environment density as a secondary HOD variable reduces the AB effect in all models to 2–3 per cent for $z\lesssim 0.5$. This provides a well-motivated starting point for further works on minimizing the impact of AB when testing non-standard cosmological models with LSS.- 18 August 2026
- Published by Oxford University Press (OUP) in Monthly Notices of the Royal Astronomical Society
- Vol. 551 (3)
Open AccessGalaxy formation in modified gravity – II. Galaxy halo connection and assembly bias
Modern surveys such as Dark Energy Spectroscopic Instrument and Euclid, which collect data for hundreds of millions of galaxies to map the large-scale structure (LSS) of the Universe, hold the key to determining the cosmological parameters and testing new physics. This ambition, however, is limited by uncertainties in the galaxy–halo connection: the link between observed galaxies and the underlying, unobservable matter field, by accounting for effects such as galaxy bias and assembly bias (AB). These are particularly poorly understood for modified gravity (MG) models, which are popular alternatives to the cosmological constant to explain accelerated expansion. We approach this problem using mock emission-line galaxy (ELG) and luminous red galaxy (LRG) catalogues in $f(R)$ gravity matching the specifications of ongoing Stage-IV galaxy surveys, generated from state-of-the-art MG hydrodynamical simulations. While the interplay between MG – especially the chameleon screening mechanism – and galaxy formation leaves complicated imprints in the galaxy–halo connection, a simple physical picture emerges in which halo and galaxy formation are enhanced for progressively more massive haloes over time. We confirm that the basic galaxy–halo connection model, the halo occupation distribution (HOD), in which galaxy occupation is determined solely by halo mass, underestimates galaxy clustering strength in Lmbda-cold dark matter by 10–20 per cent at $z\lesssim 1$ when neglecting AB, and demonstrate that MG introduces further complexity. Extending this model with a suitably chosen environment density as a secondary HOD variable reduces the AB effect in all models to 2–3 per cent for $z\lesssim 0.5$. This provides a well-motivated starting point for further works on minimizing the impact of AB when testing non-standard cosmological models with LSS. - 1 May 2026
- Published by IOP Publishing in Journal of Cosmology and Astroparticle Physics
- Vol. 2026 (05) , E02
Erratum: Nonlinear reconstruction of general dark energy theories
- 1 May 2026
- Published by IOP Publishing in Journal of Cosmology and Astroparticle Physics
- Vol. 2026 (05) , E02
Erratum: Nonlinear reconstruction of general dark energy theories
- Open Access
- 1 November 2025
- Published by IOP Publishing in Journal of Cosmology and Astroparticle Physics
- Vol. 2025 (11)
The Poisson noise in modeling the redshift-space distortion at large scales
We investigate the errors in modeling the redshift-space distortion (RSD) effect at large linear scales, using data from the Millennium simulation. While standard theoretical templates, such as the Kaiser formula and the TNS method, could precisely model RSD for individual large-scale modes, we find that for tracers with number densities lower than ∼ 10 -3 (Mpc/ h ) -3 , there is a few-percent level bias in the predicted power spectrum. This error arises due to the amplification of intrinsic Poisson noise during RSD modeling from real-space power spectrum. This amplified noise can be analytically expressed as 1 + ϵ /[ n̅P (1 + ϵ )], with ϵ = 2 β /3 + β 2 /5, where P denotes the real-space tracer power spectrum and β ≡ f / b . Specifically, for halos with a number density of around 5 × 10 -4 (Mpc/ h ) -3 , this phenomenon results in an additional systematic error of 2.5%. Our result suggests that caution is necessary when directly modeling redshift-space distortions (RSD) using real-space power spectra of tracers obtained from simulations or actual surveys. This caution is particularly pertinent in scenarios where emulators trained on simulation data forecast the real-space tracer power spectrum, as well as in baryon acoustic oscillation (BAO) reconstruction using galaxy samples, for which we estimate that shot noise could introduce random errors of about one-third in the displacement field, potentially diminishing the effectiveness of the BAO peak sharpening.
- 1 November 2025
- Published by IOP Publishing in Journal of Cosmology and Astroparticle Physics
- Vol. 2025 (11)
Open AccessThe Poisson noise in modeling the redshift-space distortion at large scales
We investigate the errors in modeling the redshift-space distortion (RSD) effect at large linear scales, using data from the Millennium simulation. While standard theoretical templates, such as the Kaiser formula and the TNS method, could precisely model RSD for individual large-scale modes, we find that for tracers with number densities lower than ∼ 10 -3 (Mpc/ h ) -3 , there is a few-percent level bias in the predicted power spectrum. This error arises due to the amplification of intrinsic Poisson noise during RSD modeling from real-space power spectrum. This amplified noise can be analytically expressed as 1 + ϵ /[ n̅P (1 + ϵ )], with ϵ = 2 β /3 + β 2 /5, where P denotes the real-space tracer power spectrum and β ≡ f / b . Specifically, for halos with a number density of around 5 × 10 -4 (Mpc/ h ) -3 , this phenomenon results in an additional systematic error of 2.5%. Our result suggests that caution is necessary when directly modeling redshift-space distortions (RSD) using real-space power spectra of tracers obtained from simulations or actual surveys. This caution is particularly pertinent in scenarios where emulators trained on simulation data forecast the real-space tracer power spectrum, as well as in baryon acoustic oscillation (BAO) reconstruction using galaxy samples, for which we estimate that shot noise could introduce random errors of about one-third in the displacement field, potentially diminishing the effectiveness of the BAO peak sharpening.
- Open Access
- 1 October 2025
- Published by IOP Publishing in Journal of Cosmology and Astroparticle Physics
- Vol. 2025 (10)
Non-linear reconstruction of general dark energy theories
The large variety and number of dark energy (DE) theories make it impractical to perform detailed analyses on a case-by-case basis, which has motivated proposals to “parameterize” theories to reduce the size of theory space. The leading approach to do this is the effective field theory of dark energy (EFTofDE), which can describe general Horndeski-type theories with a small number of observationally accessible time-dependent functions. However, the EFTofDE primarily works for linear perturbations, and extending it to obtain a fully non-linear description of DE theories, which is critical for theories with screening mechanisms, is challenging. In this paper, we present a general method for reconstructing the non-linear DE Lagrangian from the background expansion history and certain linear-perturbation quantities, building upon the EFTofDE framework. Using numerical examples, we demonstrate that this method is applicable to a wide range of single-scalar-field dark energy and modified gravity theories, including quintessence, scalar-tensor theory, k -essence, and generalized cubic Galileon with shift symmetry. For each of these theories, we discuss the validity of the method and factors affecting its results. While this method involves solving differential equations, we find that the initial conditions are not important for quintessence, scalar-tensor theory and k -essence, while for shift-symmetric cubic Galileon, the generic tracker solution can help transform differential equations into algebraic equations. This offers a useful framework to connect cosmological observations at the background and linear-perturbation levels to the underlying non-linear dynamics of dark energy, and will enable cosmological simulations to analyze and examine DE theories systematically and in much greater detail.
- 1 October 2025
- Published by IOP Publishing in Journal of Cosmology and Astroparticle Physics
- Vol. 2025 (10)
Open AccessNon-linear reconstruction of general dark energy theories
The large variety and number of dark energy (DE) theories make it impractical to perform detailed analyses on a case-by-case basis, which has motivated proposals to “parameterize” theories to reduce the size of theory space. The leading approach to do this is the effective field theory of dark energy (EFTofDE), which can describe general Horndeski-type theories with a small number of observationally accessible time-dependent functions. However, the EFTofDE primarily works for linear perturbations, and extending it to obtain a fully non-linear description of DE theories, which is critical for theories with screening mechanisms, is challenging. In this paper, we present a general method for reconstructing the non-linear DE Lagrangian from the background expansion history and certain linear-perturbation quantities, building upon the EFTofDE framework. Using numerical examples, we demonstrate that this method is applicable to a wide range of single-scalar-field dark energy and modified gravity theories, including quintessence, scalar-tensor theory, k -essence, and generalized cubic Galileon with shift symmetry. For each of these theories, we discuss the validity of the method and factors affecting its results. While this method involves solving differential equations, we find that the initial conditions are not important for quintessence, scalar-tensor theory and k -essence, while for shift-symmetric cubic Galileon, the generic tracker solution can help transform differential equations into algebraic equations. This offers a useful framework to connect cosmological observations at the background and linear-perturbation levels to the underlying non-linear dynamics of dark energy, and will enable cosmological simulations to analyze and examine DE theories systematically and in much greater detail.
- 10 June 2025
- Published by Springer Nature in Science China Physics, Mechanics & Astronomy
- Vol. 68 (8) , 1-2
En route to percent-level accuracy of cosmological predictions for CSST
- 10 June 2025
- Published by Springer Nature in Science China Physics, Mechanics & Astronomy
- Vol. 68 (8) , 1-2
En route to percent-level accuracy of cosmological predictions for CSST
- Open Access
- 27 March 2025
- Published by EDP Sciences in Astronomy & Astrophysics
- Vol. 695, A232
Euclid preparation
The Euclid mission will measure cosmological parameters with unprecedented precision. To distinguish between cosmological models, it is essential to generate realistic mock observables from cosmological simulations that were run in both the standard Λ-cold-dark-matter (ΛCDM) paradigm and in many non-standard models beyond ΛCDM. We present the scientific results from a suite of cosmological N-body simulations using non-standard models including dynamical dark energy, k-essence, interacting dark energy, modified gravity, massive neutrinos, and primordial non-Gaussianities. We investigate how these models affect the large-scale-structure formation and evolution in addition to providing synthetic observables that can be used to test and constrain these models with Euclid data. We developed a custom pipeline based on the Rockstar halo finder and the nbodykit large-scale structure toolkit to analyse the particle output of non-standard simulations and generate mock observables such as halo and void catalogues, mass density fields, and power spectra in a consistent way. We compare these observables with those from the standard ΛCDM model and quantify the deviations. We find that non-standard cosmological models can leave large imprints on the synthetic observables that we have generated. Our results demonstrate that non-standard cosmological N-body simulations provide valuable insights into the physics of dark energy and dark matter, which is essential to maximising the scientific return of Euclid.
- 27 March 2025
- Published by EDP Sciences in Astronomy & Astrophysics
- Vol. 695, A232
Open AccessEuclid preparation
The Euclid mission will measure cosmological parameters with unprecedented precision. To distinguish between cosmological models, it is essential to generate realistic mock observables from cosmological simulations that were run in both the standard Λ-cold-dark-matter (ΛCDM) paradigm and in many non-standard models beyond ΛCDM. We present the scientific results from a suite of cosmological N-body simulations using non-standard models including dynamical dark energy, k-essence, interacting dark energy, modified gravity, massive neutrinos, and primordial non-Gaussianities. We investigate how these models affect the large-scale-structure formation and evolution in addition to providing synthetic observables that can be used to test and constrain these models with Euclid data. We developed a custom pipeline based on the Rockstar halo finder and the nbodykit large-scale structure toolkit to analyse the particle output of non-standard simulations and generate mock observables such as halo and void catalogues, mass density fields, and power spectra in a consistent way. We compare these observables with those from the standard ΛCDM model and quantify the deviations. We find that non-standard cosmological models can leave large imprints on the synthetic observables that we have generated. Our results demonstrate that non-standard cosmological N-body simulations provide valuable insights into the physics of dark energy and dark matter, which is essential to maximising the scientific return of Euclid.
- Open Access
- 16 January 2025
- Published by Oxford University Press (OUP) in Monthly Notices of the Royal Astronomical Society
- Vol. 537 (2) , 2160-2178
The FLAMINGO project: the coupling between baryonic feedback and cosmology in light of the S8 tension
Large-scale structure surveys have reported measurements of the density of matter, $\Omega _\mathrm{m}$, and the amplitude of clustering, $\sigma _8$, that are in tension with the values inferred from observations of the cosmic microwave background. While this may be a sign of new physics that slows the growth of structure at late times, strong astrophysical feedback processes could also be responsible. In this work, we argue that astrophysical processes are not independent of cosmology and that their coupling naturally leads to stronger baryonic feedback in cosmological models with suppressed structure formation or when combined with a mechanism that removes dark matter from haloes. We illustrate this with two well-motivated extensions of the Standard Model known to suppress structure formation: massive neutrinos and decaying dark matter. Our results, based on the FLAMINGO suite of hydrodynamical simulations, show that the combined effect of baryonic and non-baryonic suppression mechanisms is greater than the sum of its parts, particularly for decaying dark matter. We also show that the dependence of baryonic feedback on cosmology can be modelled as a function of the ratio $f_\mathrm{b}/c^2_\mathrm{v}\sim f_\mathrm{b}/(\Omega _\mathrm{m}\sigma _8)^{1/4}$ of the universal baryon fraction, $f_\mathrm{b}$, to a velocity-based definition of halo concentration, $c^2_\mathrm{v}$, giving an accurate fitting formula for the baryonic suppression of the matter power spectrum. Although the combination of baryonic and non-baryonic suppression mechanisms can resolve the tension, the models with neutrinos and decaying dark matter are challenged by constraints on the expansion history.- 16 January 2025
- Published by Oxford University Press (OUP) in Monthly Notices of the Royal Astronomical Society
- Vol. 537 (2) , 2160-2178
Open AccessThe FLAMINGO project: the coupling between baryonic feedback and cosmology in light of the S8 tension
Large-scale structure surveys have reported measurements of the density of matter, $\Omega _\mathrm{m}$, and the amplitude of clustering, $\sigma _8$, that are in tension with the values inferred from observations of the cosmic microwave background. While this may be a sign of new physics that slows the growth of structure at late times, strong astrophysical feedback processes could also be responsible. In this work, we argue that astrophysical processes are not independent of cosmology and that their coupling naturally leads to stronger baryonic feedback in cosmological models with suppressed structure formation or when combined with a mechanism that removes dark matter from haloes. We illustrate this with two well-motivated extensions of the Standard Model known to suppress structure formation: massive neutrinos and decaying dark matter. Our results, based on the FLAMINGO suite of hydrodynamical simulations, show that the combined effect of baryonic and non-baryonic suppression mechanisms is greater than the sum of its parts, particularly for decaying dark matter. We also show that the dependence of baryonic feedback on cosmology can be modelled as a function of the ratio $f_\mathrm{b}/c^2_\mathrm{v}\sim f_\mathrm{b}/(\Omega _\mathrm{m}\sigma _8)^{1/4}$ of the universal baryon fraction, $f_\mathrm{b}$, to a velocity-based definition of halo concentration, $c^2_\mathrm{v}$, giving an accurate fitting formula for the baryonic suppression of the matter power spectrum. Although the combination of baryonic and non-baryonic suppression mechanisms can resolve the tension, the models with neutrinos and decaying dark matter are challenged by constraints on the expansion history. - Open Access
- 4 December 2024
- Published by Oxford University Press (OUP) in Monthly Notices of the Royal Astronomical Society
- Vol. 536 (2) , 1408-1427
Emulation of f(R) modified gravity from ΛCDM using conditional GANs
A major aim of cosmological surveys is to test deviations from the standard $\Lambda$CDM model, but the full scientific value of these surveys will only be realized through efficient simulation methods that keep up with the increasing volume and precision of observational data. N-body simulations of modified gravity (MG) theories are computationally expensive since highly non-linear equations must be solved. This represents a significant bottleneck in the path to reach the data volume and resolution attained by equivalent $\Lambda$CDM simulations. We develop a field-level neural network-based emulator that generates density and velocity divergence fields under the $f(R)$ gravity MG model from the corresponding $\Lambda$CDM simulated fields. Using attention mechanisms and a complementary frequency-based loss function, our model is able to learn this intricate mapping. We use the idea of latent space extrapolation to generalize our emulator to $f(R)$ models with differing field strengths. The predictions of our emulator agree with the $f(R)$ simulations to within 5 per cent for matter density and to within 10 per cent for velocity divergence power spectra up to $k \sim 2\, h$$\mathrm{Mpc}^{-1}$. But for a few select cases, higher order statistics are reproduced with $\lesssim$10 per cent agreement. Latent extrapolation allows our emulator to generalize to different parametrizations of the $f(R)$ model without explicitly training on those variants. Given a $\Lambda$CDM simulation, the GPU-based emulator can reproduce the equivalent $f(R)$ realization $\sim$600 times faster than full N-body simulations. This lays the foundations for a valuable tool for realistic yet rapid mock field generation and robust cosmological analyses.- 4 December 2024
- Published by Oxford University Press (OUP) in Monthly Notices of the Royal Astronomical Society
- Vol. 536 (2) , 1408-1427
Open AccessEmulation of f(R) modified gravity from ΛCDM using conditional GANs
A major aim of cosmological surveys is to test deviations from the standard $\Lambda$CDM model, but the full scientific value of these surveys will only be realized through efficient simulation methods that keep up with the increasing volume and precision of observational data. N-body simulations of modified gravity (MG) theories are computationally expensive since highly non-linear equations must be solved. This represents a significant bottleneck in the path to reach the data volume and resolution attained by equivalent $\Lambda$CDM simulations. We develop a field-level neural network-based emulator that generates density and velocity divergence fields under the $f(R)$ gravity MG model from the corresponding $\Lambda$CDM simulated fields. Using attention mechanisms and a complementary frequency-based loss function, our model is able to learn this intricate mapping. We use the idea of latent space extrapolation to generalize our emulator to $f(R)$ models with differing field strengths. The predictions of our emulator agree with the $f(R)$ simulations to within 5 per cent for matter density and to within 10 per cent for velocity divergence power spectra up to $k \sim 2\, h$$\mathrm{Mpc}^{-1}$. But for a few select cases, higher order statistics are reproduced with $\lesssim$10 per cent agreement. Latent extrapolation allows our emulator to generalize to different parametrizations of the $f(R)$ model without explicitly training on those variants. Given a $\Lambda$CDM simulation, the GPU-based emulator can reproduce the equivalent $f(R)$ realization $\sim$600 times faster than full N-body simulations. This lays the foundations for a valuable tool for realistic yet rapid mock field generation and robust cosmological analyses.