TL;DR
Knowledge-enhanced language models (LMs) improve benchmark scores, but how they actually absorb factual data remains a black box. By framing knowledge integration (KI) through an information-theoretic lens, this paper demonstrates that KI can be simulated and probed via graph convolutions. Using their proposed Graph Convolution Simulator (GCS), the authors reveal that popular models (K-Adapter and ERNIE) actually integrate only a fraction of target facts, completely fail on temporal knowledge, and gain virtually no benefit from simply scaling up training sentences.
What Problem Does This Paper Address?
Pretrained language models excel at linguistic grammar and syntax but struggle to reliably store and recall sparse world knowledge. While recent methods augment LMs with external Knowledge Graphs (KGs)—either triple-wise (e.g., K-Adapter) or entity-wise (e.g., ERNIE)—we lack tools to inspect what is actually happening under the hood. Specifically:
- How much knowledge is truly retained?
- What structural types of knowledge are learned versus ignored?
- Does integration cause catastrophic forgetting (CF) of prior representations or catastrophic remembering (CR), where preexisting representations resist updating?
Traditional probe classifiers and prompt-based probing are ill-equipped for massive, sparse knowledge graphs. This paper seeks a principled, model-agnostic probe to measure knowledge flow during KI.
Methods
The authors build a theoretical bridge between mutual information (MI), spectral graph theory, and graph neural networks:
- Information-Theoretic View of KI: Factual integration is defined as the change in mutual information between entity representations and graph neighborhoods: $\text{MI}(x; g) \to \text{MI}(h; g)$.
- KI as Graph Convolutions: The authors prove that the end-to-end integration mapping can be approximated arbitrarily well using Graph Fourier Transforms (GFT) and neural networks. Because bijective transformations (and standard activations) preserve mutual information, information gain/loss can only occur in the linear transformation steps over the graph spectral domain—which are mathematically equivalent to graph convolutions.
- Graph Convolution Simulator (GCS): Instead of computing expensive graph Laplacian eigendecompositions, GCS approximates the process using a 1-hop graph convolutional layer sandwiched between two bijective MLP layers.
- Attention-Based Diagnostics: By equipping the graph convolution with multi-head attention (interpretable as edge denoising), edge attention coefficients ($a_{i,j}$) quantify triple integration ($a_{i,j} > 0.1$), while self-loop coefficients ($a_{i,i}$) diagnose retention:
- $a_{i,i} > 0.9$: Catastrophic Remembering (CR; entity representation refused to update).
- $a_{i,i} < 0.1$: Catastrophic Forgetting (CF; prior representation wiped out).
- $0.4 < a_{i,i} < 0.6$: Well-integrated entity.
Datasets
- Pre-training / KI Datasets:
- T-REx-rc: ~5.5M sentences aligned with ~1.28M Wikidata triples and 781k entities (used by K-Adapter).
- Wikidata & Wikipedia: Used by ERNIE (~3.27M entities and ~12.8M triples).
- Downstream Evaluation & Probing:
- OpenEntity and FIGER (fine-grained and ultra-fine entity typing benchmarks).
- Synthetic datasets generated with DeepWalk graph embeddings perturbed by Gaussian noise.
Key Insights and Ideas
- Most Triples Are Left Behind: Despite reported benchmark gains, K-Adapter and ERNIE only successfully integrate 20%–30% of target knowledge triples, even though 60%–70% of entities show representation shifts.
- Architecture Dictates Topology Preferences:
- K-Adapter integrates simple $1-1$ relations (leaf nodes) best (58.89% success) but struggles heavily on complex $N-M$ relations (24.00%).
- ERNIE, which explicitly injects TransE graph embeddings, handles dense $N-M$ relations much better (73.33% success) but struggles with $N-1$ relations.
- Time is a Blind Spot: When examining relation types, K-Adapter learns static relations (e.g., Part of, Place of birth) with 10%–17% triple integration, but achieves $<0.01\%$ integration on time-sensitive facts (Date of birth, Date of death).
- The Popularity Split: Catastrophic forgetting predominantly happens to popular entities (high Google Ngram frequency, e.g., "President"), whereas catastrophic remembering happens to rare entities, which fail to absorb new context.
- Data Volume $\neq$ Knowledge Acquisition: The Pearson correlation between a triple's edge attention score and the number of aligned training sentences is $-0.0055$. Simply feeding an LM more co-occurrence sentences does not help it learn stubborn facts.
Key Results
-
Probe Validation via Data Pruning: Retraining models on only the triples/entities flagged by GCS as "integrated" (retaining only 10.09% of aligned sentences for K-Adapter and 61.72% of entity embeddings for ERNIE) matched or slightly exceeded full-dataset performance on OpenEntity (K-Adapter achieved 75.95 F1 vs. 75.94 original; ERNIE achieved 74.62 F1 vs. 73.19 original).
-
Slicing Downstream Tasks: Evaluating ERNIE on OpenEntity test examples associated only with unintegrated entities caused a 22.67-point drop in Micro-F1, confirming GCS correctly identified which facts were functionally absorbed.
Limitations and Future Work
- Simplified Knowledge Graphs: The theoretical formulation currently ignores relation types on edges, edge directions, multi-relational edges, text descriptions, and timestamps.
- Diagnosis Without Remedy: GCS acts strictly as an explanatory probe; it diagnoses where KI fails (e.g., temporal reasoning, dense hubs) but does not directly modify model architectures to fix these failure modes.
- Future Directions: Incorporating edge-attributed and temporal graph convolutions into the simulator, and leveraging GCS diagnostics to design targeted data augmentation and training objectives for knowledge injection.
Summary updated