TRIX
Fully inductive knowledge graph model for zero-shot entity and relation prediction in unseen domains.
Graphs and geometry · 563 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Graphs and geometry
- Parameters
- 87.1K
- Operations
- 563
- Framework
- PyTorch
- Recurrent
- No
- Published
- LoG 2024 (PMLR 269)
- Cited by
- 0 (as of 30 October 2026)
- Authors
- Yucheng Zhang, Beatrice Bevilacqua, Mikhail Galkin, Bruno Ribeiro
- Source
- GitHub: yuchengz99/TRIX
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m20840
- Graph hash
- 547af24a31af5f1a33fb4620cdecc27409e20f0dcaa6f0ec9af884433cfc88e1
- Skeleton hash
- 0b9b83bdeae6ecae7cd822bd9d94c59ebad71906c65513104ce751718433fe49
- Architecture hash
- 0c58307596aa26f981752c34d4292f963b3cf11b04e4237139904e57dbefbaed
- Diagram SHA-256
- bb5760f366c3ee79c9400b2fece59e6e63d449b09905ceeedea1cf34500f08ff
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
TRIX is a fully inductive knowledge graph model, a kind of model that is trained on several domains and then completes knowledge graphs in new, unseen domains zero-shot. Its name stands for Transferable Relation-Entity Interactions in crossing patterns.
Given a knowledge graph, TRIX first builds a graph of relations, in which each node is a relation from the original graph and edges denote the entities those relations share. The paper traces the limited expressive power of the earlier model ULTRA to counting how many entities share a pair of relations instead of which ones, and it proves that TRIX is strictly more expressive than ULTRA and InGram at distinguishing non-isomorphic triplets. TRIX then refines relation and entity representations by iteratively applying graph neural network layers over the graph of relations and the original graph, and those layers are NBFNet layers with hidden dimension 32. This design lets TRIX answer a relation prediction query in a single forward pass, where the paper says earlier fully inductive models need as many forward passes as there are relations.
The authors pretrain on three datasets (WN18RR, CoDEx-Medium and FB15k237), train one model for entity prediction and another for relation prediction, and evaluate across 57 knowledge graphs. Against ULTRA, the paper reports about 3% average absolute improvement in zero-shot entity prediction and an average absolute improvement of 7.4% in Hits at 1 for zero-shot relation prediction.
Key idea. TRIX builds a relation graph recording which entities each pair of relations shares and updates relation and entity embeddings iteratively, giving strictly more expressive triplet embeddings than ULTRA and InGram.
- TRIX
- Transferable Relation-Entity Interactions in crossing patterns
- knowledge graph completion
- fully inductive knowledge graph model
- zero-shot knowledge graph completion
- entity prediction
- relation prediction
- knowledge graph foundation model
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{zhang2025trixexpressivemodelzeroshot,
title={TRIX: A More Expressive Model for Zero-shot Domain Transfer in Knowledge Graphs},
author={Yucheng Zhang and Beatrice Bevilacqua and Mikhail Galkin and Bruno Ribeiro},
year={2025},
eprint={2502.19512},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2502.19512},
}