betaFeedback

WorksComputer Science

Beyond the Clique: Comparing Clique and Dowker Complexes for Co-occurrence Data in Learning Analytics

Abstract

Learning analytics increasingly represents the relations in co-occurrence data (codes in a window of discourse, participants in a thread, tags on a post) as simplicial complexes and analyses them with persistent homology. The standard approach uses the clique complex. Because its simplices are determined by the pairwise network alone, it cannot distinguish "three elements co-occurred together" from "each of the three pairs co-occurred separately". The Dowker complex, in contrast, takes as simplices the sets of entities actually observed to co-occur. We compare the two. First, we show that, on the same 1-skeleton, the Dowker complex is a subcomplex of the clique complex, the map on first homology induced by the inclusion is surjective, and its kernel is generated by phantom triangles that never co-occurred; that is, the clique construction can only erase holes. We also give a criterion for agreement that can be checked on triples of groups. We then test this on real data. On four Stack Exchange data sets, 46-91% of clique triangles are phantom and 522-1,970 holes are erased. On the example data of the learning-analytics R packages tna/Nestimate, the first Betti number β1β_1 of the clique complex is 0 at every threshold, whereas the Dowker complex detects holes. Against a degree-preserving null model, the Dowker complex departs strongly in five of the six data sets. This difference is invisible at the fixed thresholds used in practice. We conclude that the construction should follow the data type and that, for observed groups, the Dowker complex is the appropriate choice. Code is available at https://github.com/igu-lab/beyond-the-clique.

Introduction

Network methods have become a standard lens in learning analytics. Transition Network Analysis (TNA) models sequences of learning actions as weighted directed networks [1, 2], and its companion package Nestimate adds higher-order tools, including higher-order Markov models, path-anomaly detection, hypergraphs, simplicial complexes and persistent homology [3, 4]. Heterogeneous Interaction Network Analysis (HINA) models learners and their coded behaviours as bipartite networks [5].

We have previously argued that network analyses in the Learning Sciences, grounded in classical graph theory, can represent only pairwise relations, and proposed temporal hypergraphs as a framework for analysing many-body interactions in learning as they unfold over time [6]. Extending the period segmentation of Cristea et al. [7] (halves and quarters), we also proposed deriving data-driven period boundaries from change points in the connected components (β0\beta_0) of zigzag persistent homology [8]. That work, however, tracked only the temporal evolution of connected components and did not address the structure of many-body co-occurrence.

Note that “higher-order” structure in data has two distinct meanings [9, 10]. Higher-order dependencies (HOD) concern memory in sequences: whether the next state depends on more than the current one [11]. Higher-order interactions (HOI) concern many-body co-occurrence: whether three or more entities act together in a way that pairs cannot represent. Nestimate covers HOD extensively. This paper is about HOI.

The question of this paper is simple: can an analysis tell “A, B and C talked together once” from “A and B, B and C, and A and C each talked once” (Figure 1)? Both produce the same pairwise network. The clique complex, which fills a triangle whenever its three edges are present, also cannot tell them apart; the distinction is well known in network science [12, 13, 14], but it has not reached the simplicial pipelines used in learning analytics. The Dowker complex of the observed groups [15, 16] can: it fills the triangle in the first case and leaves a hole in the second. A hypergraph can also distinguish the two, but the Dowker complex is a simplicial complex built directly from the observed groups (hyperedges), so homology and persistent homology apply to it as they stand, and it can be compared with the clique complex on equal terms. In this sense, the Dowker complex carries the hypergraph perspective we proposed earlier [6] over to topological analysis.

Figure 1. The core distinction. The pairwise network and the clique complex are identical for a single three-person group (Case 1) and for three separate pairs (Case 2). The Dowker complex fills the triangle only when the three actually co-occurred, leaving a hole in Case 2.

Current simplicial pipelines in learning analytics build clique complexes from pairwise matrices whatever the data type. For example, build_simplicial and persistent_homology in Nestimate, the companion package of TNA, fill every clique of a thresholded weight matrix. The package can already represent observed groups as a hypergraph (bipartite_groups). Taking the position that the representation should follow the system being studied [17], we examine what the choice of construction entails.

We make three contributions.

  1. A construction rule. We state which complex matches which data type (point clouds, observed groups, transitions, time-stamped groups) and show that, for observed groups, the clique complex is the wrong construction (§ 5).

  1. A measure of the loss. We make explicit that the clique complex can only erase first-homology classes of the Dowker complex, identify the erased classes with phantom triangles, and distinguish two forms of loss: a permanent loss, measured by the phantom rate and the kernel dimension, and a transient loss, measured by the number of classes the clique complex fills earlier. Unlike the metric setting, where the clique (Dowker–Rips) complex is a provably good approximation [18], count filtrations of co-occurrence data admit no such guarantee. We further give a local criterion for when the two constructions agree (§ 4).

  1. Quantification on real data and real tools. On four Stack Exchange data sets and on the two data sets distributed with tna/Nestimate, reproducing the tools’ output exactly, we measure what is lost and compare both constructions with a degree-preserving null model (§ 7).

Section B relates these results to the current state of the TNA toolchain, including a window co-occurrence complex added to hypernets on 1 October 2026, and to transition flows.

Background

This section fixes the notation used throughout: observed groups and their co-occurrence counts, the two complexes we compare (clique and Dowker), and their filtrations.

Observed groups. Let V\mathcal{V} be a finite set of entities (codes, participants, tags) and let H=(h1,…,hm)\mathcal{H} = (h_1, \ldots, h_m) be the observed groups, each hi⊆Vh_i \subseteq V (a window of coded discourse, a thread, a post). Equivalently, H\mathcal{H} is the bipartite relation R⊆V×{1,…,m}R \subseteq V \times\{1, \ldots, m\} with (v,i)∈R(v, i) \in R whenever v∈hiv \in h_i (used in § 4). For σ⊆V\sigma\subseteq V let w(σ)=∣{i:σ⊆hi}∣w(\sigma) = |\{i : \sigma\subseteq h_i\}| be its co-occurrence count.

Clique complex. Given a graph GG, its clique (flag) complex contains every vertex set that is pairwise adjacent in GG. It is determined by GG alone. The Vietoris–Rips complex of a point cloud is the clique complex of its distance-threshold graph and is the standard construction for metric data [19].

Dowker complex. The Dowker complex of H\mathcal{H} contains σ\sigma if and only if σ⊆hi\sigma\subseteq h_i for some ii, i.e. w(σ)≥1w(\sigma) \ge1 [15]. Its simplices are exactly the sets of entities that were observed together (and their subsets).

Count filtration. For t≥1t \ge1 define

KD(t)={σ⊆V:w(σ)≥t},(1)K_D(t) = \{\sigma\subseteq V : w(\sigma) \ge t\}, \tag*{(1)}
G(t)=the graph on V with edges {u,v} such that w({u,v})≥t,(2)G(t) = \text{the graph on } V \text{ with edges } \{u,v\} \text{ such that } w(\{u,v\}) \ge t, \tag*{(2)}
KC(t)=the clique complex of G(t).(3)K_C(t) = \text{the clique complex of } G(t). \tag*{(3)}

Since ww is non-increasing under inclusion, KD(t)K_D(t) is a simplicial complex, and decreasing tt gives nested filtrations of both complexes; strong co-occurrences enter first. KC(t)K_C(t) is the construction used by NestImate::build_simplicial(type = "clique", threshold = t) applied to a co-occurrence matrix (§ 5). We compute persistent homology [20, 21] over F2\mathbb{F}_2.

Related work

We review three lines of work — complexes built from observed groups in network science, clique versus Dowker constructions in topology, and topological and higher-order methods in learning analytics — and position this paper among them.

Complexes from observed groups in network science. Building simplicial complexes directly from observed groups, rather than from cliques of the pairwise network, is standard in parts of network science: papers as simplices of their authors [13], concepts co-occurring in mathematical texts [22], and simplicial closure in time-stamped group data [23]. Reviews discuss when a clique complex adds interactions that were never observed [14, 17].

Clique and Dowker constructions in topology. On the topological side, Huber and Schnider [18] study the flagification of Dowker complexes (the Dowker–Rips complex) as a cheaper approximation in the metric setting. We contrast this with count filtrations of co-occurrence data in § 4.

Topological and higher-order methods in learning analytics. In learning analytics, topological data analysis has mainly been introduced through Vietoris–Rips complexes of point clouds and Mapper [24]; the simplicial tools of Nestimate [3] use clique complexes of pairwise matrices. A window co-occurrence complex [22] has just been added to the development version of hypernets [25]; it coincides with the Dowker complex only at the lowest threshold and is not compared with the clique construction (Section B.1). To our knowledge, the loss incurred by the clique construction on co-occurrence data has not previously been characterized or quantified.

What the clique complex erases

Throughout, the vertex set of G(t)G(t) is Vt={v:w({v})≥t}V_t = \{v : w(\{v\}) \ge t\}, so that G(t)G(t) is exactly the 1-skeleton of KD(t)K_D(t) and KC(t)K_C(t) is the flag complex of that 1-skeleton. In the terminology of Huber and Schnider [18], KC(t)K_C(t) is the Dowker–Rips complex, the flagification of the Dowker complex. The following facts are elementary; we state them because they turn the difference between the two constructions into quantities that can be measured on data.

Proposition 1 (The clique complex can only erase first homology). For every t≥1t \ge1:

  1. KD(t)K_D(t) and KC(t)K_C(t) have the same 1-skeleton G(t)G(t), and KD(t)⊆KC(t)K_D(t) \subseteq K_C(t).

  1. The inclusion induces a surjection ι∗:H1(KD(t))→H1(KC(t))\iota_* : H_1(K_D(t)) \to H_1(K_C(t)) (over any field); in particular β1C(t)≤β1D(t)\beta_1^C(t) \le\beta_1^D(t).

  1. ker⁡ι∗\ker\iota_* is spanned by the classes [∂τ][\partial\tau] of the phantom triangles τ∈KC(t)∖KD(t)\tau\in K_C(t) \setminus K_D(t), i.e. triangles whose three edges co-occur at least tt times but whose three vertices co-occur fewer than tt times. Hence β1D(t)−β1C(t)=dim⁡ker⁡ι∗≤\beta_1^D(t) - \beta_1^C(t) = \dim\ker\iota_* \le the number of phantom triangles.

Proof. (1) Both complexes have vertex set VtV_t and edge set {{u,v}:w({u,v})≥t}\{\{u,v\} : w(\{u,v\}) \ge t\}. If σ∈KD(t)\sigma\in K_D(t), every pair in σ\sigma has w≥w(σ)≥tw \ge w(\sigma) \ge t, so σ\sigma is a clique of G(t)G(t). (2) For any complex KK, H1(K)=Z1(K)/B1(K)H_1(K) = Z_1(K)/B_1(K) where Z1(K)Z_1(K) depends only on the 1-skeleton. The two complexes share their 1-skeleton, so Z1(KD)=Z1(KC)=Z1Z_1(K_D) = Z_1(K_C) = Z_1, and B1(KD)⊆B1(KC)B_1(K_D) \subseteq B_1(K_C) because KD⊆KCK_D \subseteq K_C. Thus ι∗\iota_* is the quotient map Z1/B1(KD)→Z1/B1(KC)Z_1/B_1(K_D) \to Z_1/B_1(K_C), which is surjective. (3) ker⁡ι∗=B1(KC)/B1(KD)\ker\iota_* = B_1(K_C)/B_1(K_D). B1(KC)B_1(K_C) is spanned by boundaries of triangles of KCK_C; those of triangles in KDK_D vanish in the quotient, leaving the boundaries of phantom triangles. □

Remark 1 (Persistence). Because KD(t)⊆KC(t)K_D(t) \subseteq K_C(t) for every tt with a common 1-skeleton, every first-homology class is born at the same filtration value in both complexes and dies no later in KCK_C than in KDK_D. Classes therefore fall into four types: filled at the same step, filled earlier by the clique complex, filled only by the clique complex (the kernel), and filled in neither (Figure 4).

Figure 4. Fate of the H1H_1 classes born in the common 1-skeleton.

Remark 2 (Approximation guarantees do not transfer to count filtrations). When the relation comes from distances, Huber and Schnider [18] show that the Dowker–Rips filtration is multiplicatively 3-interleaved with the Dowker filtration (Dε⊆DRε⊆D3εD_{\varepsilon} \subseteq DR_{\varepsilon} \subseteq D_{3\varepsilon}), which justifies using it as a cheaper drop-in replacement. Co-occurrence counts carry no such metric structure. A cycle of three pairs that never co-occur as a triple is filled in KC(t)K_C(t) as soon as its edges appear, but, unless other observed groups fill it, it stays open in KD(t)K_D(t) down to t=1t = 1; no rescaling of tt closes it. The kernel classes reported in § 7 are of exactly this kind.

By Proposition 1, the entire loss caused by the clique construction appears in the phantom triangles and in ker⁡ι∗\ker\iota_*, and by Remark 2, nothing in a count filtration guarantees that this loss is small, as it is in the metric case. The loss therefore has to be measured on each data set. We define the measures used in § 7 as follows.

Measures of loss. The phantom rate at tt is ∣KC(t)2∖KD(t)2∣/∣KC(t)2∣|K_C(t)_2 \setminus K_D(t)_2|/|K_C(t)_2|, the share of clique triangles that never co-occurred tt times. The kernel dimension is dim⁡ker⁡ι∗\dim\ker\iota_*. Along the filtration we report the number of classes filled only by the clique complex and the number filled earlier. These correspond to two forms of loss. The permanent loss consists of the kernel classes, erased by triangles that are phantom even at t=1t = 1, i.e. whose triples never co-occurred. The transient loss consists of the classes filled earlier: the triangles that fill them are phantom only at intermediate tt, where the pairs have co-occurred tt times but the triple has not. A complex whose phantom rate at t=1t = 1 is zero can still have a large transient loss.

Proposition 1 concerns the loss between the two constructions on a fixed vertex set. The clique construction has a second problem: its result depends on which vertex set is chosen in the first place. Because observed groups are also a bipartite relation RR (§ 2), complexes can be built from the same data on the group side as well as on the entity side. In learning data this is the choice between taking learners as vertices and taking the conversations or threads they joined as vertices, a choice usually left to the analyst. We therefore ask whether the result depends on that choice, for each of the two constructions.

Two views of a bipartite relation. The relation R⊆V×{1,…,m}R \subseteq V \times\{1,\ldots,m\} of § 2 is the case X=VX = V, Y={1,…,m}Y = \{1,\ldots,m\} below.

Proposition 2 (Duality: all dimensions for Dowker, only up to H1H_1 for clique complexes). Let R⊆X×YR \subseteq X \times Y be a filtered relation. (i) The Dowker complexes on XX and on YY have isomorphic persistent homology in every dimension [15, 16]. (ii) Their filtrations, i.e. the clique complexes of the two one-mode projections, have isomorphic persistent homology in dimensions 0 and 1, but not in general in dimensions ≥2\ge2 ([18, Thm. 1.8 with k = 2, Prop. 3.4}).

Thus the choice of side does not matter for Dowker complexes, whereas for clique complexes it can change the higher-dimensional topology. The counterexample of Huber and Schnider [18, Prop. 3.4], the vertices and edge midpoints of a regular tetrahedron, reads naturally as learning data: four learners and six two-person conversations, one for every pair. On the learner side the Dowker complex is the complete graph K4K_4 (β1=3\beta_1 = 3) and the clique complex is a solid tetrahedron: the clique construction asserts that all four worked together. On the conversation side the Dowker complex again has β1=3\beta_1 = 3, while the clique complex is the boundary of an octahedron (β1=0\beta_1 = 0, β2=1\beta_2 = 1), a two-dimensional void that exists in neither the data nor the other view. Both clique complexes have β1=0\beta_1 = 0, as (ii) requires, and both have erased the three cycles of the data (Proposition 1). Details are given in Section A.2.

When do the two constructions agree? Proposition 1 measures the loss once both complexes have been computed. The next statement says, before any homology is computed, exactly when there is no loss, and locates the configurations of groups that produce it. A hypergraph is conformal if every clique of its 2-section (the graph joining two vertices whenever some hyperedge contains both) is contained in a hyperedge [26].

Proposition 3 (A local criterion for agreement). For t≥1t \ge1 let Ft\mathcal{F}_t be the set of maximal simplices (facets) of KD(t)K_D(t), viewed as a hypergraph on VtV_t.

  1. KC(t)=KD(t)K_C(t) = K_D(t) if and only if Ft\mathcal{F}_t is conformal.

  1. Equivalently (Gilmore’s criterion [26]), KC(t)=KD(t)K_C(t) = K_D(t) if and only if for any three facets F1,F2,F3∈FtF_1, F_2, F_3 \in\mathcal{F}_t the set (F1∩F2)∪(F2∩F3)∪(F1∩F3)(F_1 \cap F_2) \cup(F_2 \cap F_3) \cup(F_1 \cap F_3) is contained in some facet.

  1. A triangle {a,b,c}\{a,b,c\} of G(t)G(t) is phantom if and only if no facet contains it. In particular, at t=1t = 1 a phantom triangle requires three distinct observed groups that contain {a,b}\{a,b\}, {b,c}\{b,c\} and {a,c}\{a,c\}, respectively, while no group contains all three.

Proof. The 2-section of Ft\mathcal{F}_t is the 1-skeleton of KD(t)K_D(t), which is G(t)G(t) (Proposition 1). A vertex set lies in some facet if and only if it is a simplex of KD(t)K_D(t). Hence Ft\mathcal{F}_t is conformal if and only if every clique of G(t)G(t) is a simplex of KD(t)K_D(t), i.e. KC(t)⊆KD(t)K_C(t) \subseteq K_D(t); with KD(t)⊆KC(t)K_D(t) \subseteq K_C(t) this gives (1). (2) is Gilmore’s characterization of conformal hypergraphs applied to Ft\mathcal{F}_t. (3) restates the definition of a phantom triangle; at t=1t = 1 the facets are the maximal observed groups, and if a single group contained two of the three pairs it would contain the triangle.

Proposition 3 turns the question “does the choice of construction matter for these data?” into a check on triples of groups that needs no homology computation. It also says where the loss comes from: the clique construction fails exactly where groups overlap pairwise without any group containing their overlaps—in learning data, three conversations that pairwise share participants or codes, none of which brought the three together. Laminar collections of groups (any two are disjoint or nested) satisfy the criterion at every threshold, whereas, when any two groups share at most one entity, every three groups that pairwise share three different entities produce a phantom triangle. Real group data lie between these extremes, which is why the size of the loss has to be measured (§ 7). Turning the criterion into quantitative bounds on the phantom rate in terms of the group-size distribution and overlap structure is part of the decision rules of § 8.3. Note that KC(t)≠KD(t)K_C(t) \ne K_D(t) does not imply that phantom triangles exist: the clique construction can also fill a hollow tetrahedron all of whose triangles were observed. Only phantom triangles, however, affect H1H_1 (Proposition 1).

Which construction for which data

A clique complex is the right object when the data are pairwise: for a point cloud, pairwise distances are all there is, and the Vietoris–Rips complex is the standard choice [19]. When the data are observed groups, the groups themselves are the primary information and the pairwise network is a lossy projection of it [17]; building a clique complex from that projection reconstructs higher-order structure from the very information that cannot contain it (Proposition 1). Table 1 summarizes the correspondence.

Data typeAppropriate constructionClique complex of pairs is. . .
Point cloud / distancesVietoris–Rips (a clique complex)appropriate
Observed groups / bipartite relationDowker complexinappropriate: fills phantom triangles
Transitions (directed)order-preserving (directed flag, path)inappropriate: symmetrization loses direction
Time-stamped groupscumulative or zigzag Dowkerinappropriate for both reasons

Table 1. Matching the complex to the data type.

How do these rules apply to the tools actually used in learning analytics? Taking Nestimate, the companion package of TNA, as an example, we first check what its simplicial functions build, showing that the clique construction is applied to observed-group data as well. We then show that the directional information in TNA data is lost along the way (the “Transitions (directed)” row of Table 1).

What Nestimate builds. build_simplicial(type = "clique") symmetrizes a weight matrix WW by the elementwise maximum max⁡(W,WT)\max(W, W^{\mathsf{T}}), keeps the edges whose weight is positive and at least the threshold, and enumerates cliques up to size max_dim+1. Two other types exist: "pathway" turns the higher-order paths found by build_hon or build_hypa into simplices, and "vr" builds a Vietoris–Rips complex from a distance matrix. persistent_homology applies the clique construction along a sequence of thresholds. Observed groups can be represented in the same package as a hypergraph (bipartite_groups), but in version 0.8.5 this object cannot be passed to build_simplicial, which stops with “Cannot extract adjacency matrix from ‘net_hypergraph’” (checked on 29 September 2026). We re-implemented the clique construction and reproduced the package output exactly: for both TNA data sets and all four thresholds used below, the simplices are identical.

Direction. TNA models are directed: the probability of a transition from state aa to state bb generally differs from that of a transition from bb to aa, and in the two TNA data sets this difference is large. Among the pairs with transitions in both directions, 69% (group_regulation) and 42% (human_long) have one direction at least twice as likely as the other. The antisymmetric share ∥W−WT∥F/∥W+WT∥F\lVert W - W^{\mathsf{T}} \rVert_{\mathrm{F}} / \lVert W + W^{\mathsf{T}} \rVert_{\mathrm{F}} (off-diagonal), which measures the asymmetry of the whole matrix (0 if symmetric, 1 if every pair has transitions in one direction only), is 0.66 and 0.55, so direction accounts for a major part of the transition-probability matrices. Symmetrization by the elementwise maximum discards this information before any complex is built. Constructions that keep direction, such as directed flag complexes [27] and path homology [28], are left to future work; in this paper we treat co-occurrence only.

Data and methods

Section 4 showed that the clique complex can only erase first homology and that the erased classes come from phantom triangles (Proposition 1). The proposition locates the loss but does not fix its size, which depends on the data. In this and the next section we measure the loss on real data: Stack Exchange co-occurrence data, where the group structure is explicit, and the data distributed with tna, which are used in learning analytics practice. For each data set we compare the two constructions and set the difference against the level expected by chance under a null model.

Data. Stack Exchange co-occurrence data: we built four data sets from the Stack Exchange data dump of 31 December 2025 [29], following the definitions of Benson et al. [23]. In tags-mathematicators (3,157 groups, 2014–2025), tags-academia (39,019) and tags-physics (223,639, 2010–2025) a group is the set of tags on a question (at most five); in threads-mathematics (3,572 groups) a group is the asker together with the answerers of a question. Math Educators is a community of teachers discussing mathematics teaching. Stack Exchange content is licensed under CC BY-SA.

TNA data: tna::group_regulation, synthetic data distributed with tna: 2,000 sequences and 27,533 events coded into nine categories of regulation in collaborative learning (e.g. plan, monitor, consensus; median sequence length 14); and Nestimate::human_long, real data from human–AI pair-programming sessions [30]: 10,796 human turns in 429 sessions, in which nine action codes occur (e.g. command, inquire, verify; median length 18). A group is the set of distinct codes in a sliding window of ww consecutive events within one sequence; w=3w=3 yields 23,625 and 9,948 windows. Windows can contain a repeated code, so some groups have fewer than ww elements. Results for w=4w=4 are in the Appendix. We use windows rather than whole sequences because build_network(method = "co_occurrence") counts pairs over the whole sequence regardless of its window_size argument (§ 7).

Comparison. For each data set we build KD(t)K_D(t) and KC(t)K_C(t) on the same 1-skeleton (Equations (1) and (3)) and compute H0H_0 and H1H_1 persistence over F2\mathbb{F}_2 by column reduction, with no cap on group size. For every H1H_1 class born in the common 1-skeleton we record its death in each complex and classify it as in Figure 4.

Null model. We compare each statistic with a null model that preserves the size of every group and the number of groups each entity belongs to, sampled by repeated double swaps of entities between groups (rejecting swaps that create duplicates), 10× the number of incidences per sample. Each of the N=200N=200 samples is drawn independently from the observed data. We report z=(observed−null mean)/null s.d.z=(\text{observed}-\text{null mean})/\text{null s.d.} and empirical one-sided pp-values, whose minimum attainable value is 1/(N+1)≈0.0051/(N+1)\approx0.005. To compare curves across data sets we index the filtration by the fraction of 1-skeleton edges present.

Reproducibility. All computations use Python 3 with NumPy; the tna (1.2.3) and Nestimate (0.8.5) outputs were produced in R 4.6.1. Code and data availability is described at the end of the paper.

Results

This section reports the measurements obtained with the methods of § 6. We first show that in the Stack Exchange group data most clique triangles are phantom and many first-homology classes are erased, a permanent loss (Table 2). We then show that on the TNA example data no triangle is phantom, yet the clique complex shows no first homology at all, because it fills every hole that the Dowker complex opens partway through the filtration, a transient loss. Next we show that the two constructions lead to different conclusions against the null model, and that neither form of loss is visible at fixed thresholds. Finally, we report two further behaviours of the tooling found in the course of the analysis.

Table 2: Clique versus Dowker complexes on the same 1-skeleton. Phantom rate: share of clique triangles whose three vertices never co-occurred. Max β1\beta_1: maximum of β1\beta_1 along the filtration. H1H_1 classes: among the first-homology classes born on the common 1-skeleton, the number filled only by the clique complex (kept open to the end by the Dowker complex) and the number filled by both but earlier by the clique complex.

Data∣V∣|V|∣E∣|E|phantom ratemax β1\beta_1 cliquemax β1\beta_1 DowkerH1H_1 classes filled only by clique (kernel)H1H_1 classes filled earlier by clique
tags-matheducators2273,3090.8136805221,015
threads-matheducators3,79634,5830.46492,0121,9082,710
tags-academia47018,6760.8854,0691,4438,661
tags-physics90176,4550.911910,9511,97039,456
group_regulation (w=3w=3)9360.00011028
human_long (w=3w=3)9360.00023028

Table 2.

Phantom triangles are the majority in group data. In the four Stack Exchange data sets the phantom rate—the share of triangles of the full clique complex whose three vertices never co-occurred—is 0.46–0.91 (Figure 2a and Table 2). In tags-physics, where it is highest (0.91), roughly nine in ten triangles filled by the clique complex correspond to no observed group. The Dowker complex, by contrast, fills only triples that were actually observed, so its phantom rate is zero by definition: it never adds a 2-simplex for a triple that does not occur in the data. Under a degree- and size-preserving null model the phantom rate of the clique complex is even higher (0.534–0.955; Figure 2a and Table 3), so the abundance of phantom triangles is not an accident of these data sets but a consequence of applying the clique construction to group data at all. They are not harmless: the clique complex fills 522–1,970 first-homology classes that the Dowker complex keeps open to the end of the filtration (the kernel of Proposition 1; the permanent loss), and fills a further 1,015–39,456 classes earlier than the data warrant (the transient loss; Figure 4). Along the filtration the Dowker complex reaches β1\beta_1 values of 680–10,951, whereas the clique complex never exceeds 49 (Figure 2b and Figure 3).

Dataobservednull meanclique complexDowker complex
tags-matheducators0.8090.8691.4−13.4
threads-matheducators0.4640.534−0.5−11.6
tags-academia0.8830.91915.0−53.4
tags-physics0.9110.955135.2−270.1
group_regulation (w=3w=3)0.0000.001n/a0.9
human_long (w=3w=3)0.0000.000n/a2.8

Table 3. Comparison with a degree- and size-preserving null model (N=200N = 200): phantom rate of the clique complex (observed and null mean) and zz-scores of the maximum β1\beta_1. Negative values mean that the observed groups produce fewer cycles than randomized groups. n/a: β1=0\beta_1 = 0 in the data and in every null sample, so zz is undefined.

Figure 2. Phantom triangles and holes. (a) Phantom rate of the clique complex, i.e. the share of its triangles whose three vertices never co-occurred (bars), with the mean under the degree- and size-preserving null model (black ticks). (b) Maximum β1\beta_1 along the filtration for the clique (red diamonds) and Dowker (blue circles) complexes; open diamonds mark β1=0\beta_1 = 0. Above the dotted line: Stack Exchange; below: TNA example data (w=3w = 3).

Figure 3. β1\beta_1 along the count filtration for the Dowker (blue) and clique (red) complexes, with the 95% band and median of the null model. The horizontal axis is the fraction of 1-skeleton edges present, strongest co-occurrences first.

On the TNA example data the loss is transient but complete. With nine codes, every triple eventually co-occurs, so the phantom rate of the full complex is zero in both data sets. The difference lies in when triangles are filled. The clique complex has β1=0\beta_1 = 0 at every threshold: a triangle is filled the moment its last edge appears. The Dowker complex opens up to 11 (group_regulation) and 23 (human_long) cycles along the filtration—triples whose pairs co-occur strongly but which have not yet co-occurred as triples—and all 28 first-homology classes are filled earlier by the clique complex than by the Dowker complex (Table 2 and Figure 4). The loss is thus entirely transient: no class is erased for good, yet none of the holes is visible in the clique complex.

Against the null model, the two constructions tell different stories. That the clique complex has fewer cycles is guaranteed by Proposition 1 (β1C≤β1D\beta_1^{C} \le\beta_1^{D}); the question here is whether the two constructions lead to the same conclusion about the data. The Dowker complex departs strongly from the null in all four Stack Exchange data sets (Table 3 and Figure 5): observed groups produce far fewer cycles than randomized groups with the same sizes and degrees (zz from −11.6 to −270.1), i.e. the observed groups are more closed than random. On the TNA data the departures are small and point the other way: z=0.9z = 0.9 for group_regulation and 2.8 for human_long with w=3w = 3 (3.5 and 0.5 with w=4w = 4; Section A.3). The clique complex cannot show any of this on the TNA data, where β1=0\beta_1 = 0 in the data and in every null sample, and it shows no significant departure on the two Math Educators data sets. On tags-academia and tags-physics the clique complex does depart from the null, but the departure concerns 5 and 19 cycles against thousands for the Dowker complex, and it points the other way (more cycles than random). This null model also destroys pairwise structure, so “more closed than random” is not by itself evidence of irreducible many-body integration (§ 8.2); what the comparison shows is that the two constructions lead to different conclusions about the same data.

Figure 5. zz-scores of the maximum β1\beta_1 against the null model. The grey band marks ∣z∣<1.96|z| < 1.96. Open markers: β1=0\beta_1 = 0 in the data and in every null sample.

At fixed thresholds the discrepancy is invisible. In practice build_simplicial is applied at a single threshold to the symmetrized transition matrix. At the thresholds 0.02–0.2 the two complexes have the same triangles and the same β1\beta_1 in both TNA data sets (Table 4). Along the count filtration, however, the Dowker complex opens up to 11 and 23 cycles that the clique complex fills earlier (Table 2). These cycles exist only in the middle of the filtration, where clique triangles enter before their triples have co-occurred, so a fixed-threshold analysis cannot reveal the transient loss.

Datathresholdedgesclique △\triangleDowker △\trianglephantomβ1\beta_1 (C / D)
group_regulation0.0234707000 / 0
0.0530505000 / 0
0.1022202000 / 0
0.20133302 / 2
human_long0.0236848400 / 0
0.0536848400 / 0
0.1023222200 / 0
0.2070000 / 0

Table 4. Fixed-threshold analysis on the symmetrized transition matrices (as with Nestimate::build_simplicial), windows w=3w = 3. Clique triangle counts match the package output exactly.

Two further behaviours of the tooling. We note two behaviours of Nestimate 0.8.5 that matter for simplicial analyses. First, build_network(method = "co_occurrence", window_size = k) returned identical matrices for k=2,3,4k = 2, 3, 4: pairs are counted over whole sequences with multiplicity, so the window size does not enter. Second, persistent_homology reports the Betti numbers of the complex truncated at max_dim; in its top dimension these are artefacts of the truncation (for example β2=56=(83)\beta_2 = 56 = \binom{8}{3} for the complete graph on nine codes, whose clique complex is contractible). Both are easy to address; we mention them because they affect the interpretation of published analyses.

Discussion

This section discusses what the results mean for learning-analytics practice (§ 8.1), sets out the limitations of the study (§ 8.2) and outlines future work (§ 8.3).

Implications for learning-analytics practice

Our results suggest three practical points for simplicial analyses of learning data.

Choose the complex from the data type. The choice of complex should be made from the data type, before any threshold is chosen (Table 1). Much of the data in learning analytics comes as observed groups: windows of coded discourse, forum threads, records of group activity. Once such data are reduced to a pairwise co-occurrence matrix, the information about which triples actually occurred together is lost before any complex is built, and no later choice of threshold or pipeline can recover it (Proposition 1). When the input consists of observed groups, the groups themselves should therefore be kept as the input and a Dowker complex built from them.

Agreement at a single threshold does not validate the construction. On the TNA example data the two constructions have the same β1\beta_1 at every threshold used in practice (Table 4). Along the whole filtration, however, the clique complex closes every cycle that the Dowker complex opens, so only the Dowker complex can be compared with the null model (β1C=0\beta_1^{\mathrm{C}} = 0 in the data and in every null sample; § 7). Because these cycles exist only partway through the filtration, before the corresponding triples co-occur, a comparison at particular thresholds is unlikely to reveal the difference. Checking the construction requires comparing whole filtrations and comparing both against a null model.

Report both forms of loss as diagnostics. The phantom rate needs only a count of the clique triangles and of the triples actually observed, and the kernel dimension follows from computing the persistent homology of both complexes from the same input. Neither requires additional data, and both are cheap. Reported alongside clique-based results, they let readers judge how much of the reported topology depends on the choice of construction. These two, however, measure only the permanent loss, and a phantom rate of zero does not mean that the two constructions agree: both TNA data sets have a phantom rate of 0.00, yet in each of them all 28 first-homology classes are filled earlier by the clique complex, which shows no hole at all (Table 2). The number of classes filled earlier by the clique complex, which measures the transient loss, should therefore be reported together with the phantom rate and the kernel dimension. Which form dominates depends on the data: in our data, groups over many entities (Stack Exchange) showed a large permanent loss, whereas short windows over nine codes (TNA), in which every triple eventually co-occurs, showed only the transient loss. Before any homology is computed, Proposition 3 gives a direct check: if the facets at a threshold form a conformal hypergraph, the two constructions coincide there, and each failure of Gilmore’s criterion points to the groups responsible.

Limitations

This study has five limitations.

(i) Design of the null model. Our null model preserves group sizes and the degree of each entity but also destroys the pairwise co-occurrence structure. That the observed data have fewer cycles than random, i.e. are “more closed than random”, is therefore not by itself evidence of irreducible many-body integration. What the comparison shows is that, on the same data and against the same null model, the two constructions lead to different conclusions. Testing irreducibility requires a test that conditions on all pairwise co-occurrences (§ 8.3).

(ii) Independence of observations. In the TNA data, consecutive windows are cut from the same sequence, so neighbouring windows share events and the observations are not independent. The zz-scores and pp-values against the null model should therefore be read as descriptive measures of the size of the departure, not as exact tests that assume independent observations. Tests that account for this dependence, for example by resampling whole sequences, are left to future work.

(iii) Dependence on the window and synthetic data. On the TNA data the departure of the Dowker complex from the null is small and depends on the window: z=0.9z = 0.9 with w=3w = 3 and 3.53.5 with w=4w = 4 for the synthetic group regulation, and 2.82.8 and 0.50.5 for human_long (Section A.3). Being synthetic, group_regulation also need not reflect the group structure of real collaborative learning. Guidance on choosing the window and validation on real collaborative-learning data are left to future work.

(iv) Domain of the data. The Stack Exchange data come from online question-and-answer communities, not from classrooms. Math Educators, a community of mathematics teachers, is closest to an educational setting, but it is still not a record of collaboration among learners. In particular, the permanent loss appeared only in the Stack Exchange data; whether it occurs in classroom data remains to be tested. We also do not relate topology to learning outcomes. Applying the approach to classroom discourse and records of collaborative learning, and examining how the resulting topology relates to learning processes and outcomes, are left to future work.

(v) No higher-order dependencies. We study many-body co-occurrence (HOI) only, not memory in sequences (HOD), which Nestimate already covers extensively. Section B.2 relates transition flows to the co-occurrence complex, but only through the net flow, not memory, and without data. Treating both kinds of higher order in a single framework is beyond the scope of this paper.

Outlook

This study has shown that observed groups call for the Dowker complex rather than the clique complex. Taking this as a starting point, the work can be extended in seven directions. Direction (1) carries the results over to existing tooling; (2)–(5) extend the analysis to irreducibility, time, heterogeneous interaction data and direction; (6) examines systematically when the two constructions diverge most; and (7) interprets the holes in terms of learning. Of these, (2) addresses limitation (i), (3) corresponds to the “Time-stamped groups” row of Table 1, and (5) to its “Transitions (directed)” row.

  • (1) A bridge in existing tooling. Observed groups are already representable in Nestimate (bipartite_groups), and hypernets now builds a window co-occurrence complex. Building Dowker complexes by containment counts from any observed groups, and reporting the diagnostics of this paper next to clique-based results, would let users choose the construction according to the data type within the same pipeline; concrete suggestions for the current packages are given in Section B.3.

  • (2) Existence and irreducibility. The Dowker complex records whether a set of entities occurred together; whether it occurred more often than its pairs imply is a separate, statistical question. We propose a two-stage analysis: Dowker complexes for existence, followed by a test of three-way interaction that conditions on all pairwise co-occurrences, as in log-linear models without a three-way term [31]; see Musciotto et al. [32] for a related validation of hyperedges against a degree-preserving null. Results will be reported separately.

  • (3) Time. We have previously segmented learning into periods from changes in the connected components (β0\beta_0) of zigzag persistent homology [8]. Cumulative and zigzag [33] Dowker filtrations would follow not only connected components but also when groups form and when cycles close. This corresponds to the “Time-stamped groups” row of Table 1.

  • (4) Heterogeneous interaction data. Learner-by-behaviour data as in HINA [5] are bipartite relations; by Proposition 2, a Dowker analysis gives the same persistent homology from the learner side and from the behaviour side in every dimension, whereas the two clique projections agree only up to H1H_1 and both erase the kernel.

  • (5) Direction. As shown in § 5, direction accounts for a large part of the TNA transition-probability matrices, but current pipelines discard it by symmetrization. Directed flag complexes [27] and path homology [28] compute topology while keeping direction, and so offer a way to study the higher-order structure of transition data themselves. A complementary route keeps the co-occurrence complex and treats the net flow of transitions as an edge flow on it; Section B.2 shows that phantom triangles then turn harmonic circulation into local curl, and comparing the harmonic share of the flow under the two constructions is left to future work.

  • (6) Decision rules. Proposition 3 says exactly when the two constructions agree; what remains is to say by how much they disagree. Which data properties (density, group-size distribution, overlap between groups, the number of entities relative to group size) control the permanent and the transient loss will be mapped in a separate study, with bounds where possible. This would let analysts estimate in advance, from the properties of their data, how much the choice of construction matters.

  • (7) Interpreting holes in learning terms. A first-homology class of the Dowker complex is a ring of ideas, codes or participants that are connected pair by pair but were never

brought together in one group. In Knowledge Building [34], such a ring may mark ideas that a community has related only piecemeal and has yet to rise above; in terms of group cognition [35], it marks connections that exist only between pairs and not at the level of the group. Representative cycles from classroom discourse, for example data analysed with KBDeX [36], read together with learning scientists, would test these interpretations and connect the topology to learning processes and outcomes (limitation (iv)).

Conclusion

A clique complex built from pairwise co-occurrence is a function of the pairwise network; on data that consist of observed groups it can only erase their topology, never add to it. On public co-occurrence data the clique construction erases many holes for good and changes the conclusions drawn against a null model. On the example data of the TNA toolchain, with the tools’ own output reproduced exactly, it erases no hole for good but fills every hole before the data do, so that it shows none. Neither loss is visible at the fixed thresholds used in practice, and both can be reported as diagnostics. Whether this happens can be checked on triples of groups. The construction should follow the data type. For observed groups that construction is the Dowker complex, which fits into existing pipelines and fills the one piece they lack: the topology of the groups themselves.

Code and data availability

Code and scripts that regenerate every figure and table are available at https://github.com/igu-lab/beyond-the-clique. The code and results for this version of the paper are archived at Zenodo: https://doi.org/10.5281/zenodo.23147037 (all versions: https://doi.org/10.5281/zenodo.23096088). The data themselves are not redistributed; they can be obtained from the sources below and converted with the scripts in the repository, and the sizes in Table 2 can be used to check the converted data. The Stack Exchange data are derived from the Posts.xml files of the Mathematics Educators, Academia and Physics sites in the public data dump of 31 December 2025 [29], licensed under CC BY-SA. The TNA example data are distributed with the R packages tna 1.2.3 (group_regulation) and Nestimate 0.8.5 (human_long [30]). Preprocessing and reproduction steps are given in Section A.4.

Acknowledgments

This work was supported by JSPS KAKENHI JP26K00528, JP26K22187, JP25K00845, JP25K21951.

Proofs and additional results

Persistence statement of Proposition 1

Index the count filtration by decreasing tt. Every edge enters both complexes at the same value w(e)w(e), so a first-homology class, which is born when an edge closes a cycle in the common 1-skeleton, is born at the same value in both. A class dies when the cycle becomes a boundary. Since B1(KD(t))⊆B1(KC(t))B_1(K_D(t)) \subseteq B_1(K_C(t)) for every tt, a cycle that bounds in KD(t)K_D(t) bounds in KC(t)K_C(t), so its death in KCK_C is no later than in KDK_D. Classes that never die in KDK_D but die in KCK_C are exactly the elements of ker⁡ι∗\ker\iota_* at the end of the filtration. We pair classes by the positive edge that creates them in the common 1-skeleton, using the same column reduction for both complexes.

Proposition 2: sketch and example

Let R⊆X×YR \subseteq X \times Y. The Dowker complex DXD_X has as simplices the finite σ⊆X\sigma\subseteq X with a common yy such that (x,y)∈R(x,y) \in R for all x∈σx \in\sigma; DYD_Y is defined symmetrically. Dowker’s theorem [15] states DX≃DYD_X \simeq D_Y; Chowdhury and Mémoli [16] prove a functorial version that yields equal persistence diagrams for filtered relations. The clique complexes CXC_X and CYC_Y of the one-mode projections are the flagifications of DXD_X and DYD_Y. Huber and Schnider [18] prove that their persistent homology agrees in dimensions 0 and 1 and show by the example below that it can differ in dimension 2.

Example (the counterexample of Huber and Schnider [18 Prop. 3.4], stated as a relation). Let Y={1,2,3,4}Y = \{1, 2, 3, 4\} be four learners and XX the six two-person conversations {1,2},…,{3,4}\{1,2\}, \ldots, \{3,4\}, with (x,y)∈R(x,y) \in R when learner yy took part in conversation xx. DYD_Y is the complete graph K4K_4 without triangles, so β1(DY)=3\beta_1(D_Y) = 3, while CYC_Y is the full tetrahedron and is contractible. DXD_X has four triangles (the three conversations of each learner) on the octahedral 1-skeleton (two conversations are adjacent when they share a learner), so β1(DX)=12−6+1−4=3\beta_1(D_X) = 12 - 6 + 1 - 4 = 3, in agreement with DYD_Y. Its clique complex CXC_X fills all eight triangles of the octahedron and is a 2-sphere, β2(CX)=1\beta_2(C_X) = 1. Hence CX≄CYC_X \not\simeq C_Y, while DX≃DYD_X \simeq D_Y. A random search over relations with up to six elements on each side found no smaller example.

Dataphantom rate (null)max β1\beta_1C / Dnull Dzz (D)kernelearlier
group_regulation (w=4w=4)0.00 (0.00)0 / 86.33.5028
human_long (w=4w=4)0.00 (0.00)0 / 1716.80.5028

Table 5. TNA example data with windows w=4w = 4 (21,867 and 9,530 windows). Columns as in Table 2 and Table 3.

Windows of length four

With w=4w = 4 the qualitative picture is unchanged: no triangle is phantom, the clique complex has β1=0\beta_1 = 0 throughout and fills all 28 classes earlier, and neither data set departs strongly from the null (group_regulation z=3.5z = 3.5, human_long z=0.5z = 0.5, both towards more cycles than random).

Preprocessing and reproduction

Stack Exchange data sets were converted from the Posts.xml files of the dump into the nverts/simplices/times format of Benson et al. [23], with no cap on group size. TNA sequences were exported from R in long format (actor, time, action) and converted to windows within each sequence; a sequence shorter than ww forms a single group. The clique construction of Nestim​ate::build_simplicial was re-implemented and checked against the package output for both data sets at thresholds 0.02, 0.05, 0.10 and 0.20: the simplex sets are identical. The repository layout and the commands that regenerate every figure and table are documented in the README of the repository (see Code and data availability).

Relation to the TNA toolchain (as of 2 October 2026)

This appendix relates our results to the R toolchain around TNA (tna, Nestim​ate, hypernets), whose higher-order functions are developing rapidly. It records the state of the packages on 2 October 2026; the main text does not depend on it.

The window complex of hypernets

Since 1 October 2026 the development version of hypernets [25], which builds hypergraph methods on top of Nestim​ate, has offered simplicial(type = "window"), a co-occurrence complex in the sense of Salnikov et al. [22] whose groups are the sets of distinct actions in windows of consecutive actions—the same kind of groups as in our analysis of the TNA data (§ 6). Sets can also be validated against a swap null model that, like ours, preserves group sizes and entity degrees, or against the hypergeometric null of Musciotto et al. [32]. With min_count = 1 this complex is the Dowker complex KD(1)K_D(1) of the windows. Its count filtration, however, counts how often each identical window set recurs, and a simplex enters at the largest such count among the window sets that contain it, whereas the Dowker count w(σ)w(\sigma) counts every window that contains σ\sigma. The two filtrations therefore differ from t=2t = 2 on: for the windows {a,b,c}\{a,b,c\} and {a,b,d}\{a,b,d\}, the edge {a,b}\{a,b\} has w=2w = 2 and lies in KD(2)K_D(2), but neither window set recurs, so in the hypernets filtration the edge enters only at count 1. We confirmed this with version 0.6.0 (commit cd4d​cdf) on these two windows: with min_count = 1 the edge {a,b}\{a,b\} has count 1, and with min_count = 2 only the four vertices remain, since vertices are kept at every count. In general the hypernets complex at count tt is a subcomplex of KD(t)K_D(t) whose 1-skeleton can be smaller than the thresholded co-occurrence network G(t)G(t), so it cannot be compared with the clique complex of G(t)G(t) on a common 1-skeleton. The package does not compare its window complex with the clique construction, and it is built from the action side only, whereas the dual window side is equally available (Proposition 2).

Transitions as flows on the co-occurrence complex

TNA models transitions rather than co-occurrences, and the main text treats co-occurrence only (§ 5). The loss of Proposition 1 nevertheless bears on transition data, through the Hodge decomposition of edge flows [37, 38, 39].

Orient the edges of G(t)G(t) and give the space C1C^1 of real edge functions the standard inner product. A transition matrix WW on the same entities defines the net flow f(u,v)=Wuv−Wvuf(u,v)=W_{uv}-W_{vu}, the antisymmetric part measured in § 5. For a complex KK with 1-skeleton G(t)G(t), C1=grad⁡⊕curl⁡K⊕HKC^1=\operatorname{grad}\oplus\operatorname{curl}^K\oplus\mathcal{H}^K orthogonally, where grad⁡\operatorname{grad} depends only on G(t)G(t), curl⁡K\operatorname{curl}^K is spanned by the boundaries of the triangles of KK, and dim⁡HK=β1(K)\dim\mathcal{H}^K=\beta_1(K) [38]; in HodgeRank terms [37], these are a global ordering of the entities, circulation around triangles, and circulation around holes.

Corollary 1 (of Proposition 1: phantom triangles turn harmonic flow into curl). Let L=HD∩curl⁡C\mathcal{L}=\mathcal{H}^D\cap\operatorname{curl}^C. Then HD=HC⊕L\mathcal{H}^D=\mathcal{H}^C\oplus\mathcal{L}, dim⁡L=β1D(t)−β1C(t)=dim⁡ker⁡ι∗\dim\mathcal{L}=\beta_1^D(t)-\beta_1^C(t)=\dim\ker\iota_*, and L\mathcal{L} is spanned by the harmonic parts, in KD(t)K_D(t), of the boundaries of the phantom triangles. Hence, for every flow ff, the clique complex moves exactly the component PLfP_{\mathcal{L}}f from the harmonic to the curl part, and the harmonic parts satisfy ∥hC(f)∥≤∥hD(f)∥\lVert h^C(f)\rVert\leq\lVert h^D(f)\rVert.

Proof. Since KD(t)⊆KC(t)K_D(t)\subseteq K_C(t) with a common 1-skeleton, grad⁡\operatorname{grad} is common and curl⁡D⊆curl⁡C\operatorname{curl}^D\subseteq\operatorname{curl}^C. The orthogonal complement of curl⁡D\operatorname{curl}^D in curl⁡C\operatorname{curl}^C is orthogonal to grad⁡⊕curl⁡D\operatorname{grad}\oplus\operatorname{curl}^D, so it lies in HD\mathcal{H}^D and equals L\mathcal{L}; thus C1=grad⁡⊕curl⁡D⊕L⊕HCC^1=\operatorname{grad}\oplus\operatorname{curl}^D\oplus\mathcal{L}\oplus\mathcal{H}^C, with L\mathcal{L} counted in HD\mathcal{H}^D for KD(t)K_D(t) and in curl⁡C\operatorname{curl}^C for KC(t)K_C(t). This gives the splitting and the last statement, and dim⁡L=β1D−β1C=dim⁡ker⁡ι∗\dim\mathcal{L}=\beta_1^D-\beta_1^C=\dim\ker\iota_* by Proposition 1. Finally curl⁡C=curl⁡D+span⁡{∂τ:τ phantom}\operatorname{curl}^C=\operatorname{curl}^D+\operatorname{span}\{\partial\tau:\tau\text{ phantom}\}, and projecting onto L\mathcal{L} gives the spanning set.

In words: circulation of actions around a cycle that the learners never closed as a group—for example a→b→c→aa\to b\to c\to a when {a,b,c}\{a,b,c\} is a phantom triangle whose boundary no observed groups fill—has a harmonic component in the Dowker complex, reflecting a hole in the observed co-occurrence; the clique complex reports this component as local curl, as if the circulation took place inside a group. The corollary uses only the net flow, not the Markov structure of TNA; it is a conceptual link between the two meanings of “higher order” (§ 1), and its empirical use is left to future work (§ 8.3).

Suggestions for existing tooling

The development version 0.9.12 of Nestimate [40] offers the same three simplicial types as version 0.8.5 (§ 5). The window complex of hypernets [25] is a first step: at min_count = 1 it is the Dowker complex of the windows. Three additions would make it a full Dowker construction: a count filtration by containment, w(σ)w(\sigma), so that it shares its 1-skeleton with the clique complex; groups other than windows, such as threads, sessions and the bipartite_groups hypergraphs of Nestimate; and the diagnostics of this paper (phantom rate, classes filled earlier, kernel dimension and the check of Proposition 3) reported next to clique-based results. Users could then choose the construction according to the data type and see its consequences within the same pipeline.

References

  1. [1]Mohammed Saqr, Sonsoles López-Pernas, Tiina Törmänen, Rogers Kaliisa, Kamila Misiejuk, and Santtu Tikka. Transition network analysis: A novel framework for modeling, visualizing, and identifying the temporal patterns of learners and learning processes. In Proceedings of the 15th International Learning Analytics and Knowledge Conference (LAK ’25), pages 351–361, Dublin, Ireland, 2025. ACM. doi: 10.1145/3706468.3706513.DOI
  2. [2]Santtu Tikka, Sonsoles López-Pernas, and Mohammed Saqr. tna: An R package for transition network analysis. Applied Psychological Measurement, 49(6):326–328, 2025. doi: 10.1177/01466216251348840.DOI
  3. [3]Mohammed Saqr, Sonsoles López-Pernas, and Kamila Misiejuk. Nestimate: An R package for dynamic, probabilistic, and high order network analysis. Applied Psychological Measurement, 2026. doi: 10.1177/01466216261472019. OnlineFirst, published 26 July 2026.DOI
  4. [4]Mohammed Saqr, Sonsoles López-Pernas, and Kamila Misiejuk. Nestimate: Dynamic, probabilistic, and higher-order network analysis. R package version 0.8.5. https://cran.r-project.org/package=Nestimate, 2026. Accessed 29 September 2026.DOI
  5. [5]Shihui Feng, Dragan Gašević, Baiyue He, and Alec Kirkley. Heterogeneous interaction network analysis (HINA): A new learning analytics approach for modelling, analyzing, and visualizing complex interactions in learning processes, 2026.arxiv.org/abs/2601.06771
  6. [6]Koichi Yasutake, Hitoshi Inoue, and Takahiro Tagawa. A theoretical proposal for employing temporal hypergraphs to model and analyze many-body interactions in learning processes. In ICLS 2025 Proceedings, pages 2837–2839, 2025.DOI
  7. [7]T.S. Cristea, S. Heikkinen, C. Snijders, M. Saqr, U. Matzat, R. Conijn, and A. Kleingeld. Dynamics of self-regulated learning: The effectiveness of students’ strategies across course periods. Computers & Education, 228:105233, 2025. ISSN 0360-1315. doi: https://doi.org/10.1016/j.compedu.2025.105233. URL https://www.sciencedirect.com/science/article/pii/S0360131525000016.
  8. [8]Hitoshi Inoue and Koichi Yasutake. Period segmentation in transition network analysis: A topological data analysis approach. In Innovations in Analytics of Learning Dynamics. TNA 2026. Communications in Computer and Information Science, pages 62–74. Springer, 2026. doi: 10.1007/978-3-032-34157-0_5.DOI
  9. [9]Renaud Lambiotte, Martin Rosvall, and Ingo Scholtes. From networks to optimal higher-order models of complex systems. Nature Physics, 15:313–320, 2019.DOI
  10. [10]Federico Battiston, Giulia Centcetti, Iacopo Iacopini, Vito Latora, Maxime Lucas, Alice Patania, Jean-Gabriel Young, and Giovanni Petri. Networks beyond pairwise interactions: Structure and dynamics. Physics Reports, 874:1–92, 2020.DOI
  11. [11]Jian Xu, Thanuka L. Wickramarathne, and Nitesh V. Chawla. Representing higher-order dependencies in networks. Science Advances, 2(5):e1600028, 2016.DOI
  12. [12]Chad Giusti, Robert Ghrist, and Danielle S. Bassett. Two’s company, three (or more) is a simplicial complex. Journal of Computational Neuroscience, 41:1–14, 2016.
  13. [13]Alice Patania, Giovanni Petri, and Francesco Vaccarino. The shape of collaborations. EPJ Data Science, 6:18, 2017.DOI
  14. [14]Christian Bick, Elizabeth Gross, Heather A. Harrington, and Michael T. Schaub. What are higher-order networks? SIAM Review, 65(3):686–731, 2023. doi: 10.1137/21M1414024.DOI
  15. [15]C. H. Dowker. Homology groups of relations. Annals of Mathematics, 56(1):84–95, 1952.DOI
  16. [16]Samir Chowdhury and Facundo Mé́moli. A functorial Dowker theorem and persistent homology of asymmetric networks. Journal of Applied and Computational Topology, 2:115–175, 2018.arxiv.org/abs/1608.05432
  17. [17]Leo Torres, Ann S. Blevins, Danielle Bassett, and Tina Eliassi-Rad. The why, how, and when of representations for complex systems. SIAM Review, 63(3):435–485, 2021.arxiv.org/abs/2006.02870
  18. [18]Marius Huber and Patrick Schnider. Flagifying the Dowker complex, 2025.arxiv.org/abs/2508.08025
  19. [19]Gunnar Carlsson. Topology and data. Bulletin of the American Mathematical Society, 46 (2):255–308, 2009.
  20. [20]Herbert Edelsbrunner, David Letscher, and Afra Zomorodian. Topological persistence and simplification. Discrete & Computational Geometry, 28:511–533, 2002.
  21. [21]Afra Zomorodian and Gunnar Carlsson. Computing persistent homology. Discrete & Computational Geometry, 33:249–274, 2005.
  22. [22]Vsevolod Salnikov, Daniele Cassese, Renaud Lambiotte, and Nick S. Jones. Co-occurrence simplicial complexes in mathematics: identifying the holes of knowledge. Applied Network Science, 3:37, 2018. doi: 10.1007/s41109-018-0074-3.DOI
  23. [23]Austin R. Benson, Rediet Abebe, Michael T. Schaub, Ali Jadbabaie, and Jon Kleinberg. Simplicial closure and higher-order link prediction. Proceedings of the National Academy of Sciences, 115(48):E11221–E11230, 2018.DOI
  24. [24]Elizabeth Munch. A user’s guide to topological data analysis. Journal of Learning Analytics, 4(2):47–61, 2017.DOI
  25. [25]Mohammed Saqr. hypernets: Higher-order and hypergraph network analysis. R package version 0.6.0 (development version). https://github.com/mohsaqr/hypernets, 2026. Commit cd4ddcf, 1 October 2026; accessed 2 October 2026.
  26. [26]Claude Berge. Hypergraphs: Combinatorics of Finite Sets, volume 45 of North-Holland Mathematical Library. North-Holland, Amsterdam, 1989.
  27. [27]Daniel Lütgehetmann, Dejan Govc, Jason P. Smith, and Ran Levi. Computing persistent homology of directed flag complexes. Algorithms, 13(1):19, 2020.arxiv.org/abs/1906.10458
  28. [28]Alexander Grigor’yan, Yong Lin, Yuri Muranov, and Shing-Tung Yau. Homologies of path complexes and digraphs, 2012.arxiv.org/abs/1207.2834
  29. [29]Stack Exchange, Inc. Stack exchange data dump (31 december 2025). https://archive.org/details/stackexchange_20251231, 2025. Licensed under CC BY-SA.
  30. [30]Mohammed Saqr. Human–AI vibe coding interaction study. https://saqr.me/blog/2026/human-ai-interaction-cograph/, 2026. Data distributed as human_long in the Nestimate R package.
  31. [31]Yvonne M. M. Bishop, Stephen E. Fienberg, and Paul W. Holland. Discrete Multivariate Analysis: Theory and Practice. MIT Press, Cambridge, MA, 1975.
  32. [32]Federico Musciotto, Federico Battiston, and Rosario N. Mantegna. Detecting informative higher-order interactions in statistically validated hypergraphs. Communications Physics, 4:218, 2021.arxiv.org/abs/2103.16484
  33. [33]Gunnar Carlsson and Vin de Silva. Zigzag persistence. Foundations of Computational Mathematics, 10:367–405, 2010.
  34. [34]Marlene Scardamalia and Carl Bereiter. Knowledge building: Theory, pedagogy, and technology. In R. Keith Sawyer, editor, The Cambridge Handbook of the Learning Sciences, pages 97–115. Cambridge University Press, New York, 2006.DOI
  35. [35]Gerry Stahl. Group Cognition: Computer Support for Building Collaborative Knowledge. MIT Press, Cambridge, MA, 2006.
  36. [36]Jun Oshima, Ritsuko Oshima, and Yoshiaki Matsuzawa. Knowledge Building Discourse Explorer: a social network analysis application for knowledge building discourse. Educational Technology Research and Development, 60(5):903–921, 2012. doi: 10.1007/s11423-012-9265-2.DOI
  37. [37]Xiaoye Jiang, Lek-Heng Lim, Yuan Yao, and Yinyu Ye. Statistical ranking and combinatorial Hodge theory. Mathematical Programming, 127(1):203–244, 2011. doi: 10.1007/s10107-010-0419-x.DOI
  38. [38]Lek-Heng Lim. Hodge Laplacians on graphs. SIAM Review, 62(3):685–715, 2020. doi: 10.1137/18M1223101.DOI
  39. [39]Michael T. Schaub, Austin R. Benson, Paul Horn, Gabor Lippner, and Ali Jadbabaie. Random walks on simplicial complexes and the normalized Hodge 1-Laplacian. SIAM Review, 62(2):353–391, 2020. doi: 10.1137/18M1201019.DOI
  40. [40]Mohammed Saqr, Sonsoles López-Pernas, and Kamila Misiejuk. Nestimate. R package version 0.9.12 (development version). https://github.com/mohsaqr/Nestimate, 2026. Commit 21e85cα, 19 September 2026; accessed 2 October 2026.DOI

Paper details

vlnc:W_9hc64ypw
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents