GlycoGen: Glycan Structure Prediction with Crystallizing Flows
q-bio.QM, cs.AI, cs.LG, q-bio.BM
Submitted: 2026-11-30
Updated: 2026-11-30
Comments: Accepted at the 40th Conference on Neural Information Processing Systems (NeurIPS 2026). 23 pages, 6 figures. Project page: https://romainlacombe.com/glycogen. Code and benchmark: https://github.com/rlacombe/GlycoGen
License: http://creativecommons.org/licenses/by/4.0/
The gist: Glycosylation is among the most abundant post-translational modifications in biology, governing cellular signaling and the foundational mechanisms of immunity.
Abstract
Glycosylation is among the most abundant post-translational modifications in biology, governing cellular signaling and the foundational mechanisms of immunity. Because glycans cannot be sequenced from a genetic template, their structure must be inferred directly from tandem mass spectrometry (MS/MS). Modern instruments acquire 100 to 200 spectra per second, yet the prior open-vocabulary state of the art, GlycoBART, is a 207M autoregressive transformer whose sequential decoding precludes live acquisition and large-scale glycomics. Discrete Flow Matching and masked diffusion remove this sequential bottleneck by generating all token positions in parallel, provided a low-step sampler preserves structural accuracy. We introduce GlycoGen, a 50M-parameter Discrete Flow Matching model over fragment spectra, paired with Crystallizing Flows, a deterministic sampler that runs out-of-the-box via mixture embeddings with no retraining. Crystallizing Flows integrate per-token distributions on the simplex, snap each position to a one-hot vector once its argmax leaves the mask, and exit early once all positions crystallize. On the 76,774-spectrum CandyCrunch v2 benchmark, GlycoGen reaches 92.67% top-1 accuracy in 17 passes and 90.19% in a single pass, surpassing GlycoBART by 11.7 percentage points with a 14x to 61x speedup. Setting a new state of the art in open-vocabulary glycan structure prediction, GlycoGen makes the glycome readable in real time and at scale.
Related papers
- ViroGym: Realistic Large-Scale Benchmarks for Evaluating Viral Proteins
- CellCanon: An Agentic Cellular World Model for Prediction, Explanation, and Observation-Driven Updating
- Probing and steering biology across Boltz-1s trunk-diffusion boundary
- Patterns in Individual Blood Count Trajectories in the UK Biobank Characterise Disease-Specific Signatures and May Anticipate Pan-Cancer Risk
- Trajectory Inference of Human Aging from Cross-Sectional DNA Methylation Data
- Bridging the Modality Bottleneck in Pathology MIL through Molecularly Guided Feature Adaptation