MRNG is a formally defined proximity graph that guarantees strictly decreasing, monotonic paths in greedy best-first search for ANNS.
It is constructed by ordering neighbors by increasing Euclidean distance and selecting edges based on an empty-lune condition to maintain constant out-degree.
MRNG underpins scalable, efficient graph-based ANN indices and inspires extensions like block-aware MRNG for disk-resident data environments.
A Monotonic Relative Neighborhood Graph (MRNG) is a formally defined proximity graph designed to guarantee strictly decreasing distance paths in greedy best-first search, primarily for approximate nearest neighbor search (ANNS) in high-dimensional spaces. MRNG ensures connectedness, compactness (constant out-degree), minimal search complexity, and forms the theoretical core for practical graph-based ANN indices, including recent disk-aware extensions.
1. Formal Definition and Construction
MRNG is constructed over a finite set S⊂Rd with the metric δ(p,q)=∥p−q∥2​. For each pair (p,q), define the lune
Equivalently, for construction: order S∖{p} by increasing δ(p,⋅), initialize the out-neighbor list Lp​ with the nearest neighbor, and for each successive candidate δ(p,q)=∥p−q∥2​0, include δ(p,q)=∥p−q∥2​1 if no δ(p,q)=∥p−q∥2​2 satisfies δ(p,q)=∥p−q∥2​3.
S∖{p}1
MRNG is unique and edge-minimal with respect to monotonicity: removing any edge breaks the monotonic path guarantee (Zhu et al., 2021).
2. Monotonicity and Connectivity Properties
A path δ(p,q)=∥p−q∥2​5 from δ(p,q)=∥p−q∥2​6 to δ(p,q)=∥p−q∥2​7 is monotonic if
δ(p,q)=∥p−q∥2​8
MRNG is a Monotonic Search Network (MSNET), meaning for every pair δ(p,q)=∥p−q∥2​9 there exists a monotonic path from (p,q)0 to (p,q)1. Greedy best-first search in MRNG—always moving to the neighbor closest to the query that is strictly closer—never backtracks, with each hop reducing the distance to the target. This ensures strong connectivity: for any (p,q)2, there is a directed path from (p,q)3 to (p,q)4 (Fu et al., 2017, Zhu et al., 2021).
MRNG is the unique minimal graph structure guaranteeing this property. Any deletion of edges would violate monotonic search coverage for some node pairs (Zhu et al., 2021).
3. Degree Bound and Space Complexity
The out-degree in MRNG is bounded only by the ambient dimension (p,q)5, not by the cardinality (p,q)6; for (p,q)7-dimensional Euclidean space, by sphere-packing arguments, the degree is
Under uniform random distribution in B(x,r)={y:δ(x,y)<r}4,
B(x,r)={y:δ(x,y)<r}5
where B(x,r)={y:δ(x,y)<r}6 is the minimal difference in triangle side-lengths in B(x,r)={y:δ(x,y)<r}7. In high dimensions, this growth is close to logarithmic in B(x,r)={y:δ(x,y)<r}8 (Fu et al., 2017). Greedy monotonic search in MRNG always terminates at the true nearest neighbor in at most B(x,r)={y:δ(x,y)<r}9 steps; empirical scaling closely matches or exceeds alternatives like k-NN graphs (Zhu et al., 2021).
5. Generalizations, Approximation Techniques, and Hidden Structures
To accommodate large (S,E)0, generalizations of MRNG restrict neighbor candidate sets and cap the out-degree:
Degree cap (S,E)1 ((S,E)2)
Candidate pool (S,E)3
Generic MRNG (GenMRNG) applies identical neighbor construction, limited to candidates from (S,E)4 and up to (S,E)5 neighbors. With (S,E)6, build time is (S,E)7 and storage (S,E)8 (Zhu et al., 2021).
Empirical findings indicate that capping degree at roughly half the mean degree of MRNG retains nearly full recall, with a phase transition where adding more edges yields negligible improvement (Zhu et al., 2021).
6. Block-Aware Monotonic Extensions for Disk-Based ANNS
The Block-Aware Monotonic Graph (BAMG) is a practical, linear-time index that approximates BMRNG by integrating block layout into edge selection and leverages in-memory multi-layer navigation graphs for efficient search entry. BAMG achieves up to 2.1× higher throughput and 13–52% fewer disk I/Os compared to prior approaches, with only a small index size overhead (Li et al., 3 Sep 2025).
7. Practical Implications and Empirical Performance
MRNG serves as a theoretical foundation for scalable ANNS indices such as Navigating Spreading-out Graphs (NSG), which are practical MRNG approximations with nearly S∖{p}0 build cost and billion-node scalability (Fu et al., 2017).
Guidance for implementation includes using genMRNG with degree caps at approximately half the empirical mean, candidate pools drawn from k-NN graphs or random samples, and conflict lists for heavy edges, optimizing both index build and search times (Zhu et al., 2021).
Compared to classical Relative Neighborhood Graphs (RNG), MRNG relaxes the empty-lune condition, enforcing forward-only monotonic greedy paths and precluding backtracking. BMRNG/BAMG further extend this property to disk-based environments, making graph construction and block assignment a joint optimization problem, resulting in significant query throughput and I/O gains while preserving monotonicity and recall (Li et al., 3 Sep 2025).