Papers › Representing Edge Flows on Graphs via Sparse Cell Complexes

Representing Edge Flows on Graphs via Sparse Cell Complexes

4 Sep 2023arXiv:2309.01632archive 2025-07-28

Josef Hoppe, Michael T. Schaub

Obtaining sparse, interpretable representations of observable data is crucial in many machine learning and signal processing tasks. For data representing flows along the edges of a graph, an intuitively interpretable way to obtain such representations is to lift the graph structure to a simplicial complex: The eigenvectors of the associated Hodge-Laplacian, respectively the incidence matrices of the corresponding simplicial complex then induce a Hodge decomposition, which can be used to represent the observed data in terms of gradient, curl, and harmonic flows. In this paper, we generalize this approach to cellular complexes and introduce the flow representation learning problem, i.e., the problem of augmenting the observed graph by a set of cells, such that the eigenvectors of the associated Hodge Laplacian provide a sparse, interpretable representation of the observed edge flows on the graph. We show that this problem is NP-hard and introduce an efficient approximation algorithm for its solution. Experiments on real-world and synthetic data demonstrate that our algorithm outperforms state-of-the-art methods with respect to approximation error, while being computationally efficient.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2309.01632")

Code

Syntology Ran 8 of 10 code samples harvested from 2 repositories linked to this paper; 2 have no recorded run. Of those that ran: 8 ran with no contract checked.

By repository: official repository: 10 samples from 2 repositories, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

josefhoppe/cell-flower officialmentioned in papermentioned on GitHubMIT report
josefhoppe/edge-flow-cell-complexes officialmentioned on GitHubMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 8 ran; 0 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

8ran
2unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

bfs_spanning_tree josefhoppe/cell-flower/src/cell_flower/spanning_trees.py official repository ran MIT (permissive) · aa9039661fa8dfa7 · report
calc_edges josefhoppe/cell-flower/src/cell_flower/cell_complex.py official repository ran MIT (permissive) · c26eb6d88946a405 · report
coinsizes josefhoppe/edge-flow-cell-complexes/workflow/helper.py official repository ran fingerprinted MIT (permissive) · b37b7450d2c17669 · report
neg_part josefhoppe/cell-flower/src/cell_flower/matrix_utils.py official repository ran fingerprinted MIT (permissive) · 5a15bff5b376d77d · report
normalize josefhoppe/cell-flower/src/cell_flower/matrix_utils.py official repository ran fingerprinted MIT (permissive) · 6aadfa53b07d83e9 · report
normalize_cell josefhoppe/cell-flower/src/cell_flower/cell_complex.py official repository ran fingerprinted MIT (permissive) · bd7f79ec3f8cdcd2 · report
pos_part josefhoppe/cell-flower/src/cell_flower/matrix_utils.py official repository ran fingerprinted MIT (permissive) · d877469132df0819 · report
project_flow josefhoppe/cell-flower/src/cell_flower/detection.py official repository ran fingerprinted MIT (permissive) · 80da60b0ee33aa1c · report
cell_to_index josefhoppe/cell-flower/src/cell_flower/cell_complex.py official repository unverified MIT (permissive) · 9ca9d9501b9cd410 · report
dfs_spanning_tree josefhoppe/cell-flower/src/cell_flower/spanning_trees.py official repository unverified MIT (permissive) · 78007ef0b136d662 · report

Tasks

Inference OptimizationRepresentation Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections