TL;DR
When AI models reason over massive knowledge graphs, they try to save time by extracting smaller, query-specific "subgraphs" rather than reading the entire network at once. The catch? Neighboring queries end up pulling the exact same overlapping local structures over and over again, burning through GPU memory and compute. This paper introduces CoRF (Coupled Receptive Fields), a clever carpooling system for graph queries that shares reusable local graph chunks across multiple queries—delivering up to a 7.3× speedup and 10× memory reduction without losing accuracy.
What Problem Does This Paper Address?
Imagine you’re trying to deduce a missing fact in a massive web of knowledge like Wikidata—say, (Marie Curie, won_award, ?). Currently, a leading way to do this is Conditional Message Passing (CMP), where a Graph Neural Network starts at Marie Curie and passes query-specific signals outward along relational edges to score candidate answers.
Doing this across an entire multi-million-node graph for every single query is computationally ruinous. To survive at scale, modern methods use subgraph-wise sampling: for each query, they slice out a localized neighborhood (its "receptive field") and only run calculations there.
Here is the hidden bottleneck the authors uncover: while queries are processed independently, their neighborhoods aren't independent at all. Different queries constantly ask about the same densely connected hubs. As a result, the system repeatedly extracts, loads into GPU memory, and computes over the exact same overlapping subgraphs. You trade full-graph bloat for massive structural redundancy, causing out-of-memory (OOM) crashes on large datasets.
Methods
Instead of building bespoke subgraphs per query ($|\mathcal{Q}|$ subgraphs for $|\mathcal{Q}|$ queries), CoRF flips the paradigm: build a small, reusable set of receptive supports ($|\mathbb{S}| \ll |\mathcal{Q}|$) that bundle—"couple"—the receptive fields of many queries together during training.
Naive graph slicing breaks multi-hop reasoning paths, so CoRF builds its supports in four deliberate stages:
- Initial Partitioning: Uses standard topology-preserving graph partitioning to chop the knowledge graph into compact, size-controlled chunks.
- Boundary Padding: Slicing a graph severs edges at the borders. Rather than pulling in all external neighbors (which causes neighborhood explosion), CoRF scores external boundary nodes by how many internal nodes they connect to, selectively padding the chunk with only the top-$r$ most tightly coupled outsiders.
- Residual Compensation: What if a query’s required $k$-hop evidence doesn't fit neatly inside any single support? CoRF gathers the local evidence of all these "orphaned" queries into one catch-all residual support, guaranteeing 100% query coverage. (If a query is covered by multiple supports, it goes to the least-loaded one to prevent duplicate work).
- Cost-Aware Load Balancing: Because supports vary in size and query count, distributing them evenly across GPUs creates stragglers. CoRF estimates each unit's compute cost (via normalized node/edge counts and assigned queries) and greedily schedules the heaviest workloads onto the least-loaded GPUs first.
Notably, this machinery is strictly for training; at test time, the underlying CMP backbone runs its standard inference untouched.
Datasets
The authors evaluate CoRF on 13 standard transductive knowledge graph benchmarks (no new datasets are introduced, though they also mention scaling tests on the massive Wikidata5M):
- Small: CoDEx Small, WDsinger, NELL23k
- Medium: FB15k237, CoDEx Medium, WN18RR, AristoV4, NELL995
- Large: CoDEx Large, ConceptNet100k, DBpedia100k, YAGO310, Hetionet
Key Insights and Ideas
- Redundancy is a system killer: Visualizing node access frequencies reveals extreme power-law hotspots in standard subgraph sampling. Eliminating duplicate data loading and message passing is just as important as shrinking the graph scope.
- Sub-linear support scaling: You might assume bigger graphs need proportionally bigger receptive supports. Surprisingly, they don't. On massive graphs (like YAGO310 or Wikidata5M), accuracy saturates quickly using tiny supports—just ~2% of Wikidata5M's original scale is enough for effective training.
- The edges and stragglers matter: Ablation studies show that skipping either boundary padding or the residual support noticeably drops accuracy. Even a tiny fraction of uncovered queries or severed border paths degrades multi-hop learning.
Key Results
Tested against full-graph CMP (Ultra) and state-of-the-art subgraph sampling (One-shot, alongside comparisons to DuetGraph), CoRF hits a sweet spot of high accuracy and low overhead:
- Massive Efficiency Gains: Achieves up to a 7.33× training speedup and 7.04× memory reduction over One-shot on DBpedia100k (and up to 10.0× memory reduction across broader CMP benchmarks). Across CoDEx-Large, DBpedia100k, and YAGO310, it averages a 5.6× speedup and 5.0× less memory.
- Surviving Scale: On heavyweights like Hetionet and YAGO310 (at batch size 32), baselines hit 48GB GPU OOM walls, whereas CoRF trains smoothly inside 10–16 GB while achieving top MRR (e.g., 0.612 on YAGO310, 0.482 on Hetionet).
- Near-Linear Multi-GPU Scaling: With cost-aware scheduling, scaling to 8 GPUs yields up to a 7.84× speedup—successfully finishing jobs on Hetionet and YAGO310 where random and round-robin schedulers fail outright.
Limitations and Future Work
While the main text does not feature a dedicated limitations section, two practical boundaries are apparent from the methodology:
- Training-only optimization: Receptive supports only accelerate training; validation and testing revert to the backbone model’s native inference procedure, meaning inference-time memory and latency bottlenecks are left to future work.
- NP-hard approximations & tuning: Optimal subgraph coverage and multi-GPU scheduling are NP-hard problems solved here via heuristics, introducing new structural hyperparameters (like initial support size and padding top-$r$) that require a hierarchical hyperparameter search before training. The authors note their cost-aware scheduler naturally extends to broader distributed GNN training scenarios beyond knowledge graphs.
Summary updated