Abstract 1 Introduction 2 Results 3 Technical overview 4 Glauber dynamics for list packing 5 Coupling matchings 6 Concluding remarks References

Sampling List Packings

Evan Camrud ORCID Department of Mathematics and Statistics, Middlebury College, VT, USA Ewan Davies111Corresponding author ORCID Department of Computer Science, Colorado State University, Fort Collins, CO, USA Alex Karduna Department of Computer Science, Colorado State University, Fort Collins, CO, USA Holden Lee ORCID Department of Applied Mathematics and Statistics, Johns Hopkins University, Baltimore, MD, USA
Abstract

We initiate the study of approximately counting the number of list packings of a graph. The analogous problem for usual vertex coloring and list coloring has attracted substantial attention. For list packing the setup is similar, but we seek a full decomposition of the lists of colors into pairwise-disjoint proper list colorings. The existence of a list packing implies the existence of a list coloring, but the converse is false. Recent works on list packing have focused on existence or extremal results of on the number of list packings, but here we turn to the algorithmic aspects of counting and sampling.

In graphs of maximum degree Δ and when the number of colors is at least Ω(Δ2), we give a fully polynomial-time randomized approximation scheme (FPRAS) based on rapid mixing of a natural Markov chain (the Glauber dynamics) which we analyze with the path coupling technique. Some motivation for our work is the investigation of an atypical spin system, one where the number of spins for each vertex is much larger than the graph degree.

Keywords and phrases:
List packing, Graph colouring, Markov chains, Path coupling
Funding:
Ewan Davies: supported in part by NSF grant CCF-2309707.
Copyright and License:
[Uncaptioned image] © Evan Camrud, Ewan Davies, Alex Karduna, and Holden Lee; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Random walks and Markov chains
; Mathematics of computing Approximation algorithms
Related Version:
Full Version: https://arxiv.org/abs/2402.03520
Acknowledgements:
We thank Colin McSwiggen and Semon Rezchikov for organizing Random Theory 2023, where this collaboration began. We thank Charlie Carlson and Guillem Perarnau for comments that led to improvements to the exposition of the paper.
Editors:
Raghu Meka

1 Introduction

The classic graph coloring problem is to determine, for a graph G=(V,E) and number of colors q, whether there is a coloring f:V[q] such that f is proper in the sense that f(u)f(v) for every edge uvE. List coloring emerged in the late 20th century as an adversarial version of this problem [27, 13]. To define list coloring, we take a list size q and assign to each uV a list of allowed colors L(u) of size q. One can think of the list assignment L as supplied by an adversary who might try to prevent the existence of a coloring respecting the lists. If, under any choices of such an assignment of lists, the graph G admits a proper coloring f such that f(u)L(u) for every vertex u, then we say that G is q-list colorable (also known as q-choosable in some works). In some ways list coloring and classical graph coloring are similar, e.g., the complete graph on n vertices requires qn for both problems. But all bipartite graphs can be colored with two colors, while Kn,n requires lists of length Ω(logn) in the list coloring setting [13].

List coloring also arises naturally in various other ways. Notably, if we take a classic graph coloring problem and pre-color some vertices then we can express the problem of completing the coloring through list coloring. We set L(u) to be the subset of the colors not used by any pre-colored vertex in the neighborhood of u (though these lists may not have equal sizes). The idea of list coloring has been extended in several interesting directions, and in this work we study a very recent and structured variant known as list packing [6]. The setup is the same as for list coloring with a fixed list size q, but instead of seeking just one proper coloring where each vertex is colored from its list, we seek q pairwise-disjoint proper colorings from the lists. We consider two colorings f and f of a graph disjoint if, for all vertices u we have f(u)f(u). We call this collection of q pairwise-disjoint proper list colorings a list packing. Given a graph G and list size q, if a list packing can be found for any lists of size q chosen by an adversary then we say that G is q-list packable.

One motivation for list packing in [6] is to challenge the state-of-the-art in list coloring. For example, a folklore result states that a bipartite graph of maximum degree Δ is q-list colorable for q(1+o(1))Δ/logΔ (see also [1] and a recent improvement of the leading constant due to Bradshaw [4]). Amongst other foundational results on list packing, the folklore result was matched for the significantly more structured notion of list packing in [6]. A notable difference between known results for list packing and list coloring is that a general graph of maximum degree Δ is q-list packable for q2Δ (improved to q2Δ2 for Δ4 in [8]); whilst such G are q-list colorable for qΔ+1 (and even q=Δ if Δ3 and G does not contain a clique on Δ+1 vertices [13]). Despite the gap in known results, there is scant evidence that more than Δ+1 colors are ever required for list packing [8, 6].

Early work on list packing has focused on the problem of existence, though many arguments for existence also provide efficient constructions of list packings. An extremal perspective on counting list packings was recently investigated by Kaul and Mudrock [21], and related problems where one seeks many list colorings or “flexible” list colorings are studied in [20, 7]. In this work we turn to the study of approximately counting the number of L-packings of a graph G with a fixed q-list assignment L. This is a natural question by analogy with the same questions for graph coloring and list coloring: is there an efficient procedure that, given a graph G and a number of colors q, approximates the number of proper q-colorings of G (e.g., to within a factor 2)? This question is well-studied in the field of approximate counting and sampling, and is an important test-bed for algorithmic techniques. A longstanding open question is the existence of such an approximate counting algorithm that works for all qΔ+1 on graphs of maximum degree Δ. An influential collection of results using various techniques requires conditions such as qeΔ+1 [2], q2Δ [17, 22], q11Δ/6 [26], and even q(11/6ϵ)Δ for some small ϵ>0 [10, 9]. Another branch of research on the algorithmic aspects of counting graph colorings seeks to sample perfectly uniformly from the set of proper q-colorings of a graph. The pioneering result is due to Huber [15], with improvements and new techniques supplied in a number of later works [23, 22, 3, 16]. Interestingly, one application of such perfect samplers is to design approximate counting algorithms that can be faster than analogous approaches which use approximate samplers.

Motivated by simple and powerful ideas such as the Markov chain Monte Carlo approach to counting colorings due to Jerrum [17] (see also [25]), we seek similar results for list packing. The list packing problem, however, presents novel difficulties. Observe that finding a list coloring gets strictly easier as the list size q grows. Supposing that one has a technique that works with lists of size q0, then given larger lists one can take arbitrary subsets of the lists of size q0 and apply the technique in a black-box fashion. In contrast, for list packing with larger q we are required to find ever more list colorings which must also be pairwise-disjoint. Given lists of size q>q0, it is not at all clear how to extend an arbitrary collection of q0 pairwise-disjoint list colorings to a full list packing. The methods of [8, 6] provide evidence that showing the existence of a list packing does get easier with larger q, albeit for less straightforward and general reasons. Whether counting list packings should get easier as q grows is another matter, but we confirm this principle in the setting of approximate counting by giving an algorithm that approximately counts list packings which works for all q large enough in terms of the maximum degree.

Approximate counting of combinatorial objects such as list colorings, independent sets, and matchings corresponds to approximating the so-called partition function of a spin system from statistical physics. We are interested in the study of counting and sampling list packings as it presents an unusual type of spin system. Typically, the number of spins available for each vertex in a spin system is small. In the Ising model of magnetism vertices take a spin from {+,}, and in the (antiferromagnetic) Potts model associated with proper q-colorings, the spins are the q colors. Parameter ranges frequently studied for this model on graphs of maximum degree Δ include the case when q is close to Δ+1. The natural spin system associated with q-list packings, however, has q! spins for each vertex. Since a vertex u has a list of q colors which we must decompose into q choices, one for each list coloring in the packing, the spins for u naturally correspond to permutations of the list L(u). One of our contributions is to study a somewhat natural combinatorial problem which involves a spin system on bounded degree graphs with many more spins than commonly-studied examples. We hope that further insights into algorithmic techniques for approximate counting can be gained by studying an unusual spin system.

2 Results

Our main result is the existence of an approximate counting algorithm for list packings. We define an ϵ-approximation of a real number x as a real number y satisfying eϵx/yeϵ. We use the standard notion of a fully polynomial-time randomized approximation scheme (FPRAS) for a counting problem. This is a randomized algorithm that, given ϵ>0, yields an ϵ-approximation of the true answer in time polynomial in the input size and 1/ϵ.

Before we state the result, we need some more notation for list packings focusing on a specific list assignment L. Given a graph G we call an assignment L:V(G)2 of lists of colors to the vertices of G such that |L(u)|=q for all vertices u a q-list assignment of G. A proper coloring f of G such that f(u)L(u) for all vertices u is called an L-coloring, or a list coloring if the lists L are understood from context. Given a graph G and a q-list assignment L, we call a collection of q pairwise-disjoint L-colorings of G an L-packing. Note that an L-packing corresponds to permutation of the lists L(v) for each vertex v.

Theorem 1.

There is an absolute constant C such that the following holds. For any Δ1 and qCΔ2, let G be a graph of maximum degree Δ. Then for any q-list assignment L of G, there is an FPRAS for the number of L-packings of G.

We prove this result by analyzing the so-called “heat-bath Glauber dynamics” for list packing. Briefly, the state space is the set of list packings of the graph and transitions involve resampling a uniform random valid permutation of the list of a uniform random choice of vertex. We define “valid” carefully and analyze this Markov chain later, noting here that we prove Theorem 1 by establishing rapid mixing of this chain and hence an approximate sampling algorithm for a uniform L-packing under the same conditions.

A natural combinatorial problem on matchings in balanced bipartite graphs of large minimum degree emerges during the proof of Theorem 1, leading to a probabilistic result stated below that may be of independent interest. This is because the valid permutations of the list L(v) correspond precisely to the perfect matchings in an auxiliary bipartite graph that we construct from the list packing on the neighbors of v. Throughout, we assume that Δ and q are fixed constants and do not analyze the case where they are allowed to depend on the number n of vertices of G as then algorithmic issues related to (perfectly) sampling perfect matchings in 2q-vertex bipartite graphs become trivial333Given a bipartite graph of constant order which contains a perfect matching, sampling a perfect matching uniformly at random can be done in constant time, e.g. by exhaustively enumerating the perfect matchings and selecting one at random.. We do not attempt to optimize the dependence of the running time on q or Δ.

Given a set A, we write 𝒰A for the uniform distribution on A. When a fixed q is clear from context, let dC be the Cayley metric on the symmetric group Sq. That is, dC(ρ,ρ) is the minimum number of transpositions which one must compose with ρ to turn it into ρ. This is merely graph distance on the Cayley graph of Sq generated by the transpositions. We associate perfect matchings in a balanced bipartite graph H=([q][q],E) with permutations ρSq where (i,ρ(i))E for each i.

Given two random variables X,Y defined on the discrete probability spaces (ΩX,pX) and (ΩY,pY), a coupling of X,Y is a random variable γ=(X,Y) defined on a probability space (ΩX×ΩY,pγ) such that X and X have identical distributions and Y and Y have identical distributions.

Given a Markov chain Zt with state space Ω and transition matrix P, a coupling of Zt is a Markov chain (Xt,Yt) with state space Ω×Ω and transition matrix P^ satisfying

yΩP^((x,y),(x,y)) =P(x,x),
xΩP^((x,y),(x,y)) =P(y,y).

That is, each coordinate of the coupling is a faithful copy of Zt, though the transitions of the coordinates are not necessarily independent.

Lemma 2.

There are constants C1, C2 such that the following hold. Suppose that qC1Δ, and let H=(V,E) be a bipartite graph in which |V|=2q and the bipartition is balanced. Suppose that H has minimum degree at least qΔ. Let eE be an edge of H, let be the set of perfect matchings of H containing e, and let the set of perfect matchings of H not containing e. Then there is a coupling γ of 𝒰 and 𝒰 such that

𝔼(ρ,ρ)γ[dC(ρ,ρ)]C2Δq.

This lemma is the main bottleneck for improving the dependence of q on Δ in our main theorem. In particular, removing the factor of Δ would also improve Theorem 1 by a factor of Δ.

3 Technical overview

We prove Theorem 1 by the standard Markov chain Monte Carlo approach and the path coupling technique of Bubley and Dyer [5]. We study an ergodic Markov chain – the heat-bath Glauber dynamics – whose stationary distribution is uniform on the list packings of a graph, and use path coupling to show rapid mixing. Then a well-known and generic reduction from counting to sampling yields Theorem 1. Path coupling reduces the potentially challenging task of proving rapid mixing of a Markov chain to designing a coupling on adjacent states according to some graph Γ on the state space Ω. We largely follow the notation of [12] and consider

:={Ptp0}t=0,

an ergodic Markov chain on state space Ω with initial distribution p0 and transition operator P. We denote the (unique) stationary distribution by π, and denote by pt:=Ptp0 the distribution of the state of the chain after t steps. We use the standard notion of mixing time of Markov chains given by

tmix(ϵ):=maxp0min{t0:dTV(pt,π)ϵ},

where dTV is total variation distance.

Typically, we write ω and ω for states of the chain before a transition and σ:=Pω, σ:=Pω for the (random) states after one step of the chain from ω and ω respectively.

Theorem 3 (Bubley and Dyer [5], see also [12]).

Let Ω be the state space of a Markov chain and let Γ be a weighted, directed graph on vertex set Ω with edge weights in . Let δ be the quasi-metric444that is, a function which satisfies the conditions of a metric except symmetry on Ω given by taking shortest paths in Γ, and suppose that δ(ω,ω)D< for all ω,ωΩ.

For each (ω,ω)E(Γ), suppose that we have a coupling γ, of the random variables σ (with distribution Pω) and σ (with distribution Pω) for which 𝔼(σ,σ)γ[δ(σ,σ)]βδ(ω,ω). Then if β<1, we have tmix(ϵ)log(D/ϵ)/(1β).

The theorem may seem rather abstract, so we briefly discuss a well-known application to list coloring as a warm-up to the main argument for list packing. Let G be a graph of maximum degree Δ and let L be a q-list assignment of G. Let Ω be the set of L-colorings of G, and let be the heat-bath Glauber dynamics on Ω, defined as follows. Note that states ωΩ are colorings and hence functions V(G). A transition of from a state ω is performed by choosing a vertex uV(G) uniformly at random, sampling a color c in L(u)ω(N(u)), and moving to the state σ with σ(u)=c and σ(v)=ω(v) for all vu. That is, the transition operator P is defined via

  1. 1.

    sampling a vertex u𝒰V(G),

  2. 2.

    sampling a color c𝒰L(u)ω(N(u)),

  3. 3.

    defining σ by σ(v):={cv=uω(v)vu, and moving to the state σ.

Note that L(u)ω(N(u)) is the set of available colors for u. These colors are in the list L(u) but are not used by the coloring ω on the neighbors of u so setting ω(u) to one of them yields a valid list coloring. This chain is reversible, and when qΔ+2 it is ergodic [18, Exercises 4.1] with stationary distribution uniform on Ω.

For the purpose of constructing the couplings required by Theorem 3, let Γ be the weighted, directed graph on Ω where (ω,ω) is an edge if and only if the colorings ω,ω differ at exactly one vertex and let all edge weights be 1. From the proof of ergodicity [18] it follows that we can take D=(Δ+1)n in Theorem 3 and define couplings as follows. Let (ω,ω)E(Γ) and suppose that the colorings ω and ω differ at the vertex v. Sample uV(G) uniformly at random and update the color of u in both chains (intuitively, this decision helps the chains coalesce). That is, the distribution γ of (σ,σ) is defined by the Markov transition (ω,ω)Pγ(σ,σ) itself defined by

  1. 1.

    sampling a vertex u𝒰V(G),

  2. 2.

    sampling a pair of available colors (a,b) from a distribution γc such that

    γc:=argmaxγ is a coupling of 𝒰L(u)ω(N(u)) and 𝒰L(u)ω(N(u))Pr(a,b)γ(a=b) (1)
  3. 3.

    defining σ and σ by updating the color of u in each to a and b respectively:

    σ(v) :={av=uω(v)vu, σ(v) :={bv=uω(v)vu,

    and moving to the state (σ,σ).

Observe that γc is defined as the coupling on the uniform distributions of available colors, 𝒰L(u)ω(N(u)) and 𝒰L(u)ω(N(u)), which maximizes the probability the colors are the same. The important property of this definition in terms of applying Theorem 3 is that this coupling minimizes the expectation of the discrete metric on the sample.

If uN(v) the sets of available colors for u can be different making γc nontrivial. In this case, let C=ω(N(u){v}) and note that the two sets of available colors are A=(L(u)C){ω(v)} and B=(L(u)C){ω(v)}. We wish to couple 𝒰A and 𝒰B such that the probability of choosing the same color is maximized, and the best general coupling is not too hard to find.

Lemma 4 (See e.g., [18, Lemma 4.10]).

Let U be a finite set and A,BU. Then there is a coupling γc of 𝒰A and 𝒰B such that

Pr(a,b)γc(a=b)=|AB|max{|A|,|B|},

where (a,b) is a random element of A×B chosen according to the coupling γc.

Let m=max{|A|,|B|}. We have AB=(L(u)C){ω(v),ω(v)}. Checking the four cases according to whether each of ω(v) and ω(v) are in L(u)C, we observe that |AB|m1. By Lemma 4, we can ensure that the two chains choose the same color with probability at least 11/m. Considering the definitions of A and B, we also have mqΔ. Returning to the analysis of the coupling γ described above, we have

𝔼(σ,σ)γ[δ(σ,σ)]1+1n(1+ΔqΔ).

This comes from the facts that δ(ω,ω)=1 by assumption, the probability 1/n that we successfully reduce the distance by 1 in an update to v, and the probability of at most Δ/n that we choose to update a neighbor of v, and in this case fail to choose the same color in the coupling of the color choice in each chain given by Lemma 4 (which occurs with probability at most 1/(qΔ) given that we update a neighbor of v). Set β to the right-hand side above and solve for β<1 to obtain q>2Δ.

Well-known works that first studied this technique [17, 5, 18] give a similar proof, though Jerrum [17] manually constructed a coupling of the Markov chain and did not appeal to path coupling. With path coupling, it is slightly easier to study a variant of the Markov chain known as the “Metropolis Glauber dynamics” where the transition is defined slightly differently, though the same lower bound on q is required in the argument for this chain.

Our argument for list packing follows the same outline as above using the heat-bath dynamics for list packings, but it is much harder to construct the coupling. In particular, we need an analogue of Lemma 4 for the much more intricate combinatorial setting of list packings. We describe this in the next subsection.

3.1 Coupling perfect matchings

In the list packing setting, each spin is a permutation of a list. The central problem one faces when adapting the above sketch to list packing is the issue of coupling the choice of available permutations in the case that we are updating the spin of u in two copies of the Glauber dynamics which differ at a neighbor vN(u). It turns out (see e.g. [6] and earlier works such as [24]) that there is an auxiliary bipartite graph in which available permutations for u correspond to perfect matchings.

Given a graph G with q-list assignment L, let Ω be the set of L-packings of G, and let ωΩ. Let f1,,fq be the L-colorings represented by ω. To be explicit, suppose that for each vertex v of G we write L(v) in ascending order as c1,v,,cq,v. Then we identify V(G) with [n] and consider Ω as a subset of Sqn such that with v[n] we define f1,,fq:V(G) by fi(v)=cωv(i),v, where we interpret ωv as a permutation of L(v) so that ωv(i) is the color assigned to v in the ith coloring in the packing. This notation has the advantage that many of the dependencies are explicit, but to avoid a proliferation of subscripts we omit them where it is possible to fix some context in advance.

For a vertex uV(G), we construct the availability graph Hu=Hu(G,L,ω) as follows. We consider the vertex set of Hu as [q][q], the disjoint union of two copies of the set [q]. The left copy consists of “packing indices” and the right copy consists of “list indices”. For clarity, the edges of Hu are considered oriented from left to right so that (i,j) joins packing index i to list index j. Suppose that L(u)={c1,,cq} is supplied in some fixed order. Then in Hu we include each edge (i,j)[q]2 such that cj is an available color for u in the coloring fi. That is, (i,j) is an edge of Hu if and only if cjfi(N(u)). One can check the defintions and observe that perfect matchings in Hu correspond to the available permutations ρSq for u in the sense that setting ωu to an available ρ yields a valid list packing. The heat-bath Glauber dynamics for L-packings thus works in much the same way as for L-colorings. The transition from a state ω is defined by choosing a vertex uV(G) uniformly at random, and then a perfect matching in Hu(G,L,ω) uniformly at random. It is straightforward to check that the chain is reversible and has uniform stationary distribution; we prove that it is ergodic (for large enough q) in Lemma 7.

An important consideration when G has maximum degree Δ is that Hu has minimum degree qΔ. This follows from the properties of a list packing: at packing index i any color that is not available must be used by fi on a neighbor of u and there are at most Δ such neighbors. Similarly, for a color cj with color index j, any packing index i in which cj is not available is explained by cj being used by fi on N(u). Since the colorings in a packing are pairwise-disjoint, each such index must be due to distinct neighbors of u, of which there are at most Δ. It is useful to observe that for any ωSqn, even one that may not be a proper list packing in the sense that the q list colorings it represents may not be proper, the definition of availability graph still makes sense and the observation on the minimum degree still applies. That is, the key property of q-list packings on graphs of maximum degree Δ that yields the minimum degree bound qΔ is that the list colorings represented are pairwise-disjoint. This fact is convenient in the proof of Lemma 5.

To construct the coupling we consider the weighted, directed graph Γ on Ω where (ω,ω) is an edge if and only if the list packings ω and ω differ at exactly one vertex. For the edge (ω,ω)E(Γ), let v be the unique vertex at which the two packings differ, and assign weight dC(ωv,ωv) to the edge. As with list coloring, the key computation is how much the expected distance changes for one step of the coupling in the case that we start at (ω,ω) and update a neighbor u of the unique vertex v at which ω and ω differ. We prove the following result which plays the role of Lemma 4 in our proof.

Lemma 5.

There is a universal constant C such that if q>CΔ2 the following holds.

Let (ω,ω)E(Γ) be an edge of weight ψ in Γ and let v be the unique vertex at which ω and ω differ. Let uN(v) and consider the availability graphs H and H for u in the packings ω and ω respectively.

Then there exists a coupling γ of the uniform distributions on perfect matchings on H and H which satisfies

𝔼(ρ,ρ)γ[dC(ρ,ρ)]ψ2Δ.

Note that in the conclusion any bound strictly better than ψ/Δ suffices for an application of Theorem 3, and one might expect to obtain results in the case of exactly ψ/Δ as well [17, 5, 12]. We do not attempt to optimize the constant C in our argument and hence ψ/(2Δ) is sufficient. Lemma 5 is a simple corollary of Lemma 2, and with these results in hand the rest of the argument for Theorem 1 is standard.

3.2 Organization

In Section 4 we define a Markov chain on list packings, prove ergodicity and establish rapid mixing given our results on coupling perfect matchings. In Section 5 we prove Lemmas 2 and 5. We conclude with some remarks in Section 6.

4 Glauber dynamics for list packing

In this section we fix an n-vertex graph G of maximum degree Δ, a q-list assignment L of G, and let Ω be the set of L-packings of G.

We consider heat-bath Glauber dynamics =(G,L) for list packing. Given a state ωΩ and a vertex uV(G), we say that a permutation ρ in Sq is available for u in ω if setting ωu to ρ yields a valid list packing. Transitions of are defined as follows. From state ωΩ, choose vertex uV(G) uniformly at random, choose an available permutation ρSq uniformly at random, and let the new state be σ given by σu=ρ and σv=ωv for vu. It is straightforward to check that this is a reversible Markov chain on Ω with uniform stationary distribution. The question of ergodicity is less straightforward, though the standard argument for list coloring adapts easily. We require a simple corollary of Hall’s classic result on perfect matchings in bipartite graphs.

Lemma 6 (Corollary of Hall’s theorem [14]).

Let H be a bipartite graph with q vertices on each side and minimum degree dq/2. Then H contains a perfect matching.

Sketch proof.

Let the bipartition be AB and consider a subset XA. If 1|X|d then |N(X)|d|X|. If instead d+1|X|q then N(X) must be all of B since for each neighborhood of a vertex in B must intersect X. The result follows from Hall’s theorem.

Lemma 7.

For q2Δ+2 the Markov chain is ergodic.

Proof.

Because there are self-transitions at every state, it suffices to show that the (finite) state space is connected.

Every state ωΩ can be connected to an arbitrary ωΩ as follows. Label the vertices of G with the integers 1,,n arbitrarily, and for i=1,,n, sequentially turn ωi into ωi as follows. If setting ωi equal to ωi is not possible (i.e. ωi is not available for i in ω) then it’s because some neighbor j of i with j>i uses a color at a particular packing index which conflicts with ωi. To solution is to repack each such neighbor j in ω, i.e. change ωj to a new permutation of L(j), in turn such that the repacking is proper and avoids any such conflicts. These repacking steps are steps of the chain.

To perform the repacking, we find a perfect matching in a suitable modification of the availability graph Hj=Hj(G,L,ω). Recall that perfect matchings in Hj correspond to the available permutations ρ for u in ω. We have an additional condition on the permutation ρ that we seek, namely that ρ does not correspond to a color choice for j that is incompatible with turning ωi into ωi. We can encode this in the availability graph by deleting an edge (a,b) such that the b-th color in L(j) is used at packing index a in color choices represented by ωi. After this modification, the availability graph has minimum degree qΔ1, so the condition q2Δ+2 allows for an application of Lemma 6. This shows that the necessary repackings exist, and thus that Ω is connected by transitions of the chain that occur with positive probability.

Theorem 8.

The mixing time tmix(ϵ) of is at most O(nlog(n/ϵ)).

Proof.

We apply Theorem 3 with the following coupling defined on edges of the weighted graph Γ on Ω such that (ω,ω) is an edge of weight dC(ωv,ωv) whenever ω and ω differ at a single vertex v. Lemma 7 shows that Γ is connected, and we note that the diameter D is at most (Δ+1)(q1)n=O(n). This is because the sequence of steps constructed in Lemma 7 consists of edges of Γ, the total number of steps is at most (Δ+1)n because we repack each vertex v at most once for each neighbor of v to avoid conflict and at most once more to agree with ω. As the Cayley distance on Sq takes values in {0,1,,q1}, the diameter bound follows.

Let (ω,ω) be an edge of Γ of weight ψ. We define the coupling as follows. We choose uV(G) uniformly at random and update u in both packings. If uN(v) then the sets of available permutations of L(u) in both packings are identical and we choose one uniformly at random to use in both chains. If u=v this results in a distance of zero, else the distance is unchanged. If uN(v) then we use the coupling of Lemma 5 to choose the permutations of L(u) in the packings. Let (σ,σ) be the random state after one step of the coupling started from (ω,ω). Then

𝔼[δ(σ,σ)]ψ+1n(ψ+Δψ2Δ)=ψ(112n).

Theorem 3 now gives mixing time tmix(ϵ)=O(nlog(n/ϵ)).

The proof of Theorem 1 using Theorem 8 is now entirely standard. We sketch the argument here. Counting list packings is a self-reducible problem in the sense of [19] and so having an almost-uniform sampler, which follows from running the Markov chain for polynomially many steps, is equivalent to having an FPRAS. Concretely, construct a sequence G=GmG1G0=(V(G),) of graphs by starting from G and removing an arbitrary edge to form the next member of the sequence. For a fixed q-list assignment L of G we can let Ωi be the set of L-packings of Gi and write

|Ωm|=|Ω0|i=1m|Ωi||Ωi1|.

We have |Ω0|=(q!)n and can estimate each ratio in the product as it’s the probability that when we choose a unformly random ωΩi1 we have ωΩi. We also note that 11+q!|Ωi||Ωi1|1 because ΩiΩi1 and we can construct the following bipartite graph B on (Ωi1Ωi)Ωi. Let uv be the edge removed from Gi to form Gi1, and include the edge (ω,ω) in B if ω can be obtained from Ω by permuting the list of u. Then any ωΩi1Ωi is connected to at least one element in Ωi by Lemma 6, and there are at most q! ways to permute L(u) so from the other side the degrees are at most q!. We do not attempt to optimize this argument; more intricate arguments yield stronger lower bounds, but we are merely interested in a bound independent of n. This observation lets us repeat the analysis of Jerrum [17] for the case of colorings in the setting of list packings. Briefly, we use multiple copies of the almost uniform sampler offered by the Markov chain to estimate each ratio. To make this work, one has to bound the variance of the estimator for each ratio and manage the overall error with Chebyshev’s inequality, but this is standard. See e.g., [17].

5 Coupling matchings

In this section we prove Lemmas 2 and 5. We first collect some results on auxiliary bipartite graphs.

Lemma 9.

Let G=(V,E) be a bipartite graph with bipartition V=LR. Let μL and μR be probability distributions over L and R. Let

p=minAL[1μL(A)+μR(N(A))].

There exists a coupling γ of μL and μR such that when (v,w)γ, with probability p, vw is an edge of G.

Proof.

This follows from the max-flow min-cut theorem after introducing a source vertex s, a sink vertex t, and introducing the following edges:

  1. 1.

    for vL, the edge sv with capacity μL(v),

  2. 2.

    for vR, the edge vt with capacity μR(v),

  3. 3.

    for each edge eG, an edge with capacity .

A max flow corresponds to a coupling γ of the type we require with maximum probability that vw is an edge. The value of the max flow is the same as the value of the min cut. If S,T is a finite cut with sS, tT, letting A=SL, B=SR, we must have N(A)B, and the value is μL(Ac)+μR(B)μL(Ac)+μR(N(A)). Equality is achieved for B=N(A). Taking the minimum over A then gives the lemma.

Corollary 10.

Let G=(V,E) be a bipartite graph with bipartition V=LR. Suppose that each vertex in L has degree contained in [mL,ML] and each vertex in R has degree contained in [mR,MR]. Then there exists a coupling γ of the uniform distributions 𝒰L and 𝒰R on L and R respectively such that when (v,w)γ, with probability at least mLmRMLMR, vw is an edge of G.

Proof.

For each subset AL, we can bound the number of edges between A and N(A):

mL|A||E(A,N(A))|MR|N(A)|.

We also have

mR|R||E|ML|L|.

Then for any set AL,

|N(A)|/|R||A|/|L|=|N(A)||A||L||R|mLmRMLMR.

Then for any such A,

1𝒰L(A)+𝒰R(N(A))1𝒰L(A)+mLmRMLMR𝒰L(A)mLmRMLMR.

The conclusion follows from Lemma 9.

We are now ready to prove Lemma 2, which we restate for convenience. See 2

Proof.

Label the bipartitions by [q]. Without loss of generality the edge e is (1,1). We define an auxiliary bipartite graph on as follows. For ρ and ρ, connect ρ and ρ by an edge if ρ(1ij)=ρ for some i,j[q]{1} with ij, i.e., they differ by a 3-cycle containing 1. Note that here we use standard group-theoretic notation for permutations in Sq so that e.g. ρ(1ij) is the product of the permutation ρ and the permutation (1ij) (in standard cycle notation).

We bound the degrees of arbitrary matchings ρ and ρ. Given ρ, we count the number of i,j for which ρ(1ij). Let N(i)={j:(i,j)E} and N(j)={i:(i,j)E}. Given ρL, we know that ρ(1)=1. We choose jN(1){1}; there are at least qΔ1 choices. Any possible value of i must be in the set S{j}, where S:={ρ1(k):kN(1){1}}; S{j} has size at least qΔ2. A valid pair (i,j) is exactly one where jN(1){1}, iS{j}, and (i,ρ(j))E. Since at most Δ+1 of edges (i,ρ(j)), jN(1){1} can land outside E, at least q2Δ3 of these edges are valid, i.e., there are at least (qΔ1)(q2Δ3) valid choices of (i,j). There are at most (q1)(q2) choices.

Next, given ρ, we count the number of i,j[q]{1}, ij for which ρ=ρ(1ij) where ρ. First, note we must have ρ(j)=1. The requirement on i is that iN(ρ(1)) and ρ(i)N(j). There are at least qΔ2 indices besides 1 and j satisfying each condition, so at least q2Δ4 possible indices. There are at most q2 choices. By Corollary 10, there is a coupling γ of 𝒰 and 𝒰 such that with probability at least

p:=(qΔ1)(q2Δ3)(q1)(q2)q2Δ4q2,

(ρ,ρ)E are connected by an edge and hence have Cayley distance at most two. For appropriate choices of C1,K>0, 1pKΔ/q for qC1Δ. For this coupling γ, we hence have

𝔼(ρ,ρ)γ[dC(ρ,ρ)]KΔqq+(1KΔq)2KΔ

for an appropriate constant K>0.

Next, note that we can define a coupling between 𝒰 and 𝒰 as a mixture of the identity coupling between 𝒰 and 𝒰 (with probability ||||+||) and the above coupling (with probability ||||+||). The expected distance for this coupling is then

||||+||KΔq2(q2)+(qΔ1)(q2Δ3)KΔC2Δq

for appropriate C2>0, as needed.

See 5

Proof.

Formally, we proceed by induction on ψ, though we need a more general statement for the induction hypothesis. It is convenient to relax the requirement that ω and ω are valid list packings. For the application, it is important that the pair (ω,ω) are valid list packings which agree on every vertex except u, but we construct the coupling of perfect matchings in H and H using a sequence of near-valid list packings ω′′Sqn in the sense that ω′′ agrees with ω and ω on all vertices except u, but we allow the (pairwise-disjoint) colorings it represents to have monochromatic edges incident to v. We can still construct availability graphs for u in these near-valid packings and consider their sets of perfect matchings for the purposes of constructing an eventual coupling of the perfect matchings in H and H. With these definitions in place, the generalization that we prove by induction is the statement obtained by replacing the assumption that ω and ω are valid packings with the assumption that they are near-valid.

The base case is ψ=0 in which the trivial coupling suffices as H and H, and hence their sets of perfect matchings, are identical.

The induction step follows from Lemma 2. The fact that dC(ωv,ωv)=ψ means that there is a sequence of transpositions τ1,,τψ such that ωv=τψτ1ωv. Let H′′ be the availability graph of the vertex u in the near-valid packing ω′′ such that ωv′′=τψωv and ω′′ agrees with ω on all other vertices. By induction, there is a coupling γ of the uniform distributions on perfect matchings in H′′ and H such that

𝔼(ρ′′,ρ)γ[dC(ρ′′,ρ)]ψ12Δ.

Without loss of generality, suppose that ωv is the identity. Let τψ=(ij), and note that this gives

E(H)E(H′′) {(i,j),(j,i)} and E(H′′)E(H) {(i,i),(j,j)}.

This is because any difference between the edges of H and H is explained by applying τ to ωv. When τ is a transposition, we swap the packing index of the coloring at which two colors in the list of v are used, which can swap two edges of the complement of the availability graph. It can be the case that the swapped color indices refer to different colors in L(u) which is why we do not have equality.

We start with the case that

E(H)E(H′′) ={(i,j),(j,i)} and E(H′′)E(H) ={(i,i),(j,j)},

the other cases are similar. Let X be the set of perfect matchings in H and let X′′ be the set of perfect matchings in H′′. We seek a coupling of 𝒰X and 𝒰X′′ which we will combine with the coupling γ to obtain the desired result.

We apply Lemma 2 to H and H(i,j), yielding a coupling γ1 of 𝒰X and 𝒰Y, where Y is the set of perfect matchings in H(i,j). We can apply Lemma 2 again to H(i,j) and H(i,j)(j,i), yielding a coupling γ2 of 𝒰Y and 𝒰Z, where Z is the set of perfect matchings in H(i,j)(j,i). There is a slight technicality here as the minimum degree of H(i,j) is qΔ1, but this can be handled by setting Δ to Δ+1 and adjusting the constants slightly. Analogously, starting from H′′, we construct a coupling γ1′′ of 𝒰X′′ and 𝒰Y′′ and a coupling γ2′′ of 𝒰Y′′ and 𝒰Z, where Y′′ is the set of perfect matchings in H′′(i,i). A careful composition of these couplings gives the result. The composition of these couplings yields a distribution on X×Y×Z×Y′′×X′′ which is uniform on each individual set in the Cartesian product, and such that the expected distance between permutations from adjacent sets in the Cartesian product is at most C2Δ/q. Taking the first and last coordinate yields a coupling γ′′ of 𝒰X and 𝒰X′′ such that

𝔼(π,π′′)γ′′[dC(π,π′′)]<4C2Δq.

This can be combined with γ obtained by induction in the same way. Simple composition yields a distribution on X×X′′×X which is uniform on each individual set in the Cartesian product. Taking the first and last coordinates we have a coupling γ of 𝒰X and 𝒰X such that

𝔼(π,π)γ[dC(π,π)]<ψ12Δ+4C2Δq.

Since we assume qCΔ2, for a large enough C this is at most ψ/(2Δ) as required. The other cases proceed similarly, but require fewer applications of Lemma 2 and yield a stronger upper bound.

6 Concluding remarks

Many natural questions remain unanswered. We have chosen to extend some of the most fundamental techniques for counting list colorings to list packings, but there are many more recent improvements to consider. Dyer and Greenhill [11] study a Markov chain on (list) colorings whose transitions are defined by properly recoloring both endpoints of a uniform random edge and show that its mixing time is less than that of Glauber dynamics studied in [17, 25]. The flip dynamics employed by Vigoda [26] for counting colorings is an important technique that gets significantly below the number of colors required by Jerrum’s approach. Extending Vigoda’s approach to list coloring was first done by Chen et al. [10], roughly 20 years after Vigoda’s breakthrough. Though they also surpassed a significant barrier at 11Δ/6 colors related to 1-step contractions in Hamming distance of two colorings that differ at a vertex. The history of this problem suggests that further generalizations, e.g. to list packing may not be straightforward. While one can consider analogous dynamics for list packings and hope to reduce the bound on q in Theorem 1, we do not have results showing the existence of list packings in graphs of maximum degree Δ for fewer than 2Δ2 colors. In another direction, the use of more advanced Markov chain techniques to give perfect sampling of list packings could be interesting.

We finish with a natural conjecture on approximately counting list packings.

Conjecture 11.

For each Δ and q2Δ there is an FPRAS for counting the number of q-list packings of graphs of maximum degree Δ.

At the time of writing, we know of no reason that the lower bound on q cannot be reduced to, say, Δ+1. The value 2Δ represents a significant barrier in the sense that the existence of a list packing when q2Δ is an elementary consequence of Hall’s theorem (though arguably not entirely trivial).

References

  • [1] Noga Alon, Stijn Cambie, and Ross J. Kang. Asymmetric List Sizes in Bipartite Graphs. Annals of Combinatorics, 25(4):913–933, 2021. doi:10.1007/s00026-021-00552-5.
  • [2] Ferenc Bencs, Ewan Davies, Viresh Patel, and Guus Regts. On zero-free regions for the anti-ferromagnetic Potts model on bounded-degree graphs. Annales de l’Institut Henri Poincaré D, 8(3):459–489, 2021. doi:10.4171/AIHPD/108.
  • [3] Siddharth Bhandari and Sayantan Chakraborty. Improved bounds for perfect sampling of k-colorings in graphs. In Proceedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing, STOC 2020, pages 631–642, New York, NY, USA, 2020. Association for Computing Machinery. doi:10.1145/3357713.3384244.
  • [4] Peter Bradshaw. Graph Colorings with Local Restrictions. PhD thesis, Simon Fraser University, 2022. URL: https://summit.sfu.ca/item/35851.
  • [5] R. Bubley and M. Dyer. Path coupling: A technique for proving rapid mixing in Markov chains. In Proceedings 38th Annual Symposium on Foundations of Computer Science, pages 223–231, Miami Beach, FL, USA, 1997. IEEE Comput. Soc. doi:10.1109/SFCS.1997.646111.
  • [6] Stijn Cambie, Wouter Cames van Batenburg, Ewan Davies, and Ross J. Kang. Packing list-colorings. Random Structures & Algorithms, 64(1):62–93, 2024. doi:10.1002/rsa.21181.
  • [7] Stijn Cambie, Wouter Cames van Batenburg, and Xuding Zhu. Disjoint list-colorings for planar graphs. arXiv preprint, 2023. arXiv:2312.17233.
  • [8] Stijn Cambie, Wouter Cames van Batenburg, Ewan Davies, and Ross J. Kang. List packing number of bounded degree graphs. Combinatorics, Probability and Computing, 33(6):807–828, 2024. doi:10.1017/S0963548324000191.
  • [9] Charlie Carlson and Eric Vigoda. Flip Dynamics for Sampling Colorings: Improving (11/6ϵ) Using a Simple Metric. To appear in SODA 2025, 2025. doi:10.48550/arXiv.2407.04870.
  • [10] Sitan Chen, Michelle Delcourt, Ankur Moitra, Guillem Perarnau, and Luke Postle. Improved Bounds for Randomly Sampling Colorings via Linear Programming. In Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, Proceedings, pages 2216–2234. Society for Industrial and Applied Mathematics, 2019. doi:10.1137/1.9781611975482.134.
  • [11] Martin Dyer and Catherine Greenhill. A more rapidly mixing Markov chain for graph colorings. Random Structures & Algorithms, 13(3-4):285–317, 1998. doi:10.1002/(SICI)1098-2418(199810/12)13:3/4<285::AID-RSA6>3.0.CO;2-R.
  • [12] Martin Dyer and Catherine Greenhill. Random Walks on Combinatorial Objects. In J. D. Lamb and D. A. Preece, editors, Surveys in Combinatorics, 1999, pages 101–136. Cambridge University Press, 1 edition, 1999. doi:10.1017/CBO9780511721335.005.
  • [13] Paul Erdős, Arthur L. Rubin, and Herbert Taylor. Choosability in graphs. In Proceedings of the West Coast Conference on Combinatorics, Graph Theory and Computing (Humboldt State Univ., Arcata, Calif., 1979), Congress. Numer., XXVI, pages 125–157. Utilitas Math., Winnipeg, Man., 1980.
  • [14] P. Hall. On Representatives of Subsets. Journal of the London Mathematical Society, s1-10(1):26–30, 1935. doi:10.1112/jlms/s1-10.37.26.
  • [15] Mark Huber. Exact sampling and approximate counting techniques. In Proceedings of the Thirtieth Annual ACM Symposium on Theory of Computing, STOC ’98, pages 31–40, New York, NY, USA, 1998. Association for Computing Machinery. doi:10.1145/276698.276709.
  • [16] Vishesh Jain, Ashwin Sah, and Mehtaab Sawhney. Perfectly Sampling k(8/3+o(1))Δ-colorings in Graphs. In Proceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing, STOC 2021, pages 1589–1600, New York, NY, USA, 2021. Association for Computing Machinery. doi:10.1145/3406325.3451012.
  • [17] Mark Jerrum. A very simple algorithm for estimating the number of k-colorings of a low-degree graph. Random Structures & Algorithms, 7(2):157–165, 1995. doi:10.1002/rsa.3240070205.
  • [18] Mark Jerrum. Counting, Sampling and Integrating: Algorithms and Complexity. Lectures in Mathematics ETH Zürich. Birkhauser Verlag, Basel Boston, MA, 2003.
  • [19] Mark R. Jerrum, Leslie G. Valiant, and Vijay V. Vazirani. Random generation of combinatorial structures from a uniform distribution. Theoretical Computer Science, 43:169–188, 1986. doi:10.1016/0304-3975(86)90174-X.
  • [20] Hemanshu Kaul, Rogers Mathew, Jeffrey A. Mudrock, and Michael J. Pelsmajer. Flexible list colorings: Maximizing the number of requests satisfied. Journal of Graph Theory, 106(4):887–906, 2024. doi:10.1002/jgt.23103.
  • [21] Hemanshu Kaul and Jeffrey A. Mudrock. Counting Packings of List-colorings of Graphs. arXiv preprint, 2024. arXiv:2401.11025.
  • [22] Jingcheng Liu, Alistair Sinclair, and Piyush Srivastava. A Deterministic Algorithm for Counting Colorings with 2-Delta Colors. In 2019 IEEE 60th Annual Symposium on Foundations of Computer Science (FOCS), pages 1380–1404, Baltimore, MD, USA, 2019. IEEE. doi:10.1109/FOCS.2019.00085.
  • [23] Pinyan Lu and Yitong Yin. Improved FPTAS for Multi-spin Systems. In David Hutchison, Takeo Kanade, Josef Kittler, Jon M. Kleinberg, Friedemann Mattern, John C. Mitchell, Moni Naor, Oscar Nierstrasz, C. Pandu Rangan, Bernhard Steffen, Madhu Sudan, Demetri Terzopoulos, Doug Tygar, Moshe Y. Vardi, Gerhard Weikum, Prasad Raghavendra, Sofya Raskhodnikova, Klaus Jansen, and José D. P. Rolim, editors, Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, volume 8096, pages 639–654. Springer Berlin Heidelberg, Berlin, Heidelberg, 2013. doi:10.1007/978-3-642-40328-6_44.
  • [24] Kyle MacKeigan. Independent coverings and orthogonal colourings. Discrete Mathematics, 344(8):112431, 2021. doi:10.1016/j.disc.2021.112431.
  • [25] Jesús Salas and Alan D. Sokal. Absence of phase transition for antiferromagnetic Potts models via the Dobrushin uniqueness theorem. Journal of Statistical Physics, 86(3):551–579, 1997. doi:10.1007/BF02199113.
  • [26] E. Vigoda. Improved bounds for sampling colorings. In 40th Annual Symposium on Foundations of Computer Science, pages 51–59, New York City, NY, USA, 1999. IEEE Comput. Soc. doi:10.1109/SFFCS.1999.814577.
  • [27] Vadim G Vizing. Coloring the vertices of a graph in prescribed colors. Diskret. Analiz, 29(3):10, 1976.