GlycoGen: Glycan Structure Prediction with Crystallizing Flows
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.
Create a lesson
Metadata
- Categories
- q-bio.QM, cs.AI, cs.LG, q-bio.BM
- 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
Related papers
STORM: A Lightweight Structure-Free Model for Binding Affinity Prediction
Shared title terminologyq-bio.QMAyush Pandit, Rohan V. Koodli, Wei Deng et al.
Inference-time Steering in Biological Design with Multimodal Meta Flow Maps
Shared title terminologyq-bio.QMUlrik Unneberg, Shiyi Wang, Dinko Franceschi et al.
Cell and nuclear shapes predict confined motility
Shared title terminologyq-bio.QMMalcolm Mehrabian-Terlexis, Jacqueline Janssen, Paul Sitoleux et al.
Benchmarking Protein Structure Tokenizers as Generation Targets for Language Models
Shared title terminologyq-bio.QMYong Liu, Zhanpeng Shi, Peicong Lin et al.
The long-term divergence exponent and the temporal structure of step-to-step perturbations: a simulation study in two passive walking models
Shared title terminologyq-bio.QMPhilippe Terrier
Adaptive attention routing multimodal expert graph neural network for drug-drug interaction prediction
Shared title terminologyq-bio.QMJingyi Yang, Chengcheng Yan, Hongri Cong et al.