Grafik izomorfizmi karekök sınırlı nondeterminizm ile karar verilebilir mi?


30

Sınırlı nondeterminizm, fonksiyonunu , yeni bir g - C sınıfı oluşturmak için, kaynağa bağlı deterministik Turing makineleri tarafından kabul edilen dillerin Cg(n) sınıfı ile ilişkilendirir . Bu sınıf, bazı tanımlayıcı olmayan Turing makinesi M tarafından kabul edilen ve C'yi tanımlamak için kullanılan kaynak sınırlarına uyan dillerden oluşur , ancak M'nin en fazla g ( n ) özgün olmayan hareketler yapmasına izin verilir . (Kintala ve Fischer orjinalinin yerine Goldsmith, Levy ve Mundhenk notalarını kullanıyorum ve girdinin boyutu.)CgCMCMg(n)n

Benim sorum:

GRAPH ISOMORPHISM'in içinde olduğu bir sabiti var mı?c0 -PTİMcnPTIME?

(Edit: Joshua Grochow pointed out that a positive answer to this question would imply an algorithm for GI that has better asymptotic runtime bounds than are currently known. I would therefore be happy to relax the bound, allowing o(nlogn) nondeterministic moves.)


Background

For every fixed constant c0, PTIME=clogn-PTIME, as clogn nondeterministic moves create at most a polynomial number of configurations to explore deterministically. Moreover NP=cnc-PTIME, and by means of padding one can exhibit NP-complete languages in nε-P for every ε>0.

Kintala and Fischer observed that deciding if an input graph with vertices V has a (|V|/3)-clique is NP-complete, but is in O(n)-PTIME. To see this, discard the vertices which have at most |V|/32 neighbours. If there are too few remaining vertices, then reject. Otherwise the remaining vertices form a graph of size Ω(|V|2). Then guess a |V|/3-subset of vertices using |V|=O(n) nondeterministic steps and verify that they form a clique in polynomial time.

Some other languages L of dense graphs in NP are also in O(n)-PTIME. This is the case for any problem where a subset of the vertices serves as a certificate, and the size of the input graph is Ω(|V|2). Examples are the promise versions of Induced Path or 3-Colouring for the case of dense graphs. Other problems seem to require larger certificates, for instance a list of vertices defining a Hamiltonian circuit seems to require Ω(|V|log|V|) bits. It is not clear to me whether one could use an amount of nondeterminism that is too small to guess the certificate to decide such problems.

Given that nε-P can contain NP-complete languages, it then seems interesting to ask where in the bounded nondeterminism hierarchy potentially easier languages fall. One might expect GI, as a language that does not seem to be NP-complete, to be in the hierarchy closer to logn-P than to n-P. However, the obvious certificate for GI specifies the map using |V|log|V| bits, which is ω(n).

Another way to think about this question: is specifying a map between the sets of vertices a shortest possible certificate for GI?

Edit: Some further (corrected) remarks follow, to address the comments of Joshua Grochow.

If a certificate uses f(n)=Ω(logn) bits and can be checked in polynomial time, then brute force gives an algorithm for GI taking poly(n)2O(f(n))=2O(f(n)) time. With a certificate of size O(n), brute force gives an algorithm taking 2O(n) time, while a certificate of size O(nlogn) yields a brute force approach taking 2O(nlogn) time. The long-standing upper bound of Luks is 2O(nlogn) time, which is between these two bounds up to constant exponents.

These considerations suggest that there might be an alternative approach to GI. The approach of Luks seems to rely at its core on identifying a subset of generators of an associated group. A nondeterministic machine might therefore guess a subset of the group. These subsets could then be checked exhaustively to yield a deterministic algorithm. If the list of elements can be specified succinctly, either because the associated group is never much larger than the size of the graph, or because the number of generators required is always small, and checking each candidate subset does not take too long, then this might yield an alternative approach to GI.

  • Chandra M. R. Kintala and Patrick C. Fischer, Refining Nondeterminism in Relativized Polynomial-Time Bounded Computation, SIAM Journal on Computing 9(1), 46–53, 1980. doi:10.1137/0209003
  • Judy Goldsmith, Matthew A. Levy, Martin Mundhenk, Limited nondeterminism, SIGACT News 27(2), 20–29, 1996. doi:10.1145/235767.235769
  • László Babai and Eugene M. Luks, Canonical Labeling of Graphs, STOC 1983, 171–183. doi:10.1145/800061.808746

So, if the graph is given as adjacency matrix of size n2 does that mean I can make a linear number of non-deterministic moves w.r.t to the vertex set size n?
John D.

@user17410: Yes, the representation should not matter too much, as long as the size of any instance is O(|V|2). (If they are unreasonably padded to have size Ω((|V|log|V|)2) then of course the square root bound is enough.)
András Salamon

4
I think you may be asking for an algorithm better than the best known... If I understand, a O(n)PTIME algorithm would yield a 2O(n) deterministic algorithm. The current best known deterministic algorithm takes time 2O(nlog2n).
Joshua Grochow

@AndrásSalamon: Brute force = n!poly(n)2O(nlogn) NOT 2O(nlog2n)... Also, I don't see why a certificate of size n leads to a brute force algorithm of time 2nlogn rather than 2O(n) - can you elaborate? Maybe I am missing something in the definition of the "PTIME" notation?
Joshua Grochow

1
@MohammadAl-Turkistany: Maybe, but I'll have to think about it a bit. There are points in Babai's algorithm where, once the color-degree is below polylog it applies the bounded-deg GI test, as in the previous best algorithm, and it's not clear if one can either make the polylog deg GI test into polylog-bounded nondeterminism, or whether one can continue Babai's recursion further to get the degree down to, say, constant color-degree. If and when I figure that out I'll update my answer - if you have thoughts on this I'm happy to chat, but this is probably not the right place to work through it.
Joshua Grochow

Yanıtlar:


8

First, (as has now been edited into the question statement) a positive answer to your question would immediately improve the state of the art in worst-case bounds for graph isomorphism. For a O(n)PTIME algorithm yields a 2O(n)-time deterministic algorithm, but the current best known for GI is only 2O(nlogn)

Second, it is not even immediately clear to me whether or not the current best algorithm is in fact a O(nlogn)PTIME algorithm, although the first part of it clearly is, in some sense. The algorithm first guesses a set of vertices of size n/logn to individualize (Zemlyachenko's trick - see here for an exposition in English), which can be done by guessing nlogn bits nondeterministically. However, after guessing those and individualizing (in deterministic poly time), it applies the best-known bounded-degree isomorphism test, which takes time nO(d/logd) (Theorem 9.1 of this paper), and applies it in the case of d=O(nlogn). I'd have to think carefully about whether the latter algorithm could be turned into a O(nlogn)PTIME algorithm (seems like an interesting question...)


Do you have links to versions not behind a paywall? I have never seen an actual implementation of Zemlyachenko's trick or the bounded degree isomorphism test. Partitioning vertices by degree like NAUTY speeds things up, but those with the same degree you still have to check all prime cycle permutations on them AFIK.
Chad Brewbaker

@Chad: I'm unfortunately not aware of non-paywalled versions of those articles. However, Zemlyachenko's trick is quite simple to implement in practice and essentially reduces the degree. For practical implementation of Zemlyachenko's trick, i think the only question is the trade-off between enumerating sets of vertices to individualize (exponential in the size of the set) and any potential gains made by effectively reducing the degree. I do not know if it is actually implemented in NAUTY or other practical isomorphism algorithms.
Joshua Grochow

@Chad: By the way, testing prime cycle permutations only suffices for detecting a nontrivial automorphism; it does not suffice for testing isomorphism. For example, if G is a graph without nontrivial automorphisms, let π be any permutation - not necessarily a prime cycle. Then π(G) is isomorphic to G, and π is the only isomorphism between G and π(G). But this isomorphism would not be detected by only considering prime cycles.
Joshua Grochow

At the cost of doubling n, ISO can be computed with AUT by putting both graphs in an adjacency matrix.
Chad Brewbaker

@Chad: If you do that, then there are already n! prime-cycle permutations of order 2, so you've lost any potential savings. This is related to the fact that the reduction you describe is from ISO to computing a generating set for the automorphism group. There is no known poly-time reduction from ISO to the problem of merely deciding whether a graph has a nontrivial automorphism.
Joshua Grochow
Sitemizi kullandığınızda şunları okuyup anladığınızı kabul etmiş olursunuz: Çerez Politikası ve Gizlilik Politikası.
Licensed under cc by-sa 3.0 with attribution required.