Transitivity Preserving Projection (TPP)
- Transitivity Preserving Projection (TPP) is a mechanism that maintains transitive relationships by enforcing idempotence in projected subspaces or reduced graphs.
- In Rot-Pro, TPP employs relation-specific idempotent linear operators and identity rotations on the projection subspace to ensure that transitive links remain inferable.
- In directed hypergraphs, TPP efficiently constructs a minimal, unique projection that preserves dominant irreducible metapaths while reducing computational complexity.
Transitivity Preserving Projection (TPP) is a term used in recent arXiv literature for projection mechanisms designed so that transitive structure survives reduction. In the knowledge-graph embedding model "Rot-Pro: Modeling Transitivity by Projection in Knowledge Graph Embedding" (Song et al., 2021), TPP is instantiated as a relation-specific idempotent linear operator used jointly with relational rotation so that transitive links remain inferable after projection. In "Transitivity Preserving Projection in Directed Hypergraphs" (Parsonage et al., 4 Sep 2025), TPP denotes a projection of a directed hypergraph onto a designated subset that is minimal, complete, unique, and idempotent with respect to dominant irreducible metapaths. The two usages are mathematically distinct, but both make transitivity preservation the defining constraint.
1. Terminological scope
The expression "Transitivity Preserving Projection" does not denote a single standardized construction across all subfields. In the cited literature, it refers to two different objects: a linear operator on embedding space for link prediction, and a projection procedure on directed hypergraphs for structural reduction.
| Context | Projected object | Preservation target |
|---|---|---|
| Rot-Pro | Entity embeddings in | Transitive relations in knowledge graphs |
| Directed hypergraphs | A hypergraph onto | Dominant irreducible metapaths on |
A common misconception is that TPP is synonymous with ordinary transitive closure. The hypergraph formulation is explicitly minimal and keeps only irreducible dominant metapaths, while the Rot-Pro formulation is a relation-conditioned projection inside a scoring function rather than a graph-rewriting operation.
2. Algebraic formulation in Rot-Pro
In Rot-Pro, the embedding space is a real vector space with when is identified with . A linear operator
is called a projection, or idempotent transformation, if and only if
0
equivalently
1
When 2 holds in the knowledge graph, Rot-Pro enforces
3
where 4 is an orthogonal rotation operator associated with 5 (Song et al., 2021).
The parameterization is block-diagonal over complex coordinates. Each complex embedding 6 is written as a real 7-vector
8
For each relation 9 and coordinate 0, Rot-Pro defines a small rotation 1 by an angle 2, a diagonal idempotent matrix 3 with 4, and the projection block
5
Because 6 is idempotent and 7 is invertible, 8. The full projection operator is
9
The relational rotation is likewise block-diagonal, with each 0 block given by a rotation through 1:
2
Given a triple 3 with 4, Rot-Pro defines the distance
5
and the score
6
3. Transitivity mechanism and expressive consequences in Rot-Pro
The transitivity argument is based on idempotence. Suppose 7 and 8 satisfy
9
Then
0
If, furthermore,
1
for example if 2 acts as the identity on 3, then
4
so by the same rule 5 holds. The key algebraic requirements are therefore
6
The paper also states a lemma for transitive chains. A transitive chain for relation 7 is a sequence of distinct entities 8 such that 9 holds for 0, and its transitive closure is the set of all ordered pairs 1 whenever 2. Any linear projection 3 satisfying 4 can represent such a chain by assigning embeddings with
5
and choosing 6 so that 7. Because 8 is constant along the chain, all derived edges 9 with 0 satisfy the same rule.
For transitive relations in Rot-Pro, the paper’s proof sketch sets for each coordinate 1
2
so that 3 projects onto a single 4-D subspace, and forces 5 so that 6 is the identity on the projected line. Then for any chain 7 under 8,
9
hence 0 and 1 is scored perfectly, with zero distance. Concretely, all projected points lie on the same line given by
2
The paper further states that Rot-Pro can simultaneously model symmetry, asymmetry, inversion, composition (as in RotatE) and transitivity. The toy example uses the transitive relation isLocatedIn with the chain
3
Rot-Pro can embed these four entities in one complex coordinate so that they lie on a line in the complex plane; the chosen projection maps that line to a single real coordinate 4, and 5 so that 6 acts as the identity. Thus 7 is recovered even though it was not seen at training time.
Empirically, on the synthetic Countries tasks 8, each requiring one-, two- and three-hop transitive inference, Rot-Pro achieves AUC-PR of 9 respectively, whereas RotatE drops to 0 on the three-hop task. On YAGO3-10’s specialized transitivity test sets 1, Rot-Pro outperforms RotatE by over 2 MRR points on 3. Visualizations of the learned relational rotation phases show that non-trivial projection dimensions settle at 4 or 5, confirming that 6 becomes the identity on the projection subspace as required for transitivity.
4. Directed-hypergraph TPP: formal objects and guarantees
In the directed-hypergraph setting, a directed hypergraph is a pair
7
where 8 is a set of vertices and 9 is a set of edges, each edge 0 being a pair
1
with 2 its tail (invertex) and 3 its head (outvertex). A metapath from 4 to 5 is any set of edges 6 satisfying three conditions: the source inputs are all covered, the target outputs are all produced, and each edge in 7 lies on some simple-path connecting some 8 to some 9 (Parsonage et al., 4 Sep 2025).
The dominantness conditions are central. A metapath 00 is edge-dominant if no proper subset 01 is a metapath from 02 to 03. It is input-dominant if there is no metapath 04 with 05. It is dominant if it is both edge-dominant and input-dominant. An irreducible metapath over 06 is a dominant metapath 07 with 08 and 09 that cannot be factored within 10:
11
with both factors nonempty metapaths satisfying the dominance conditions.
The TPP problem is: given 12 and a designated subset 13, construct a hypergraph
14
such that: 15 16 contains only edges whose source and target lie in 17, 18 19 preserves all dominant transitive relationships among 20, and 21 22 is minimal—no edge can be removed without losing one of those derived relationships.
Definition 2.1 gives the formal TPP conditions. A directed hypergraph 23 is the TPP of 24 over 25 if: for every edge 26 and every 27 there exists in 28 a dominant metapath 29 which is irreducible over 30; if in 31 there is any dominant irreducible metapath 32 with 33 and 34, then 35 contains an edge 36 with 37; and no two distinct edges in 38 share the same tail set.
The theoretical guarantees are stated as theorems. Theorem 2.2 gives uniqueness and idempotence: the TPP over 39 is unique, and applying TPP twice yields the same result. Theorem 2.3 gives minimality: no proper subset of 40 preserves all dominant irreducible metapaths on 41. Theorem 2.4 gives completeness: every dominant metapath in 42 whose source and target lie in 43 can be decomposed into a sequence of irreducible metapaths, each realized by an edge in 44.
5. Algorithms, complexity, and empirical behavior in directed hypergraphs
The algorithmic contribution of the hypergraph formulation is framed against the Basu and Blanning projection (BBP). Rather than enumerating all 45 subsets 46, TPP only needs, for each 47, one call to enumerate all edge-dominant metapaths from 48 to 49 and then applies a polynomial-time filter via a set-trie to retain only those that are irreducible (Parsonage et al., 4 Sep 2025).
A set-trie stores key-to-value associations where each key is a subset of a ground universe 50. It supports two critical queries: given 51, retrieve all values whose key 52 satisfies 53; and given 54, retrieve all values whose key 55 satisfies 56. The main algorithm initializes 57, builds a set-trie 58 of inverter-to-edge-index over all 59, and for each 60 lets 61. It then calls
62
to enumerate all edge-dominant metapaths from 63 to 64. The result is filtered to keep only those metapaths whose inverting set 65 is minimal among all enumerated paths, that is, irreducible; this filter inserts each 66 into a set-trie 67 and rejects any 68 that has a strict subset already in 69. For each surviving metapath, the algorithm adds an edge 70 to 71, and finally merges any edges with the same tail into a single edge.
The AllPaths procedure performs a breadth-first search on the “power-graph” of edges, indexes candidate edges via subset-queries in 72, and prunes any partial path whose tail-set is a superset of an already-found path. This process calls a subset-query on 73 exactly once per 74, not 75 times. The irreducibility filter in step 3(c) runs in
76
where 77 and 78 is average invertex-set size, both polynomial in 79.
The complexity discussion is explicit. Let 80, 81, and 82. Basu and Blanning must, for each 83, consider every 84, that is, 85 subsets, and for each run an NP-hard dominant-metapath enumeration, yielding worst-case time
86
TPP runs AllPaths exactly 87 times. AllPaths itself may in the worst case enumerate exponentially many paths, but in practice the set-trie filter and edge-combining cut down the search space dramatically; after enumeration it filters in 88, and the final edge-merge is 89. Empirically this runs in near-linear time in 90 on real data.
The reported case studies are concrete. In the aircraft landing-gear supply chain, with 91 and 92, the BBP path-finder exhausted 93 GB RAM in 94 h and produced no projection in 95 h, whereas TPP enumerated all 96 edge-dominant paths in 97 s and completed projection over 98 in 99 s. In the university network security metagraph, with 00 and 01, BBP ran out of memory and did not terminate in 02 h, whereas TPP completed projection over the relevant zone-subset in 03 s. The paper states that TPP always terminates in seconds on moderate graphs versus BBP failing beyond dozens of vertices, and that the edge count in TPP is 04 BBP’s and typically far smaller.
The application domains listed are network security, supply-chain modeling, and visualization and analysis. In network security, policy-reachability projections highlight firewall-zone relationships while preserving “can-reach-via-transitivity” semantics, and TPP enables administrators to explore only irreducible trust paths in large campus or cloud networks. In supply-chain modeling, TPP yields minimal supplier-component projections that preserve all essential multi-tier dependencies and supports faster “what if supplier G fails?” analysis by recomputing TPP on the subset without G. For visualization, TPP yields far fewer edges than naive transitive-closure projections or BBP, aiding human interpretation.
6. Comparative interpretation
A second common misconception is that the two TPP constructions are interchangeable. They are not. In Rot-Pro, TPP is an operator-level constraint inside a knowledge-graph embedding model: the central object is the relation-specific projection 05 with 06, and transitivity depends on the additional requirement that 07 act trivially on 08, implemented by 09 on the projection subspace (Song et al., 2021). In the directed-hypergraph formulation, TPP is a projection from 10 to 11 whose defining guarantees are existence, completeness, uniqueness of inverter, uniqueness, minimality, and idempotence (Parsonage et al., 4 Sep 2025).
This suggests an abstract commonality: both constructions use idempotence to ensure that once the relevant projection has been applied, reapplying it does not generate a different reduced object. A plausible implication is that, in both settings, idempotence serves as the formal boundary between irreducible structure and redundant transitive derivation. The shared phrase therefore marks a family resemblance rather than a single formalism.
The distinction from simpler baselines is also sharp in both cases. In Rot-Pro, transitivity is not obtained by rotation alone; the model’s transitive behavior arises from projection together with a rotation that becomes the identity on the projected subspace. In directed hypergraphs, TPP is not a brute-force transitive closure and not the Basu and Blanning projection; it keeps only dominant irreducible metapaths, and its output is minimal, complete, unique, and idempotent. Across both literatures, the phrase "Transitivity Preserving Projection" therefore denotes a design principle: preserve inferential consequences of transitivity while restricting representation to a structured subspace or a minimal projected subgraph.