Papers
Topics
Authors
Recent
Search
2000 character limit reached

Transitivity Preserving Projection (TPP)

Updated 10 July 2026
  • 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 X′X' 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 Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d} Transitive relations in knowledge graphs
Directed hypergraphs A hypergraph H=(V,E)H=(V,E) onto X′⊆VX' \subseteq V Dominant irreducible metapaths on X′X'

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 VV with V≅R2dV \cong \mathbb{R}^{2d} when Cd\mathbb{C}^d is identified with R2d\mathbb{R}^{2d}. A linear operator

Pr:V→VP_r : V \to V

is called a projection, or idempotent transformation, if and only if

Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}0

equivalently

Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}1

When Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}2 holds in the knowledge graph, Rot-Pro enforces

Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}3

where Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}4 is an orthogonal rotation operator associated with Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}5 (Song et al., 2021).

The parameterization is block-diagonal over complex coordinates. Each complex embedding Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}6 is written as a real Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}7-vector

Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}8

For each relation Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}9 and coordinate H=(V,E)H=(V,E)0, Rot-Pro defines a small rotation H=(V,E)H=(V,E)1 by an angle H=(V,E)H=(V,E)2, a diagonal idempotent matrix H=(V,E)H=(V,E)3 with H=(V,E)H=(V,E)4, and the projection block

H=(V,E)H=(V,E)5

Because H=(V,E)H=(V,E)6 is idempotent and H=(V,E)H=(V,E)7 is invertible, H=(V,E)H=(V,E)8. The full projection operator is

H=(V,E)H=(V,E)9

The relational rotation is likewise block-diagonal, with each X′⊆VX' \subseteq V0 block given by a rotation through X′⊆VX' \subseteq V1:

X′⊆VX' \subseteq V2

Given a triple X′⊆VX' \subseteq V3 with X′⊆VX' \subseteq V4, Rot-Pro defines the distance

X′⊆VX' \subseteq V5

and the score

X′⊆VX' \subseteq V6

3. Transitivity mechanism and expressive consequences in Rot-Pro

The transitivity argument is based on idempotence. Suppose X′⊆VX' \subseteq V7 and X′⊆VX' \subseteq V8 satisfy

X′⊆VX' \subseteq V9

Then

X′X'0

If, furthermore,

X′X'1

for example if X′X'2 acts as the identity on X′X'3, then

X′X'4

so by the same rule X′X'5 holds. The key algebraic requirements are therefore

X′X'6

(Song et al., 2021).

The paper also states a lemma for transitive chains. A transitive chain for relation X′X'7 is a sequence of distinct entities X′X'8 such that X′X'9 holds for VV0, and its transitive closure is the set of all ordered pairs VV1 whenever VV2. Any linear projection VV3 satisfying VV4 can represent such a chain by assigning embeddings with

VV5

and choosing VV6 so that VV7. Because VV8 is constant along the chain, all derived edges VV9 with V≅R2dV \cong \mathbb{R}^{2d}0 satisfy the same rule.

For transitive relations in Rot-Pro, the paper’s proof sketch sets for each coordinate V≅R2dV \cong \mathbb{R}^{2d}1

V≅R2dV \cong \mathbb{R}^{2d}2

so that V≅R2dV \cong \mathbb{R}^{2d}3 projects onto a single V≅R2dV \cong \mathbb{R}^{2d}4-D subspace, and forces V≅R2dV \cong \mathbb{R}^{2d}5 so that V≅R2dV \cong \mathbb{R}^{2d}6 is the identity on the projected line. Then for any chain V≅R2dV \cong \mathbb{R}^{2d}7 under V≅R2dV \cong \mathbb{R}^{2d}8,

V≅R2dV \cong \mathbb{R}^{2d}9

hence Cd\mathbb{C}^d0 and Cd\mathbb{C}^d1 is scored perfectly, with zero distance. Concretely, all projected points lie on the same line given by

Cd\mathbb{C}^d2

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

Cd\mathbb{C}^d3

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 Cd\mathbb{C}^d4, and Cd\mathbb{C}^d5 so that Cd\mathbb{C}^d6 acts as the identity. Thus Cd\mathbb{C}^d7 is recovered even though it was not seen at training time.

Empirically, on the synthetic Countries tasks Cd\mathbb{C}^d8, each requiring one-, two- and three-hop transitive inference, Rot-Pro achieves AUC-PR of Cd\mathbb{C}^d9 respectively, whereas RotatE drops to R2d\mathbb{R}^{2d}0 on the three-hop task. On YAGO3-10’s specialized transitivity test sets R2d\mathbb{R}^{2d}1, Rot-Pro outperforms RotatE by over R2d\mathbb{R}^{2d}2 MRR points on R2d\mathbb{R}^{2d}3. Visualizations of the learned relational rotation phases show that non-trivial projection dimensions settle at R2d\mathbb{R}^{2d}4 or R2d\mathbb{R}^{2d}5, confirming that R2d\mathbb{R}^{2d}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

R2d\mathbb{R}^{2d}7

where R2d\mathbb{R}^{2d}8 is a set of vertices and R2d\mathbb{R}^{2d}9 is a set of edges, each edge Pr:V→VP_r : V \to V0 being a pair

Pr:V→VP_r : V \to V1

with Pr:V→VP_r : V \to V2 its tail (invertex) and Pr:V→VP_r : V \to V3 its head (outvertex). A metapath from Pr:V→VP_r : V \to V4 to Pr:V→VP_r : V \to V5 is any set of edges Pr:V→VP_r : V \to V6 satisfying three conditions: the source inputs are all covered, the target outputs are all produced, and each edge in Pr:V→VP_r : V \to V7 lies on some simple-path connecting some Pr:V→VP_r : V \to V8 to some Pr:V→VP_r : V \to V9 (Parsonage et al., 4 Sep 2025).

The dominantness conditions are central. A metapath Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}00 is edge-dominant if no proper subset Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}01 is a metapath from Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}02 to Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}03. It is input-dominant if there is no metapath Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}04 with Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}05. It is dominant if it is both edge-dominant and input-dominant. An irreducible metapath over Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}06 is a dominant metapath Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}07 with Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}08 and Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}09 that cannot be factored within Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}10:

Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}11

with both factors nonempty metapaths satisfying the dominance conditions.

The TPP problem is: given Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}12 and a designated subset Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}13, construct a hypergraph

Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}14

such that: Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}15 Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}16 contains only edges whose source and target lie in Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}17, Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}18 Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}19 preserves all dominant transitive relationships among Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}20, and Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}21 Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}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 Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}23 is the TPP of Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}24 over Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}25 if: for every edge Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}26 and every Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}27 there exists in Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}28 a dominant metapath Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}29 which is irreducible over Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}30; if in Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}31 there is any dominant irreducible metapath Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}32 with Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}33 and Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}34, then Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}35 contains an edge Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}36 with Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}37; and no two distinct edges in Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}38 share the same tail set.

The theoretical guarantees are stated as theorems. Theorem 2.2 gives uniqueness and idempotence: the TPP over Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}39 is unique, and applying TPP twice yields the same result. Theorem 2.3 gives minimality: no proper subset of Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}40 preserves all dominant irreducible metapaths on Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}41. Theorem 2.4 gives completeness: every dominant metapath in Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}42 whose source and target lie in Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}43 can be decomposed into a sequence of irreducible metapaths, each realized by an edge in Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}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 Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}45 subsets Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}46, TPP only needs, for each Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}47, one call to enumerate all edge-dominant metapaths from Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}48 to Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}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 Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}50. It supports two critical queries: given Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}51, retrieve all values whose key Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}52 satisfies Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}53; and given Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}54, retrieve all values whose key Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}55 satisfies Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}56. The main algorithm initializes Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}57, builds a set-trie Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}58 of inverter-to-edge-index over all Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}59, and for each Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}60 lets Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}61. It then calls

Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}62

to enumerate all edge-dominant metapaths from Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}63 to Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}64. The result is filtered to keep only those metapaths whose inverting set Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}65 is minimal among all enumerated paths, that is, irreducible; this filter inserts each Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}66 into a set-trie Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}67 and rejects any Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}68 that has a strict subset already in Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}69. For each surviving metapath, the algorithm adds an edge Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}70 to Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}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 Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}72, and prunes any partial path whose tail-set is a superset of an already-found path. This process calls a subset-query on Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}73 exactly once per Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}74, not Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}75 times. The irreducibility filter in step 3(c) runs in

Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}76

where Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}77 and Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}78 is average invertex-set size, both polynomial in Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}79.

The complexity discussion is explicit. Let Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}80, Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}81, and Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}82. Basu and Blanning must, for each Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}83, consider every Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}84, that is, Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}85 subsets, and for each run an NP-hard dominant-metapath enumeration, yielding worst-case time

Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}86

TPP runs AllPaths exactly Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}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 Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}88, and the final edge-merge is Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}89. Empirically this runs in near-linear time in Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}90 on real data.

The reported case studies are concrete. In the aircraft landing-gear supply chain, with Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}91 and Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}92, the BBP path-finder exhausted Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}93 GB RAM in Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}94 h and produced no projection in Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}95 h, whereas TPP enumerated all Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}96 edge-dominant paths in Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}97 s and completed projection over Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}98 in Cd≅R2d\mathbb{C}^d \cong \mathbb{R}^{2d}99 s. In the university network security metagraph, with H=(V,E)H=(V,E)00 and H=(V,E)H=(V,E)01, BBP ran out of memory and did not terminate in H=(V,E)H=(V,E)02 h, whereas TPP completed projection over the relevant zone-subset in H=(V,E)H=(V,E)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 H=(V,E)H=(V,E)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 H=(V,E)H=(V,E)05 with H=(V,E)H=(V,E)06, and transitivity depends on the additional requirement that H=(V,E)H=(V,E)07 act trivially on H=(V,E)H=(V,E)08, implemented by H=(V,E)H=(V,E)09 on the projection subspace (Song et al., 2021). In the directed-hypergraph formulation, TPP is a projection from H=(V,E)H=(V,E)10 to H=(V,E)H=(V,E)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.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Transitivity Preserving Projection (TPP).