Download README.md from espressovi/KisMATH: direct link, hf CLI and curl.
- Browser
- Download file 3.11 kB
-
https://huggingface.co/datasets/espressovi/KisMATH/resolve/main/README.md
- Command line
-
hf download hf://datasets/espressovi/KisMATH/README.md
-
curl -L -o README.md https://huggingface.co/datasets/espressovi/KisMATH/resolve/main/README.md
license: mit
This repository contains code and data required to reproduce the main results for the paper titled—"KisMATH: Do LLMs Have Knowledge of Implicit Structures in Mathematical Reasoning?", accepted to the Transactions of the Association for Computational Linguistics (TACL), 14:1308–1328.
Citation
If you find any material from this repository helpful, please cite our paper.
@article{saha-etal-2026-kismath,
title = {{K}is{MATH}: Do {LLM}s Have Knowledge of Implicit Structures in Mathematical Reasoning?},
author = {Saha, Soumadeep and Chaturvedi, Akshay and Saha, Saptarshi and Garain, Utpal and Asher, Nicholas},
journal = {Transactions of the Association for Computational Linguistics},
volume = {14},
year = {2026},
address = {Cambridge, MA},
publisher = {MIT Press},
url = {https://aclanthology.org/2026.tacl-1.59/},
doi = {10.1162/tacl.a.729},
pages = {1308--1328}
}
Abstract
Chain-of-thought (CoT) traces have been shown to improve performance of large language models on a plethora of reasoning tasks, yet there is no consensus on the mechanism by which this boost is achieved. To shed more light on this, we introduce Causal CoT Graphs (CCGraphs), which are directed acyclic graphs automatically extracted from reasoning traces that model finegrained causal dependencies in language-model outputs.
A collection of 1671 mathematical reasoning problems from MATH500, GSM8K, and AIME, together with their associated CCGraphs, has been compiled into our dataset—KisMATH. Our detailed empirical analysis with 15 open-weight LLMs shows that (i) reasoning nodes in the CCGraphs_ are causal contributors to the final answer, which we argue is constitutive of reasoning; and (ii) LLMs emphasize the reasoning paths captured by the CCGraphs, indicating that the models internally realize structures similar to our graphs. KisMATH enables controlled, graph-aligned interventions and opens avenues for further investigation into the role of CoT in LLM reasoning."
Usage
The repository is structured as follows:
.
├── AIME
│ ├── graph.json
│ └── path.json
├── GSM8K
│ ├── graph.json
│ └── path.json
├── MATH500
│ ├── graph.json
│ └── path.json
└── README.md (this file)
The graph.json file corresponds to the CCGraphs serialized and saved
using the networkx library. The path.json file corresponds to
R paths, and for each path an ordered list of prefixes and the target span
is provided.
