NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Extremal graphs for the identifying code problem

Florent Foucaud, Eleonora Guerrini, Matjaz Kovse, Reza Naserasr, Aline Parreau, Petru Valicov · DOI

Abstract

The identifying code problem involves finding a minimum subset of vertices that uniquely identifies every vertex in a graph through its neighborhood. For a twin-free graph of order $n$, it is known that the maximum size of a minimum identifying code is $n-1$. This paper provides a complete classification of both finite and infinite graphs that reach these extremal limits. By introducing the $A_k$ family of graphs and the $\Psi(H, \rho)$ construction, the authors disprove previous conjectures and establish new upper bounds for identifying code size based on the maximum degree $\Delta$.

Introduction

In network topology and fault diagnosis, an identifying code $C$ is a subset of vertices such that for every vertex $x$, the set of its neighbors in $C$ (including itself) is non-empty and unique. The minimum size of such a code is denoted by $\gamma^{ID}(G)$. For "twin-free" graphs—where no two vertices share the same neighborhood—the upper bound $\gamma^{ID}(G) \leq n-1$ was established, but the specific graphs attaining this bound remained partially classified. This research provides a definitive characterization of these extremal cases and explores the relationship between code size and graph degree.

Methodology

The authors utilize structural graph theory to classify extremal graphs. Key methods include:

  • Inductive Constructions: Employing a "join" operation ($\bowtie$) to build complex extremal graphs from simpler components.
  • The $A_k$ Family: Defining a specific class of graphs related to powers of paths that serve as fundamental building blocks for finite extremal graphs.
  • Infinite Graph Analysis: Extending the classification to infinite graphs to identify structures where the entire vertex set is necessary for identification.
  • Combinatorial Bounds: Using $k$-independent sets to derive new upper bounds for $\gamma^{ID}(G)$ in terms of the maximum degree $\Delta$.

Characterization of Extremal Graphs

A central contribution of this work is the classification of finite connected graphs where $\gamma^{ID}(G) = n-1$. The authors show that these graphs are not limited to stars or cliques but include a much broader family.

An example of a finite extremal graph structure where nearly all vertices are required for an identifying code.

Theorem 14 formally classifies these finite graphs as belonging to a set composed of stars ($K_{1,t}$), the $A_k$ family, and their various joins. This disproves earlier, more restrictive conjectures regarding the nature of $n-1$ graphs.

For infinite graphs, the authors characterize those requiring the entire vertex set for an identifying code. This is achieved through the $\Psi(H, \rho)$ construction, which produces highly symmetric and interconnected graphs.

The transformation $\Psi$ used to construct infinite extremal graphs from a base graph $H$ and a matching $\rho$.

Degree-Based Upper Bounds

Beyond classification, the paper investigates how the maximum degree $\Delta$ influences the size of identifying codes. The authors demonstrate that as graphs become more "spread out" (lower $\Delta$), the required code size relative to $n$ decreases. They establish new bounds for twin-free graphs:

  • General graphs: $\gamma^{ID}(G) \leq n - \frac{n}{\Theta(\Delta^5)}$
  • $\Delta$-regular graphs: $\gamma^{ID}(G) \leq n - \frac{n}{\Theta(\Delta^3)}$

These results provide a more nuanced understanding of identifying codes in large-scale networks compared to the global $n-1$ bound.

Conclusion

This paper provides a comprehensive structural analysis of extremal graphs for the identifying code problem. While the finite and infinite cases are now well-characterized, several open questions remain. The classification of extremal graphs for $r$-identifying codes (where vertices identify each other at distance $r > 1$) is significantly more complex. Furthermore, while new degree-based bounds are established, the authors suggest that tighter bounds, such as $n - n/\Delta$, may be possible.

Summary updated

BibTeX
@article{foucaud2011extremal,
  author = {Florent Foucaud and Eleonora Guerrini and Matjaz Kovse and Reza Naserasr and Aline Parreau and Petru Valicov},
  title = {{Extremal graphs for the identifying code problem}},
  journal = {Eur. J. Comb.},
  year = {2011},
  doi = {10.1016/j.ejc.2011.01.002},
}
Figure