TypeBandit: Type-Level Context Allocation and Reweighting for Effective Attribute Completion in Heterogeneous Graph Neural Networks

Ta-Yang Wang, Rajgopal Kannan, Viktor PrasannaarXiv 2026

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:

  1. 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.
  2. 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.
  3. 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.
Fig. 1. TypeBandit Overview
Fig. 2. Type-Level Allocation Strategies

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

Abstract

Heterogeneous graphs are widely used to model multi-relational systems, but missing node attributes remain a major bottleneck for downstream learning. In this paper, we identify and formalize type-dependent information asymmetry: the phenomenon that different node types provide substantially different levels of useful signal for attribute completion. Motivated by this observation, we propose TypeBandit, a lightweight, model-agnostic methodology for heterogeneous attribute completion. TypeBandit combines topology-aware initialization, type-level bandit sampling, and joint representation learning. It allocates a finite global sampling budget across node types, samples representative nodes within each type, and uses the resulting sampled type summaries as shared contextual signals during representation construction. By operating at the type level rather than over each target node's local neighborhood, TypeBandit keeps the adaptive state compact and practical for large heterogeneous graphs. A key advantage of TypeBandit is architectural flexibility. Rather than requiring a new heterogeneous graph neural network architecture, TypeBandit acts as a type-aware front end for representative heterogeneous GNN backbones, including R-GCN, HetGNN, HGT, and SimpleHGN. We further introduce a hybrid pretraining scheme that combines structural degree priors with feature propagation, yielding a more reliable initializer than degree-only pretraining. Under a fixed-split protocol on DBLP, IMDB, and ACM, TypeBandit provides dataset-dependent but practically meaningful gains. Additional ablation, stability, efficiency, semantic-propagation, and sampled OGBN-MAG experiments support TypeBandit as a practical strategy for heterogeneous attribute completion when type-specific information is unevenly distributed and sampling resources are limited.
BibTeX
@misc{wang2026typebandit,
  author = {Ta-Yang Wang and Rajgopal Kannan and Viktor Prasanna},
  title = {{TypeBandit: Type-Level Context Allocation and Reweighting for Effective Attribute Completion in Heterogeneous Graph Neural Networks}},
  year = {2026},
  eprint = {2604.27356},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.27356},
}
Figure