arXiv:2610.30380cs.CGOct 2026

Manuscript Offprint

arXiv:2610.30380

The Inverse Mapper Problem for Two-Dimensional Data

Robin Belton, Patrick Schnider

Robin Belton 1^{1} and Patrick Schnider 2^{2}

1^{1} Department of Mathematics and Statistics, Vassar College, USA

rbelton@vassar.edu

2^{2} Department of Mathematics and Computer Science, University of Basel, Switzerland and Department of Computer Science, ETH Zürich, Switzerland, patrick.schnider@inf.ethz.ch

Abstract. The Mapper algorithm is a popular graphical tool for data visualization and exploration in topological data analysis (TDA). It takes as input a data set X and returns a graph that aims to capture the underlying topological features of these data. The Mapper algorithm has several parameters that need to be specified by the user: a filter function f:X→Yf : X \to Y where X is often a point cloud data set in Rn\mathbb{R}^n and Y is the reference space that is often a lower dimensional Euclidean space, a cover of f(X)f(X), and a clustering algorithm that is applied to the pre-image of each element in the cover. In this paper, we consider the following question: What graphs can occur as the output of the Mapper algorithm? It is known that when Y=R3Y = \mathbb{R}^3, any graph can be a Mapper graph. In this work, we focus on a more practical case where the filter function is f:R2→Rf : \mathbb{R}^2 \to \mathbb{R}. We consider two different scenarios. In the first scenario, we fix the parameters of the Mapper algorithm, but vary the data. This way we characterize exactly the graphs that can occur for several choices of parameters. In the second scenario, we fix the data set but vary the parameters. This can be seen as a way to understand how much the output can differ depending on the choices of parameters. In both settings, we find close connections to classical topics in graph drawing.

Keywords: Mapper · Reeb Graph · Topological Data Analysis.

1 Introduction

The Mapper algorithm is a popular graphical tool for exploring data in topological data analysis (TDA). To apply the Mapper algorithm, the user needs to determine the following parameters: a filter function f:X→Yf: X \to Y from X (the data set) to a lower-dimensional space Y (the reference space), a cover of the image f(X)f(X) in Y, and a clustering algorithm for the pre-image of each cover element. An inverse problem for the Mapper algorithm can be stated as: Given a data set X and a graph G, does there exist a set of Mapper parameters such that the output Mapper graph of X is isomorphic to G?

R. Belton and P. Schnider

In Any Graph is a Mapper Graph [2], an affirmative answer is provided for this inverse problem using two constructions: one uses the graph itself as the reference space, and the other uses R3\mathbb{R}^3 as the reference space. In practice, most Mapper graphs are constructed with the reference space YY equal to R2\mathbb{R}^2 or R\mathbb{R}. We focus on the following question: Which types of graphs can occur as the output of the Mapper algorithm when the filter function is f:R2→Rf : \mathbb{R}^2 \to \mathbb{R}?

The Mapper construction was introduced by Singh, Mémoli and Carlsson [18] as a method for visualizing and qualitatively analyzing high dimensional data sets. While it has successfully been applied in many applications [3, 10–14, 16, 17, 21, 22], the underlying theory, in particular the interplay of all the parameters, is not yet fully understood [1, 4–7, 20]. From this point of view, the inverse problem is a natural question as it characterizes the graphs that can occur as the output of the Mapper algorithm. As we see, modifications to the parameters can indeed have a significant effect on the class of possible output graphs.

We focus on two settings: (1) the parameters are fixed but we can vary the data set, and (2) the data set is fixed but we can vary the parameters. We give characterizations of the occurring Mapper graphs in both settings. As the Mapper algorithm uses graphs for visual representation, it is not surprising that the problems studied in this manuscript relate to classical topics in graph drawing.