arXiv:2608.22909cs.CLAug 2026

Manuscript Offprint

arXiv:2608.22909

Exploring Dowker Homology for Sentence Similarity

Marius Huber, Juri Opitz

Abstract

Dowker homology is a topological tool that may be used to analyze the relative position of two point clouds living in a common space. We investigate whether Dowker homology captures sentence similarity information by treating the embeddings of the tokens that constitute a sentence pair as a pair of point clouds in the latent space of a transformer model, using both models that have and have not been fine-tuned for sentence similarity. We find that Dowker homology captures sentence similarity information, as measured by regressing Dowker homology features onto ground-truth similarity scores, and that it can be used for visual inspection of similarity data and models. In an attempt to make Dowker homology readily applicable, we derive from it single-number summaries that we expect to capture sentence similarity directly. These turn out to work reasonably well, but without outperforming standard sentence similarity measures based on established pooling methods. 1^{1}

1 Introduction

Dowker homology (DH; Dowker, 1952; Chowdhury and Mémoli, 2018) is a tool from topological data analysis, an emerging data analysis framework drawing on ideas from topology, metric geometry, and related areas of mathematics. Among other things, DH may be used to capture the relative position of two point clouds living in a common space that is endowed with a distance function (typically RnR^{n} with Euclidean or cosine distance).

In this paper, we study a novel application of DH to NLP by applying it to Siamese sentence transformer models (Reimers and Gurevych, 2019). Specifically, we ask the following.

(1) Can DH distinguish similar and dissimilar sentence pairs?

(2) Can DH be used to extract sentence similarity from token embeddings?

On the positive side, we find that DH can elucidate sentence similarity data and models, both quantitatively and visually. Findings regarding the second question are mixed: we define single-number summaries extracted from DH that capture ground truth sentence similarity reasonably well, but not more so than established methods.