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 XX' 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 CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d} Transitive relations in knowledge graphs
Directed hypergraphs A hypergraph H=(V,E)H=(V,E) onto XVX' \subseteq V Dominant irreducible metapaths on XX'

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

Pr:VVP_r : V \to V

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

CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}0

equivalently

CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}1

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

CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}3

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

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

CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}8

For each relation CdR2d\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 XVX' \subseteq V0 block given by a rotation through XVX' \subseteq V1:

XVX' \subseteq V2

Given a triple XVX' \subseteq V3 with XVX' \subseteq V4, Rot-Pro defines the distance

XVX' \subseteq V5

and the score

XVX' \subseteq V6

3. Transitivity mechanism and expressive consequences in Rot-Pro

The transitivity argument is based on idempotence. Suppose XVX' \subseteq V7 and XVX' \subseteq V8 satisfy

XVX' \subseteq V9

Then

XX'0

If, furthermore,

XX'1

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

XX'4

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

XX'6

(Song et al., 2021).

The paper also states a lemma for transitive chains. A transitive chain for relation XX'7 is a sequence of distinct entities XX'8 such that XX'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 VR2dV \cong \mathbb{R}^{2d}0 satisfy the same rule.

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

VR2dV \cong \mathbb{R}^{2d}2

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

VR2dV \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:VVP_r : V \to V0 being a pair

Pr:VVP_r : V \to V1

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

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

CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}11

with both factors nonempty metapaths satisfying the dominance conditions.

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

CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}14

such that: CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}15 CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}16 contains only edges whose source and target lie in CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}17, CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}18 CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}19 preserves all dominant transitive relationships among CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}20, and CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}21 CdR2d\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 CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}23 is the TPP of CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}24 over CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}25 if: for every edge CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}26 and every CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}27 there exists in CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}28 a dominant metapath CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}29 which is irreducible over CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}30; if in CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}31 there is any dominant irreducible metapath CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}32 with CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}33 and CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}34, then CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}35 contains an edge CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}36 with CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}37; and no two distinct edges in CdR2d\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 CdR2d\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 CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}40 preserves all dominant irreducible metapaths on CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}41. Theorem 2.4 gives completeness: every dominant metapath in CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}42 whose source and target lie in CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}43 can be decomposed into a sequence of irreducible metapaths, each realized by an edge in CdR2d\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 CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}45 subsets CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}46, TPP only needs, for each CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}47, one call to enumerate all edge-dominant metapaths from CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}48 to CdR2d\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 CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}50. It supports two critical queries: given CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}51, retrieve all values whose key CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}52 satisfies CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}53; and given CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}54, retrieve all values whose key CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}55 satisfies CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}56. The main algorithm initializes CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}57, builds a set-trie CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}58 of inverter-to-edge-index over all CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}59, and for each CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}60 lets CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}61. It then calls

CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}62

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

CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}76

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

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

CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}86

TPP runs AllPaths exactly CdR2d\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 CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}88, and the final edge-merge is CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}89. Empirically this runs in near-linear time in CdR2d\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 CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}91 and CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}92, the BBP path-finder exhausted CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}93 GB RAM in CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}94 h and produced no projection in CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}95 h, whereas TPP enumerated all CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}96 edge-dominant paths in CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}97 s and completed projection over CdR2d\mathbb{C}^d \cong \mathbb{R}^{2d}98 in CdR2d\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).