Jump to content

Graph canonization

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Altenmann (talk | contribs) at 20:43, 13 November 2008 (initial incomplete text with sufficient context and shape). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Graph canonization is finding a canonical form of a graph G, which is a graph Canon(G) isomorphic to G such that Canon(H)=Canon(G) if and only if H is isomorphic to G. The canonical form of a graph is an example of a compete graph invariant. [1][2] Since the vertex sets of (finite) graphs are commonly identified with the intervals of integers 1,..., n, where n is the number of the vertices of a graph, a canonical form of a graph is commonly called canonical labeling of a graph. [3]

A commonly known canonical form is the lexicographically smallest graph within the isomorphism class, which is the graph of the class with lexicographically smallest adjacency matrix considered as a linear string.

Computational complexity

Clearly, the graph canonization problem is at least as computationally hard as the graph isomorphism problem. In fact, Graph Isomorphism is evenAC0-reducible to Graph Canonization. However it is still an open question whether the two problems are polynomial time equivalent.[2]

While existence of (deterministic) polynomial algorithms for Graph Isomorphism is still an open problem in the computational complexity theory, in 1977 Laszlo Babai reported that a simple vertex classification algorithm after only 2 refinement steps produces a canonical labeling of an n-vertex random graph with probability 1-exp(O(n)). It shed some light on the fact why many reported graph isomorphism algorithms behave well in practice. [4] This was an important breakthrough in probabilistic complexity theory which became widely known in its manuscript form and which was still cited as an "unpublished manuscript" long after it was reported at a symposium.

The computation of the lexicographically smallest graph is NP-complete.[1]

Applications

Graph canonization is the essence of many graph isomorphism algorithms.

A common application of graph canonization is in graphical data mining, in particular in chemical database applications.[5]

A number of identifiers for chemical substances, such as SMILES and InChI, designed to provide a standard and human-readable way to encode molecular information and to facilitate the search for such information in databases and on the web, use canonization step in their computation, which is essentially the canonization of the graph which represents the molecule.

References

  1. ^ a b "A Logspace Algorithm for Partial 2-Tree Canonization"
  2. ^ a b "the Space Complexity of k-Tree Isomorphism"
  3. ^ Laszlo Babai, Eugene Luks, "Canonical labeling of graphs", Proc. 15th ACM Symposium on Theory of Computing, 1983, pp. 171-183.
  4. ^ L. Babai, "On the Isomorphism Problem", unpublished manuscript, 1977
  5. ^ "Mining Graph Data", by Diane J. Cook, Lawrence B. Holder (2007) ISBN 0470073039, pp. 120-122, section 6.2.1. "Canonical Labeling"