Local Metric Dimension in Graphs
- Local metric dimension is a distance-based invariant that identifies the minimum number of vertices needed to differentiate adjacent vertices via distinct distance profiles.
- It is closely related to clique structures, graph products, and ILP formulations, providing both combinatorial and computational insights.
- Recent studies offer sharp bounds and fractional extensions, enhancing applications in network discovery, robot navigation, and mathematical chemistry.
Local metric dimension is a distance-based graph invariant that asks for the smallest number of vertices needed to distinguish adjacent vertices by their distance profiles. For a connected graph , a set is local resolving if for every adjacent there exists such that ; a minimum such set is a local metric basis, and its cardinality is the local metric dimension, denoted in the literature by , , , or (Salman et al., 2014). This invariant is weaker than the classical metric dimension, because only adjacent pairs must be separated, but it remains tightly linked to clique structure, graph products, decomposition methods, integer programming, and fractional relaxations (Rodríguez-Velázquez et al., 2013).
1. Definitions and foundational relations
The common starting point is the distance function on a finite, simple, connected graph 0. A vertex 1 distinguishes 2 and 3 when
4
A local resolving set requires this only for adjacent pairs, whereas a resolving set for the ordinary metric dimension must distinguish all distinct pairs (Salman et al., 2014).
A closely related parameter is the local adjacency metric dimension. A set 5 is a local adjacency resolving set if for every pair of adjacent vertices in 6 there exists a vertex in 7 adjacent to exactly one of them; its minimum cardinality is 8 (Ghalavand et al., 18 Jul 2025). The comparison
9
is fundamental, because any upper bound on the adjacency-based variant transfers immediately to the local metric dimension (Ghalavand et al., 18 Jul 2025).
The principal parameters and their standard relations may be organized as follows.
| Parameter | Meaning |
|---|---|
| 0 | metric dimension |
| 1 | adjacency dimension |
| 2 | local metric dimension |
| 3 | local adjacency dimension |
The literature records the inequalities
4
(Rodríguez-Velázquez et al., 2013). For a non-trivial connected graph of order 5, one also has
6
where 7 denotes the metric dimension (Salman et al., 2014).
This hierarchy clarifies a common source of confusion: local metric dimension is not a merely notational variant of metric dimension. It is strictly weaker, because it addresses only adjacency-level distinguishability. It is also distinct from strong metric dimension, where a vertex 8 strongly resolves 9 if
0
and from fault-tolerant metric dimension, where a resolving set must remain resolving after removal of any one of its elements (Salman et al., 2014).
2. Extremal values and clique-sensitive structure
Several extremal characterizations recur across the literature. For a connected graph 1, the local metric dimension satisfies
2
3
and
4
where 5 is the clique number (Ghalavand et al., 18 Jul 2025). These facts already show that clique structure is not peripheral: it controls both maximality and near-maximality.
A lower bound recalled in recent clique-number papers is
6
again tying local metric dimension to 7 (Ghalavand et al., 18 Jul 2025).
Exact computations on explicit graph families illustrate how the parameter departs from the full metric dimension while remaining structurally sharp. For the convex polytopes 8 and 9,
0
whereas the same paper proves substantially larger strong metric dimensions: 1 These computations make explicit that local metric dimension can remain small on non-bipartite families for which stronger resolving notions grow linearly in 2 (Salman et al., 2014).
The clique number also interacts with older upper bounds. Before the sharp 2025 results, the literature already included the triangle-free estimate
3
for 4, and the former general bound
5
which was weaker than the later conjectured coefficient 6 (Ghalavand et al., 18 Jul 2025).
3. Algorithmic formulations and computational complexity
Local metric dimension admits an exact integer linear programming formulation. For 7, with 8 and 9, define
0
for adjacent pairs 1, and binary variables
2
The model is
3
subject to
4
for every adjacent pair, together with
5
The formulation has 6 binary variables and 7 linear constraints, and it is exact: 8 is a local resolving set if and only if the constraints are satisfied (Salman et al., 2014).
From a complexity standpoint, exact solvability is limited. The local adjacency dimension problem is NP-complete, even on planar instances, and assuming ETH there is no
9
algorithm solving it (Rodríguez-Velázquez et al., 2013). A decisive corona-product reduction then yields the same negative results for the local metric dimension: LocDim is NP-complete, and assuming ETH there is no
0
algorithm solving LocDim on graphs of order 1 and size 2 (Rodríguez-Velázquez et al., 2013).
The reduction is driven by the identity
3
valid for a connected graph 4 of order 5 and a non-trivial graph 6. In particular,
7
so any sufficiently strong algorithm for local metric dimension would solve local adjacency dimension as well (Rodríguez-Velázquez et al., 2013).
These algorithmic results explain why much of the subject developed through exact formulas for special families, structural decompositions, and sharp upper bounds rather than through general-purpose polynomial-time algorithms.
4. Graph products and decomposition frameworks
A large portion of the theory is organized around graph constructions for which local metric dimension can be transferred, bounded, or decomposed.
| Construction | Representative result |
|---|---|
| Corona product | 8 (Rodríguez-Velázquez et al., 2013) |
| Generalized hierarchical product | 9 under a basis-containment hypothesis (Klavžar et al., 2019) |
| Strong product | 0 (Barragan-Ramirez et al., 2015) |
| Lexicographic product | 1 is expressed via 2, true twin classes, and 3 (Barragán-Ramírez et al., 2016) |
For corona products, two complementary descriptions coexist. One expresses the parameter directly through local adjacency dimension: 4 (Rodríguez-Velázquez et al., 2013). Another reduces the problem to 5: if the vertex of 6 does not belong to any local metric basis of 7, then
8
while if it does belong to a local metric basis of 9, then
0
for connected 1 of order 2 (Rodriguez-Velazquez et al., 2013). A common misconception is that coronas always scale with 3; in fact, the exact multiplier is governed either by 4 or by 5, depending on the formulation (Rodríguez-Velázquez et al., 2013).
For generalized hierarchical products 6, one has a distance formula separating the 7- and 8-coordinates, and under the hypothesis that 9 contains a local metric basis contained in 0,
1
Special cases include the Cartesian product: 2 and, when 3 is bipartite,
4
For strong products, the distance formula
5
drives both universal and structure-sensitive estimates. Besides the general upper bound already listed, the theory includes exact infinite families. For any connected bipartite graph 6 and any integer 7,
8
and for any connected bipartite graph 9 and any integer 00,
01
(Barragan-Ramirez et al., 2015).
Decomposition methods go beyond products. For graphs built by point-attaching from primary subgraphs 02, the general formula
03
reduces the global computation to contributions from the non-bipartite primary subgraphs (Rodríguez-Velázquez et al., 2014). In particular, if 04 is the only non-bipartite primary subgraph, then
05
(Rodríguez-Velázquez et al., 2014). For subgraph-amalgamation under isometric embedding, the literature proves
06
with refinements via co-traversals and covers (Barragan-Ramirez et al., 2015).
5. Sharp upper bounds in 2025 and equality constructions
The central recent development is the confirmation of the clique-number conjecture asserting that for graphs with
07
the local metric dimension should satisfy
08
The decisive step was to prove the stronger adjacency version: 09 for graphs with 10 and 11. Because
12
this immediately yields
13
in full generality (Ghalavand et al., 18 Jul 2025).
The proof is constructive and combinatorial. It partitions the vertex set into classes determined by maximal collections of induced subgraphs isomorphic to
14
where 15 denotes the graph obtained from 16 by removing 17 edges incident with a common vertex. A local adjacency resolving set 18 is then built through 19 processes. At each stage, all but one or all but two vertices are selected from suitable clique-like induced subgraphs, and structural observations labeled (I)–(V) prevent the formation of larger cliques in the residual graph (Ghalavand et al., 18 Jul 2025). This suggests that the sharp coefficient 20 is not merely extremal but reflects a persistent “almost-all-vertices from near-cliques” mechanism.
Equality is attained by infinitely many graphs. For integers 21 and 22, let 23 be formed from 24 disjoint copies of 25 by identifying one vertex from each copy into a single common vertex. Then
26
and
27
while
28
Hence the upper bound is sharp (Ghalavand et al., 18 Jul 2025).
The small-clique cases were established separately and sharply. For 29-free graphs, equivalently 30, one has
31
which proves the conjectured 32 case and resolves positively the planar-graph problem in the 33 regime (Ghalavand et al., 31 May 2025). Equality holds for infinitely many planar graphs of odd order 34, namely
35
for which
36
(Ghalavand et al., 31 May 2025).
For 37-free graphs, the sharp bounds are
38
39
40
The 41 case is obtained through a five-stage constructive argument based on maximum vertex-disjoint induced copies of six small graphs 42, followed by isolated vertices 43 (Ghalavand et al., 18 Jul 2025). The bounds are sharp for planar graphs; for example,
44
satisfies 45, is planar, and attains
46
(Ghalavand et al., 18 Jul 2025). The 2025 global theorem subsumes these earlier cases while preserving the equality phenomenon (Ghalavand et al., 18 Jul 2025).
6. Fractional extensions, applications, and adjacent directions
A fractional relaxation replaces characteristic vectors of local resolving sets by weights. For an edge 47, the local resolving neighborhood is
48
and a function 49 is a local resolving function if
50
The minimum value of 51 is the fractional local metric dimension 52 (Benish et al., 2018). Equivalent notation using 53 for adjacent pairs is also standard (Ali et al., 2021).
The fractional parameter satisfies
54
55
where
56
and
57
(Ali et al., 2021). A sharp extremal characterization is
58
and for vertex-transitive graphs,
59
Fractional local metric dimension has its own product theory. For strong products,
60
while for Cartesian products,
61
(Benish et al., 2018). On rotationally symmetric planar graphs obtained by edge coalescence of chorded cycles, exact values and asymptotically bounded families have been established; for instance,
62
and many pentagonal and hexagonal families have upper bounds tending to 63 as 64 (Ali et al., 2021). On Toeplitz and zero-divisor graphs, upper-bound sequences fall into constant, bounded, and unbounded families; examples of constant families include
65
and
66
Applications repeatedly cited for local metric dimension and its variants include network discovery and verification, robot navigation, chemistry, graphs arising in mathematical chemistry, and a delivery-services customer-coding model in which customers are assigned codes built from family-name initials and local metric representations (Salman et al., 2014). In that model, the advantage is that local metric dimension always satisfies
67
so local codes can be at least as compact as classical metric-dimension codes, and for bipartite graphs one has 68 while 69 can be arbitrarily large (Klavžar et al., 2019).
Taken together, these developments position local metric dimension as a structurally rich relaxation of metric dimension: it is weak enough to admit sharp clique-dependent bounds, product formulas, and compact ILP models, yet strong enough to encode nontrivial geometry, twin structure, and local identifiability across a wide range of graph classes (Ghalavand et al., 18 Jul 2025).