Categorical Weisfeiler-Lehman Framework
- The categorical Weisfeiler-Lehman framework is a family of methods that redefines WL refinement through functorial lifting onto graded posets and combinatorial complexes.
- It separates the choice of lifting functor from neighborhood aggregation, providing a principled invariant for graph and hypergraph isomorphism tests.
- Empirical results demonstrate high expressivity and improved performance on hypergraph classification and topological benchmarks.
Searching arXiv for the specified papers to ground the article in the current literature. The categorical Weisfeiler-Lehman framework denotes a family of formulations that recast WL-style refinement through explicitly categorical structure. In the graded-poset formulation, lifting is formalized as a functor from a data category to the category of graded posets, after which a universal graded WL procedure is applied (Choi et al., 6 Feb 2026). In a closely related topological formulation, WL refinement on combinatorial complexes is treated as a functorial, isomorphism-invariant process on a category of combinatorial complexes, yielding the Combinatorial Complex Weisfeiler-Lehman framework (Chen et al., 1 May 2026). A historically distinct but relevant precursor formulates graph isomorphism as an orbit problem and introduces approximate categories whose isomorphisms refine orbital indistinguishability and strictly extend fixed-dimensional WL on certain instances (Derksen, 2010). Taken together, these works place WL, lifting, higher-order message passing, and isomorphism testing within a categorical vocabulary.
1. Scope and historical formulations
The literature uses the categorical perspective in at least three closely related senses. “Weisfeiler and Lehman Go Categorical” introduces the Categorical Weisfeiler-Lehman (CatWL) framework, in which a functor lifts objects from a source data category to graded posets, and WL refinement is then performed on the lifted poset. “Weisfeiler Lehman Test on Combinatorial Complexes” develops the Combinatorial Complex Weisfeiler-Lehman (CCWL) test as an axiomatic-style extension of WL to combinatorial complexes and explicitly casts the construction as functorial refinement on a category . “The Graph Isomorphism Problem and approximate categories” instead constructs approximate categories from truncated neighborhood algebras and uses categorical isomorphism as an orbit certificate for graph isomorphism [(Choi et al., 6 Feb 2026); (Chen et al., 1 May 2026); (Derksen, 2010)].
These formulations share a common structural move: WL is no longer treated as a graph-specific heuristic, but as a refinement procedure induced by categorical data such as morphisms, functors, graded order, or truncated algebraic neighborhoods. The frameworks differ, however, in their target objects and technical aims. CatWL is centered on graded posets as a universal lifting domain. CCWL is centered on combinatorial complexes and topological message passing. The approximate-category construction is centered on algebraic group actions and orbit testing.
| Formulation | Target objects | Core statement |
|---|---|---|
| CatWL | Graded posets | Lifting is a functor ; GWL is applied to |
| CCWL | Combinatorial complexes | CCWL extends WL to four intrinsic neighborhood relations on cells |
| Approximate categories | from truncated neighborhood algebras | WL reduces to AC, but AC does not reduce to WL |
A common misconception is that “categorical” names a single algorithm. The cited papers instead show a family of categorical reorganizations of WL: functorial lifting to graded posets, functorial refinement on combinatorial complexes, and approximate categorical isomorphism for orbit problems. This suggests that the categorical aspect is best understood as a design principle for defining invariants and message-passing topologies, rather than as one fixed refinement rule.
2. Graded posets as a universal WL domain
CatWL identifies graded posets as a universal target domain for lifting diverse data structures, including graphs, hypergraphs, simplicial complexes, and regular cell complexes. A graded poset is a poset equipped with a dimension function such that 0 implies 1, and if there is no 2 with 3, the cover relation is denoted 4 and satisfies 5 (Choi et al., 6 Feb 2026).
On such a poset, the Graded Weisfeiler-Lehman (GWL) test performs color refinement using four adjacency types induced by the Hasse relation. Starting from a constant coloring 6, the update is
7
where 8 are boundary adjacencies, 9 are co-boundary adjacencies, 0 are lower adjacencies via a shared boundary face, and 1 are upper adjacencies via a shared co-boundary coface. Two graded posets are isomorphic by GWL if the coloring histograms are equal for all 2 (Choi et al., 6 Feb 2026).
The categorical step is then straightforward. Given a functor 3, the 4-Categorical WL test lifts 5 to 6 and applies GWL there. Because functorial lifting preserves isomorphisms, 7-CatWL provides a necessary condition for isomorphism in the source category. The paper also defines a neural relaxation, CatMPN, whose neighborhoods are exactly those induced by the Hasse diagram of 8 and whose expressivity matches CatWL when aggregation and update functions are injective and the network has sufficient depths and widths (Choi et al., 6 Feb 2026).
This graded-poset formalization is significant because it separates two design choices that are often conflated in higher-order learning: the choice of lifting functor and the choice of refinement rule. The message-passing topology is strictly determined by the choice of functor. Consequently, the categorical framework does not prescribe a unique architecture; it prescribes a principled mechanism for deriving one.
3. Functorial lifting, hypergraphs, and induced architectures
For hypergraphs, CatWL develops two explicit functors from the category 9 to 0. In 1, an object is a triple 2 with 3, and a morphism 4 consists of maps on vertices and hyperedges satisfying 5. The first lifting is the incidence functor 6, which maps 7 to the graded poset 8 with 9, 0, and 1 iff 2. The second is the symmetric simplicial complex functor 3, which constructs simplices internal to each hyperedge and orders them by inclusion within that hyperedge, thereby preserving the full internal subset geometry of each hyperedge (Choi et al., 6 Feb 2026).
These lifts induce distinct message-passing topologies. The incidence poset yields a two-level structure enabling node-hyperedge interactions, but the categorical derivation also enforces aggregation over lower and upper adjacencies, capturing intersection geometries between hyperedges and between nodes via shared hyperedges. The symmetric simplicial construction stratifies each hyperedge by cardinality and produces hierarchical interactions between faces and cofaces, allowing explicit modeling of shared-face geometry within large hyperedges (Choi et al., 6 Feb 2026).
The corresponding neural architectures are hypergraph isomorphism networks instantiated from the generic CatMPN template. For features 4, messages are aggregated over 5, 6, 7, and 8, and a learnable update combines them. Theorem 9 states that 9-CatWL is at least as powerful as the 0-CatMPN, and that equality of expressive power holds under injective update and aggregation functions with sufficient capacity. The framework further proves that both 1-CatWL and 2-CatWL are not less powerful than HWL; the proofs use explicit counterexamples where HWL fails to distinguish two non-isomorphic hypergraphs but the categorical refinements succeed at 3 (Choi et al., 6 Feb 2026).
The paper also establishes adjacency simplification results. Under the boundary-size condition 4 for any 5 with 6, the full four-adjacency update is equivalent in expressive power to restricted variants: boundary, lower, and upper adjacencies suffice, and even boundary with upper adjacencies suffices. This is an important correction to the intuition that more adjacency types are automatically more informative; under the stated condition, some of them are theoretically redundant (Choi et al., 6 Feb 2026).
Empirically, the induced architectures I-HIN and S-HIN achieve best performance on 5 of 6 hypergraph classification benchmarks. I-HIN dominates on dense graphs with many hyperedges per graph, while S-HIN performs best on sparse graphs with large hyperedge cardinalities, where internal sub-relations within hyperedges carry discriminative information. This division of labor reinforces the central categorical claim: the lift, rather than the downstream update rule alone, determines which structural information becomes visible to refinement (Choi et al., 6 Feb 2026).
4. Combinatorial complexes and the CCWL generalization
CCWL extends the WL paradigm from graphs and domain-specific topological structures to combinatorial complexes. A combinatorial complex is a triple 7 consisting of a set 8, a subset 9, and an order-preserving rank function 0 such that for all 1, 2 and 3. A cell 4 with 5 is a 6-cell, and the dimension is 7. The incidence structure is given by the boundary relation 8, with strict boundary relation 9 when there is no intermediate cell (Chen et al., 1 May 2026).
CCWL formalizes four neighborhood relations on cells. For a cell 0, the boundary adjacent set is 1, the co-boundary adjacent set is 2, the lower adjacent set is 3 for same-rank cells sharing a 4-cell, and the upper adjacent set is 5 for same-rank cells sharing a 6-cell. Shared-bridge sets 7 and 8 are intersections of boundary and co-boundary neighborhoods, respectively (Chen et al., 1 May 2026).
The CCWL update refines colors rank-wise. With coloring 9 and an injective multiset hashing function, the update is
0
where 1 and 2 record colors on boundary and co-boundary cells, and 3 and 4 record same-rank neighbors together with shared bridge colors. Initialization is rank-wise, and refinement stops at stabilization. Lemma 4.4 gives isomorphism invariance: if 5, then the color multisets agree at every iteration (Chen et al., 1 May 2026).
The framework’s main expressive result is Theorem 4.8: CCWL with
6
is as powerful as the full generalized update rule using all four adjacency types. The proof sketch recovers explicit boundary and co-boundary multisets from lower and upper adjacency information by projection onto bridge components and bridge multiplicity partitioning. Hence, upper and lower adjacencies suffice. The paper further states that CCWL is at least as powerful as 1-WL, simulates graph 1-WL, hypergraph WL, simplicial WL, and cellular WL via appropriate liftings, and is strictly more expressive than 1-WL, HWL, SWL, and CWL under faithful liftings (Chen et al., 1 May 2026).
This makes combinatorial complexes a unifying topological domain analogous, in spirit, to graded posets in CatWL. The difference is that CCWL’s unification is phrased intrinsically in terms of cell incidence and same-rank adjacencies inside a combinatorial complex, whereas CatWL emphasizes the external choice of a functor into a universal target category.
5. Categorical structure, invariance, and neural realization
CCWL gives an explicit categorical-style perspective through the category 7. Its objects are triples 8 as above, and its morphisms are structure-preserving maps that preserve rank and the four adjacency relations 9, 0, 1, and 2. Isomorphisms are bijective morphisms. A labeling functor 3 maps each combinatorial complex to the sequence of CCWL colorings 4, while a morphism acts by reindexing colors along the structure-preserving map. Lemma 4.4 establishes isomorphism invariance of these outputs, and HASH injectivity ensures that label refinement is a natural transformation with respect to incidence-preserving maps. The paper also notes a monoidal perspective: disjoint union acts like a coproduct, and because CCWL and CCIN use permutation-invariant multiset aggregation and readout, this invariance is preserved under disjoint unions up to aggregation of color multisets (Chen et al., 1 May 2026).
The neural instantiation is the Combinatorial Complex Isomorphism Network (CCIN). A general CCNN layer aggregates messages over the four neighborhoods 5, with neighborhood-specific message maps and a permutation-invariant aggregator. Using the sufficiency theorem, the update can be reduced to
6
and the rank-adaptive CCIN layer is
7
Lemma 5.1 states that CCIN is as powerful as CCWL when using injective neighborhood aggregators and sufficient MLP layers (Chen et al., 1 May 2026).
CatWL provides a parallel neural statement. CatMPN updates features by messages over boundary, co-boundary, lower, and upper adjacencies on the lifted poset 8. Theorem 9 gives the usual discrete-to-neural equivalence: CatWL is at least as powerful as CatMPN, and equality follows under injective aggregation and update functions with sufficient width and depth. In both frameworks, categorical invariance is therefore not merely descriptive; it becomes an expressivity theorem for specific message-passing architectures (Choi et al., 6 Feb 2026).
A historically different categorical realization appears in approximate categories 9. There the objects are elements of 00 or affine subspaces of 01, morphisms are truncated algebraic neighborhoods defined through
02
and composition is induced by comultiplication on the coordinate ring of the acting algebraic group. The construction yields isomorphism tests AC03 that run in polynomial time for fixed 04 over suitable finite fields and strictly extend WL on Cai-Fürer-Immerman instances (Derksen, 2010). This is not a message-passing formulation, but it shares the same broad aim: replacing graph-local refinement by a categorical structure whose morphisms encode higher-order equivalence.
6. Expressivity, empirical profile, and open directions
Across these formulations, expressivity results consistently state that the categorical versions subsume domain-specific WL baselines. For hypergraphs, both 05-CatWL and 06-CatWL are not less powerful than HWL, and CatMPN matches CatWL under injectivity assumptions (Choi et al., 6 Feb 2026). For combinatorial complexes, CCWL is at least as powerful as 1-WL, simulates graph 1-WL, hypergraph WL, simplicial WL, and cellular WL through liftings, and is strictly more expressive than those variants under faithful liftings (Chen et al., 1 May 2026). For approximate categories, WL reduces to AC through constructible equivariants and functors, but AC does not reduce to WL; over 07, AC08 distinguishes Cai-Fürer-Immerman pairs that no fixed-dimensional WL can distinguish (Derksen, 2010).
The empirical profile is similarly consistent with the theoretical claims. On hypergraph classification, I-HIN and S-HIN achieve best performance on 5 of 6 datasets, with I-HIN favored in dense regimes and S-HIN favored when internal hyperedge geometry matters (Choi et al., 6 Feb 2026). On topological benchmarks, CCIN attains 96.4% on MUTAG, 78.3% on IMDB-B, 93.4% on REDDIT-B, ROC-AUC 09 on MOLHIV, AP 10 on PEPTIDES-FUNC, MAE 11 on PEPTIDES-STRUCT, MAE 12 and 13 on ZINC-small without and with edge features, and MAE 14 on ZINC-FULL (250K). The ablations are notable: using only 15 and 16 improves over the full four-neighborhood model on several datasets, including RDT-B, RDT-M, NCI1, and NCI109, supporting the practical value of the upper/lower sufficiency theorem (Chen et al., 1 May 2026).
The main assumptions are explicit. CatWL requires a functor 17 that preserves composition and identity and targets graded posets with well-defined cover relations and dimensions; equivalence with CatMPN requires injective aggregation and update maps (Choi et al., 6 Feb 2026). CCWL assumes rank-adjacent incidence, no free faces unless otherwise stated, injective HASH and permutation invariance, and uses a sufficiency proof that reconstructs boundary and co-boundary information from lower and upper adjacency under local incidence and bridge multiplicity partitioning (Chen et al., 1 May 2026). The approximate-category approach depends on algebraic group actions, truncated neighborhood algebras, and finite-field complexity results for fixed 18 (Derksen, 2010).
Several limitations recur. Constructing the symmetric simplicial complex 19 is combinatorially expensive for large hyperedge cardinality, so the hypergraph experiments truncate lifting at threshold 20 (Choi et al., 6 Feb 2026). In CCWL, top-dimensional uniqueness can obstruct boundary recovery for isolated top cells, and the framework remains a color-refinement scheme, so families with extreme symmetries may require higher-order or global invariants beyond CCWL’s locality (Chen et al., 1 May 2026). In the approximate-category setting, the existence of a universal bounded depth 21 that solves graph isomorphism in polynomial time remains open, as do questions about robustness across characteristics and coefficient growth over 22 (Derksen, 2010).
A final misconception is that categorical enrichment automatically means using more neighborhoods or more structure. The papers show the opposite in a precise sense. CatWL proves equivalence of restricted adjacency sets under mild boundary-size conditions, and CCWL proves that upper and lower adjacencies already attain the expressive power of the full framework. The categorical contribution is therefore not maximal structural proliferation, but principled control over which structures are necessary, invariant, and sufficient.