Lecture 9 - Depth Reduction II
In the previous lecture, we saw Brent’s formula balancing technique, as well as Hyafil’s circuit balancing technique, which were used to reduce the depth of a circuit. While Brent’s technique reduced the depth of a formula while preserving the size of the formula (up to a constant factor), Hyafil’s technique reduced the depth of a circuit while incurring a quasi-polynomial blow-up in the size of the circuit.
In this lecture, we will see a different technique for depth reduction, which is due to Valiant, Skyum, Berkowitz, and Rackoff.
They show that any arithmetic circuit of size
Before we state the theorem, recall that Hyafil’s technique seemed a bit coarse, as it didn’t take much into account the structure of the circuit. In particular, the technique didn’t take much into account the relations between intermediate computations in the circuit (the depth reduction had a “large gap” in degree).
We have seen in Baur-Strassen how to take derivatives with respect to a gate in a circuit. Let us recall that definition.
Definition 1 (Partial derivative with respect to a gate): Let
Now, we have the following properties of such gate derivatives, which are simply derived from the basic rules of differentiation.
Proposition 1 (properties of gate derivatives): Let
- Either
or . - If
is a sum gate, with children , then . - If
is a product gate, with children , such that . If , then .
Now that we have the notion of gate derivatives, we can refine our depth reduction. We will now define the notion of a frontier of a circuit.
Definition 2 (Frontier of a circuit):
For an integer
With the above definition, we can get a refined decomposition of the circuit into layers, where each layer is a frontier of the circuit.
The following proposition shows the usefulness of the frontiers.
Proposition 2 (Frontier decomposition): Let
Proof: Let’s prove the first equality by induction on the length of the longest path from
Base case:
In this case, for any
Inductive step: we have two cases to consider.
Case 1:
In this case, we have
Case 2:
Assume w.l.o.g. that
The proof of the second equality is similar to the first one.
The point of the above proposition is to show that we can use the frontier to compute all the gates with degree between
Valiant-Skyum-Berkowitz-Rackoff (VSBR) Theorem
Theorem 1 (Valiant-Skyum-Berkowitz-Rackoff): For any arithmetic circuit
The theorem above will follow if we prove the following version:
Theorem (variant of theorem 1): For any homogeneous arithmetic circuit
has alternating layers of addition and multiplication gates.- Each multiplication gate
computes a product of at most forms, each with degree at most . - Sum gates have arbitrary fan-in.
- The size of
is .
In particular, the above properties imply that the depth of
Proof: Note that we can assume w.l.o.g. that
- compute all the forms
from such that . - compute all the forms
for all such that , and .
Base case: In iteration
Inductive step: Assume that we have completed iteration
Now, let us compute the derivatives
The only problem now is that we need to compute
Now, all the terms in the multiplication have degree at most
This concludes the theorem.
References
The material of this lecture is based on the following sources:
- Chapter 2 of [SY].
- Chapter 5 of [R]