Papers
Topics
Authors
Recent
2000 character limit reached

Identifying Code in Graphs

Updated 3 December 2025
  • The identifying code problem is a graph problem that requires every vertex to have a unique intersection with a minimal dominating set based on its closed neighborhood.
  • It is widely applicable in fault diagnosis, sensor placement, and network verification, and it contrasts with locating-dominating sets.
  • The problem is NP-complete in general, with known bounds and special polynomial-time solutions in restricted graph families.

An identifying code (IC) problem on a graph asks for a minimum-cardinality subset of vertices (an "identifying code") such that the sets of neighbors in the code uniquely identify all vertices, including those in the code itself. This concept is a central object in combinatorial search, fault diagnosis, network verification, and sensor location schemes. The identification requirement is stricter than that for a locating-dominating set: in an identifying code, every vertex—both inside and outside the code—must have a unique intersection with the code in its closed neighborhood.

1. Fundamental Notions and Formal Definitions

Let G=(V,E)G = (V, E) be a simple, undirected, finite graph. For each vVv \in V, the open neighborhood is N(v)={uV:uvE}N(v) = \{ u \in V : uv \in E \}, and the closed neighborhood is N[v]=N(v){v}N[v] = N(v) \cup \{ v \}.

  • Identifying Code: A set CVC \subseteq V is an identifying code if, for every vVv \in V, the set N[v]CN[v] \cap C is nonempty (dominating property), and for any two distinct vertices u,vVu, v \in V, N[u]CN[v]CN[u] \cap C \neq N[v] \cap C (identification property). The identifying code number γID(G)\gamma_{ID}(G) is the minimum cardinality of an identifying code.

This is a special case in the broader landscape of separating systems; related notions include locating-dominating sets, which only require identification of non-code vertices (Balbuena et al., 2014).

2. Identifying Code vs. Locating-Dominating Set

While both identifying codes and locating-dominating sets require domination and distinguishability, the key distinction is:

  • Locating-Dominating Set: Only requires that vertices outside the set are distinguished (i.e., for all uvVDu \neq v \in V \setminus D, N(u)DN(v)DN(u) \cap D \neq N(v) \cap D), and only dominates VDV \setminus D (Foucaud et al., 2014, Foucaud et al., 2015).
  • Identifying Code: Requires that all vertices (including code vertices themselves) are distinguished by their closed neighborhood code intersections, and that every vertex is dominated (Balbuena et al., 2014).

In symbol: C is an identifying code    {vV:N[v]C uvV:N[u]CN[v]CC \text{ is an identifying code} \iff \begin{cases} \forall v \in V: N[v] \cap C \neq \emptyset\ \forall u \neq v \in V: N[u] \cap C \neq N[v] \cap C \end{cases}

3. Existence, Structure, and Extremal Bounds

Existence

Not every graph admits an identifying code. For instance, graphs with twins—vertices with the same closed neighborhood—cannot have an identifying code, because the intersection N[u]C=N[v]CN[u] \cap C = N[v] \cap C for all CC.

  • Therefore, twin-freeness (no two vertices share the same closed neighborhood) is a necessary and sufficient condition for the existence of an identifying code.

Classic Bounds

  • For a graph GG of order nn and maximum degree Δ\Delta, every identifying code must satisfy

γID(G)nΔ+1\gamma_{ID}(G) \ge \frac{n}{\Delta + 1}

mirroring classic domination lower bounds (Balbuena et al., 2014, Foucaud et al., 2014).

  • For regular graphs, there exist standard constructions showing γID(G)=Θ(n)\gamma_{ID}(G) = \Theta(n).
  • For graphs of girth at least 5 (i.e., no cycles of length 3 or 4), both the location-domination number and the identifying code number are n/2\leq n/2 (Balbuena et al., 2014).

Extremal Examples

  • Infinite families exhibit tightness: For instance, cycles C6C_{6} and Cartesian products such as certain grids demonstrate that the maximum possible identifying code density cannot be improved beyond known bounds in specific structures (Balbuena et al., 2014).

4. Algorithmic Complexity

The identifying code problem is computationally intractable in the general case:

  • NP-Completeness: Determining whether a graph has an identifying code of size at most kk is NP-complete, even in restricted graph classes (Jean et al., 2022, Cappelle et al., 2020).
  • Parameterized Complexity: No 2o(dlogd)2^{o(d \log d)}-time algorithm exists unless ETH fails when parameterized by the code size dd, and essentially no subexponential kernel exists for standard structural parameterizations (Cappelle et al., 2020).
  • Polynomial-Time Cases: Identifying codes can be computed in polynomial time in specific graph families—such as trees or graphs of bounded clique-width—where efficient dynamic programming is possible (Cappelle et al., 2020).

5. Extensions and Fault Tolerance

Identifying codes serve as a foundation for more robust network monitoring schemes:

  • Redundant Identifying Codes: Codes that tolerate failures by separating vertices via kk-tuples or “error-correcting” versions (each vertex is covered by many codewords and distinguished after removal/errors) (Jean et al., 2022, Jean et al., 2022, Jean et al., 2022).
  • Hypergraphs and Variants: The concept extends to hypergraphs, with similar domination and identification axioms; the primary obstacle to existence remains the twin-free condition (now defined with respect to edge-sets) (Fazil et al., 2014).
  • Oriented Graphs (Digraphs): The identifying code problem can be formulated in digraphs with suitable replacement of the neighborhood function by the in-neighbor relation; complexity and structural questions persist (Foucaud et al., 2019, Bousquet et al., 2021).

The identifying code number γID(G)\gamma_{ID}(G) is tightly connected to several other graph invariants:

Parameter Definition (informal) Relationship to IC
Domination number Smallest set dominating all vertices γID\leq \gamma_{ID}
Location-domination number Smallest dominating set uniquely identifying non-code nodes γID\leq \gamma_{ID}
Metric dimension Smallest set of basepoints distinguishing all vertices by distance vectors Can be smaller than IC

Identifying codes subsume locating-dominating sets (if the graph is twin-free), and both are related to classical separating systems and metric-based identification schemes. The difference between the metric dimension and the identifying code number is a subject of ongoing investigation (Foucaud et al., 2014).

7. Open Problems and Research Directions

Several major questions remain central in the theory of identifying codes:

  • Tight Upper Bounds: For which graph classes is γID(G)n/2\gamma_{ID}(G) \leq n/2, and can this be improved for general twin-free graphs? This echoes the major conjecture for locating-dominating sets (Foucaud et al., 15 Jun 2025, Bousquet et al., 2024).
  • Characterization of Extremal and Realizable Families: Classifying all connected twin-free graphs with γID(G)=n/2\gamma_{ID}(G) = n/2, or realizing given code sizes within diverse topological constraints (Foucaud et al., 2014, Balbuena et al., 2014).
  • Efficient Algorithms in Special Classes: Identification of additional classes—such as cographs, interval graphs, or claw-free graphs—where polynomial-time identifying code algorithms exist (Cappelle et al., 2020).
  • Robustness and Error-Correction: Investigating error-correcting and redundant variants of identifying codes, especially minimum-density constructions in standard infinite grids (Jean et al., 2022, Jean et al., 2022, Jean et al., 2022).
  • Isolation in Hypergraphs and Directed Graphs: Transferring and adapting results on identification from undirected graphs to hypergraphs and digraphs, including structural and algorithmic aspects (Fazil et al., 2014, Foucaud et al., 2019).

Identifying codes remain a central challenge in structural combinatorics and algorithmic graph theory, with deep connections to network monitoring, combinatorial search, and information theory.

Topic to Video (Beta)

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Identifying Code (IC) Problem.