In theoretical computer science, the Aanderaa–Karp–Rosenberg conjecture (also known as the Aanderaa–Rosenberg conjecture or the evasiveness conjecture) is a group of related conjectures about the number of questions of the form "Is there an edge between vertex and vertex ?" that have to be answered to determine whether or not an undirected graph has a particular property such as planarity or bipartiteness. They are named after Stål Aanderaa, Richard M. Karp, and Arnold L. Rosenberg. According to the conjecture, for a wide class of properties, no algorithm can guarantee that it will be able to skip any questions: any algorithm for determining whether the graph has the property, no matter how clever, might need to examine every pair of vertices before it can give its answer. A property satisfying this conjecture is called evasive.
More precisely, the Aanderaa–Rosenberg conjecture states that any deterministic algorithm must test at least a constant fraction of all possible pairs of vertices, in the worst case, to determine any non-trivial monotone graph property. In this context, a property is monotone if it remains true when edges are added; for example, planarity is not monotone, but non-planarity is monotone. A stronger version of this conjecture, called the evasiveness conjecture or the Aanderaa–Karp–Rosenberg conjecture, states that exactly tests are needed for a graph with vertices. Versions of the problem for randomized algorithms and quantum algorithms have also been formulated and studied.
The deterministic Aanderaa–Rosenberg conjecture was proven by Rivest & Vuillemin (1975), but the stronger Aanderaa–Karp–Rosenberg conjecture remains unproven. Additionally, there is a large gap between the conjectured lower bound and the best proven lower bound for randomized and quantum query complexity.
Example
editThe property of being non-empty (that is, having at least one edge) is monotone, because adding another edge to a non-empty graph produces another non-empty graph. There is a simple algorithm for testing whether a graph is non-empty: loop through all of the pairs of vertices, testing whether each pair is connected by an edge. If an edge is ever found in this way, break out of the loop, and report that the graph is non-empty, and if the loop completes without finding any edges, then report that the graph is empty. On some graphs (for instance the complete graphs) this algorithm will terminate quickly, without testing every pair of vertices, but on the empty graph it tests all possible pairs before terminating. Therefore, the query complexity of this algorithm is : in the worst case, the algorithm performs tests.
The algorithm described above is not the only possible method of testing for non-emptiness, but the Aanderaa–Karp–Rosenberg conjecture implies that every deterministic algorithm for testing non-emptiness has the same worst-case query complexity, . That is, the property of being non-empty is evasive. For this property, the result is easy to prove directly: if an algorithm does not perform tests, it cannot distinguish the empty graph from a graph that has one edge connecting one of the untested pairs of vertices, and must give an incorrect answer on one of these two graphs.
Definitions
editIn the context of this article, all graphs will be simple and undirected, unless stated otherwise. This means that the edges of the graph form a set (and not a multiset) and each edge is a pair of distinct vertices. Graphs are assumed to have an implicit representation in which each vertex has a unique identifier or label and in which it is possible to test the adjacency of any two vertices, but for which adjacency testing is the only allowed primitive operation.
Informally, a graph property is a property of a graph that is independent of labeling. More formally, a graph property is a mapping from the class of all graphs to such that isomorphic graphs are mapped to the same value. For example, the property of containing at least one vertex of degree two is a graph property, but the property that the first vertex has degree two is not, because it depends on the labeling of the graph (in particular, it depends on which vertex is the "first" vertex). A graph property is called non-trivial if it does not assign the same value to all graphs. For instance, the property of being a graph is a trivial property, since all graphs possess this property. On the other hand, the property of being empty is non-trivial, because the empty graph possesses this property, but non-empty graphs do not. A graph property is said to be monotone if the addition of edges does not destroy the property. Alternately, if a graph possesses a monotone property, then every supergraph of this graph on the same vertex set also possesses it. For instance, the property of being nonplanar is monotone: a supergraph of a nonplanar graph is itself nonplanar. However, the property of being regular is not monotone.
The big O notation is often used for query complexity. In short, is (read as "of the order of ") if there exist positive constants and such that, for all , . Similarly, is if there exist positive constants and such that, for all , . Finally, is if it is both and .
Query complexity
editThe deterministic query complexity of evaluating a function on bits (where the bits may be labeled as ) is the number of bits that have to be read in the worst case by a deterministic algorithm that computes the function. For instance, if the function takes the value 0 when all bits are 0 and takes value 1 otherwise (this is the OR function), then its deterministic query complexity is exactly . In the worst case, regardless of the order it chooses to examine its input, the first bits read could all be 0, and the value of the function now depends on the last bit. If an algorithm doesn't read this bit, it might output an incorrect answer. (Such arguments are known as adversary arguments.) The number of bits read are also called the number of queries made to the input. One can imagine that the algorithm asks (or queries) the input for a particular bit and the input responds to this query.
The randomized query complexity of evaluating a function is defined similarly, except the algorithm is allowed to be randomized. In other words, it can flip coins and use the outcome of these coin flips to decide which bits to query in which order. However, the randomized algorithm must still output the correct answer for all inputs: it is not allowed to make errors. Such algorithms are called Las Vegas algorithms. (A different class of algorithms, Monte Carlo algorithms, are allowed to make some error.) Randomized query complexity can be defined for both Las Vegas and Monte Carlo algorithms, but the randomized version of the Aanderaa–Karp–Rosenberg conjecture is about the Las Vegas query complexity of graph properties.
Quantum query complexity is the natural generalization of randomized query complexity, of course allowing quantum queries and responses. Quantum query complexity can also be defined with respect to Monte Carlo algorithms or Las Vegas algorithms, but it is usually taken to mean Monte Carlo quantum algorithms.
In the context of this conjecture, the function to be evaluated is the graph property, and the input can be thought of as a string of size , describing for each pair of vertices whether there is an edge with that pair as its endpoints. The query complexity of any function on this input is at most , because an algorithm that makes queries can read the whole input and determine the input graph completely.
Deterministic query complexity
editFor deterministic algorithms, Rosenberg (1973) originally conjectured that for all nontrivial graph properties on vertices, deciding whether a graph possesses this property requires The non-triviality condition is clearly required because there are trivial properties like "is this a graph?" which can be answered with no queries at all.
The conjecture was disproved by Aanderaa, who exhibited a directed graph property (the property of containing a "sink") which required only queries to test. A sink, in a directed graph, is a vertex of indegree and outdegree zero. The existence of a sink can be tested with less than queries (Best, van Emde Boas & Lenstra 1974). An undirected graph property which can also be tested with queries is the property of being a scorpion graph, first described in Best, van Emde Boas & Lenstra (1974). A scorpion graph is a graph containing a three-vertex path, such that one endpoint of the path is connected to all remaining vertices, while the other two path vertices have no incident edges other than the ones in the path.
Then Aanderaa and Rosenberg formulated a new conjecture (the Aanderaa–Rosenberg conjecture) which says that deciding whether a graph possesses a non-trivial monotone graph property requires queries.[1] This conjecture was resolved by Rivest & Vuillemin (1975) by showing that at least queries are needed to test for any nontrivial monotone graph property. The bound was further improved to by Kleitman & Kwiatkowski (1980), to (for any ) by Kahn, Saks & Sturtevant (1984), to by Korneffel & Triesch (2010), and to by Scheidweiler & Triesch (2013).
Richard Karp conjectured the stronger statement (which is now called the evasiveness conjecture or the Aanderaa–Karp–Rosenberg conjecture) that "every nontrivial monotone graph property for graphs on vertices is evasive."[2] A property is called evasive if determining whether a given graph has this property sometimes requires all possible queries.[3] This conjecture says that the best algorithm for testing any nontrivial monotone property must (in the worst case) query all possible edges. This conjecture is still open, although several special graph properties have shown to be evasive for all . The conjecture has been resolved for the case where is a prime power by Kahn, Saks & Sturtevant (1984) using a topological approach. The conjecture has also been resolved for all non-trivial monotone properties on bipartite graphs by Yao (1988). Minor-closed properties have also been shown to be evasive for large (Chakrabarti, Khot & Shi 2001).
In Kahn, Saks & Sturtevant (1984) the conjecture was generalized to properties of other (non-graph) functions too, conjecturing that any non-trivial monotone function that is weakly symmetric is evasive. This case is also solved when is a prime power Lovász & Young (2002).
Randomized query complexity
editRichard Karp also conjectured that queries are required for testing nontrivial monotone properties even if randomized algorithms are permitted. No nontrivial monotone property is known which requires less than queries to test. A linear lower bound (i.e., ) on all monotone properties follows from a very general relationship between randomized and deterministic query complexities. The first superlinear lower bound for all monotone properties was given by Yao (1991) who showed that queries are required. This was further improved by King (1991) to , and then by Hajnal (1991) to . This was subsequently improved to the current best known lower bound (among bounds that hold for all monotone properties) of by Chakrabarti & Khot (2007).
Some recent results give lower bounds which are determined by the critical probability of the monotone graph property under consideration. The critical probability is defined as the unique number in the range such that a random graph (obtained by choosing randomly whether each edge exists, independently of the other edges, with probability per edge) possesses this property with probability equal to . Friedgut, Kahn & Wigderson (2002) showed that any monotone property with critical probability requires queries. For the same problem, O'Donnell et al. (2005) showed a lower bound of .
As in the deterministic case, there are many special properties for which an lower bound is known. Moreover, better lower bounds are known for several classes of graph properties. For instance, for testing whether the graph has a subgraph isomorphic to any given graph (the so-called subgraph isomorphism problem), the best known lower bound is due to Gröger (1992).
Quantum query complexity
editFor bounded-error quantum query complexity, the best known lower bound is as observed by Andrew Yao.[4] It is obtained by combining the randomized lower bound with the quantum adversary method. The best possible lower bound one could hope to achieve is , unlike the classical case, due to Grover's algorithm which gives an -query algorithm for testing the monotone property of non-emptiness. Similar to the deterministic and randomized case, there are some properties which are known to have an lower bound, for example non-emptiness (which follows from the optimality of Grover's algorithm) and the property of containing a triangle. There are some graph properties which are known to have an lower bound, and even some properties with an lower bound. For example, the monotone property of nonplanarity requires queries (Ambainis et al. 2008) and the monotone property of containing more than half the possible number of edges (also called the majority function) requires queries (Beals et al. 2001).
Notes
edit- ^ Triesch (1996)
- ^ Lutz (2001)
- ^ Kozlov (2008, pp. 226–228)
- ^ The result is unpublished, but mentioned in Magniez, Santha & Szegedy (2005).
References
edit- Ambainis, Andris; Iwama, Kazuo; Nakanishi, Masaki; Nishimura, Harumichi; Raymond, Rudy; Tani, Seiichiro; Yamashita, Shigeru (2008), "Quantum query complexity of Boolean functions with small on-sets", in Hong, Seok-Hee; Nagamochi, Hiroshi; Fukunaga, Takuro (eds.), Proceedings of the 19th International Symposium on Algorithms and Computation (ISAAC 2008), Lecture Notes in Computer Science, vol. 5369, Springer-Verlag, pp. 907–918, doi:10.1007/978-3-540-92182-0_79, ISBN 978-3-540-92181-3, MR 2539981
- Beals, Robert; Buhrman, Harry; Cleve, Richard; Mosca, Michele; de Wolf, Ronald (2001), "Quantum lower bounds by polynomials", Journal of the ACM, 48 (4): 778–797, arXiv:quant-ph/9802049, doi:10.1145/502090.502097, MR 2144930
- Best, M. R.; van Emde Boas, P.; Lenstra, H. W. (1974), A sharpened version of the Aanderaa-Rosenberg conjecture, Report ZW 30/74, Mathematisch Centrum Amsterdam, hdl:1887/3792
- Chakrabarti, Amit; Khot, Subhash (2007), "Improved lower bounds on the randomized complexity of graph properties", Random Structures & Algorithms, 30 (3): 427–440, doi:10.1002/rsa.20164, MR 2309625, S2CID 8384071
- Chakrabarti, Amit; Khot, Subhash; Shi, Yaoyun (2001), "Evasiveness of subgraph containment and related properties", SIAM Journal on Computing, 31 (3): 866–875, CiteSeerX 10.1.1.29.3131, doi:10.1137/S0097539700382005, MR 1896462
- Friedgut, Ehud; Kahn, Jeff; Wigderson, Avi (2002), "Computing graph properties by randomized subcube partitions", in Rolim, José D. P.; Vadhan, Salil (eds.), Proceedings of the 6th International Workshop on Randomization and Approximation Techniques in Computer Science (RANDOM 2002), Lecture Notes in Computer Science, vol. 2483, Springer-Verlag, pp. 105–113, doi:10.1007/3-540-45726-7_9, ISBN 978-3-540-44147-2
- Gröger, Hans Dietmar (1992), "On the randomized complexity of monotone graph properties" (PDF), Acta Cybernetica, 10 (3): 119–127, MR 1206981
- Hajnal, Péter (1991), "An lower bound on the randomized complexity of graph properties", Combinatorica, 11 (2): 131–143, doi:10.1007/BF01206357, MR 1136162, S2CID 28514616
- Kahn, Jeff; Saks, Michael; Sturtevant, Dean (1984), "A topological approach to evasiveness", Combinatorica, 4 (4): 297–306, doi:10.1007/BF02579140, MR 0779890, S2CID 5215059
- King, Valerie (1991), "An lower bound on the randomized complexity of graph properties", Combinatorica, 11 (1): 23–32, doi:10.1007/BF01375470, MR 1112271, S2CID 34416460
- Kleitman, D.J.; Kwiatkowski, DJ (1980), "Further results on the Aanderaa-Rosenberg conjecture", Journal of Combinatorial Theory, Series B, 28: 85–95, doi:10.1016/0095-8956(80)90057-X
- Kozlov, Dmitry (2008), Combinatorial Algebraic Topology, Springer-Verlag, ISBN 978-3-540-73051-4
- Lutz, Frank H. (2001), "Some results related to the evasiveness conjecture", Journal of Combinatorial Theory, Series B, 81 (1): 110–124, doi:10.1006/jctb.2000.2000
- Korneffel, Torsten; Triesch, Eberhard (2010), "An asymptotic bound for the complexity of monotone graph properties", Combinatorica, 30 (6), Springer-Verlag: 735–743, doi:10.1007/s00493-010-2485-3, S2CID 27956060
- Magniez, Frédéric; Santha, Miklos; Szegedy, Mario (2005), "Quantum algorithms for the triangle problem", Proceedings of the Sixteenth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 2005), Vancouver, British Columbia: Society for Industrial and Applied Mathematics, pp. 1109–1117, arXiv:quant-ph/0310134, Bibcode:2003quant.ph.10134M, ISBN 978-0-89871-585-9
- O'Donnell, Ryan; Saks, Michael; Schramm, Oded; Servedio, Rocco A. (2005), "Every decision tree has an influential variable", Proceedings of the 46th IEEE Symposium on Foundations of Computer Science (FOCS 2005), pp. 31–39, arXiv:cs/0508071, doi:10.1109/SFCS.2005.34, ISBN 978-0-7695-2468-9, S2CID 3259694
- Rivest, Ronald L.; Vuillemin, Jean (1975), "A generalization and proof of the Aanderaa-Rosenberg conjecture", Proceedings of the 7th ACM Symposium on Theory of Computing (STOC 1975): Albuquerque, New Mexico, United States, pp. 6–11, CiteSeerX 10.1.1.309.7236, doi:10.1145/800116.803747, S2CID 16220596
- Rosenberg, Arnold L. (1973), "On the time required to recognize properties of graphs: a problem", SIGACT News, 5 (4): 15–16, doi:10.1145/1008299.1008302
- Scheidweiler, Robert; Triesch, Eberhard (2013), "A lower bound for the complexity of monotone graph properties", SIAM Journal on Discrete Mathematics, 27 (1): 257–265, doi:10.1137/120888703
- Triesch, Eberhard (1996), "On the recognition complexity of some graph properties", Combinatorica, 16 (2): 259–268, doi:10.1007/BF01844851, S2CID 40830285
- Yao, Andrew Chi-Chih (1988), "Monotone bipartite graph properties are evasive", SIAM Journal on Computing, 17 (3): 517–520, doi:10.1137/0217031
- Yao, Andrew Chi-Chih (1991), "Lower bounds to randomized algorithms for graph properties", Journal of Computer and System Sciences, 42 (3): 267–287, doi:10.1016/0022-0000(91)90003-N
Further reading
edit- Bollobás, Béla (2004), "Chapter VIII. Complexity and packing", Extremal Graph Theory, New York: Dover Publications, pp. 401–437, ISBN 978-0-486-43596-1.
- Lovász, László; Young, Neal E. (2002), "Lecture Notes on Evasiveness of Graph Properties", arXiv:cs/0205031v1
- Chronaki, Catherine E (1990), A survey of Evasiveness: Lower Bounds on the Decision-Tree Complexity of Boolean Functions, CiteSeerX 10.1.1.37.1041.
- Michael Saks, Decision Trees: Problems and Results, Old and New (PDF)