arXiv Science⌕ Search

arXiv subjects

Jiaming Pan

Publications and source records attributed to Jiaming Pan.

10 recordsLinked to original sources

ScienceIDE: Turning World's Scientific Codebase into Agent Learnable Environments

Scientific code repositories encode decades of human knowledge in executable models, methods, and tools. Yet fragmented toolchains, implicit domain conventions, and specialized correctness criteria make this knowledge difficult to convert into reliable learning experience-a challenge we call the scientific experience bottleneck. We introduce ScienceIDE, infrastructure for turning the world's scientific code into programmable environments for scientific agents. Guided by expert-defined scientific cases and acceptance criteria, agents transform repositories into executable environments that support task generation, execution, and scientific verification. These environments provide a shared foundation for supervised fine-tuning, reinforcement learning, and evaluation. Using verified interaction trajectories, we train PhAI-IDE-72B/9B/4B. The model family shows gains in held-out scientific-code repair and across selected general-purpose benchmarks in code, reasoning, and knowledge, providing evidence of positive transfer from scientific experience to broader capabilities. ScienceIDE lays the foundation for an integrated workspace for agent learning and scientific practice, making humanity's scientific software a shared substrate for developing scientific intelligence. Code: https://github.com/aitofound/ScienceIDE

cs.CL↗

Probing Cosmology with Diffusion Models: Memorization, Generalization, and Parameter Estimation

Diffusion models are increasingly used as surrogates for expensive cosmological simulations, but simple metrics like reconstruction fidelity do not guarantee a surrogate can be trusted for scientific inference. To explore this, we train diffusion models on HI fields from the CAMELS IllustrisTNG simulations and test how three properties change with training-set size: memorization of individual training examples, agreement with one- and two-point statistics (the pixel-value distribution and the power spectrum), and estimation of cosmological parameters from the generated fields. At fixed model size, generative models trained with smaller, less diverse training data produced memorized samples. While this is a well known phenomenon, we show that this leads to miscalibrated parameter densities for cosmological inference tasks. At fixed size, there is a training set size with enough information content to enable a model to generalize, at which point posterior density estimation with neural surrogates can be well-calibrated. We demonstrate that a neural surrogate can therefore pass visual, one-point and power-spectrum convergence tests while still resulting in overconfident parameter estimation in a cosmological inference pipeline. Thus, tests of model generalization should be an additional check for inference pipelines adopting neural surrogates.

astro-ph.CO↗

ConMoE: MoE Compression as Expert Selection and Functional Assignment

Sparse Mixture-of-Experts (MoE) models scale model capacity through sparse activation, but storing their full parameters remains costly in GPU memory. Existing expert compression methods address this problem through pruning, merging, or substitution, typically coupling expert pool construction with the assignment of routed workloads. In this work, we formulate expert compression as two decisions--constructing an expert pool and assigning the original experts' workloads to that pool--and show that assignment can be optimized after the pool is fixed. Based on this formulation, we introduce ConMoE, which constructs a compact pool using Anchor Coverage and optimizes assignment through a router-conditioned functional objective derived from a layer reconstruction bound, treating parameter proximity only as a proxy. ConMoE uses unlabeled calibration inputs and keeps the router and expert weights frozen. With the pool fixed, functional assignment improves macro accuracy by 1.82 and 0.35 percentage points at 50% and 75% expert retention, respectively, and also improves pools constructed by other selectors. With task-specific calibration across three MoE architectures and six zero-shot benchmarks, ConMoE achieves the highest macro average among the compared methods at both ratios. At 50% expert retention, ConMoE reduces peak GPU memory by 29.6-48.4% relative to the uncompressed models on our generation workloads. These results establish expert assignment as an independent optimization axis for MoE compression.

cs.AI↗

Non-minimally coupled gravity constraints from DESI DR2 data

It has been observed that the hint about dynamical dark energy in the DESI BAO observation might point to non-minimally coupled gravity. We report the first $3σ$ evidence for non-minimal coupling in a model-agnostic effective field theory (EFT) approach. In a non-parametric reconstruction approach, we detect a clear departure from the General Relativity expectation of non-minimal coupling based on a combined analysis of DESI DR2 BAO together with CMB and Type Ia supernova data. Also, it is found that current data can constrain up to the quadratic order $(n=2)$ if the EFT function representing non-minimal coupling is Taylor expanded as a general function of the dark energy fraction $Ω_{\rm DE}$, i.e. $Ω^{\rm EFT}(a)=\sum_{i=0}^{n} c^{\rm EFT}_i Ω^i_{\rm DE}(a)$. Our findings constitute a detection of modified-gravity effects and call for a more flexible parametrization of the EFT functions than commonly used ones in literature.

astro-ph.CO↗

$\mathcal{H}$-EFTCAMB: A Cobaya-Integrated, Python-Wrapped Extension of EFTCAMB for Covariant Horndeski Gravity

We present $\mathcal{H}\mathtt{-EFTCAMB}$, the official successor to $\mathtt{EFTCAMB}$. The original $\mathtt{EFTCAMB}$ is designed as a consistent and numerically stable implementation of the effective field theory (EFT) of dark energy in the Einstein-Boltzmann code $\mathtt{CAMB}$. On top of this, $\mathcal{H}\mathtt{-EFTCAMB}$ introduces a new Horndeski module that supports computing cosmology for an arbitrary input covariant Horndeski Lagragian. $\mathcal{H}\mathtt{-EFTCAMB}$ supports both mapping the Horndeski theory to an EFT lagrangian to solve in the EFT framework as well as directly solving for the scalar field equations of motion derived from the covariant Lagrangian. The latter approach also works for the cases when the Horndeski field experiences turn-overs, e.g. oscillation, where the EFT approach breaks down. The Horndeski module has been validated by comparing internally with existing models in the original $\mathtt{EFTCAMB}$ and externally with $\mathtt{hi\_class}$. $\mathcal{H}\mathtt{-EFTCAMB}$ features a flexible Python wrapper that is seamlessly integrated into the widely utilized cosmological sampler $\mathtt{Cobaya}$. \heft~is publicly available and serves as a comprehensive tool for testing gravity against the precision data from current and next-generation surveys.

gr-qc↗

Consistent Initial Conditions for Early Modified Gravity in Effective Field Theory

Precise initial conditions (ICs) are crucial for accurate computation in cosmological perturbation theory. We derive the consistent ICs for Horndeski theory in the Effective Field Theory (EFT) approach, assuming constant EFT functions at early times. We implement the ICs into the public Boltzmann code \texttt{EFTCAMB}, and demonstrate that the expected early-time behavior of perturbations and Weyl potential can be obtained with theory-consistent MG ICs. We identify significant deviations when comparing Cosmic Microwave Background angular power spectra in MG models obtained with consistent MG ICs versus inconsistent GR ICs. Our findings underline the importance of using accurate, theory-consistent MG ICs to ensure robust cosmological constraints on early MG models.

astro-ph.CO↗

Determining the Hubble Constant through Cross-Correlation of Galaxies and Gravitational Waves

Gravitational wave (GW) standard sirens have the potential to measure the Hubble constant $H_0$ in the local universe independently of the distance ladder, and thus offer unique new insights into the Hubble tension. A key challenge with standard sirens is detecting their electromagnetic counterparts, and therefore assigning redshifts to the measured distances. One promising way to proceed is to utilize GW `dark sirens' -- events without an identified electromagnetic counterpart -- and cross-correlate their angular distribution with that of galaxies. We present a quantitative study of how precisely the Hubble constant can be measured using tomographic cross-correlation between galaxies and GW sources. Overall, we find that the constraints on $H_0$ will be limited by the quality and quantity of GW data. We find that percent-level constraints on $H_0$ will primarily depend on achieving small distance uncertainties ($σ_{d_L}=0.1\,d_L$), obtaining a large number of GW dark sirens ($\gtrsim$$5{,}000$), and accurate sky localization in the tomographic analysis.

astro-ph.CO↗

Compressed baryon acoustic oscillation analysis is robust to modified-gravity models

We study the robustness of the baryon acoustic oscillation (BAO) analysis to the underlying cosmological model. We focus on testing the standard BAO analysis that relies on the use of a template. These templates are constructed assuming a fixed fiducial cosmological model and used to extract the location of the acoustic peaks. Such "compressed analysis" had been shown to be unbiased when applied to the $Λ$CDM model and some of its extensions. However, it has not been known whether this type of analysis introduces biases in a wider range of cosmological models where the template may not fully capture relevant features in the BAO signal. In this study, we apply the compressed analysis to noiseless mock power spectra that are based on Horndeski models, a broad class of modified-gravity theories specified with eight additional free parameters. We study the precision and accuracy of the BAO peak-location extraction assuming DESI, DESI II, and MegaMapper survey specifications. We find that the bias in the extracted peak locations is negligible; for example, it is less than 10% of the statistical error for even the proposed future MegaMapper survey. Our findings indicate that the compressed BAO analysis is remarkably robust to the underlying cosmological model.

astro-ph.CO↗

Photometric Properties of Jupiter Trojans detected by the Dark Energy Survey

The Jupiter Trojans are a large group of asteroids that are co-orbiting with Jupiter near its L4 and L5 Lagrange points. The study of Jupiter Trojans is crucial for testing different models of planet formation that are directly related to our understanding of solar system evolution. In this work, we select known Jupiter Trojans listed by the Minor Planet Center (MPC) from the full six years dataset (Y6) of the Dark Energy Survey (DES) to analyze their photometric properties. The DES data allow us to study Jupiter Trojans with a fainter magnitude limit than previous studies in a homogeneous survey with $griz$ band measurements. We extract a final catalog of 573 unique Jupiter Trojans. Our sample include 547 asteroids belonging to L5. This is one of the largest analyzed samples for this group. By comparing with the data reported by other surveys we found that the color distribution of L5 Trojans is similar to that of L4 Trojans. We find that L5 Trojans' $g - i$ and $g - r$ colors become less red with fainter absolute magnitudes, a trend also seen in L4 Trojans. Both the L4 and L5 clouds consistently show such a color-size correlation over an absolute magnitude range $11 < H < 18$. We also use DES colors to perform taxonomic classifications. C and P-type asteroids outnumber D-type asteroids in the L5 Trojans DES sample, which have diameters in the 5 - 20 km range. This is consistent with the color-size correlation.

astro-ph.EP↗

New Globular Cluster Candidates in the M81 group

The study of outer halo globular cluster (GC) populations can give insight into galaxy merging, globular cluster accretion and the origin of GCs. We use archival Subaru Hyper Suprime-Cam (HSC) data in concert with space-based GALEX, IRAC and Gaia EDR3 data to select candidate Globular clusters (GCs) in the outer halo of the M81 group for confirmation and future study. We use a small sample of previously-discovered GCs to tune our selection criteria, finding that bright already-known GCs in the M81 group have sizes that are typically slightly larger than the Subaru PSF in our fields. In the optical bands, GCs appear to have colours that are only slightly different from stars. The inclusion of archival IRAC data yields dramatic improvements in colour separation, as the long wavelength baseline aids somewhat in the separation from stars and clearly separates GCs from many compact background galaxies. We show that some previously spectroscopically-identified GCs in the M81 group are instead foreground stars or background galaxies. GCs close to M82 have radial velocities suggesting that they fell into the M81 group along with M82. The overall M81 GC luminosity function is similar to the Milky Way and M31. M81's outer halo GCs are similar to the Milky Way in their metallicities and numbers, and much less numerous than M31's more metal-rich outer halo GC population. These properties reflect differences in the three galaxies' merger histories, highlighting the possibility of using outer halo GCs to trace merger history in larger samples of galaxies.

astro-ph.GA↗