Abstract
Traditional artificial intelligence models often excel at perception-based tasks but struggle with complex reasoning, particularly when required to generalize to unseen data. This research addresses the fundamental limitation of "transductive" models—which memorize specific entities—by proposing a shift toward inductive representations that learn the underlying logic of structures. Through the introduction of frameworks like Ultra, a foundation model for knowledge graphs, and HtT (Hypotheses-to-Theories) for Large Language Models (LLMs), this work demonstrates how AI can achieve zero-shot reasoning capabilities across diverse datasets and complex multi-step queries.
Introduction: The Generalization Gap in AI Reasoning
While modern AI systems have achieved human-level performance in recognizing faces or transcribing speech, their ability to reason—drawing new conclusions from existing knowledge—remains a significant hurdle. The core challenge lies in generalization. Most current models are transductive; they are trained on specific entities and relationships within a fixed dataset. When introduced to a new entity or a novel relationship type, these models typically require retraining from scratch.
Furthermore, reasoning often involves multi-step logical queries. A model might successfully identify a single relationship but fail when those steps are combined into a complex sequence (e.g., "Who is the mother of the person who won the Turing Award in 2018?"). This research presents a paradigm shift: building models with the inductive bias necessary to handle unseen entities, relationship types, and multi-hop questions across both structured graphs and natural language.
Inductive Representation Learning on Graphs
To move beyond static entity embeddings, this work introduces three novel frameworks designed for inductive reasoning:
NBFNet and A*Net
Neural Bellman-Ford Networks (NBFNet) redefine reasoning as a path-finding problem. Instead of learning fixed vectors for nodes, NBFNet uses a neural version of the Bellman-Ford algorithm to propagate information across a graph. This allows the model to reason about entities it has never encountered during training by focusing on the paths connecting them. To scale this approach to massive graphs, A*Net incorporates a neural priority function inspired by the A* search algorithm. This allows the model to selectively explore only the most promising paths, achieving state-of-the-art results on the WikiKG90M dataset while being 100x more efficient than previous path-based methods.
Ultra: A Foundation Model for Knowledge Graphs
Ultra represents the first foundation model for knowledge graphs. It operates by building a "graph of relations," learning how different types of interactions (e.g., "parent of" vs. "child of") relate to one another universally. By focusing on the structural logic of relations rather than specific entity identities, Ultra can perform zero-shot reasoning on entirely new datasets without any retraining. In evaluations, Ultra outperformed state-of-the-art models on over 30 different datasets in a zero-shot setting.
Multi-Step Queries and LLM Reasoning
Reasoning challenges extend beyond graph structures into the realm of natural language. This research introduces methods to make complex reasoning both more accurate and more interpretable.
GNN-QE
This framework decomposes complex logical queries into basic operations—such as conjunction, disjunction, and negation—executed via Graph Neural Networks (GNNs) and fuzzy logic. This decomposition ensures that the reasoning process is not a "black box" but a series of interpretable steps.
Hypotheses-to-Theories (HtT)
For Large Language Models, the HtT framework introduces a two-stage prompting method. First, the model induces rules from training examples to build a library of theories. Second, it deduces answers by explicitly retrieving and applying these rules. This approach moves the LLM away from relying solely on internal weights, which are prone to hallucination. Implementing HtT improved GPT-4 accuracy by 10-30% on complex reasoning tasks, such as kinship relations and non-decimal arithmetic.
Systems and Infrastructure
To support the training of these advanced models, the research also contributed high-performance systems:
- TorchDrug: An open-source library specifically designed for drug discovery and molecular graph learning.
- GraphVite: A high-performance system capable of training embeddings for billion-node graphs on a single machine using a hybrid CPU-GPU architecture, reducing training time from days on a cluster to approximately 20 hours on a single node.
Key Insights and Future Directions
The primary takeaway of this work is that an entity's identity is less critical than its structural context. By prioritizing paths over vectors and treating relations as nodes in a meta-graph, models become naturally inductive. Furthermore, forcing LLMs to explicitly state and follow rules significantly boosts their logical reliability.
Despite these advances, challenges remain. The HtT framework is currently constrained by the context windows of LLMs, and a "distribution shift" persists when moving from small-scale training data to massive real-world graphs. Future work will focus on scaling rule libraries through retrieval-augmented generation and integrating structural logic biases directly into the architectures of future LLMs to handle both explicit and implicit structures in text.
Summary updated