arXiv Science⌕ Search

arXiv · 2611.28096

Auditing two-stage MS/MS molecular retrieval on MassSpecGym v1.5: Reranking gains, candidate priors and spectrum dependence

Abstract

Two-stage retrieval of molecular structures from tandem mass spectra (MS/MS) can benefit from candidate reranking, but benchmark gains may also reflect candidate priors, replicate spectra, precursor mass, and training-set coverage. We audit a two-stage retrieval system on the official MassSpecGym v1.5 split (17,556 test spectra). A data-safe DreaMS encoder and composite molecular fingerprints provide an initial shortlist; a support-gated reranker combines pair scores, candidate-relative peak coverage, and mass-feasibility features. The final system achieves 31.05% Recall@1, a 10.05-point gain over its Stage 1 ensemble, while preserving its 72.62% Recall@20. Replacing the query spectrum with one from a different molecule matched on adduct and precursor mass reduces Recall@1 by 9.0 points (15.3 points under molecule-balanced weighting); nevertheless, a training-mean spectrum retains 13.75% Recall@1, indicating substantial spectrum-independent signal. Mass-feasibility features improve Recall@1 beyond score and coverage controls, while learned peak-fragment similarities do not outperform constant coverage. Errors cluster by molecule, and removing close training neighbours causes a large decline in Stage 1 shortlist recall among initially well-covered molecules. We conclude that candidate-relative mass-feasibility evidence improves front-rank retrieval and spectrum dependence, but does not establish learned structural discrimination or eliminate candidate priors. Evaluation should separately assess shortlist reachability, spectrum dependence, and molecule-level generalization.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Jiaqi Xue, Yutong Wu, Qiang Zhang. 2026-11-17. Auditing two-stage MS/MS molecular retrieval on MassSpecGym v1.5: Reranking gains, candidate priors and spectrum dependence. https://arxiv.science/abs/2611.28096

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Physical Reasoning in Large Language Models is Shaped by Human Language

Large language models (LLMs) are increasingly used in scientific research, but whether next-token prediction can yield physical understanding remains unresolved. Human scientific reasoning relies on verbalizable concepts that can obscure less intuitive effects. Molecular conformations expose this tension: hydrogen bonds offer a recognizable stabilizing pattern (sometimes worth a few kcal/mol), whereas strain from subtle ring puckering is harder to quantify. We find the same bias in LLMs: while frontier LLMs are able to rank conformers of diverse organic molecules from atomic coordinates alone approaching accuracy of specialized force-fields, they mostly rely on the better-quantified electrostatic interactions, including hydrogen bonds. They almost universally fail in cases where the hydrogen-bond heuristic points in the wrong direction. Deeper analysis reveals that LLMs do recognize and geometrically characterize less quantified chemical interactions including strain and sterics, but struggle to assess their energetic contributions, just as humans do. These findings suggest that emerging physical reasoning in LLMs inherits both the strengths and blind spots of human scientific concepts - a machine analogue of linguistic relativity. As researchers increasingly rely on LLMs for scientific judgments, the most capable models produce systematic errors where they are the most dangerous - when human intuition also fails.

physics.chem-ph↗

Relativistic Cavity Quantum Electrodynamical Algebraic Diagrammatic Construction Method for Strong Light-Matter Coupling

We present a relativistic four-component implementation of cavity quantum electrodynamics at the level of the second-order algebraic diagrammatic construction, 4c-QED-ADC(2). Starting from the origin-invariant Pauli-Fierz Hamiltonian in the coherent-state basis, we include the cavity either self-consistently in a 4c-QED Dirac-Hartree-Fock reference or only at the correlated level on a cavity-free reference. We apply the method to systems with heavy elements, where spin-orbit coupling makes singlet-triplet transitions weakly allowed, an effect that a non-relativistic treatment cannot capture. We show that these spin-forbidden transitions form polaritons inside a cavity, and that the polaritons borrow intensity from bright singlet states and become up to an order of magnitude brighter than the free transition. The method is not limited to atoms and linear molecules, as shown for selenophene, where the weakly allowed triplet state forms polaritons that are about eleven times brighter than in the free molecule. For HBr, the cavity creates a bound well on an otherwise repulsive excited-state surface, and at stronger coupling a triplet state also couples to the cavity through spin-orbit coupling. Including the photonic degrees of freedom makes the matrix-vector product 2 and 3 times more costly compared to standard 4c-ADC(2) for one and two photons, respectively. Comparing the two references, we find that including the cavity only at the correlated level works well at weak coupling, but the differences grow with the coupling strength, so a cavity-relaxed 4c-QED-DHF reference is needed at strong coupling.

physics.chem-ph↗

Fast and Accurate Boys Function Evaluation Using Nonuniform Gridded Taylor Expansions

Efficient Boys function evaluation is important for Gaussian integral calculations on both central processing units (CPUs) and graphics processing units (GPUs). Gridded Taylor expansion provides a simple evaluation procedure, but a uniformly spaced reference table requires substantial storage over a wide argument range. We address this limitation using a nonuniform grid whose spacing increases with the argument. For large arguments, we introduce a normalized auxiliary function whose scaling and derivative properties allow it to be evaluated using the same Taylor procedure as the main-domain Boys functions. The main-domain and large-argument reference tables are constructed jointly, with polynomial degrees and grid parameters selected under accuracy and storage constraints. Low-part corrections to the reference values are included to improve the accuracy of the Taylor evaluation. The resulting method is implemented in the Fast and Accurate BOys (FABO) library and evaluated in QUICK and NWChem-Simint. FABO gives the smallest maximum and mean errors among the tested implementations for all three reported error measures, with the largest sampled error being approximately 1.067 units in the last place (ULPs). In application benchmarks, FABO reduces the Fock-build time relative to the original Boys evaluators in both applications and is competitive with the other tested implementations.

physics.chem-ph↗