Transferable Mass Spectrum Prediction via Reference-Guided Test-time Specialization
Yunhua Zhong, Runting Li, Yifan Li, Pan Liu, Zhiwen Yang, Zikun Wang, Yixuan Tang, Jun Xia
Abstract
Tandem mass spectrum prediction supports compound identification across metabolomics, natural-product discovery, and environmental analysis. However, pretrained predictors often degrade under shifts in chemical space and acquisition conditions, while retraining domain-specific models from scratch is costly. We introduce SPARC, a retrieval-guided test-time specialization framework that adapts a pretrained predictor using a spectral reference library without accessing test-query spectra. For each target query, SPARC retrieves chemically related reference spectra to recalibrate fragment intensities within the learned fragmentation space. During Transfer, SPARC combines reference-guided spectral adaptation with reliability-aware consistency, using reconstruction behavior on retrieved spectra to selectively preserve trustworthy predictions during continual specialization. Across MassSpecGym, NPLIB1 and application-specific GNPS libraries, SPARC improves spectral prediction under multiple transfer settings. These results establish retrieval-guided test-time specialization as a practical strategy for extending pretrained MS/MS predictors to specific chemical and acquisition domains, with continual test-time training providing further refinement during deployment.
Create a lesson
Related papers
GradLev: Token-Parallel Test-Time Training Via Costate Prediction
Shared title terminologycs.LGBo Liu, Qiang Liu
Beam Search as Test-Time Self-Distillation via Counterfactual Contexts
Shared title terminologycs.LGSu Ee Tan, Xiaotong Ji, Rasul Tutunov et al.
AdaptArena: Evaluating Test-Time Personalization of Web Agents
Shared title terminologycs.LGDongchan Shin, Xing Han Lù, Jiaqi Deng et al.
Learn Now, Use Next, Trust Later: Prequential Test-Time Learning for LLM Agents
Shared title terminologycs.LGTong Zhao, Reed Li, Yuyang Hu et al.
Rethinking Personalized Generation: Test-Time Alignment via Factorized Ranking Models
Shared title terminologycs.LGQiyao Ma, Junshan Zhang, Zhe Zhao
Predicting End-to-End Fine-Tuning Time for Generative Language Models
Shared title terminologycs.LGBreno Beleza, Felipe Lima, Isis Carvalho et al.