arXiv:2610.27025physics.soc-phOct 2026

Manuscript Offprint

arXiv:2610.27025

A Geometric Principle for Path Selection in Directed Acyclic Graphs

Haya AlMuhanna, Tim S. Evans

Abstract

There are many types of path between nodes of a Directed acyclic graph (DAG), including the shortest and longest paths. Here, we ask whether the choice of path used in any analysis reflects the geometry of the latent space in which the DAG is embedded. To do this we define LpL_p-cube spacetimes, a family of continuous ordered spaces in which a single parameter pp determines whether the ordered distance satisfies the ordered triangle identity when p>1p > 1, or the reverse ordered triangle identity when 0<p<10 < p < 1 or p<0p < 0, both of which are rarely studied. The forward connection kernel in the p<0p < 0 case has infinite hyper-volume, yet it is a well defined model. We then construct random geometric DAGs embedded in our LpL_p-cube spacetime and study their geometry. For p>1p > 1, where the ordered triangle identity holds, the shortest paths provide the closest approximation to the continuum ordered geodesic while for 0<p<10 < p < 1 and p<0p < 0, where the reverse ordered triangle identity holds, this role is instead taken by the longest weighted path. We also test the robustness of this relationship in a geometric citation model in which the random geometric DAG is supplemented by a preferential-attachment-type mechanism allowing connections beyond the strict geometric cut-off. The same broad correspondence between latent geometry and ordered geodesic path type is recovered. Our results show that the preference for shortest or longest paths in a DAG is closely connected to the geometry assumed for its latent space, and suggest that path structure can provide information about latent geometry, even when that geometry is not directly observed.

1 Introduction

In directed acyclic graphs (DAGs), there are many types of paths between two nodes which can be used to analyse the network. In citation networks, for example, longest paths and related constructions such as main-path analysis identify extended innovation trajectories through the network (Ho et al., 2024a, Hummon and Doreian, 1989, Price and Evans, 2025), while the intermediacy measure (Šubelj, Waltman, Traag and van Eck, 2020) favours shortest paths in one limit. However, there is no single principled reason to prefer one path notion over another in general.

In this work, we take a different perspective: rather than asking which path is intrinsically “most meaningful”, we ask whether the preference for shortest or longest paths reflects a choice of distinct types of geometry for the DAG. The motivation for this question comes from the relationship between networks and latent geometry. In machine learning it is often useful to embed data in a continuous space equipped with a notion of distance, typically a metric space such as Euclidean or hyperbolic space (for example Bordes et al., 2013, Hoff et al., 2002, Krioukov et al., 2010, Mikolov et al., 2013, Nickel and Kiela, 2017). These spaces, however, have no intrinsic sense of order: there is no sense of moving forward or backwards, no natural partial order on their points. DAGs are different. A DAG defines a partial order

*ORCID: 0009-0004-2564-0140

†^{\dagger}ORCID: 0000-0003-3501-6486 on its nodes, and in a continuous-space description this is analogous to introducing a time coordinate which distinguishes past from future. Temporal and spatial coordinates can therefore be treated together within a spacetime description. Embedding a DAG in such a continuous ordered space allows geometric methods to be used to study its structure. In our study we develop a new ordered space, the LpL_{p}-cube spacetime, as a family of continuous spaces whose geometry is controlled by a single parameter. We then create DAGs embedded in this space. By understanding the relationship between geometry and network paths, we can ask what may be inferred when a DAG is observed without any explicit latent space.

There is an established literature on DAGs embedded in ordered continuous spaces. Some of this work is motivated by relativity and cosmology, particularly the causal-set approach to quantum gravity (Bollobás and Brightwell, 1991, Bombelli et al., 1987, Brightwell and Gregory, 1991, Dowker, 2005, 2006, Myrheim, 1978, Rideout and Wallden, 2009, Surya, 2019). Related spacetime constructions have also been applied to citation networks (Clough and Evans, 2016, 2017, Clough et al., 2014) or developed for DAGs in general (Sáez de Ocariz Borde et al., 2025). Minkowski and de Sitter spacetimes provide natural examples of continuous spaces with a distinction between temporal and spatial directions. They also come equipped with a natural measure of separation, proper time. However, these highly symmetric spacetimes are more restrictive than we require here. We therefore construct a different ordered space, the LpL_{p}-cube spacetime, which allows us to vary the geometric properties of the ordered distance within a single framework. This makes it possible to study both ordinary and reverse triangle identities, and hence geometries in which either shortest or longest paths play the role of the continuum ordered geodesic.

The paper starts in Section 2 where we introduce the LpL_{p}-cube spacetime and we define how we measure distances and define geodesics in such a space. In Section 3 we define the DAGs embedded in this space and the paths we use to analyse these DAGs. Section 4 gives the results of the comparisons we make between the different paths in the DAGs and the geodesics of the LpL_{p}-cube space model. We conclude with a discussion of the implications of these results and possible extensions in Section 5.