Erik Demaine is a theorist with many interests: from Origami, to games and puzzles; from computational graph theory, to many other areas of mathematics. He is reportedly the youngest assistant professor ever at MIT—he joined the faculty at the age of 20. According to information on his website he has been appointed a full professor effective next month, so we congratulate him.
Today I want to discuss how to extend the theory of minor-free graphs, and get potentially new results.
Restricting inputs to graphs without certain minors, forbidden minors, is like doing complexity theory on a different planet, as many famous hard problems drop down to polynomial time. The old and famous science-fiction movie Forbidden Planet features a “Plastic Educator” device that greatly enhances a human’s cognitive power; forbidding minors seems to do the same for algorithms. Perhaps Demaine has used the device himself.
Demaine’s work that is most relevant to our discussion is on algorithmic graph theory, especially that part that is based on the theory of graph minors. Still he found time to write a quite beautiful book on the complexity theory of one, two, and more player games. This is joint with Robert Hearn and is a delightful read—as Peter Winkler says on the back cover:
\({\dots}\) this beautifully composed and fascinating volume \({\dots}\)
The book is clear, insightful, and filled with colorful figures and diagrams. If you want to understand why playing a game is hard, this is the book to read.
Graph Minors
A graph \({H}\) is a minor of a graph \({G}\) provided there is a series of contractions of edges that when performed on \({G}\) eventually yield \({H}\). This is well known to be a partial order on the space of finite undirected graphs. The following show the notion in a simple case:
Here are the contractions:
Forbidden
The beautiful theory of graph minors, thanks to the brilliant work of Neil Robertson and Paul Seymour, allows theorems of the following kind to be proved:
Theorem: If \({G}\) is a graph that does not have \({H}\) as a minor, then there is an algorithm that runs in polynomial time and can \({\dots}\)
The \({\dots}\) is always something that we cannot perform fast on general graphs. It can be a faster exact solution, or can be a better approximation result than what is known for general graphs. For example, Demaine, Mohammadtaghi Hajiaghayi, and Ken-ichi Kawarabayashi proved:
Theorem: For any fixed graph \({H}\), there is a polynomial-time algorithm that given any graph \({G}\) that does not have \({H}\) as a minor, can find a coloring of \({G}\) with at most \({2\chi(G)}\) colors.
Here \({\chi(G)}\) is the number of colors needed to vertex-color the graph.
One way to view these wonderful results is as a vast, general improvement over results showing that computing something on a planar graph is easier than on a general graph. Planar graphs are characterized as ones that don’t have the 5-clique or the complete bipartite graph on 3+3 nodes as a minor. It is amazing that the results hold regardless of which graph \({H}\) actually is.
To paraphrase a Mark Twain quotation, there is a charm about the forbidden that makes it unspeakably powerful. Note that if \({H}\) is an edge (i.e., 2-clique) then \({G}\) can be only a trivial graph with no edges, while if \({H}\) is a triangle (3-clique) then \({G}\) is restricted to be a tree. The genius of the results is that forbidding any particular \({H}\) restricts the kind of embeddings a graph may require, and this puts a lid on the complexity.
Not Forbidden—But Restricted
Another way to state the results in an area that is now called the algorithmic theory of graph minors is to use this notion: a graph \({G}\) is \({H}\)–free provided \({H}\) is not a minor of the graph \({G}\). Thus the last theorem shows that restricting attention to graphs that are \({H}\)-free for a fixed graph \({H}\) yields much better approximate colorings. Indeed proving a theorem without the restriction to graphs that do not contain a forbidden minor would show that \({\mathsf{P}=\mathsf{NP}}\).
The simple idea that I wish to discuss is the following: many of the existing results on graphs without a forbidden minor can be generalized. The idea is to allow \({G}\) to have \({H}\) as a minor, but not to allow \({G}\) to have too many copies of \({H}\). Suppose for the moment that \({{\cal N}(G,H)}\) is the number of copies of \({H}\) as a minor in \({G}\)—I will define what I mean in a moment. Here is a sample theorem:
Theorem: If \({G}\) is a general graph, then there is an algorithm that runs in polynomial time and can find a coloring of \({G}\) with at most \({2\chi(G) + {\cal N}(G,H)}\) colors.
Clearly if there are no copies of \({H}\), then \({{\cal N}(G,H)=0}\) and this is the old theorem. But if there are relatively few copies of \({H}\), then this is an improvement. Note that the number of copies can be quite large, and still the result will be interesting.
Somehow this idea reminds me of the following dialogue from Pirates of the Caribbean: The Curse of the Black Pearl. Elizabeth is Miss Turner and Barbossa is the “evil” pirate captain.
Elizabeth: Wait! You have to take me to shore. According to the Code of the Order of the Brethren\({\dots}\)
Barbossa: First, your return to shore was not part of our negotiations nor our agreement so I must do nothing. And secondly, you must be a pirate for the pirate’s code to apply and you’re not. And thirdly, the code is more what you’d call “guidelines” than actual rules. Welcome aboard the Black Pearl, Miss Turner.
Being minor-free is not a rule, it’s more like a guideline.
The Proof
Let \({G}\) be the graph we wish to color, and let \({H}\) be a fixed graph. The algorithm operates in two stages. The first stage is:
- Let \({T = G}\) and \({S}\) be an empty set of edges. During the following \({T}\) will always be a subgraph of \({G}\) and \({S}\) a set of edges of \({G}\).
- Check if \({T}\) is \({H}\)-free. If it is, then stop and return \({T,S}\).
- Find an embedding of \({H}\) into \({T}\) and remove one edge. Let \({T}\) be the graph created after deleting this edge and put the edge into \({S}\).
When this halts—it must—note that \({T}\) is \({H}\)-free. For the next stage, use the existing algorithm to color \({T}\). This uses at most
colors. But we must color \({G}\), not \({T}\). So we put back each edge of \({S}\) to \({T}\), which eventually yields \({G}\). But as we place the edges back we must make sure that the graph is properly colored. If on placing an edge back its endpoints have the same colo,r then we simply use a new color for one of the endpoints. This method uses at most
colors.
The same idea will work for many other algorithms that rely on a graph having a forbidden minor. For another very different type of result, we claim:
Theorem: Suppose that \({H}\) is fixed. Then graph isomorphism can be done on a pair of graphs \({G_{1},G_{2}}\) in time:
$$n^{2{\cal N}(G_{1},H) + O(1)}.$$
This is based on a wonderful theorem of Martin Grohe—see here.
The Definition
Let’s now define the notion \({{\cal N}(G,H)}\) precisely. It is not that hard, but does require some care. The goal is to make the above method work. Usually we define notions, then prove theorems. But in research that is not how things often go. Often we craft a definition so that some theorem will become true. This happens more often than you might realize.
The lemma we want to make true is:
Lemma: For any \({H}\) there is an algorithm that given any \({G}\) removes at most \({{\cal N}(G,H)}\) edges from \({G}\) to yield a graph that is \({H}\)-free.
Here is our definition. Let \({G,H}\) be graphs. Suppose that \({A \subset E(G)}\). Say that \({H}\) is \({A}\)–embedded in \({G}\) provided that after performing contractions on all the edges not in \({A}\), the graph that remains is isomorphic to \({H}\). Define \({{\cal N}(G,H)}\) to be the number of sets \({A}\) so that \({H}\) is \({A}\)-embedded in \({G}\). I claim that the above lemma is true for this definition.
An important observation: the definition works, I believe, as claimed. However, it can be very weak in some cases, which suggest that there should be a better definition. For example, consider the graph \({C_{n}}\) that is an \({n}\) cycle. Also let \({H}\) be a triangle. Then, \({{\cal N}(G,H)}\) is cubic in \({n}\)—yet the removal of one edge is enough to eliminate all \({H}\) minors.
Open Problems
What theorems can we prove with this method? I also wonder whether the bounds on the coloring result can be improved. More precisely, can one improve \({2\chi(G) + {\cal N}(G,H)}\) to \({2\chi(G) + o({\cal N}(G,H))}\)? Also, is there a better definition of the key notion \({{\cal N}(G,H)}\)?


