arXiv:2608.29207cs.AIAug 2026

Manuscript Offprint

arXiv:2608.29207

Hyper-Fold: Exploring the Expressive Limit of Sequence-Geometry Learning for Proteins via Hypergraph Modeling

Yifan Feng, Guanjie Cheng, Shihui Ying, Shaoyi Du, Yue Gao

ABSTRACT

Protein structure modeling rests on a single computational primitive: the interaction between what a residue is (sequence content) and where it sits (three-dimensional geometry). What is the expressive limit of this layer class? We show that the complete bilinear operator over content–geometry outer products—the sufficient statistic of all second-order interactions—is the expressive ceiling, while the additive message passing of mainstream geometric GNNs is provably blind to content–geometry binding. We then introduce Hyper-Fold, a rank-K separable convolutional backbone approaching this ceiling at message-passing cost: each radius neighborhood is organized into a sequence hyperedge and a contact hyperedge, modulated by an edge-conditioned matrix-valued operator factorized into K learned basis operators with geometry-generated coefficients. Across enzyme function prediction, fold classification, and ligand binding site detection, Hyper-Fold and its hierarchical variant Hyper-Fold-Deep achieve the best results among protein-specific structure encoders; Hyper-Fold-Pocket, an anchored set-prediction head, surpasses UniSite-3D on UniSite-DS and two zero-shot benchmarks with no sequence language model features, 68×68 \times fewer parameters, and 4.8×4.8 \times lower latency—suggesting that a sufficiently expressive 3D backbone recovers information that fusion architectures previously borrowed from evolution-scale pretraining.

1 INTRODUCTION

Protein function is determined by three-dimensional structure, and structure modeling is dominated by a single computational primitive: the interaction between what a residue is (its sequence/content features) and where it sits relative to its neighbors (three-dimensional geometry). Message-passing (MP) architectures (Jing et al., 2021; Zhang et al., 2023b; Fan et al., 2023) implement this primitive by propagating geometry-aware messages over residue graphs and remain the most effective structure encoders at modest scale (Jamasb et al., 2024); protein language models and hybrid variants (Lin et al., 2023; Su et al., 2024; Hayes et al., 2025) fold structure into large-scale sequence pretraining. Yet beneath this diversity, no one has systematically answered a basic question: what is the expressive limit of sequence–geometry interaction layers, and where do existing models sit relative to that limit? We answer this question: any second-order statistic of a neighbor's content and geometry is a linear functional of their outer product xj⊗ϕ(δij)\mathbf{x}_j \otimes \phi(\delta_{ij}), so the complete bilinear operator over this outer product is the sufficient statistic—and hence the expressive limit—of sequence–geometry interaction (Theorem 1). The result is an expressivity ladder (Figure 1(a)).

Situating existing models on this ladder exposes a structural blind spot. The additive message used by mainstream geometric GNNs, Wxj+Uδij\mathbf{W}\mathbf{x}_j + \mathbf{U}\delta_{ij}, factorizes into a content term and a geometry term; consequently it is provably invariant to binding swaps—pairs of structures whose node features and

Figure

(a) The expressivity ladder.

Figure

(b) Accuracy vs. Latency on pocket detection task.

Figure 1: Overview. (a) The expressivity ladder of sequence–geometry layers: additive message passing occupies the lowest rung, while Hyper-Fold’s rank-K matrix gating approaches the complete-bilinear ceiling at message-passing cost. (b) Pocket AP@0.5 on UniSite-DS vs. inference latency; bubble area scales with parameter count.

edge features are identical as multisets but whose content–geometry pairings differ (Proposition 2). Such binding information is physically real (which residue type occupies which geometric position is precisely what distinguishes a catalytic site from a geometrically identical decoy), yet it is invisible to the lowest rung of the ladder. This gap belongs to the layer class: GearNet explicitly motivated its additive message by the prohibitive cost of the alternative (Zhang et al., 2023b)—cost, not expressivity, was the bottleneck.

We therefore ask whether the ceiling can be affordably approached. Our answer is Hyper-Fold, a rank-K separable convolutional backbone. Inspired by hypergraph modeling (Feng et al., 2019; Yadati et al., 2019), each layer organizes a radius neighborhood into a sequence hyperedge and a contact hyperedge—sequence adjacency along the chain versus spatial contact in the folded state—and applies to both an edge-conditioned matrix-valued operator W(δij)xj\mathbf{W}(\delta_{ij}) \mathbf{x}_j, factorized as W(δ)=∑c=1Kgc(δ)Bc\mathbf{W}(\delta) = \sum_{c=1}^K g_c(\delta) \mathbf{B}_c with geometry-generated coefficients and learned basis operators. The operator spectrum decays rapidly: K=8K=8 captures 90–98% of the learned full-operator energy and accuracy saturates beyond it (Proposition 3), so the ceiling is approachable at message-passing cost. The same operator yields two backbones: Hyper-Fold at full residue resolution and Hyper-Fold-Deep for protein-level prediction.

We validate Hyper-Fold on three tasks that span the uses of protein structure encoders: enzyme commission (EC) number prediction, fold classification, and ligand binding site (pocket) detection. Hyper-Fold improves over GearNet-Edge on EC at every sequence-identity cutoff (e.g., 0.864 vs. 0.810 Fmax at the 95% cutoff) and on all three fold-classification splits. For pocket detection we attach Hyper-Fold-Pocket, an anchored set-prediction head on the residue-level backbone: it reaches 0.617 AP@0.3 on UniSite-DS (UniSite-3D: 0.560) and generalizes zero-shot to HOLO4K and COACH420, exceeding UniSite-3D on all six reported metrics, without any sequence language model features. This suggests that a sufficiently expressive 3D backbone recovers information that fusion architectures previously borrowed from evolution-scale pretraining.

Our contributions are: (i) an expressivity ladder for sequence–geometry layers, with the complete bilinear operator characterized as its ceiling (Thm. 1) and additive message passing proved blind to content–geometry binding (Prop. 2); (ii) Hyper-Fold, a rank-K separable convolutional backbone that approaches this ceiling at message-passing cost; and (iii) experiments on three tasks, including state-of-the-art pocket detection and zero-shot generalization without sequence-model features, at essentially no extra efficiency cost.

Related work. Pocket detection has evolved from geometry tools (Le Guilloux et al., 2009; Krivák & Hoksza, 2018) to set-prediction formulations (Fan et al., 2025), the formulation Hyper-Fold-Pocket adopts with a purely structural encoder. An extended discussion of structure encoders, sequence models, graph expressivity, and hypergraph modeling is deferred to Appendix A.

References (51)