Galvin families
Abstract.
The Galvin problem asks for the minimum size of a family with the property that, for any set of size , there is a set which is balanced on , meaning that . We consider a generalization of this question that comes from a possible approach in complexity theory. In the generalization the required property is, for any , to be able to find sets from a family that form a partition of and such that each part is balanced on . We construct such families of size polynomial in the parameters and .
1. Introduction
1.1. Galvin problem
The starting point of this paper is a question raised by Galvin in extremal combinatorics. Given two sets and , we say that is balanced on if .
Definition 1 (Galvin family).
If , a family is said to be Galvin if for any there exists a set which is balanced on (i.e., ).
The Galvin problem asks for the minimal size, denoted by , of a Galvin family. An upper bound of follows from the family given by the sets for . Lower bounds for the size of Galvin families are more subtle. An easy counting argument shows that , which is far from . Frankl and Rödl [4] established that for some whenever is odd, as a corollary to a strong result in extremal set theory. This linear bound was later strengthened by Enomoto, Frankl, Ito and Nomura [3] to , with the same parity constraint, thus showing the optimality of the construction in this special case. Later, using Gröbner basis methods and linear algebra, Hegedűs [5] obtained that whenever is a prime.
1.2. Generalizations and related works
Surprisingly, problems closely related to the one of Galvin proved useful in arithmetic complexity theory, in order to give lower bounds on the size of arithmetic circuits computing some target polynomials. This connection was first noticed by Jansen [7], and was recently successfully used in a paper by Alon et al. [2]. There the elements of the Galvin family are allowed to be sets of size between and ( being an integer). Furthermore, for a given instead of asking for the existence of a set perfectly balanced on the authors look for a set which is nearly balanced, i.e., for the same . For this setting, Alon, Kumar and Volk [2] showed, using the socalled polynomial method, that .
Alon, Bergmann, Coppersmith, and Odlyzko [1] investigate a problem dealing with vectors which looks similar to the Galvin one. When rephrasing it as an extremal problem over sets, it reads as follows: what is the minimal number on the size of a family such that the following holds
where denotes the symmetric difference. Setting and asking all sets to be of size is exactly Galvin problem. However, it does not seem to be any evident dependencies between the two problems.
We consider here a different type of generalization. Asking for a set to be balanced on is equivalent (up to a factor in the family size) to ask for a partition of in two parts, namely , such that each part is balanced on and such that , are elements of . Instead of splitting in two parts, we look for partitions that involve more sets. Introducing a parameter , we want, for a given , to be able to find sets in that form a partition of and such that each set is balanced on .
The original motivation for considering this generalization stems from arithmetic circuits. There, an open question is to know whether there is a separation between two models of computation called multilinear algebraic branching programs (mlABPs) and multilinear circuits (mlcircuits). By “separation”, we mean that there is some specific polynomial that can be computed by a small mlcircuit but any mlABP for must be of size superpolynomial in the degree and the number of variables of . Proving that any generalized Galvin families (i.e., with parts in the partitions – see below for a formal definition) must be of superpolynomial size (in the size of the ground set, and the number of parts) would imply a separation between mlABPs and mlcircuits. Since our main result is to prove that generalized Galvin families of polynomial size exist, this approach is unfortunately not promising. Note that this does not call into question either the plausible separation between mlABPs and mlcircuits or the approach through a proof that mlABPs cannot compute efficiently socalled “full rank polynomials”. This only rules out a specific approach to tackling the question of knowing whether mlABPs can efficiently compute full rank polynomials. However, we believe that the construction is of intrinsic combinatorial interest.
2. Galvin families
2.1. Definition
We start with the formal definition of generalized Galvin families:
Definition 2 (Galvin families).
Given two integers such that , we say that a family is Galvin if for any , is handled by , meaning that there exist sets such that:

The form a partition of ,

Each is balanced on (i.e., ).
Remark 1.
Note that a Galvin family is simply a Galvin family (up to adding the complements of any set in the family).
Somewhat surprisingly, small Galvin families exist.
Theorem 1.
For any such that , there exists a Galvin family of size .
Here is some function such that for some integers . The next section is devoted to the construction of a Galvin family, yielding a proof of the main theorem.
2.2. Proof of Theorem 1
For technical reasons, we need to distinguish two cases in the proof of Theorem 1: we start by giving a construction when is reasonably small, then we show how to adapt it to handle larger .
First case:
The overall idea is to construct a family of size such that a random set is handled by with probability at least . Taking the random family which is the union of independent such increases this probability to at least . By the union bound, the probability that handles all sets is nonzero, yielding the existence of the desired family. We now focus on the construction of such a family .
Construction of
For a set , we use the notation to denote that is a set chosen uniformly at random from . We let for the rest of the paper.
Lemma 1.
When , there is a family of size such that
Before going into the construction, let us see how we can prove the main theorem, with Lemma 1 in hand.
Proof of Theorem 1, first case.
Let be permutations of , chosen uniformly at random. For any of these, construct the family , i.e., the family from Lemma 1 where any element has been replaced by . Consider the family . We aim to prove that is Galvin with nonzero probability. Given a set , let be the event: “ is handled by ”. is equivalent to “ is handled by ”. As is a uniformly random set independent from for , this proves the independence between the events . From this we conclude
Thus, by the union bound, there is a nonzero probability that handles all sets , concluding the proof of the theorem.
∎
The rest of the section consists of a proof of Lemma 1. The overall strategy is to divide the elements of into buckets, denoted by , and build the sets from any pair of buckets . Suppose the amount by which these buckets are unbalanced on are and respectively. If half the elements of are chosen from bucket and half from bucket then the amount by which is unbalanced on will be close to a normal distribution with expectation depending on and . By showing a good upper bound on the , the probability that is balanced is reasonably large, and picking only polynomially many random sets is sufficient. In fact, we must be slightly more careful because the bucket errors accumulate as we pick many sets . Fortunately, we can manage this by taking an ordering of the buckets such that the error of stays small for all .
Proof of Lemma 1.
First, we divide into several intervals (recall that ).

,

for ,

.
For we create sets by sampling independently subsets and adding them to . For technical reasons, we let to be the singleton and . Finally let , where denotes . Now, we claim that such a random handles with probability at least , giving the existence of the desired family. As there are pairs to consider and for each one we add sets to , this gives a total size .
For we introduce an error term (I) to represent the error in balancing . We let and . Furthermore we write . For reasons that will become clear later, we want to choose a permutation of with and with small.
Claim 1.
Proof.
We let be fixed to be , and for each , pick among the remaining elements such that has opposite sign from . If pick any value of . Note that this is always possible as . ∎
We fix to be a permutation that fulfills Claim 1 for the rest of the paper.
Claim 2.
With probability at least we have .
Proof.
For , each element follows a hypergeometric distribution . We get the following bound, due to Hoeffding [6]:
With this becomes . and follow the distribution , which yields an even stronger bound for and . Applying a union bound over all , the probability that at least one exceeds is bounded by (since ). ∎
Claim 3.
Suppose . Given some for , let for . If are balanced on then we have balanced on with probability at least
Proof.
Let . Since the are balanced, we have:
(1) 
We state an easy lemma that will be helpful for Claim 4 to estimate binomial coefficients, a proof of which can be found in Spencer and Florescu [8].
Lemma 2.
Claim 4.
We have that with probability at least
Proof.
As follows a hypergeometric distribution with parameters , we have that
(2) 
By Claim 2 we have , therefore we finally get  
∎
Combining Claim 2 and Claim 3, we have a probability of
that is balanced. Call this probability . If then the probability that some choice of balances is at least . By the union bound, the chance that is not bounded in Claim 2 or that any is unbalanced is at most . Hence the probability that we get a Galvin partition is at least , as desired.
∎
In the above proof we used to apply Lemma 2. While this could perhaps be improved to , there is a real barrier here. When is this large we expect some buckets to be entirely empty of elements from and the above proof does not work. We now handle the case where is larger.
Second case:
Proof of Theorem 1, second case.
First, observe that Galvin families compose nicely; if is an Galvin family over , and if we take a Galvin family over for each set , then the union of all forms an Galvin family.
Set and assume for the moment that and are valid factors of . The idea is to start by constructing a Galvin family over , using the previous construction. We then recursively apply the construction to get a Galvin family for any each , and the final family is the union of all . The elements of are sets of size , therefore the families are of size , and the overall construction is of size .
In the case that and are not valid factors of , we do the following. Let . The idea is to construct a family with sets of size , and , that behaves like a Galvin family: we ask that any set has a partition of from sets in , where each set of the partition is balanced on . We then apply recursively the construction to split the sets of size and until we get size sets. To create the family , we adapt the construction of the Galvin family when , in the following way. Note that in any partition of into sets of these sizes, the number of sets of size and are fixed (given by and ). We denote these numbers by and . We need to ensure that the are of the correct sizes (i.e., or ). For that, we change the sizes of the in the following way:


For values of , we have

For the other we have

.
We then choose the to be of size except for where the unique remains . This gives the desired sizes for and it is not hard to see that the proof carries over to this case with some simple and obvious modifications.
∎
2.3. Galvin family without the divisibility condition
The previous definition of a Galvin family requires . Here we present a relaxed version, which can be defined without the divisibility condition, and prove that such families of polynomial size can be obtained using our previous construction.
When the divisibility condition does not hold we would like sets to be exactly or almost exactly balanced on and for those sets to be as close in size as possible. To be exactly balanced they must have evenly many elements, so if is odd then we must include a set of odd size which is imbalanced by 1 element. Of the remaining elements, the closest they can come in size is differing by 2 elements  being of size either or . We are able to achieve this best possible outcome.
Definition 3 (Galvin family, second version).
Given two integers with , we say that a family is Galvin if for any , is handled by , meaning that there exist sets such that:

, or ,


The form a partition of ,

For , each is balanced on .

.
Theorem 2.
There exists a Galvin family of size polynomial in and .
Sketch of the proof..
We modify the previous construction slightly in order to handle this more general setting. This is very similar to the proof of Theorem 1 in the case . Suppose is not an integer and write . Furthermore, assume for the moment that so that the construction from Claim 3 holds. Note that in any partition of into sets that respect properties and of the definition, the number of sets of size , , and are fixed (given by and ). We denote these numbers by and . We need to ensure that the are of the correct size in order to be able to fulfill our definition. For that, we change the size of the in the following way:

if and otherwise

For values of , we have

For the other we have

.
We then choose the to be of size except for where the unique remains . By doing so, the partitions from the family respect properties and , and again the proof that this gives a valid construction is very close to the original proof and we omit the details.
Finally, if then we may have to simultaneously apply the adjustments above and the ones in the proof of the second case of Theorem 1.
∎
3. Discussion and open questions
The actual construction is probabilistic and it could be interesting to derandomize it, without increasing too much the size of the family. A way to tackle the problem is to carefully design the sets belonging to instead of taking them randomly.
The given upper bound is nicely polynomial in and but it is unlikely to be tight. We suspect that even modifications of the current construction can yield some improvements. In particular, the family from Lemma 1 is constructed by taking the union over all possible pairs for . It might be possible to restrict to come from the edges of a sparse graph over the vertices , and still prove Claim 1, maybe in some slightly weaker form, possibly saving a factor close to . Even if this is possible the resulting family is still not likely to be optimal size and hence we have not investigated this approach in detail as it would lead to considerable complications and we prefer a simple construction. A truly optimal construction is likely to require some new ideas.
While there is a linear lower bound for the original Galvin problem, it is not clear how to derive from this linear lower bounds for Galvin families for . An easy counting argument, similar to the one for the original Galvin problem, gives that (since the number of possible partitions of with sets from is bounded by ), providing . When focusing on large we get the simple bound below which is an improvement in the regime :
Claim 5.
A Galvin family must be size at least .
Proof.
Let us fix a Galvin family over , and consider the set .
We first prove that for any , there must be at least sets from that contain . Suppose it is not the case for a particular , and consider a set of size that contains (such a exists since by the assumption the union is smaller than or equal to ). Any set that contains is completely included in , and thus cannot be balanced on . Therefore is not handled by .
Finally, observe that the previous remark implies that . As each set is of size , the number of sets in must be at least .
∎
Acknowledgements
We thank Andrew Morgan for giving helpful suggestions in the details of claims 4 and 5. The second author would like to thank Hervé Fournier for valuable discussions.
References
 [1] Noga Alon, Ernest E Bergmann, Don Coppersmith, and Andrew M Odlyzko. Balancing sets of vectors. IEEE Transactions on Information Theory, 34(1):128–130, 1988.
 [2] Noga Alon, Mrinal Kumar, and Ben Lee Volk. Unbalancing sets and an almost quadratic lower bound for syntactically multilinear arithmetic circuits. In 33rd Computational Complexity Conference, CCC 2018, June 2224, 2018, San Diego, CA, USA, pages 11:1–11:16, 2018.
 [3] H. Enomoto, Peter Frankl, N. Ito, and Katsuhiro Nomura. Codes with given distances. Graphs and Combinatorics, 3:25–38, 1987.
 [4] Peter Frankl and Vojtěch Rödl. Forbidden intersections. Transactions of the American Mathematical Society, 300(1):259–286, 1987.
 [5] Gábor Hegedűs. Balancing sets of vectors. Studia Scientiarum Mathematicarum Hungarica, 47(3):333–349, 2009.
 [6] Wassily Hoeffding. Probability inequalities for sums of bounded random variables. Journal of the American statistical association, 58(301):13–30, 1963.
 [7] Maurice J Jansen. Lower bounds for syntactically multilinear algebraic branching programs. In International Symposium on Mathematical Foundations of Computer Science, pages 407–418. Springer, 2008.
 [8] Joel Spencer and Laura Florescu. Asymptopia, volume 71 of student mathematical library. American Mathematical Society, Providence, RI, page 66, 2014.