arXiv:2611.03739cs.AINov 2026

Manuscript Offprint

arXiv:2611.03739

Reasoning is topologically simple

Chris Kapulkin, Nathan Kershaw

Abstract

We formulate and investigate the hypothesis that reasoning text has simpler co-occurrence topology than non-reasoning text, and that higher-quality reasoning has simpler co-occurrence topology than lower-quality reasoning. We discuss and test applications to AI safety and AI evaluation.

Introduction

Since the introduction of chain-of-thought (CoT) prompting [WWS⁺22, KGR⁺22] in large language models (LLMs), it is commonplace for LLMs to reason in long natural-language traces. These traces are used both for evaluating models [GCP⁺23, PSZB23, LKB⁺24, ZZZ⁺25] and for AI safety [BHG⁺25, KBB⁺25, GWC⁺26, KSC⁺25]. A common approach to evaluating these traces is to use a separate LLM as a monitor; however, this LLM monitor is expensive, shares biases with the LLM it is judging, and may be subject to the same safety concerns as the original LLM. Developing methods and statistics to evaluate reasoning traces is thus an important problem in both AI evaluation and safety. Such methods have the added benefit of being able to evaluate other sorts of writing, such as human writing or AI-written papers.

Topological data analysis (TDA) has been proposed as a tool to evaluate the reasoning of LLMs [TLTK26, LZL⁺26, ZZC⁺26, ZSZ⁺26, MZB⁺25]. A common approach is to fix an embedding of reasoning steps (sentences, ideas, etc.) into Rn\mathbb{R}^n, and compute Vietoris–Rips persistent homology. While this approach has demonstrated success, it also comes with drawbacks: the order of the reasoning steps can be lost, or the influence muted; it relies on choices for the embedding; and the answers are often hard to interpret (i.e. there often lacks an interpretation of what a hole represents in terms of reasoning steps and ideas). A natural solution to these issues is to use co-occurrence persistent homology instead: Each sentence represents a simplex added into the filtration, and the vertices are the words in the sentence. This has the benefit that it uses reasoning order directly for the filtration order, requires few choices, and gives interpretable results (a 1-dimensional hole, for example, represents a cycle of words used pairwise but not yet combined into one idea). Using co-occurrence persistent homology to evaluate text is not a novel idea and has been used before [SCLJ18, CSBB20]. To our knowledge, however, this construction has not yet been used to evaluate reasoning quality directly.

When considering co-occurrence persistence to evaluate reasoning, there is a natural hypothesis. When reasoning, concepts are not only introduced, but combined and used together. If a collection of three or more concepts is used pairwise together, one would expect them to often be further combined and used together. This would correspond to the creation and subsequent filling in of a hole (see Fig. 1). Thus, a natural hypothesis is that reasoning has simpler topology than non-reasoning, and higher-quality reasoning has simpler topology than lower-quality reasoning. To measure topological complexity, we

*College of Connected Computing & Department of Mathematics, Vanderbilt University †Department of Mathematics, University of Western Ontario compute persistent homology in dimension 1. The total persistence is defined as the sum of lengths of all intervals in the persistence diagram, which we then normalize by dividing by the mean total persistence when randomly shuffling the text. Any number smaller than 1 indicates simpler topology than random, with even smaller numbers representing even simpler topology.

It is important to distinguish this explanatory hypothesis from the empirical claims tested below. Our experiments compare co-occurrence topology across text genres, human- and AI-written papers, models of differing capability, and benign and sabotage conditions. We propose that the relationship between reasoning and topological simplicity provides a possible explanation for the resulting patterns, rather than assuming that these comparisons directly measure reasoning quality. The proposed relationship is a statistical tendency rather than a criterion for the quality or correctness of an individual text.

We run four experiments to test this idea and identify applications to AI evaluation and safety. The first test is to compare reasoning prose with non-reasoning prose. We have two reasoning categories and two non-reasoning categories: mathematics and argumentative philosophy texts for reasoning, and history and short stories for non-reasoning. The second test compares 135 of the recent OpenAI mathematics papers [Ope26] to human-written counterparts. LLM-written papers are often criticized as difficult to read, and the hypothesis here is that human papers often present a more refined, easy-to-follow form of reasoning, resulting in simpler topology. Again, it is important to distinguish this explanatory hypothesis from what is actually being tested, as there are significant confounding variables such as writing style. As a third test, we compare LLM capability with reasoning topology. In particular, for 48 open-weight models, we compute co-occurrence persistence on reasoning traces for 30 AIME problems [Mat26], and compare each model's median with its Epoch Capabilities Index (ECI) [Epo25, HDA +25^{+25}] to test whether more capable models (higher-quality reasoning) have simpler topology. Finally, we use the construction to evaluate deepseek-v4-flash-0731 on SHADE-arena tasks [KSC +25^{+25}], which test a model performing tasks under normal circumstances to a model given a normal task and a sabotage side task. The hypothesis is that a model needing to balance a normal and sabotage task degrades its reasoning in a detectable manner.

The results are as follows: For the first experiment, we find that mathematics texts have simpler topology than both history ( p<10−5p < 10^{-5}) and short stories ( p<10−5p < 10^{-5}), and argumentative philosophy texts have simpler topology than history ( p=0.019p = 0.019) and short stories ( p<10−5p < 10^{-5}). For the second experiment, the human-written counterparts had simpler topology in around 93% of pairs ( p=5×10−23p = 5 \times 10^{-23}). For the third experiment, ECI correlated negatively with average topology, having a Spearman correlation coefficient of ρ=−0.444\rho = -0.444 ( p=0.0008p = 0.0008). Finally, for the SHADE-arena, the non-sabotage reasoning had simpler topology in 19/26 environments ( p=0.009p = 0.009). Altogether, these experiments provide strong support for the initial hypothesis and establish applications to both AI safety and evaluation.

All code and experimental results can be found at

https://github.com/nkershaw01/Co-occurrence-reasoning-topology

Related work. There is a large body of work using TDA methods to analyze LLMs. The most prominent approach is to apply persistent homology to the activation space [RHvN+24, GVP+25, FGRW+26, PXP26], however, there is existing work applying TDA constructions to reasoning traces as well. In [TLTK26], the authors embed reasoning steps from AIME problems into Rn\mathbb{R}^n and use persistent homology derived metrics to predict reasoning quality. Similarly, Li et al. [LZL+26] embed steps from chain-of-thought, tree-of-thought, and graph-of-thought reasoning, augment the embeddings with positional or structural encodings, and compute Vietoris–Rips persistent homology to compare their topological structure. In particular, their treatment of step order is through the embedding rather than through the filtration parameter. More et al. [MZB+25] instead embed multiple complete reasoning traces generated for the same prompt and combine topological features of this collection with Dirichlet-based uncertainty estimates to calibrate model confidence. The novelty of our approach is to avoid the use of any embedding, avoiding

Vietoris–Rips persistence altogether, and to use the natural ordering of reasoning steps as the filtration order. This provides interpretable results that are also independent of choices of embedding.

Co-occurrence persistent homology has been used to analyze text. In [SCLJ18], the authors apply a co-occurrence construction to mathematics papers, and suggest that persistent holes correspond to gaps in knowledge. In [CSBB20] the authors apply a similar construction to evaluate mathematics textbooks, comparing topology to textbook ratings. Here, vertices are extracted concepts, and edges record sentence-level co-occurrence; the filtration follows sentence order and takes the clique complex at each stage. The authors also suggest that persistent holes correspond to longstanding gaps in knowledge. To our knowledge, co-occurrence persistent homology has not yet been used to directly evaluate reasoning.