Critical Mass: Structure-Disjoint Splits Drift With the Libraries They Are Built On
summary
The gist
The gist The proposed optimized version of a criterion for structure-disjoint splits, allowing for computationally feasible application on public libraries, reveals that MCES-10 is not invariant to
In short
Researchers optimized a method for splitting molecular libraries into structure-disjoint folds using Maximum Common Edge Subgraph (MCES) distance at a threshold of 10. The optimization made it computationally feasible for large public libraries, revealing that the resulting holdout set shrinks and becomes systematically enriched with high molecular mass as the library size increases.
Key concepts
- Structure-Disjoint Splits
- This is a method used to divide a large collection of molecules into separate groups (folds) based on structural similarity. The goal is to create test sets that are truly 'out-of-distribution' from the training data, ensuring model performance estimates are reliable.
- Maximum Common Edge Subgraph (MCES)
- This is a distance metric used to determine how similar two molecules are by finding the largest set of common structural features (edges). The paper uses this metric at a threshold of 10 to decide which molecules belong together in the same fold.
- Library Percolation
- This describes what happens when you apply the splitting rule to very large libraries. The paper found that as library size grows, the resulting clusters become dominated by one giant component, meaning most molecules end up in one large group, leaving very little room for smaller test sets.
Terminology used across episodes
This episode discusses
- Critical Mass: Structure-Disjoint Splits Drift With the Libraries They Are Built On · Paper Radio
- MassSpecGym in the Wild: Uncovering and Correcting Evaluation Pitfalls in AI-Driven Molecule Discovery
- DiffMS: Diffusion Generation of Molecules Conditioned on Mass Spectra
- FRIGID: Scaling Diffusion-Based Molecular Generation from Mass Spectra at Training and Inference Time
- One Small Step with Fingerprints, One Giant Leap for De Novo Molecule Generation from Mass Spectra
The paper
Critical Mass: Structure-Disjoint Splits Drift With the Libraries They Are Built On · Read on arXiv
Tomo Oga, Devesh Shah, Cailum M. K. Stienstra, Gabriel Asher, Antonio H. de O. Fonseca, Niall O’Connor, Michael Widrich
Matterworks, Inc.
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: I'm Tom.
Jane: And I'm Jane, here with Lu, Meng and our in-house large language model, Lalam.
Tom: Today's paper: "Critical Mass: Structure-Disjoint Splits Drift With the Libraries They Are Built On".
Jane: The gist The proposed optimized version of a criterion for structure-disjoint splits, allowing for computationally feasible application on public libraries,
Tom: First, who's behind it and why it matters.
Paper summary: Tom: So, we're looking at this paper, "Critical Mass: Structure-Disjoint Splits Drift With the Libraries They Are Built On". The main idea here is about how structure disjoint splits change when you move from a small set of molecules to a much larger one.
Jane: Right, so it tackles this issue where you fix a rule once at one scale, like setting a distance threshold, and then try to apply it to something much bigger. It claims that this fixed rule isn't really invariant as the library grows.
Lu: The core problem they are looking at is evaluating out-of-distribution performance using these structure disjoint splits where the construction rule is set once based on the initial library size, like a pairwise distance threshold, and then assigning whole connected components to folds.
Meng: But this field has settled on a specific method for predicting structures from mass spectra, which is single-linkage clustering under the myopic Maximum Common Edge Subgraph MCES distance at a threshold of ten <ref:2610.12694#pg1,single-linkage clustering under the myopic Maximum Common Edge Subgraph MCES distance>. This convention was set on twenty-nine thousand molecules but public libraries now hold two hundred twenty-seven thousand six hundred ninety molecules <ref:2610.12694#pg1,This convention was set on 29,000 molecules but public libraries now>.
Lalam: MCES is NP-hard per pair over a quadratically growing set, which means this criterion has never been evaluated at that scale before. The paper proposes an optimized version of this criterion to make it computationally feasible on the public libraries: Admissible bounds and a union-find skip reduce two point six × one thousand ten molecular pairs to only one point one five × ten seven integer programs, which is a saving of over two thousand five hundred percent, while still producing the lossless partition.
Tom: That reduction sounds huge, two thousand five hundred percent is significant when you're dealing with NP-hard problems. What does this optimization actually mean for the work they are doing?
Jane: It means they made it computationally possible to even look at these massive public libraries using this specific splitting rule. They show that at this scale, the graph percolates, meaning one single component holds ninety-five point five percent of the library.
Lu: And what really catches my attention is what happens when you look at how the holdout fraction changes with library size N. A single component holds ninety-five point five percent for a large set, capping any test set at four point five percent.
Paper summary: Meng: But it's not just that the holdout gets smaller, it gets systematically different. The paper says a held-out compound outweighs a training compound eighty-eight point one percent of the time because a fixed absolute budget is actually a tighter relative tolerance on larger molecules.
Tom: So, when you look at large library benchmarks using this splitting rule naively, they end up mixing up structural novelty with extrapolation to larger, more complex chemistry. That's the core implication here.
Jane: Exactly. The existing benchmark procedure doesn't give you an invariant measure of generalization improvement as today’s chemical libraries keep growing in size; a fixed threshold is inherently relative to the scale it was set on.
Lu: They also look at threshold dependence, showing that lowering T from ten to five buys you a factor of sixteen in achievable holdout and removes most of the mass bias, but that costs novelty <ref:2610.12694#pg2>. At T equals five the giant component is twenty-six point five percent, and the ratios become achievable <ref:2610.12694#pg2>.
Meng: And they say the mass bias is largely gone from that split when you use T equals five <ref:2610.12694#pg2>. That's a big deal for production models where you care about specific molecular weights.
Tom: So, we have to consider that an absolute threshold is actually a relative one when you're dealing with single-linkage clustering. A molecule joins the giant component as soon as one connection falls below the threshold, and ten edge edits is a large fraction of a small molecular graph but a small fraction of a large one.
Jane: And because the distance metric isn't normalized, larger molecules stay comparatively unconnected under the same absolute threshold and survive in those small components left for holdout. This concentrates the split in the high-mass regime as library size grows.
Lu: The paper points out a discrepancy between metrics too, where on MassSpecGym’s complete all-pairs matrix, two thousand eight hundred fifty-three pairs attain ECFP4 Tanimoto greater than or equal to zero point nine nine nine while being provably distant at MCES greater than or equal to ten.
Meng: That implies a blind spot in counting; a fingerprint just counts a hashed set of substructural environments, so molecules built from repeating units collapse onto the same bit vector.
Lalam: The paper notes that both trends—the decreasing achievable holdout and the rising mass holdout AUC—reappear across different library sizes, showing that at N equals one hundred sixty thousand the giant sits at median three hundred ninety-three Da against five hundred thirty-eight point four Da outside it.
Paper summary: Tom: That fifteen point four dash shift in molecular mass is significant. It shows that the generalization improvement isn't a steady thing; it shifts with the scale of your data.
Jane: So, what does this mean for someone who only listens to the show? It means if you use these splits without accounting for library size, you might think you're improving generalization when you're actually just getting better at predicting heavier molecules in a larger set.
Lu: They flag one limitation plainly: T defines near, and therefore defines the leakage the split exists to prevent. A lower threshold buys usability by weakening the guarantee; pairs at MCES distance five to ten, which at these molecular sizes can be a single ring substitution, become free to straddle folds.
Meng: That means you aren't removing that tail at Tanimoto zero point one. That failure mode is what the split should prevent, and it leaks through two distinct channels.
Tom: We also have this discussion about threshold dependence, where lowering T from ten to five buys a factor of sixteen in achievable holdout but costs novelty because pairs that were previously separated now cross folds.
Jane: The paper suggests that while you can get usable ratios by lowering T, you lose the guarantee that the split is truly meaningful across different scales.
Lu: The authors conclude by stressing this: an absolute threshold is a relative one under single-linkage clustering. This means the existing benchmark procedure doesn't provide an invariant measure of this generalization improvement as chemical libraries grow in size.
Meng: So, we have to be careful about what we call "improving" these benchmarks when they are built on different underlying scales of data.
Lalam: The paper, titled "Critical Mass: Structure-Disjoint Splits Drift With the Libraries They Are Built On", explores how the fixed construction rule for structure disjoint splits drifts with the libraries they are built on.
Tom: It’s about showing that using a fixed pairwise distance threshold to define folds doesn't give you a stable measure of performance when you scale up your dataset significantly.
Jane: It points out that as libraries get bigger, the holdout shrinks and becomes skewed towards higher mass molecules, which isn't just noise; it’s a systematic effect of how the splitting rule interacts with the library size.
Conclusion: Tom: So, we're wrapping up on "Critical Mass: Structure-Disjoint Splits Drift With The Libraries They Are Built On." Basically, it shows that when you set a fixed rule for splitting molecules into groups—like using a certain distance threshold—that rule doesn't stay the same when your library gets huge.
Jane: It means that the way we split up molecules isn't stable across different sizes of data. The authors are looking at this specific method, which relies on single-linkage clustering under an MCES distance of ten.
Lu: They found that this fixed threshold causes the results to shift systematically as the library size increases. Specifically, for every molecule in a huge library, the holdout set becomes systematically heavier.
Meng: From a production standpoint, that's concerning because if your model is trained on one set and you test it on a larger one, you might accidentally be testing its ability to handle much larger molecules than it was ever designed for.
Tom: So the authors are arguing that this isn't just a statistical fluke; it’s baked into the structure of how we define those splits. They show that an absolute threshold is really just a relative one depending on the size of the library you start with.
Jane: That’s what they mean, Tom. When you lower that threshold, say from ten to five, you get a bigger test set and less mass bias, but you lose some of that guarantee about what your split actually represents.
Lu: And they prove this by looking at the math on how pairs are processed. They have an optimized way to handle this NP-hard calculation so they can actually run it on these massive public libraries, which is pretty impressive engineering work.
Meng: Impressive, sure, but it still doesn't solve the core problem of using a fixed rule that changes its meaning with scale. If you deploy this splitting method blindly, your generalization estimate won't be accurate for bigger datasets.
Tom: Exactly. The implication here is that if we want to build robust models that work across different scales of chemical data, we can't just use one fixed benchmark setting anymore. We have to account for the library size itself when we evaluate how well our splits generalize.
Jane: Right, and it opens up a new way to think about what a good split even means in this context. It forces us to be much more careful about the assumptions we make when we scale up our data collection.
More episodes
- 2610.05441-The sublevel Flood bifiltration: towards scalable 2-parameter persistent homology
- 2610.08816-The Cost of Long Memory: State, Context, and Stability Complexity in Sequence Models
- 2610.08820-Task-Oriented Key-Layer KV Communication for Efficient Latent Multi-Agent Collaboration
- 2610.08822-A Vehicle-Integrated Approach to Digital Twin Deployment for Bridges Through Drive-By Sensing
- 2610.12500-Acoustic Biomarkers for Alzheimer's Disease Detection from Spontaneous Speech
- 2610.09020-Neighborhood Smoothing for Calibration
- 2610.08977-SNR-Gated LSTM-Conditioned Diffusion Model for MIMO Channel Estimation
- 2610.09051-A Self-Pruning Transformer: Extreme KV-Cache Compression with Universal Attention
- 2610.12474-TTS-Q: Perception-Guided Post-Training Quantization of Text-to-Speech Diffusion Transformers
- 2610.12494-Algebraic Integer Quantization for Machine Learning Applications