BioBlobs: Unsupervised Discovery of Functional Substructures

Xin Wang, Kaiwen Shi, Carlos OliverNeurIPS 2026

TL;DR

Proteins are massive molecular machines, yet their actual jobs are usually performed by tiny, localized pockets of amino acids. BioBlobs is a neural architecture that learns to carve a protein into a handful of compact 3D substructures ("blobs") and predicts the protein's overall function using only those pieces. In doing so, it automatically discovers real, biologically critical active sites—like enzyme catalytic centers—without ever being told where they are during training.

What Problem Does This Paper Address?

Thanks to breakthroughs like AlphaFold, we are swimming in hundreds of millions of predicted 3D protein structures. The grand challenge has now shifted from what does this protein look like? to what does it do, and which part of it does the work?

Current machine learning pipelines generally tackle this at two awkward extremes:

  1. Residue-level models try to label every individual amino acid (e.g., "binding site" vs. "not"). This is direct, but requires expensive, fine-grained experimental labels that barely exist at scale.
  2. Whole-protein models take embeddings of every amino acid and mash them into a single vector via pooling. Because functional sites—like a 3-residue catalytic triad—are tiny compared to the rest of the protein, their signal gets diluted by hundreds of surrounding structural residues. Worse, you lose interpretability: the model might guess what the protein does, but it can't tell you where the magic happens.

And if you try to chop the protein into fixed geometric grids in advance, you risk slicing a functional site right in half—as the authors put it, "much like trying to understand a bicycle by cutting it into uniformly sized cubes."

Methods

BioBlobs introduces an intermediate, learnable unit of representation: the blob. Plugged on top of standard, frozen protein encoders (like sequence-only ESM2 or structure-aware SaProt), the framework works in two novel, end-to-end differentiable stages:

Figure 1: The BIOBLOBS pipeline. A protein encoder maps the protein to residue embeddings. The neural blob partitioner selects K seed residues and expands each into a blob within radius r, and the Hoyer-Square penalty keeps the blobs compact. The MIL predictor pools the residue embeddings of each blob, weights the blobs by their importance scores αk and classifies the protein.
  • Neural Blob Partitioner (Seed-and-Expand): First, a lightweight network scores every amino acid and sequentially picks $K$ distinct "seed" residues (using a straight-through estimator so gradients still flow through discrete choices). Next, each seed expands into a soft 3D neighborhood within a spatial radius $r$ (based on $C_\alpha$ coordinates). Neighbors join the blob based on both a proximity bias (closer in 3D space is better, even if far apart in the 1D sequence) and semantic attention (do these residues belong together?).
  • Hoyer-Square Sparsity: Left unchecked, blobs would greedily swallow every residue within radius $r$. The authors apply a scale-invariant Hoyer-Square penalty to each blob's membership vector, forcing blobs to stay tight and selective while allowing different blobs to settle at different natural sizes.
  • Multiple Instance Learning (MIL) Predictor: Treating the protein as a "bag" of $K$ blobs (optionally discretized via Residual Vector Quantization), an attention-based MIL head assigns an importance weight ($\alpha_k$) to each blob and predicts the protein's overall function. Because the classifier only sees the blobs, the highest-weighted blobs directly reveal the substructures driving the decision.

Datasets

No new datasets are introduced; instead, the authors evaluate across established benchmarks spanning whole-protein classification and site localization:

  • ProteinShake: Five function and structure tasks—enzyme catalysis (EC-L3), Gene Ontology (GO-MF), domain families (Pfam), and structural folds (SCOP-FAM, SCOP-SF)—tested under strict 70% sequence and structure similarity splits.
  • VenusX: Four InterPro-derived datasets annotating catalytic active sites (Act), ligand-binding interfaces (BindI), evolutionary sites (Evo), and conserved motifs (Motif). Models see only whole-protein labels during training; residue annotations are held back strictly for evaluation.
  • SwissProt (via EC-Bench) & M-CSA: Trained on SwissProt enzymes (with AlphaFold v6 structures) to predict enzyme classes, then evaluated zero-shot on the Mechanism and Catalytic Site Atlas (M-CSA)—including 74 held-out enzymes sharing <30% sequence identity with the training set—to test recovery of literature-curated catalytic residues.

Key Insights and Ideas

  • Explanation by prediction, not after it: Post-hoc attribution tools (like Integrated Gradients) try to reverse-engineer black-box classifiers one protein at a time, and often disagree. BioBlobs builds the explanation into the bottleneck: if a residue isn't in a high-attention blob, the classifier literally cannot use it.
  • Throwing away 75% of the protein doesn't hurt accuracy: Compressing a protein down to a fraction of its residues matches or beats models that pool over the entire chain, confirming the biological intuition that function is localized and the rest is largely scaffolding.
  • Blobs naturally adapt their scale to the biological question: When classifying structural folds (SCOP-FAM), which span entire domains, performance rises as blobs cover more of the protein. When classifying enzyme reactions (EC-L3), which hinge on tiny active pockets, performance peaks at smaller radii and lower coverage.

Key Results

  • Function Prediction: Across 10 dataset/split combinations on ProteinShake (using ESM2-T30), BioBlobs beats mean and attention pooling in 6/10 settings and beats six graph neural network/pooling baselines in 7/10—while using ~25% or fewer of the protein's residues on four of the five tasks.
  • Unsupervised Catalytic Site Discovery: On the 74 held-out M-CSA enzymes, BioBlobs packs 48% of true catalytic residues into blobs covering just 4% of total residues. Its blob memberships yield a 10.7$\times$ median AUPRC enrichment over random chance, handily beating Sparse Autoencoders (6.2$\times$), raw ESM2 attention (4.2$\times$), ProtDETR (3.2$\times$), and DeepFRI (1.4$\times$). MIL attention ranks catalytic blobs over non-catalytic ones with a 0.86 median AUROC.
BioBlobs localizes experimentally annotated M-CSA catalytic sites far better than post-hoc saliency and unsupervised baselines, with MIL attention cleanly isolating catalytic blobs.
  • VenusX Localization: With SaProt-650M, BioBlobs beats all unsupervised attribution baselines across every dataset and metric. Adding optional residue-level seed supervision during training more than doubles the best baseline AUPRC on Motif (0.692 vs. 0.250).
  • Efficiency: Every partitioner step scales linearly with sequence length $O(N)$. At $K=12, r=12\text{ \AA}$, training takes just 1.29$\times$ the wall-clock time of a simple mean-pooling MLP, and increasing the spatial radius $r$ adds virtually zero time or memory overhead.

Limitations and Future Work

  • One importance score per protein, not per sub-function: If a multi-tasking protein both binds a cofactor in one pocket and catalyzes a reaction in another, BioBlobs produces a single set of importance weights rather than untangling which blob performs which sub-role. Confirming exact causal mechanisms still requires wet-lab mutagenesis.
  • Reliance on protein-level labels: While BioBlobs needs no residue-level labels, it still relies on whole-protein function labels, which are skewed toward well-studied protein families. Training blob discovery purely via self-supervision on raw sequences and structures is a prime direction for uncovering completely uncharacterized biology.

Summary updated

BibTeX
@inproceedings{wang2026bioblobs,
  author = {Xin Wang and Kaiwen Shi and Carlos Oliver},
  title = {{BioBlobs: Unsupervised Discovery of Functional Substructures}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=gxLUIHJfi0},
}
Figure