arXiv:2610.01305cs.SIOct 2026

Manuscript Offprint

arXiv:2610.01305

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

Koichi Yasutake, Wakana Tsuji, Hitoshi Inoue

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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 analyses based on these two complexes. 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 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\beta_{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. Moreover, this difference does not appear in the fixed-threshold analyses 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; it fills a gap in current tooling. Code is available at https://github.com/igu-lab/beyond-the-clique.

1 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})

*Corresponding author, Email: ystake@hiroshima-u.ac.jp

†^{\dagger}Email: wakana.gen@mail.utoronto.ca

†^{†}Email: jinoue@nakamura-u.ac.jp

Observed

Pairwise network

(pairs only)

Clique complex

fill if all 3 edges exist

Dowker complex

fill only if all 3

actually co-occurred

Case 1

Figure

one group: {A,B,C}\{A,B,C\}

Figure

Figure

Figure

Case 2

Figure

three pairs: {A,B}\{A,B\}, {B,C}\{B,C\}, {A,C}\{A,C\}

Figure

Figure

Figure

same graph

cannot tell apart

both filled

cannot tell apart

filled vs. hole

can tell apart

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.

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–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.

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), but in version 0.8.5 its simplicial and persistent-homology functions cannot take that hypergraph as input. The representation, however, should follow the system being studied [17].

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 (Section 5).

  2. 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 use the phantom rate and the kernel dimension as measures. 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 (Section 4).

  3. 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 (Section 7).

References (25)