NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Entity-Agnostic Representation Learning for Parameter-Efficient Knowledge Graph Embedding

Mingyang Chen, Wen Zhang, Zhen Yao, Yushan Zhu, Yang Gao, Jeff Z. Pan, Huajun Chen

Abstract

Knowledge Graph Embedding (KGE) models typically suffer from a "parameter explosion" as the number of entities grows, making them difficult to deploy on edge devices or in federated learning environments. This paper, presented at AAAI 2023, introduces EARL (Entity-Agnostic Representation Learning), a framework that replaces entity-specific embeddings with a universal, entity-agnostic encoder. By leveraging local graph context—connected relations, similarity to reserved entities, and multi-hop neighborhood information—EARL achieves state-of-the-art performance with significantly fewer parameters than conventional models.

The Parameter Explosion Problem

Conventional KGE methods (e.g., TransE, RotatE) assign a unique d-dimensional vector to every single entity in a Knowledge Graph (KG). As KGs like Wikidata or Freebase contain millions of entities, the model size grows linearly with the entity count. For instance, a standard RotatE model for the YAGO3-10 dataset requires over 123 million parameters just to store entity embeddings.

Comparison between conventional KGE models and the entity-agnostic EARL framework.

This linear dependency creates a significant bottleneck for deployment. EARL addresses this by breaking the link between the number of entities and the number of model parameters, using a shared encoder to generate representations on the fly.

The EARL Framework: Identity via Context

The core philosophy of EARL is that an entity's identity is defined by its relational context. Instead of a static lookup table, EARL learns a universal encoder that transforms "distinguishable information" into an embedding.

The three types of distinguishable information used by EARL: ConRel, kNResEnt, and MulHop.

The framework utilizes three primary information sources to distinguish entities:

  1. ConRel (Connected Relation Info): This looks at the specific relations an entity is involved in and whether it acts as the "head" or "tail" of those relations.
  2. kNResEnt ($k$-Nearest Reserved Entity Info): The model learns embeddings for a small, randomly selected subset of "reserved entities" (e.g., 10% of the total). For any other entity, it finds the $k$ most similar reserved entities based on relational patterns to serve as anchors.
  3. MulHop (Multi-hop Neighbor Info): A Graph Neural Network (GNN) aggregates information from an entity's broader neighborhood, ensuring that even entities with identical immediate relations can be distinguished by their wider context.

These components are combined through MLPs and a GNN to produce the final entity representation used for scoring triples in link prediction tasks.

Key Results and Efficiency

EARL was evaluated on four standard benchmarks: FB15k-237, WN18RR, CoDEx-L, and YAGO3-10. It consistently outperformed both standard RotatE and the parameter-efficient baseline NodePiece, often while using significantly fewer parameters:

  • FB15k-237: EARL achieved a 4.7% relative improvement in Mean Reciprocal Rank (MRR) over RotatE while using only 62% of the parameters.
  • CoDEx-L: EARL used 58% fewer parameters than NodePiece and achieved a 25.4% relative increase in MRR.
  • YAGO3-10: EARL improved MRR by 22.2% compared to NodePiece while using only 73% of the parameters.

The authors also introduced an "Efficiency" metric (Effi = MRR / #Params), where EARL consistently scored higher than baselines, demonstrating a superior parameter-to-performance trade-off.

Limitations and Future Work

While storage-efficient, EARL introduces computational overhead at inference time because embeddings must be generated via GNN encoding rather than simple lookups. Future research may explore more strategic selection of reserved entities (e.g., based on graph centrality) and explicit testing on inductive "cold-start" scenarios for entirely unseen entities.

This summary is based on the paper "Entity-Agnostic Representation Learning for Parameter-Efficient Knowledge Graph Embedding" presented at AAAI 2023.

Summary updated

BibTeX
@inproceedings{chen2023entity,
  author = {Mingyang Chen and Wen Zhang and Zhen Yao and Yushan Zhu and Yang Gao and Jeff Z. Pan and Huajun Chen},
  title = {{Entity-Agnostic Representation Learning for Parameter-Efficient Knowledge Graph Embedding}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i4.25535},
}
Figure