A polynomial-time randomized reduction from tournament isomorphism to tournament asymmetry
Pascal Schweitzer

TL;DR
This paper introduces a new randomized polynomial-time reduction from tournament isomorphism to tournament automorphism, advancing understanding of the computational complexity of these problems.
Contribution
It presents the first randomized polynomial-time reduction from tournament isomorphism to automorphism, utilizing a novel technique for extracting characteristic subsets from random samples.
Findings
First such reduction for a combinatorial object without a known polynomial-time isomorphism solution.
Develops a new technique for characteristic subset extraction from random sources.
Advances the complexity theory of tournament isomorphism and automorphism problems.
Abstract
The paper develops a new technique to extract a characteristic subset from a random source that repeatedly samples from a set of elements. Here a characteristic subset is a set that when containing an element contains all elements that have the same probability. With this technique at hand the paper looks at the special case of the tournament isomorphism problem that stands in the way towards a polynomial-time algorithm for the graph isomorphism problem. Noting that there is a reduction from the automorphism (asymmetry) problem to the isomorphism problem, a reduction in the other direction is nevertheless not known and remains a thorny open problem. Applying the new technique, we develop a randomized polynomial-time Turing-reduction from the tournament isomorphism problem to the tournament automorphism problem. This is the first such reduction for any kind of combinatorial object not…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
A polynomial-time randomized reduction from tournament isomorphism to tournament asymmetry
Pascal Schweitzer
RWTH Aachen University
Abstract
The paper develops a new technique to extract a characteristic subset from a random source that repeatedly samples from a set of elements. Here a characteristic subset is a set that when containing an element contains all elements that have the same probability.
With this technique at hand the paper looks at the special case of the tournament isomorphism problem that stands in the way towards a polynomial-time algorithm for the graph isomorphism problem. Noting that there is a reduction from the automorphism (asymmetry) problem to the isomorphism problem, a reduction in the other direction is nevertheless not known and remains a thorny open problem.
Applying the new technique, we develop a randomized polynomial-time Turing-reduction from the tournament isomorphism problem to the tournament automorphism problem. This is the first such reduction for any kind of combinatorial object not known to have a polynomial-time solvable isomorphism problem.
1 Introduction.
The graph automorphism problem asks whether a given input graph has a non-trivial automorphism. In other words the task is to decide whether a given graph is asymmetric. This computational problem is typically seen in the context of the graph isomorphism problem, which is itself equivalent under polynomial-time Turing reductions to the problem of computing a generating set for all automorphisms of a graph [18]. As a special case of the latter, the graph automorphism problem obviously reduces to the graph isomorphism problem. However, no reduction from the graph isomorphism to the graph automorphism problem is known. In fact, while many computational problems surrounding structural equivalence of combinatorial objects can all be Turing-reduced to one another, the relationship between the graph automorphism and the graph isomorphism problem remains a repeatedly posed open question (see for example [1, 2, 13, 15]).
With Babai’s new ground-breaking algorithm [8] that solves the graph isomorphism problem and thereby also the graph automorphism problem in quasi-polynomial time, the question arises whether it is possible to go further and devise a polynomial-time algorithm. For such an endeavor to succeed, special cases such as the group isomorphism and the tournament isomorphism problem, for which the currently fastest algorithms have a running time of , should also be solvable in polynomial time. Tournaments, which are graphs in which between every pair of vertices there exists exactly one directed edge, also have an automorphism problem associated with them, asking whether a given tournament is asymmetric111Many publications in the context of graph isomorphism use the term rigid graph. However, the literature is inconsistent on the notion of a rigid graph, which can for example refer to having no non-trivial automorphism or no non-trivial endomorphism. We will use the notion asymmetric, which only ever means the former. Furthermore, we suggest the name graph asymmetry problem over graph automorphism problem, so as not to confuse it with the computational problem to compute the automorphism group.. Again, for this problem the currently best running time is and analogously to general graphs there is a simple reduction from the automorphism problem to the isomorphism problem, but no reverse reduction has been known.
In this paper we show that there is a randomized polynomial-time Turing reduction from the tournament isomorphism problem to the tournament automorphism problem. This is the first such reduction for any kind of combinatorial object (apart from polynomial-time solvable cases of course).
The main new technical tool that we develop in the first part of the paper is a technique to exploit an oracle to the graph automorphism problem in order to obtain a non-trivial automorphism-invariant partition of a graph that is finer than the orbit partition (Sections 2–5). We call the parts of such a partition suborbits. This technique is essentially applicable to all graph classes, not just tournaments. It hinges on a method to extract a characteristic subset from a random source that repeatedly samples from a set of elements. Here we say that a set is characteristic if it is a union of level sets of the probability function.
In the second part of the paper we show that, for tournaments, access to suborbits suffices to compute automorphism groups (Section 6). For this we adapt the group-theoretic divide and conquer approach of Luks [17] to our situation. In this second part we exploit that the automorphism group of tournaments is solvable and we leave it as an open question whether something similar can be forged that is applicable to the group isomorphism problem (see Section 7).
It might be worth noting that the techniques actually do not use any of the new structural insights from the quasi-polynomial-time algorithm of [8]. Rather, the randomized sampling idea is heavily based on an older practical randomized algorithm designed to quickly detect non-isomorphism ([16, 22]). It appears to be one of the few cases where randomization helps to derive a theoretical result for an isomorphism problem. We also borrow some ideas from a paper of Arvind, Das, and Mukhopadhyay concerned with tournament canonization [5].
The necessity for randomization to obtain theoretical results in the context of isomorphism checking appears to be quite rare. The earliest result exploiting randomization seems to go to back to Babai [6] and is a randomized algorithm for checking isomorphism of graphs of bounded color class size. However that algorithm is actually a Las Vegas algorithm (an algorithm that does not make errors), and in the meantime deterministic algorithms are available [12]. However, for the new reduction in this paper it seems unclear how to remove the use of randomization and even how to remove the possibility for errors.
1.1 Related work:
With respect to related work, we focus on results concerning graph automorphism as well as results concerning tournaments and refer the reader to other texts (for example [7, 8, 15, 19, 23]) for a general introduction to the graph isomorphism problem, current algorithms and overviews over complexity theoretic results.
(Tournament automorphism) Let us start by highlighting two results specifically concerned with the tournament automorphism problem. Arvind, Das, and Mukhopadhyay [5] show that if tournament isomorphism is polynomial-time solvable then tournament canonization can be reduced in polynomial time to canonization of asymmetric tournaments. This implies now, with the result of the current paper, that from a canonization algorithm for asymmetric tournaments we can obtain a randomized canonization algorithm for tournaments in general. (In other words, the main theorem of our paper transfers to canonization.) On the hardness side, Wager [25, 27] shows that tournament automorphism is hard for various circuit complexity classes (, , , , ) under reductions.
(Graph automorphism) A lot of information on the complexity of graph automorphism can be found in the book by Köbler, Schöning, and Torán [15]. Concerning hardness of the automorphism problem, improving previous results of Torán [24], Wagner shows hardness results for graphs of bounded maximum degree [26, 27]. Agrawal and Arvind show truth table equivalence of several problems related to graph automorphism [1] and Arvind, Beigel, and Lozano study modular versions of graph automorphism [4] which for ask whether the number of automorphisms of a given graph is divisible by .
The graph automorphism problem is of interest in quantum computing since it can be encoded as a hidden shift problem, as opposed to the graph isomorphism problem that is only known to be encodable as a hidden subgroup problem [11, 14].
Recently, Allender, Grochow, and Moore [2] developed a zero-error randomized reduction from graph automorphism to , the problem of minimizing time-bounded Kolmogorov complexity, a variant of the minimum circuit size problem. In that paper they also extend this to a bounded-error randomized reduction from graph isomorphism to .
(Tournament isomorphism) Concerning the tournament isomorphism problem, the currently fastest algorithm [9] has a running time of . With respect to hardness, Wagner’s results for tournament automorphism also apply to tournament isomorphism [25].
Ponomarenko showed that isomorphism of cyclic tournaments can be decided in polynomial time [20], where a cyclic tournament is a tournament that has an automorphism that is a permutation with a single cycle spanning all vertices. Furthermore he showed that isomorphism of Schurian tournaments can be decided in polynomial time [21].
2 Sampling characteristic subsets.
Let be a finite set. We define a sampler over to be a probability measure on the elements of . We think of a sampler as an oracle that we can invoke in order to obtain an element of . That is, given a sampler, we can sample a sequence of elements where each is sampled independently from according to .
We call a subset of characteristic with respect to if for all it holds that and implies . Another way of formulating this condition is that is invariant under all probability-preserving bijections , that is, those bijections that satisfy for all .
When considering sampling algorithms we will not assume that we know the size of the set . Our goal is to repeatedly invoke a sampler so as to find a characteristic subset. The main difficulty in this is that we can never precisely determine the probability of an element . Indeed, the only thing we can hope for is to get a good estimate for such a probability. The following lemma indicates that this might be helpful since the set of probabilities cannot be arbitrarily dense.
Lemma 1**.**
Let be a discrete probability measure on the set . Let be the set of probabilities that occur. For every positive integer there is a such that .
Proof.
Suppose for all there is some with . Then whenever , implying in particular . This yields distinct elements . Furthermore for all . Thus yielding a contradiction. ∎
Using the lemma we can design an algorithm that, with high probability, succeeds at determining a characteristic set.
Theorem 2**.**
There is a deterministic algorithm that, given and given access to a sampler over an unknown set of unknown size, runs in expected time polynomial in and and outputs a non-empty subset of that is characteristic with probability .
Proof.
Let and let . First note that and that . Let be the set of values that occur as probabilities of elements in .
The idea of the proof is to sample many times as to get good estimates for probabilities using Chernoff bounds and then to include in the output all elements with a probability above a certain threshold. The main difficulty of the Lemma arises from the fact that is not known to the algorithm. We first describe an algorithm for the situation in which is known which works in such a way so that it can be adapted in the end.
We start by sampling elements from the sampler, where we set . We then compute for each appearing element a probability estimator for its probability by computing where is the number of times that element has been sampled. Let be the set of probability estimators. Let be the smallest number in such that . If no such element exists, we declare the algorithm as failed. Otherwise, we output . We call the cut-off.
We analyze the probability that this algorithm succeeds in computing a characteristic subset. For this, let us define for whenever does not appear among the sampled elements.
Claim 1.
For each element , the probability that is at most .
Proof.
Consider an experiment where we sample elements according to . We want to bound the probability that the observed deviates from its expected value by at least . This deviation is at least if we set . We can thus use the Chernoff bound (see [3, Corollary A.15, Page 515]) and conclude that the probability that is at most
[TABLE]
where the second inequality uses the fact .
Define as the event that for the -th sampled element we have . Thus the event happens if deviates excessively from its expected value.
Claim 2. The probability that there is a such that event occurs is at most .
Proof.
To bound the probability of event , we first consider , the probability of under the condition that the -th sampled element is equal to for some fixed element . Considering that we already know that we need to consider an experiment where we sample times independently from and count the number of times we obtain element . This number is then since the item with number itself adds one to the count of elements equal to . If
[TABLE]
then
[TABLE]
as shown by the simple fact that for positive integers we have and .
Thus in our experiment with trials, the observed value must deviate from its expected value by at least .
From the previous claim we obtain an upper bound of
[TABLE]
where the inequality uses the fact that .
Since this bound is independent of and since was arbitrary, the bound is also an upper for . By the union bound and using , we obtain that the probability that there is a such that happens is at most
[TABLE]
where the last inequality follows since for .
Claim 3. If the algorithm is declared as failed then occurs for some .
Proof.
By Lemma 1 there is an integer such that for all . Define as the event that for the -th sampled element we have . The algorithm can only be declared a failure if event happens for some . However, the event implies the event .
Claim 4. Assuming the algorithm is not declared a failure, the probability that is empty is at most .
Proof.
Since there is an element with . Then the probability that is at most by Claim 2.
Claim 5. If is not characteristic then occurs for some with probability at least .
Proof.
By Claim 2 we can assume that the algorithm was not declared a failure. Note that, if is not characteristic then one of the following three things happens: there is an element with but or there is an element with but , or for an element with . However, by the choice of , we know that . Thus in the first two cases we conclude that event occurs. The third option is that for an element with . There are at most elements with such a probability and for each the probability for is at most . So by the union bound we obtain a total probability of at most .
Combining the claims we obtain that the algorithm fails with probability at most .
Until this point we have assumed that the value of is known to the algorithm. To remedy this we repeatedly run the algorithm with a simple doubling technique. In each iteration we run the described algorithm assuming that . Here we sample elements of . In the next iterations we replace by and repeat. We also replace by . Since , The number of iterations is logarithmic in . The total number of sampled items is at most twice the number of items sampled in the last round. Thus, overall we obtain an algorithm with expected polynomial time. To ensure that we obtain a suitable error bound it suffices to note that the probabilities of Claims 2, 2 and 2 actually decrease when is replaced by an arbitrary smaller number. Skipping the first round, we obtain an error of at most . (Note that this argument in particular comprises the fact that if in an iteration a set is being output by the algorithm it is still characteristic with sufficiently high probability.) ∎
We note several crucial observations about any algorithm solving the problem just described. There is no algorithm that for every set and sampler always outputs the same set with high probability.
Indeed, consider the set . Choosing means that must be . Choosing and implies that must be . However, there is a continuous deformation between these two samplers, while possibilities for the set are discrete. It is not difficult to see that the probability distribution of the output set must be continuous in the space of samplers, and thus, whatever the algorithm may be, there must be samplers for which the algorithm sometimes outputs and sometimes outputs .
Let us also remark that the analysis of the running time of the algorithm is certainly far from optimal. In particular a large constant of arises only from the goal to keep the computations simple and the desire to have a bound that also holds for small values of .
Once one is interested in small running times, one might even ask whether it is possible to devise an algorithm running in time sublinear in . However, recalling the coupon collector theorem and considering uniform samplers one realizes that one cannot expect to make do with samplings. However, if the set is of algebraic nature, for example forms a group, then there might be meaningful ways to sample characteristic substructures (see Section 7).
3 Gadget constructions for asymmetric tournaments
There are several computational problems fundamentally related to the graph isomorphism problem. This relation manifests formally as polynomial-time Turing (or even many-one) reductions between the computational tasks. Such reductions are typically based on gadget constructions which we revisit in this section.
While the graph isomorphism problem asks whether two given graphs are isomorphic, in the search version of this decision problem an explicit isomorphism is to be found, whenever one exits. The graph automorphism problem asks whether a given graph has a non-trivial automorphism (i.e., an automorphism different from the identity). In other words the task is to decide whether the given graph is asymmetric. Two other related problems are the task to determine generators for the automorphism group and the task to determine the size of the automorphism group .
For all named problems there is a colored variant, where the given graphs are vertex colored and isomorphisms are restricted to be color preserving. We denote the respective problems by , and .
It is well known that between all these computational problems – except – there are polynomial-time Turing reductions (we refer for example to [10], [15], [18]). Concerning the special case of , while there is a reduction from to the other problems, a reverse reduction is not known.
The reductions are typically stated for general graphs, but many of the techniques are readily applicable to restricted graph classes. By a graph class we always mean a collection of possibly directed graphs closed under isomorphism. The isomorphism problem for graphs in , denoted , is the computational task to decide whether two given input graphs from are isomorphic. If one of the input graphs is not in the answer of an algorithm may be arbitrary, in fact the algorithm may even run forever. Analogously, for each of the other computational problems that we just mentioned, we can define a problem restricted to giving us for example , and and the colored versions , , and .
As remarked in [5], most of the reduction results for general graphs transfer to the problems for a graph class if one has, as essential tool, a reduction from to .
Theorem 3** (Arvind, Das, Mukhopadhyay [5]).**
Suppose that for a graph class there is a polynomial-time many-one reduction from to (i.e., )222Let us remark for completeness that a Turing reduction assumption actually suffices for the theorem.. Then
* polynomial-time Turing-reduces to (i.e., ),* 2. 2.
The search version of polynomial-time Turing-reduces to the decision version of , and 3. 3.
* polynomial-time Turing-reduces to (i.e., ).*
In this paper we are mainly interested in two classes of directed graphs, namely the class of tournaments and the class of asymmetric tournaments . For the former graph class, a reduction from the colored isomorphism problem to the uncolored isomorphism problem is given in [5].
Theorem 4** (Arvind, Das, Mukhopadhyay [5]).**
The colored tournament isomorphism problem is polynomial-time many-one reducible to the (uncolored) tournament isomorphism problem (i.e., ).
However, for our purposes we also need the equivalent statement for asymmetric tournaments. Taking a closer look at the reduction described in [5] yields the desired result. In fact it also shows that the colored asymmetry problem reduces to the uncolored asymmetry problem. Denoting for a graph class by the class of those graphs in that are asymmetric (i.e., have a trivial automorphism group), we obtain the following.
Lemma 5**.**
The isomorphism problem for colored asymmetric tournaments is polynomial-time many-one reducible to the isomorphism problem for (uncolored) asymmetric tournaments (i.e., ). 2. 2.
The colored tournament asymmetry problem is polynomial-time many-one reducible to the (uncolored) tournament asymmetry problem (i.e., ).
Proof sketch.
In [5] given two colored tournaments and , a gadget construction is described that adds new vertices to each tournament yielding and so that . The authors show that every automorphism of fixes the newly added vertices. However, from the construction it is clear that is asymmetric if and only if is asymmetric, since all vertices that are added must be fixed by every automorphism. This demonstrates both parts of the lemma. We sketch a gadget construction that achieves these properties and leave the rest to the reader. For each the construction is as follows. Suppose without loss of generality that the colors of are with . We add a directed path to the graph. A vertex has as in-neighbor if is the color of . Otherwise is an out-neighbor of . We add two more vertices and to the graph. The only out-neighbor of vertex is . The in-neighbors of are the vertices in . It can be shown that is the unique vertex with maximum in-degree. This implies that and thus all are fixed by all automorphisms. ∎
As mentioned above, reductions for computational problems on general graphs can often be transferred to the equivalent problems restricted to a graph class . However, let us highlight a particular reduction where this is not the case. Indeed, it is not clear how to transfer the reduction from to (which involves taking unions of graphs) to a reduction from to , even when provided a reduction of to . For the class of tournaments however, we can find such a reduction, of which we can make further use.
Lemma 6**.**
The isomorphism problem for tournaments polynomial-time Turing-reduces to the task to compute a generating set for the automorphism group of a tournament (i.e., ). 2. 2.
The isomorphism problem for colored asymmetric tournaments is polynomial-time many-one reducible to tournament asymmetry (i.e., ). 3. 3.
The search version of the isomorphism problem for colored asymmetric tournaments Turing-reduces to tournament asymmetry.
Proof.
Suppose we are given two tournaments and on the same number of vertices for which isomorphism is to be decided. By Theorem 4 we can assume that the tournaments are uncolored. Let be the tournament obtained by forming the disjoint union of the three tournaments , and where . We add edges from all vertices of to all vertices of , from all vertices of to all vertices of and from all vertices of to all vertices of (see Figure 1). We observe that two vertices that are contained in the same of the three sets , , have common out-neighbors. However, two vertices that are not contained in the same of these three sets have at most common out-neighbors. We conclude that an automorphism of preserves the partition of into the three sets , and .
Given a generating set for it holds that there is some generator that maps a vertex from to a vertex from if and only if and are isomorphic. This proves the first part of the lemma.
Suppose additionally that and are asymmetric. We then further conclude that the tournament has a non-trivial automorphism if and only if and are isomorphic. This shows that the decision version of asymmetric tournament isomorphism reduces to tournament asymmetry. Since the search version is Turing-reducible to the decision version of isomorphism (Theorem 3) this finishes the proof. ∎
For Turing reductions, the converse of the previous lemma also holds. In fact the converse holds for arbitrary graph classes.
Lemma 7**.**
Let be a graph class.
The task to compute a generating set for the automorphism group of graphs in Turing-reduces to the isomorphism problem for colored graphs in (i.e., ). 2. 2.
Asymmetry checking for graphs in polynomial-time Turing-reduces to isomorphism checking of asymmetric colored graphs in (i.e., ).
Proof.
The proof of the first part is a well known reduction that already appears in [18]. We can also see it by applying Part 3 of Theorem 3 to the class of colored graphs in .
For the second part, assume we have an oracle for isomorphism checking of colored asymmetric graphs in . Then we also have an oracle for the search-version of isomorphism checking of colored asymmetric graphs in . Indeed, we can find an isomorphism by individualizing more and more vertices in both graphs while keeping the graphs isomorphic. When all vertices are singletons, there is only one option for the isomorphism.
Now let be a graph in . Without loss of generality assume that . For every with we call . Here the notation denotes the graph colored such that the color of is and vertices not in have color 0. (With respect to the partition of the vertices into color classes this is the same as constructing the graph obtained from by individualizing one after the other.) If we find an isomorphism among the calls then this isomorphism is non-trivial since it maps to and thus is not asymmetric. Conversely if is not asymmetric, then let be the least integers for which is asymmetric. Then , (since is always asymmetric) and there is a such that and are isomorphic. This isomorphism will be found by the oracle.
While the oracle can sometimes output incorrect answers, namely when one of the inputs is not asymmetric, is certifying in the sense that we can check whether a given answer is really an isomorphism. Thus, we avoid making any errors whatsoever. ∎
4 Invariant automorphism samplers from asymmetry tests
As discussed before, the asymmetry problem of a class of graphs reduces to the isomorphism problem of graphs in this class. However, whether there is a reduction in the reverse, or whether the asymmetry problem may actually be computationally easier than the isomorphism problem is not known. To approach this question, we now explore what computational power we could get from having available an oracle for the asymmetry problem.
An invariant automorphism sampler for a graph is a sampler over which satisfies the property that if then for all . We first show how to use an oracle for asymmetry to design an invariant automorphism sampler for a tournament .
Lemma 8**.**
Given an oracle for asymmetry of tournaments () we can construct for every given colored (or uncolored) tournament that is not asymmetric an invariant automorphism sampler. The computation time (and thus the number of oracle calls) required to sample once from is polynomial in .
Proof.
Let be an oracle for uncolored tournament asymmetry. By Lemma 5, we can transform the oracle for the asymmetry of uncolored tournaments into an oracle for asymmetry of colored tournaments. By Lemma 6 Part 2, we can also assume that we have an oracle that decides the isomorphism problem of colored asymmetric tournaments. More strongly, Lemma 3 Part 2 makes a remark on the search version, thus we can assume that also solves the isomorphism search problem for asymmetric tournaments.
To obtain the desired sampler we proceed as follows. In the given tournament we repeatedly fix (by individualization, i.e., giving it a special color) uniformly, independently at random more and more vertices until the resulting tournament is asymmetric. This gives us a sequence of colored tournaments such that , and such that for some vertex . In other words, is obtained from by individualizing which makes the graph asymmetric. Using the available oracle , we can compute the set of those vertices in that have the same color as such that . There must be at least one vertex in since is not asymmetric. Using the oracle , we can then compute the subset of those vertices for which and are isomorphic. Next, we pick a vertex uniformly at random. Since both and are asymmetric, using the oracle for the isomorphism search problem we can compute an isomorphism from to . This isomorphism is unique and it is a non-trivial automorphism of . Algorithm 1 gives further details.
(Invariance) The invariance follows directly from the fact that all steps of the algorithm either consist of choosing a vertex uniformly at random or computing an object that is invariant with respect to all automorphisms fixing all vertices that have been randomly chosen up to this point.
(Running time) Concerning the running time, one call of Algorithm 1 uses less than calls to oracle and at most calls to oracle . The overall running time is thus polynomial. ∎
Let us comment on whether the technique of the lemma can be applied to graph classes other than tournaments. For the technique to apply to a graph class , we require the oracle , which solves colored asymmetry , and the oracle which solves the isomorphism search problem for asymmetric colored objects in . (The oracle is a special case of .) In the case of tournaments, having an oracle (i.e., an oracle for uncolored asymmetry) is sufficient to simulate the oracles and , but this is not necessarily possible for all graph classes . It is however possible to simulate such oracles for every graph class that satisfy some suitable (mild) assumptions, as can be seen from the discussion in Section 3. In particular, given an oracle for asymmetry of all graphs we can construct an invariant automorphism sampler for all graphs that are not asymmetric.
5 Invariant suborbits from invariant automorphism samplers
Let be a directed graph. Let be an invariant automorphism sampler for . We now describe an algorithm that, given access to an asymmetry oracle, constructs a non-discrete partition of which is finer than or at least as fine as the orbit partition of under and invariant under . Here, a partition is invariant under if for all . (A partition is discrete if it consists only of singletons.)
Theorem 9**.**
For every , there is a randomized polynomial-time algorithm that, given a graph and an invariant automorphism sampler for constructs with error probability at most a non-discrete partition of such that
* is finer than or at least as fine as the orbit partition of under and* 2. 2.
* is invariant under .*
The algorithm also provides a set of certificates such that for every pair of vertices that lie in the same class of there is some with .
Proof.
Let be the set of pairs of two distinct vertices lying in the same orbit. With the sampler we can simulate a sampler over invariant under as follows. To create an element for we sample an element from and uniformly at random choose an element from the support of . Then the element for is . It follows form the construction that is a sampler for . Moreover, since all random choices are independent and uniform, is invariant under automorphisms.
Using the algorithm from Theorem 2 we can thus compute a characteristic subset of . Since is -invariant, the fact that is characteristic implies that it is also -invariant. For the given , to obtain the right error bound, we choose to be for the algorithm from Theorem 2. Then the error probability is at most and the running time is polynomial in and and thus polynomial in the size of the graph.
Regarding as a binary relation on we compute the transitive closure and let be the partition of into equivalence classes of said closure, where vertices that do not appear at all as entries in form their own class. By construction, elements that are in the same class of are in the same orbit under . Moreover is -invariant since is -invariant.
To provide certificates for the elements in we can store all elements given to us by . For each we can thus compute an automorphism of with . For pairs in the transitive closure of we then multiply suitable automorphisms. ∎
If a partition satisfies the conclusion of the lemma, we call it an invariant collection of suborbits. We call the elements of the certificates. Let us caution the reader that the set returned by the algorithm is not necessarily characteristic. Moreover, the orbits of the elements in might not necessarily be contained within classes of . We call an algorithm an oracle for invariant suborbits if, given a tournament , the algorithm returns a pair constituting invariant suborbits and certificates, in case is not asymmetric, and returns the discrete partition and whenever is asymmetric.
6 Computing the automorphism group from invariant suborbits
To exploit invariant suborbits we make use of the powerful group-theoretic technique to compute stabilizer subgroups.
Theorem 10** (Luks [17]).**
There is an algorithm that, given a permutation group on and subset , computes (generators for) the setwise stabilizer of . If is solvable, then this algorithm runs in polynomial time.
We will apply the theorem in the following form: Let be a graph and a solvable permutation group on . Then can be computed in polynomial time. This follows directly from the theorem by considering the induced action of on pairs of vertices from and noting that consists of those elements that stabilize the edge set.
In our algorithm we will also use the concept of a quotient tournament (that can for example implicitly be found in [5], see also [23]). Let be a tournament and let be a partition of in which all parts have odd size. We define , the quotient of modulo , to be the tournament on (i.e., the vertices of are the parts of ) where for distinct there is an edge from to if and only if in there are more edges going from to than edges going from to . Note that since both and are odd there are either more edges going from to or more edges going from to . This implies that is a tournament.
Theorem 11**.**
Suppose we are given as an oracle a randomized Las Vegas algorithm that computes invariant suborbits for tournaments in polynomial time. Then we can compute the automorphism group of tournaments in polynomial time.
Proof.
We describe an algorithm that computes the automorphism group of a colored tournament given a randomized oracle that provides invariant suborbits.
(Description of the algorithm) Let be a given colored tournament.
(Case 0: is not monochromatic.) If is not monochromatic then we proceed as follows:
Let be the set of colors that appear in . For , let be the set of vertices of color and let be the subtournament induced by the vertices in .
We recursively compute for all . Let be the set of generators obtained as an answer. We lift every generator to a permutation of by fixing all vertices outside of . Let be the set of lifted generators of and let be the set of all lifted generators. Since is solvable, we conclude that is a direct product of solvable groups and thus solvable. We can thus compute using Theorem 10 and return the answer.
This concludes Case 0. In every other case we first compute a partition into suborbits using the oracle and a corresponding set of certificates . For a partition of some set we denote for by the element of containing . We may drop the index when it is obvious from the context. If then we simply return the identity.
(Case 1: is trivial). In case is trivial (i.e., ), we know that is transitive. We choose an arbitrary vertex . Let be the coloring of satisfying
[TABLE]
We recursively compute a generating set for , where is recolored with . We then return .
(Case 2: not all classes of have the same size.)
We color every vertex with the size of the class of in which it is contained. Now is not monochromatic anymore and we recursively compute with having said coloring. (In other words, we proceed as in Case [math].)
(Case 3: all classes of have the same size but is non-trivial.)
We compute for each pair of distinct equivalence classes and of an isomorphism from to or determine that no such isomorphism exists, as follows: We choose for each an arbitrary vertex . We let be the tournament obtained from by coloring with 1, all in-neighbors of with 2 and other vertices with . We let be the triangle tournament of and where is an isomorphic copy of (as defined in Section 3 in the proof of Lemma 6).
Using recursion we compute . From the result we can extract an isomorphism from to since and are blocks of .
(Case 3a:) If it is not the case that for every pair of color classes there is an isomorphism from to then we color the vertices of so that have the same color if and only if there is an isomorphism from to , where as before for every vertex we denote by the class of containing . With this coloring, is not monochromatic anymore and we recursively compute with having said coloring. (In other words, we proceed as in Case [math].)
(Case 3b:) Otherwise, for every pair of color classes, there is an isomorphism from to . Note that all color classes are of odd size since is transitive (as dictated by ). Thus, we can compute the quotient tournament . We recursively compute a generating set for the automorphism group of .
We lift each to a permutation of as follows. The permutation maps each vertex to . Since is a permutation and each is a bijection, the map is a permutation of . Let be the set of lifted generators.
As next step, for each class we recursively compute a generating set for . We lift each generator in to a permutation of by fixing all vertices outside of obtaining the set of lifted generators.
Consider the group generated by the set . As a last step, using Theorem 10 we compute the subgroup .
The details of this algorithm are given in Algorithm 2.
(Running time) We first argue that all work performed by an iteration of the algorithm apart from the recursive calls is polynomial in , say for some constant . This is obvious for all instructions of the algorithm except the task to compute the intersection of in Case 0 (Line 9) and the task to compute in Case 3b (Line 36). However, in Case 0, the group generated by is a direct product of solvable groups, thus solvable, and in Case 3b, the group is a subgroup of a wreath product of a solvable group with a solvable group and is thus solvable. (Alternatively we can observe that the natural homomorphism from the group to has kernel , a direct product of solvable groups.) In either case, using the algorithm from Theorem 11, the group intersection can be computed in polynomial time.
It remains to consider the number of recursive calls. We will bound the amount of work of the algorithm in terms of , the maximum size of a color class of , and the number of vertices . Denote by the maximum number of nodes in the recursion tree over all tournaments for which the color classes have size at most and the number of vertices is at most . Note that is monotone increasing in both components.
First note that if the algorithm will end up in Case 0. The recursive bound in Case 0 (Line 5) is then for some positive integers (the color class sizes) that sum up to but are smaller than .
In Case 1, we have . The tournament is colored into three color classes. Since is transitive (and thus every vertex has in- and out-degree ), in there is one color class of size and there are two classes of size . The recursive call will lead to Case 0, which then yields one trivial recursive call on a tournament of size 1 and two calls with tournaments of size . We obtain a recursive bound (for Line 17) of .
In Case 2, we have and observe that the recursive call is for a tournament that is not monochromatic. Thus the recursive call will end up in Case 0. We thus obtain a recursive bound (for Line 20) of for some positive integers that sum up to but are smaller than .
In Case 3, we have . Note that if the classes of have size then (elements of are all equally large and there are at least 2 but there is an odd number) and there are recursive calls in Line 24. In the graph the color classes have size at most and there are at most vertices. (The increase of a factor 3 comes from the operation.) Thus the cost for such calls is bounded by , where .
Using the same arguments as before, in Case 3a we thus get a recursive bound for Line 28 of and thus for Case 3a in total a bound of for some positive integers that sum up to but are smaller than .
In Case 3b we need to additionally consider the cost for the recursive call in Line 30. This cost is at most where since the coloring is not discrete. Also there is a recursive cost of coming from Line 33. Thus in this case we end up with .
Summarizing we get that is bounded by
[TABLE]
where and satisfies and and . Let us define as the maximum of over all pairs of positive integers with and . Then we get from the above considerations that is bounded by one of the following
[TABLE]
where satisfies and . It is now simply a calculation to show that for sufficiently large, the function satisfies all the recurrence bounds for (of course as lower bounds rather than upper bounds). We show the calculation for the most interesting case, the Case 3a. Let . Then . Furthermore the equation for Case 3a says where and . Note for the function that , under the conditions and , gets maximized as . For the right hand side we get which is certainly bounded by for sufficiently large since the expansion of contains the summands , and . Thus is an upper bound for .
Overall we obtain a polynomial-time algorithm from this recursive bound. This in particular implies that the algorithm halts.
(Correctness) For the correctness proof we analyze the different cases one by one. By induction we can assume that recursive calls yields correct answers.
For Case 0, since the last instruction intersects some group with the automorphism group it is clear that the algorithm can only return automorphisms of . Let us thus assume that . Then, for each color class , the set is invariant under and . This implies that .
For Case 1, is transitive since shows that is an orbit. Thus, is generated by the point stabilizer and an arbitrary transversal (i.e., a subset of elements of containing a representative from each coset of in ). Since contains a certificate for all pairs of distinct vertices and since we conclude that .
For Case 2, it suffices to note that for every integer the set is invariant under .
For Case 3, Line 24 note that similar to Case 1, the graphs and are transitive and thus the individualization in Line 22 does not make isomorphic graphs non-isomorphic.
For Case 3a, again note that for the set is invariant. For Case 3b we argue similarly to Case 0. Since the last instruction intersects some group with the automorphism group it is clear that the algorithm can only return automorphisms of . Let us thus assume that .
Then induces an automorphism of . Note that there is some in that also induces on . It suffices now to show that the map is in . Consider . Then maps to and more strongly it induces an automorphism of which must be contained in . We conclude that is in finishing the proof. ∎
We have now assembled all the required parts to prove the main theorem of the paper.
Corollary 12**.**
There is a randomized (one-sided error) polynomial-time Turing reduction from tournament isomorphism to asymmetry testing of tournaments (i.e., ). 2. 2.
There is a randomized polynomial-time Turing reduction from the computational task to compute generators of the automorphism group of a tournament to asymmetry testing of tournaments (i.e., ).
Proof.
Recall that a two-sided error algorithm for an isomorphism search problem can be readily turned into a one-sided error algorithm by checking the output isomorphism for correctness. Thus, by Lemma 6 Part 1 it suffices to prove the second part of the corollary.
Combining Lemma 8 and Theorem 9, from an oracle to tournament asymmetry we obtain a randomized Monte Carlo (i.e., with possible errors) algorithm that computes invariant suborbits. Given a Las Vegas algorithm (i.e., no errors) for suborbits, the previous theorem provides us with a computation of the automorphism group of tournaments.
It remains to discuss the error probability we get from using a Monte Carlo algorithm instead of a Las Vegas algorithm. Since there is only a polynomial number of oracle calls, and since the error bound in Theorem 9 can be chosen smaller than for every fixed constant , the overall error can be chosen to be arbitrarily small. ∎
7 Discussion and open problems
This paper is concerned with the relationship between the asymmetry problem and isomorphism problem . While under mild assumptions there is a reduction from the former to the latter, a reduction in the other direction is usually not known. However, for tournaments we now have such a randomized reduction.
The first question that comes to mind is whether the technique described in this paper applies to other graph classes. While the sampling techniques from Sections 2 to 5 can be applied to all graph classes that satisfy mild assumptions (e.g., and ) the algorithm described in Section 6 crucially uses the fact that automorphism groups of tournaments are solvable. This is not the case for general graphs, so for the open question of whether reduces to this may dampen our enthusiasm. However, what may bring our enthusiasm back up is that there are key classes of combinatorial objects that share properties similar to what we need.
In particular, this brings us to the question whether the techniques of the paper can be applied to group isomorphism. Just like for tournament isomorphism, finding a faster algorithm for group isomorphism (given by multiplication table) is a bottleneck for improving the run-time bound for isomorphism of general graphs beyond quasi-polynomial. Since outer-automorphism groups of simple groups are solvable, we ask: Can we reduce the group isomorphism problem to the isomorphism problem for asymmetric groups? This question is significant since an asymmetry assumption on groups is typically a strong structural property and may help to solve the entire group isomorphism problem. However, here one has to be careful to find the right notion of asymmetry since all groups have inner automorphisms. For such notions different possibilities come to mind.
A second natural open question would be whether there is a deterministic version of the algorithms given in this paper.
As a last open problem recall that it was shown in Section 2 that one can extract a characteristic subset for a sampler over a set in time that depends polynomially on . Since the automorphism group of a graph can be superpolynomial in the size of the graph, we had to take a detour via suborbits in Section 5. There can be no general way to extract a characteristic subset of in polynomial time if is not polynomially bounded, since we might never see an element twice. However, if has an algebraic structure, in particular if is a permutation group over a polynomial size set, this is not clear. Thus we ask: Is there a polynomial-time (randomized) algorithm that extracts a characteristic subgroup using a sampler over a permutation group?
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Manindra Agrawal and Vikraman Arvind. A note on decision versus search for graph automorphism. Inf. Comput. , 131(2):179–189, 1996. doi:10.1006/inco.1996.0097 . · doi ↗
- 2[2] Eric Allender, Joshua A. Grochow, and Cristopher Moore. Graph isomorphism and circuit size. Co RR , abs/1511.08189, 2015. URL: http://arxiv.org/abs/1511.08189 .
- 3[3] Sanjeev Arora and Boaz Barak. Computational Complexity - A Modern Approach . Cambridge University Press, 2009.
- 4[4] Vikraman Arvind, Richard Beigel, and Antoni Lozano. The complexity of modular graph automorphism. SIAM J. Comput. , 30(4):1299–1320, 2000. doi:10.1137/S 0097539799358227 . · doi ↗
- 5[5] Vikraman Arvind, Bireswar Das, and Partha Mukhopadhyay. Isomorphism and canonization of tournaments and hypertournaments. J. Comput. Syst. Sci. , 76(7):509–523, 2010. doi:10.1016/j.jcss.2009.09.001 . · doi ↗
- 6[6] László Babai. Monte carlo algorithms in graph isomorphism testing. Technical Report 79-10, Université de Montréal, 1979.
- 7[7] László Babai. Automorphism groups, isomorphism, reconstruction. In Handbook of combinatorics, Vol. 2 , pages 1447–1540. Elsevier, Amsterdam, 1995.
- 8[8] László Babai. Graph isomorphism in quasipolynomial time [extended abstract]. In Proceedings of the 48th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2016, Cambridge, MA, USA, June 18-21 , pages 684–697. ACM, 2016. doi:10.1145/2897518.2897542 . · doi ↗
