MCP
MH

Matthew Ho

49 papers in the library · Same-name authors told apart using DBLP

Papers

30
Agentic Context Management for Multi-Turn Human-AI Conversations
Matthew HoChenglong WangBaolin PengNebojsa JojicPhilippe LabanMichel GalleyJianfeng GaoLianhui Qin
This paper proposes Agentic Conversation Context Curation (AC3), a training-free method for multi-turn human-AI conversations. AC3 uses a separate analyzer to consolidate the task specification from user messages, audit prior assistant outputs against it, and either append the analysis or rebuild the context from the specification, excluding assistant turns structurally to avoid contagious pollution. On Lost in Conversation, AC3 closes 55–84% of the gap between full context and the oracle assistant-omission baseline on three tasks and exceeds it on a fourth.
arXivarXiv · · October 31, 2026
0
Agentic Systems for Calibrating Cosmological Simulations
Chaipat TirapongprasertMatthew Ho
We propose AgenticTuner, an agentic calibration pipeline for cosmological simulations where a large language model acts as the optimizer to propose the next parameter trial. Unlike Bayesian optimization, which treats the simulator as a black box, AgenticTuner incorporates informal, human-readable priors such as codebase, documentation, and heuristic guides. The authors show that this approach achieves competitive calibration performance at a fraction of the CPU cost, positioning it as an early step toward AI scientists capable of long-horizon scientific tasks.
arXivarXiv · · October 26, 2026
0
The Deep Learning Halo Definer: A Multimodal Framework for Halo Mass and Gas Fraction Inference on Galaxy Groups and Clusters
Caleb OgleKalvyn N. Poncelet AdamsBenjamin D. OppenheimerNaomi GluckMatthew HoDaisuke NagaiJoseph N. BurchettMohammadreza Ayromlou
The Deep Learning Halo Definer (DLHD) is a multimodal framework combining Deep Sets (for galaxy catalogues) and a CNN (for X-ray imaging) to jointly infer halo mass $M_{\mathrm{halo}}$ and gas fraction $f_{\mathrm{gas}}$ of galaxy groups and clusters. Tested on IllustrisTNG300 mock data, DLHD outperforms each unimodal component, achieving RMSE reductions of up to 1.9$\times$ for $M_{\mathrm{halo}}$ and 2.0$\times$ for $f_{\mathrm{gas}}$ (within $R_{200c}$) compared to Deep Sets alone. This demonstrates the method's ability to exploit multi-wavelength information inaccessible to single-modality approaches.
arXivarXiv · · September 18, 2026
0
0
CNN-Based Inference of Gaseous Halo Properties from Synthetic X-ray and 21-cm HI Observations
Kalvyn N. Poncelet AdamsBenjamin D. OppenheimerNaomi GluckCaleb OgleMatthew HoDaisuke Nagai
The authors train CNNs on synthetic IllustrisTNG observations to infer gaseous halo properties from combined X-ray and 21-cm HI data. Multi-band inputs outperform single-band for gas fractions. X-ray excels at halo mass, while both bands contribute similarly to cool gas fraction where cool gas is present. A microcalorimeter improves metallicity inference by a factor of 1.75 over a CCD. TNG300 enables group-mass inference with 0.04 dex RMSE from a 100 ksec X-ray exposure. The work demonstrates how deep learning can guide instrument and survey design
arXivarXiv · · September 14, 2026
0
0
Don't Cut Corners: How Training Outside the Prior Makes Simulation-Based Inference More Robust
Chaipat TirapongprasertMatthew Ho
Simulation-based inference often samples training parameters from a uniform prior, whose sharp edges hinder neural posterior estimators near the boundaries. This paper proposes Tailed-Uniform, hybrid proposal distributions that pad the training box with decaying tails. Networks trained on Tailed-Uniform yield more accurate posteriors near and beyond the edges. The benefit grows with dimensionality, where boundaries dominate volume, and is demonstrated on a toy problem and cosmological inference from the matter power spectrum.
arXivarXiv · · August 12, 2026
0
0
DegenDetector: Symbolic Recovery of Parameter Degeneracies in Bayesian Posteriors
Chaipat TirapongprasertMatthew Ho
DegenDetector is a framework that automatically identifies parameter degeneracies in Bayesian posteriors and expresses them as closed-form symbolic equations. It combines mutual information screening with alternating symbolic regression, requiring no domain-specific input. Unlike corner plots that only indicate correlations, DegenDetector provides interpretable functional forms of multi-parameter degeneracies, scaling to high-order parameter spaces.
arXivarXiv · · July 9, 2026
0
0
Cluster Mass Inference from Galaxy Kinematics
Bonny Y. WangLeander ThieleMatthew Ho
This paper presents a simulation-based inference pipeline that uses a permutation-invariant Deep Sets architecture and normalizing flows to infer galaxy cluster masses from full projected phase-space information of member and interloper galaxies. The model predicts residual corrections to the classical $M$--$\sigma$ relation, isolating information beyond velocity dispersion. In an idealized (interloper-free) setup, it achieves $\sim 0.1$ dex scatter, two-fold better than the $M$--$\sigma$ relation. Under realistic cylindrical observation, it maintains comparable performance for high-mass clusters ($> 10^{14.5}\,M_\odot/h$), demonstrating robustness to interlopers.
arXivarXiv · · June 11, 2026
0
0
Auto-Configuring Scientific Simulators with Lightweight Coding-Agent Adapters
Matthew HoBrian LiuJixuan ChenAudrey WangLianhui Qin
SIGA is a lightweight adapter that equips an off-the-shelf coding agent with a scientific simulator's executable contract—retrieval, procedural memory, agent-callable validation, and validation-gated termination—without modifying the underlying agent. On GEOS, it improves reliability: harder tasks see TreeSim accuracy rise from 0.720 to 0.789 and across-run standard deviation drop by ~16x by eliminating empty or invalid decks. A human calibration shows SIGA reaches in ~5 minutes the deck quality a domain expert achieves in ~3 hours. The recipe transfers to OpenFOAM and LAMMPS, with benefits depending on whether the bottleneck is structural completeness or value correctness.
arXivarXiv · · June 8, 2026
0
1
Learning the Universe: The Structure of Dust Attenuation Curves in Galaxy Simulations
Laura SommovigoDeaglan J. BartlettRachel K. CochraneMatthew HoChristopher C. LovellRachel S. Somerville
Using synthetic attenuation curves from TNG50/TNG100 galaxies processed with SKIRT radiative transfer, the authors show via Information-Ordered Bottleneck analysis that exactly four parameters capture the diversity of attenuation curves. Symbolic regression yields a new four-parameter model (UV bump strength, FUV slope, UV-bump transition curvature, large-scale optical slope) that outperforms existing parameterizations across three dust mixtures, with correlations to galaxy properties primarily regulated by star-formation rate surface density, metallicity, and stellar-dust geometry.
arXivarXiv · · June 8, 2026
0
0
SIGA: Scientific Simulation Coding Agent Adapter- A Geophysics Case Study
Matthew HoBrian Zhou LiuJixuan ChenLianhui Qin
SIGA addresses the bottleneck of turning a modeling goal into a valid, runnable input deck for an advanced scientific simulator by wrapping an off-the-shelf coding agent in a lightweight adapter rather than building a bespoke simulator agent, leaving the model and agent loop frozen. The adapter supplies the simulator's executable contract through retrieval, procedural memory, agent-callable validation, and validation-gated termination, and because this contract is small and external it supports self-evolution, letting prior trajectories rewrite adapter contents without modifying the agent. On the GEOS multiphysics subsurface simulator, SIGA's main gain is reliability: on harder held-out tasks it raises structural similarity to the reference deck (TreeSim) from 0.720 to 0.789 and cuts across-run standard deviation by about 16x by preventing empty or invalid decks. A preliminary human calibration found SIGA reaches in about five minutes a deck quality close to what a domain expert new to GEOS reached in about three hours. Transfers to OpenFOAM and LAMMPS show the recipe is portable but interface-dependent: completion gates help when structural completeness is the bottleneck, while memory and retrieval help when value correctness is.
OpenReviewOpenReview · May 5, 2026
0
Introducing sapphire: Towards Hybrid Physics-Informed, Data-Driven Modeling of Galaxy Formation
Viraj PandyaGreg L. BryanT. Lucas MakinenAusten GabrielpillaiChristopher CarrDrummond B. FieldingLars HernquistMatthew HoKartheik IyerChristian Kragh JespersenSophie KoudmaniMarta Laska  +9
This paper introduces sapphire, a modular, differentiable, GPU-accelerated semi-analytic model (SAM) for galaxy formation written in JAX. Using the Pandya et al. (2023) equations, it computes exact Jacobian and Hessian matrices of a SAM for the first time, enabling local and global sensitivity analyses that identify supernova energy loading as the key parameter. Gradient descent and Hamiltonian Monte Carlo recovery tests show the $z=0$ stellar-to-halo-mass relation alone is insufficient for parameter inference. Combined with MaNGA survey data, sapphire suggests galaxies self-regulate star formation primarily through preventative feedback, though uncertainties remain.
arXivarXiv · · April 7, 2026
0
0
Learning at the Edge: Tailed-Uniform Sampling for Robust Simulation-Based Inference
Chaipat TirapongprasertMatthew Ho
This paper addresses the failure of neural posterior estimators in simulation-based inference when the posterior intersects or extends beyond parameter prior bounds. The authors propose Tailed-Uniform, a proposal distribution that replaces sharp uniform boundaries with smooth Gaussian tails. This method, requiring minimal tuning (tail widths 10–30% of prior width), improves posterior estimation accuracy near boundaries, especially in high-dimensional spaces where boundary volume dominates. Experiments on a synthetic Gaussian task and cosmological inference confirm the advantage over standard uniform sampling.
arXivarXiv · · January 23, 2026
0
0
Flexible Simulation Based Inference for Galaxy Photometric Fitting with Synthesizer
Thomas HarveyChristopher C. Lovell…Matthew Ho
Synference, a Python framework for galaxy SED fitting, uses simulation-based inference (SBI) with the Synthesizer package for forward modelling. It trains a neural posterior estimator on 10^6 simulated galaxies with an 8-parameter physical model to infer properties from 14-band HST and JWST photometry. The method achieves excellent parameter recovery (R^2>0.99 for M_⋆) and accurate posterior calibration, processing 3,088 JADES galaxies in ~3 minutes on a single CPU—a ~1700× speedup over nested sampling or MCMC—while also enabling photometric redshift inference and rapid Bayesian model comparison.
arXivarXiv · · November 13, 2025
0
10
ArcMemo: Abstract Reasoning Composition with Lifelong LLM Memory
Matthew HoChen SiZhaoxiang FengFangxu YuYichi YangZhijian LiuZhiting HuLianhui Qin
ArcMemo stores reusable concept-level abstractions distilled from LLM reasoning traces in natural language, moving beyond instance-based memory. For new queries, relevant concepts are retrieved and integrated into the prompt, enabling test-time continual learning without weight updates. On ARC-AGI, this yields a 7.5% relative gain over a strong no-memory baseline, with performance scaling with inference compute. Abstract concepts consistently outperform the baseline, and dynamic memory updating during test-time surpasses fixed settings, supporting self-improvement through accumulated patterns.
OpenReviewOpenReview · · September 18, 2025
0
ArcMemo: Abstract Reasoning Composition with Lifelong LLM Memory
Matthew HoChen SiZhaoxiang FengFangxu YuYichi YangZhijian LiuZhiting HuLianhui Qin
ArcMemo introduces concept-level memory for LLMs, storing reusable, modular abstractions distilled from reasoning traces in natural language. During inference, relevant concepts are retrieved to augment prompts, enabling continual learning without weight updates. On ARC-AGI, a benchmark for compositional generalization, this method achieves a 7.5% relative improvement over a strong baseline, with performance scaling with inference compute, and dynamic memory updates outperforming fixed settings.
arXivarXiv · · September 4, 2025
0
25
Simulation-Based Inference for Direction Reconstruction of Ultra-High-Energy Cosmic Rays with Radio Arrays
Oscar MaciasZachary MasonMatthew HoArsène FerrièreAurélien Benoit-LévyMatías TuerosArsène FerrièreAurélien Benoit-LévyMatías Tueros
We present a simulation-based inference pipeline for reconstructing the arrival direction of ultra-high-energy cosmic rays (UHECRs) from radio-array signals. A physics-informed graph neural network refines an initial plane-wavefront fit by learning spatiotemporal correlations among antenna signals, then its frozen embedding conditions a normalizing flow that outputs the full Bayesian posterior. Trained on $8,000$ realistic ZHAireS simulations, the method achieves sub-degree median angular resolution, and the 68% highest-posterior-density contours cover $71\% \pm 2\%$ of true directions, indicating mildly conservative uncertainty calibration. The approach provides rapid, well-calibrated inference without explicit likelihoods, making it suitable for next-generation radio arrays such as GRAND and AugerPrime Radio.
arXivarXiv · · August 21, 2025
0
The LZ78 Source
Naomi SaganAmir DemboMatthew HoTsachy Weissman
The LZ78 source is a family of processes generated by sequential probability assignments derived from the LZ78 universal compressor. Despite being non-stationary, these sources are shown to be "almost stationary and ergodic," satisfying a Shannon-McMillan-Breiman-type property where the normalized log probability of their realizations converges almost surely to their entropy rate. Additionally, they are "almost i.i.d." in that their finite-dimensional empirical distributions converge almost surely to a deterministic i.i.d. law. However, unlike stationary ergodic sources, their finite-state compressibility exceeds the entropy rate by a "Jensen gap." The LZ78 source provides a benchmark for testing sequential probability models on non-Markovian, non-stationary data, including in-context learning in transformers.
arXivarXiv · · March 13, 2025
0
2
AI-Powered Noisy Quantum Emulation: Generalized Gate-Based Protocols for Hardware-Agnostic Simulation
Matthew HoJun Yong KhooAdrian M. MakStefano Carrazza
This paper introduces a hardware-agnostic protocol that uses machine learning on gate set tomography data to predict noise model parameters, constructing a device-specific quantum emulator without pulse-level control. The emulator captures device noise with high accuracy, achieving a 0.3% mean absolute difference in expectation value relative to state-vector simulation when estimating the unitary coupled cluster energy of the H$_2$ molecule. This enables users to optimize and debug executable quantum programs before running them on the actual quantum device.
arXivarXiv · · February 27, 2025
0
0
Cosmology with One Galaxy: Auto-Encoding the Galaxy Properties Manifold
Amanda LueShy GenelMarc Huertas-CompanyFrancisco Villaescusa-NavarroMatthew Ho
This work uses an autoencoder with an Information-Ordered Bottleneck to compress internal properties of individual galaxies from CAMELS simulations into a low-dimensional manifold. It finds that the reconstruction error increases significantly when the test set deviates from the fiducial values of $\Omega_m$ and $A_{\text{SN1}}$, indicating that these parameters shift galaxies off the fiducial manifold, while variations in $\sigma_8$ cause negligible changes, suggesting shifts along the manifold. This provides direct evidence that the previously demonstrated ability to infer $\Omega_m$ from a single simulated galaxy arises from how $\Omega_m$ shifts the manifold.
arXivarXiv · · February 24, 2025
0
Learning the Universe: physically-motivated priors for dust attenuation curves
Laura SommovigoRachel K. CochraneRachel S. SomervilleChristopher C. HaywardChristopher C. LovellTjitske StarkenburgGergö PoppingKartheik IyerAusten GabrielpillaiMatthew HoUlrich P. SteinwandelLucia A. Perez
Using radiative transfer post-processing of ~6400 IllustrisTNG galaxies at z=0.07, this work generates synthetic dust attenuation curves and fits them with a parametric model. It finds robust correlations between visual attenuation A_V, UV slope, and star formation rate surface density Σ_SFR, and provides scaling relations that predict a galaxy's median attenuation curve from Σ_SFR and/or A_V alone. These predictions match observed curves from the GALEX-SDSS-WISE Legacy Catalog, offering physically motivated priors for SED fitting.
arXivarXiv · · February 18, 2025
0
24
Learning the Universe: 3 h−1Gpc3\ h^{-1}{\rm Gpc} Tests of a Field Level NN-body Simulation Emulator
Matthew T. ScogginsMatthew HoFrancisco Villaescusa-NavarroDrew JamiesonLudvig DoeserGreg L. Bryan
This paper tests a field-level emulator that uses machine learning to correct the linear Zeldovich approximation at $z=0$, in volumes of $(3\ h^{-1}{\rm Gpc})^3$—matching next-generation survey scales. Compared to $N$-body simulations across eight cosmologies, the emulator reproduces raw particle power spectra, bispectra, and wavelet statistics within about 5% at most scales, and dark matter halo power spectra and bispectra similarly. It produces final fields a thousand times faster, though it shows slight errors in halo interior particle positions, and is positioned as a tool for large-scale cosmological inference.
arXivarXiv · · February 18, 2025
0
2
RTFAST-Spectra: Emulation of X-ray reverberation mapping for active galactic nuclei
Benjamin RickettsDaniela HuppenkothenMatteo LucchiniAdam IngramGuglielmo MastroserioMatthew HoBenjamin Wandelt
RTFAST-Spectra is a neural-network emulator that replaces the spectral portion of the relativistic X-ray reverberation model RTDIST for accreting black holes, achieving a speedup of about 100 times while preserving 1% precision across all 17 physically meaningful parameters. It is the first emulator for the reltrans model suite, enabling Bayesian posterior exploration that previously took months to be completed in hours.
arXivarXiv · · December 13, 2024
0
3
Learning the Universe: Cosmological and Astrophysical Parameter Inference with Galaxy Luminosity Functions and Colours
Christopher C. LovellTjitske StarkenburgMatthew HoDaniel Anglés-AlcázarRomeel DavéAusten GabrielpillaiKartheik IyerAlice E. MatthewsWilliam J. RoperRachel SomervilleLaura SommovigoFrancisco Villaescusa-Navarro
This work presents the first direct cosmological and astrophysical parameter inference from galaxy luminosity functions and colour distributions using a simulation-based (likelihood-free) approach. From thousands of CAMELS hydrodynamic simulations across four galaxy formation models, synthetic photometry (SDSS ugriz and GALEX UV) yields over 200 million sources. The authors constrain the cosmological parameters Ωm and σ8, and four stellar/AGN feedback parameters, finding that colour distributions and luminosity functions provide complementary information. The σ8 constraint arises because higher σ8 leads to earlier star formation and redder colours. The study notes that a model trained on one simulation generalises poorly to another due to subgrid differences.
arXivarXiv · · November 21, 2024
0
23
Proof Flow: Preliminary Study on Generative Flow Network Language Model Tuning for Formal Reasoning
Matthew HoVincent ZhuXiaoyin ChenMoksh JainNikolay MalkinEdwin Zhang
Generative Flow Networks (GFlowNets) are investigated as a fine-tuning method for LLMs to improve formal reasoning, specifically in Neural Theorem Proving (NTP) with Lean. Unlike reward-maximization reinforcement learning, GFlowNets avoid over-exploiting high-reward actions by better sampling compositional objects and maintaining diverse hypotheses. Early results suggest GFlowNet fine-tuning can enhance model performance in search-based reasoning, aligning with the trend toward inference-time compute scaling.
arXivarXiv · · October 17, 2024
0
8
Reconstructing Galaxy Cluster Mass Maps using Score-based Generative Modeling
Alan HsuMatthew HoJoyce LinCarleen MarkeyMichelle NtampakaHy TracBarnabás Póczos
We present a score-based diffusion model that reconstructs projected gas and dark matter density maps of galaxy clusters from mock SZ and X-ray images. The model samples from a learned posterior, accurately reproducing the mean and spread of radial density profiles and achieving near-unity bias and cross-correlation coefficients across scales. This demonstrates a strong, nonlinear, and unbiased mapping from observables to cluster density distributions.
arXivarXiv · · October 3, 2024
0
2
Proof Flow: Preliminary Study on Generative Flow Network Language Model Tuning for Formal Reasoning
Matthew HoVincent ZhuXiaoyin ChenMoksh JainNikolay MalkinEdwin Zhang
This paper proposes using Generative Flow Networks (GFlowNets) as an alternative fine-tuning method for large language models to enhance formal reasoning, specifically in Neural Theorem Proving with Lean proofs. Unlike classical reward-maximization RL, which over-exploits high-reward actions, GFlowNets sample compositional objects to maintain diverse hypotheses and improve generalization. Early proof-of-concept results suggest that GFlowNet fine-tuning can improve model performance in a search setting, supporting a shift toward inference-time compute scaling and "thinking slowly."
OpenReviewOpenReview · · September 27, 2024
0
CHARM: Creating Halos with Auto-Regressive Multi-stage networks
Shivam PandeyChirag ModiBenjamin D. WandeltDeaglan J. BartlettAdrian E. BayerGreg L. BryanMatthew HoGuilhem LavauxT. Lucas MakinenFrancisco Villaescusa-Navarro
CHARM creates mock halo catalogs directly from the dark matter density field via multi-stage neural spline flow networks, avoiding expensive N-body simulations. Trained at redshift $z=0.5$ on low-resolution particle mesh simulations, it matches halo spatial, mass, and velocity statistics. The resulting catalogs yield statistical properties equivalent to N-body outputs in both real and redshift space, and when used for simulation-based cosmological inference with galaxy power spectrum, bispectrum, and wavelet statistics, they produce unbiased constraints with well-calibrated posteriors.
arXivarXiv · · September 13, 2024
0
2
Inpainting Galaxy Counts onto N-Body Simulations over Multiple Cosmologies and Astrophysics
Antoine BourdinRonan LeginMatthew HoAlexandre AdamYashar HezavehLaurence Perreault-Levasseur
The authors use conditional score-based models to learn a mapping from N-body dark matter density fields to galaxy distributions, enabling rapid generation of galaxy fields consistent with hydrodynamical simulations. The method achieves higher precision than traditional emulators across scales 0.36 $h \text{Mpc}^{-1} \leq k \leq 3.88 \, h \text{Mpc}^{-1}$, offering a computationally cheaper alternative to full hydrodynamical simulations.
arXivarXiv · · August 1, 2024
0
4
Metallicity Dependence of Pressure-Regulated Feedback-Modulated Star Formation in the TIGRESS-NCR Simulation Suite
Chang-Goo KimEve C. OstrikerJeong-Gyu KimMunan GongGreg L. BryanDrummond B. FieldingSultan HassanMatthew HoSarah M. R. JeffresonRachel S. SomervilleUlrich P. Steinwandel
Using the TIGRESS-NCR framework, a new simulation suite of star-forming galactic disks spanning metallicity $Z'\equiv Z/Z_\odot\sim0.1-3$, gas surface density $\Sigma_{\rm gas}\sim5-150\,M_\odot\,{\rm pc^{-2}}$, and stellar surface density $\Sigma_{\rm star}\sim1-50\,M_\odot\,{\rm pc^{-2}}$ reveals that the star formation rate surface density scales as $\Sigma_{\rm SFR} \propto Z'^{0.3}$ for fixed $\Sigma_{\rm gas}$ and $\Sigma_{\rm star}$. This metallicity dependence is interpreted through pressure-regulated feedback-modulated theory: at low metallicity, reduced UV attenuation enhances the thermal feedback yield $\Upsilon_{\rm th}\propto W^{-0.46}Z'^{-0.53}$, suppressing $\Sigma_{\rm SFR}$ more strongly than the combined turbulent and magnetic yield $\Upsilon_{\rm turb+mag}\propto W^{-0.22}Z'^{-0.18}$.
arXivarXiv · · May 29, 2024
0
28
Inpainting Galaxy Counts onto N-Body Simulations over Multiple Cosmologies and Astrophysics
Antoine BourdinRonan LeginMatthew HoAlexandre AdamYashar HezavehLaurence Perreault-Levasseur
This paper presents a conditional score-based model that maps N-body dark matter density fields to galaxy distributions learned from cosmological hydrodynamical simulations. The trained emulator generates galaxy fields that are statistically consistent with the expensive simulations, at a fraction of the computational cost, and is claimed to be significantly more precise than traditional emulators across scales 0.36 $h\ \text{Mpc}^{-1} \leq k \leq 3.88\ h\ \text{Mpc}^{-1}$. This offers a cost-effective alternative for producing observationally comparable predictions.
OpenReviewOpenReview · · May 24, 2024
0
Frequent collaborators
Christopher C. Lovell (6)
Michelle Ntampaka (6)
Lianhui Qin (5)
Greg L. Bryan (5)
Benjamin Wandelt (5)
Hy Trac (5)
Arya Farahi (5)
Chaipat Tirapongprasert (4)
Daisuke Nagai (4)
Deaglan J. Bartlett (4)
Rachel S. Somerville (4)
Francisco Villaescusa-Navarro (4)