TL;DR
TypeBandit is a lightweight, model-agnostic front-end designed to solve the missing attribute problem in Heterogeneous Graph Neural Networks (HGNNs). By framing resource allocation as a type-level multi-armed bandit problem, it dynamically learns which node types provide the most useful signals and intelligently distributes a finite global sampling budget to complete missing data.
What Problem Does This Paper Address?
Heterogeneous graphs model real-world systems with diverse node and edge types (e.g., academic networks containing authors, papers, and venues). A major bottleneck in training HGNNs is that often only a subset of node types has observed attributes, leaving others completely blank.
Standard HGNNs rely on static aggregation or feature propagation to fill in these blanks, treating all neighbor types as equally informative. In reality, there is a type-dependent information asymmetry—for instance, a paper's text is highly informative for predicting an author's research area, while a venue type might provide a much weaker signal.
While a multi-armed bandit could theoretically learn the best neighbors to sample, running a localized bandit algorithm for every single node's neighborhood is computationally prohibitive for large graphs. TypeBandit addresses this by lifting the adaptive decision from the node-local level to a global, type-level resource allocation policy.
Methods
TypeBandit introduces a three-step workflow that plugs directly into existing HGNN backbones (like R-GCN, HGT, or HetGNN) without altering their core architectures:
- Topology-Aware Initialization: To avoid a cold-start problem, TypeBandit uses a hybrid pretraining scheme combining structural degree priors (graph topology) and feature propagation to give missing-attribute nodes a meaningful initial latent representation.
- Type-Level Bandit Sampling: Instead of treating individual nodes as arms, the bandit policy treats node types as arms. It maintains a global probability distribution over types using a reward-modulated multiplicative-weights update rule with a minimum exploration floor ($p_{\min}$). This distribution determines how a finite global sampling budget is split across node types.
- Context Fusion & Joint Optimization: For each type, representative nodes are sampled, averaged into a type context, and fused back into the node representations via a gated mechanism. The entire network is trained jointly using a downstream prediction loss combined with a masked attribute completion loss.
Datasets
The method was evaluated on three standard heterogeneous graph benchmarks where only one node type possesses raw attributes:
- DBLP (Academic network; target node: author)
- ACM (Academic network; target node: paper)
- IMDB (Movie network; target node: movie)
Additionally, a sampled, class-restricted version of the massive OGBN-MAG dataset was used to test scalability.
Key Insights and Ideas
- Global Type-Level Decoupling: Shifting the bandit decision from a node's local neighborhood to global node-type pools keeps the computational complexity extremely low ($O(K)$ where $K$ is the number of types), making it highly scalable.
- Breaking the Bootstrap Loop: A pure reward-driven policy suffers from a chicken-and-egg problem at the start of training. TypeBandit solves this by using topology-aware initialization and uniform exploration to bootstrap meaningful rewards before the bandit updates take over.
- Mild Reweighting vs. Aggressive Filtering: Stability analysis showed that the bandit weights don't collapse onto a single type; instead, TypeBandit performs a mild, exploration-preserving reweighting that acts as a stable regularizer.
Key Results
- Performance Gains: When paired with an R-GCN backbone, TypeBandit significantly outperformed a plain backbone-only control under severe missing-feature conditions, boosting Macro-F1 by +6.60 on DBLP, +4.14 on IMDB, and +1.70 on ACM.
- Backbone Flexibility: It successfully integrated with multiple backbones (R-GCN, HetGNN, HGT), showing selective but strong compatibility, particularly with HGT and R-GCN.
- Manageable Overhead: While it introduces some training overhead (roughly 1.5×–1.6× longer per epoch), at inference time the bandit policy is fixed, meaning the deployment overhead is minimal and scales linearly with the number of nodes.
Limitations and Future Work
- Initialization Sensitivity: The performance on certain datasets (like IMDB) is highly sensitive to the choice of the initial pretraining regime, requiring advanced spectral methods (like SVD) to unlock positive gains.
- Backbone Dependency: It does not uniformly improve all backbones; weaker or untuned backbones (like SimpleHGN in their experiments) did not see the same stability or gains.
- Future Directions: The authors suggest tighter integration with more advanced semantic encoders (e.g., SeHGNN, HINormer) and testing on larger industrial-scale schemas.
Summary updated