Discrepancy Of Permutations
   HOME

TheInfoList



OR:

Discrepancy of permutations is a sub-field of
discrepancy theory In mathematics, discrepancy theory describes the deviation of a situation from the state one would like it to be in. It is also called the theory of irregularities of distribution. This refers to the theme of ''classical'' discrepancy theory, name ...
, that deals with balancing intervals induced by permutations of elements. There is a set of ''n'' elements, and there are m different permutations on this set. The general research question is: can we color each element in one of two different colors (e.g. black and white), such that in each permutation, every interval contains roughly the same number of elements of each color? Formally, the ''discrepancy'' of an interval is defined as the difference between the number of white elements and the number of black elements in that interval; the objective is to color the elements such that the maximum discrepancy of an interval in each of the permutations is as small as possible.


Definitions

Let ''p''1, ...,''pm'' be
permutations In mathematics, a permutation of a set is, loosely speaking, an arrangement of its members into a sequence or linear order, or if the set is already ordered, a rearrangement of its elements. The word "permutation" also refers to the act or proc ...
of 'n'' The ''interval set'' of a permutation is the set of all subsets of 'n'' that are adjacent to each other in the permutation. For example, if ''n''=4 and one of the permutations is (1,2,3,4), then its interval set of contains e.g. the edges (1,2), (1,2,3), (2,3), (2,3,4), etc. The discrepancy of the permutations ''p''1, ...,''pm'' is the minimum, over all black-white colorings of the integers in 'n'' of the maximum over all intervals, of the difference between the number of white and black integers in the interval.


Offline colorings

* When there is only one permutation, a discrepancy of 1 is possible, by simply coloring the integers alternately white - black - white - black - etc. * When there are two permutations, a discrepancy of 2 is possible; this was proved by Spencer in 1987. * For any ''m'' permutations, the discrepancy is at most 8 m\log , and such a coloring can be computed efficiently. * For any three permutations,
Beck Beck David Hansen (born Bek David Campbell; July 8, 1970) is an American musician, singer, songwriter, and record producer. He rose to fame in the early 1990s with his Experimental music, experimental and Lo-fi music, lo-fi style, and became ...
conjectured that the discrepancy is constant. However, this conjecture was refuted: for any ''n'' which is a power of 3, there exist 3 permutations whose discrepancy is \lceil (\log_3)/3 + 1 \rceil. More precisely, for any coloring, if the sum of all colors is ''d'', then there exists some integer ''q'' such that, in all three permutations, the sum of the first ''q'' colors is at most (-\log_3 + 2 d - 2)/3. This has implications for the bin packing problem. Jiang, Kulkarni and Singla study the online setting with stochastic point arrival, and prove that: * A random coloring yields an expected discrepancy of \tilde(\sqrt). * There is an efficient algorithm that guarantees O(n^) discrepancy, for some universal constant ''c,''
with high probability In mathematics, an event that occurs with high probability (often shortened to w.h.p. or WHP) is one whose probability depends on a certain number ''n'' and goes to 1 as ''n'' goes to infinity, i.e. the probability of the event occurring can be mad ...
. They show an application of this result to
online fair division Online fair division is a class of fair division problems in which the resources, or the people to whom they should be allocated, or both, are not all available when the allocation decision is made. Some situations in which not all resources are ava ...
.


Online colorings

Sometimes the elements are not available in advance, but arrive one by one, and each elements should be colored immediately when it arrives. This online setting is challenging even for a single permutation. Jiang, Kulkarni and Singla call the setting with one permutation Online Interval Discrepancy. They prove that: * No online algorithm can guarantee a constant discrepancy. * Random coloring gives \tilde(\sqrt) expected discrepancy. * If the arrival is adversarial, the discrepancy of any online algorithm is \Omega(\sqrt). * If the arrival is stochastic, there is an efficient algorithm that guarantees O(n^) discrepancy, for some universal constant ''c,''
with high probability In mathematics, an event that occurs with high probability (often shortened to w.h.p. or WHP) is one whose probability depends on a certain number ''n'' and goes to 1 as ''n'' goes to infinity, i.e. the probability of the event occurring can be mad ...
(i.e. with probability 1-1/poly(''n''), where the exponent of the polynomial depends on ''c''). The proof extends for the case of two permutations, which they call Online Stripe Discrepancy.


Applications

Results in discrepancy of permutations have been used in the computation of
Agreeable subset An agreeable subset is a subset of items that is considered, by all people in a certain group, to be at least as good as its complement. Finding a small agreeable subset is a problem in computational social choice. An example situation in which th ...
s, as well as in
Online fair division Online fair division is a class of fair division problems in which the resources, or the people to whom they should be allocated, or both, are not all available when the allocation decision is made. Some situations in which not all resources are ava ...
.


References

{{Reflist Discrepancy theory Permutations