, and
Repetition effects in a Sequential Monte Carlo sampler
Abstract
We investigate the prevalence of sample repetition in a Sequential Monte Carlo (SMC) method recently introduced for political redistricting.
keywords:
1 Introduction
In this note, we consider the structure of the SMC (Sequential Monte Carlo) method developed by McCartan–Imai for sampling partitions of a fixed node-weighted graph into a given number of connected subgraphs with nearly equal total weight (McCartan and Imai, 2023). The main application is to redistricting, where the weight is by population, so we will refer to the partition as a plan and its parts as districts. SMC operates by fixing a sample size and a number of districts , then creating a top generation of partial plans by marking off one connected subset of with roughly of the total weight in each plan (Figure 1, left). In the next generation, agents sample with replacement from those partial plans according to a weighting function; continuing the progress in the partial plan, the agents then mark off a second subset of about the same size. This process continues for generations until the entire graph is marked. We will summarize the salient combinatorial features of this scheme in a descendancy diagram (Figure 1, right), showing only the paths that connect from the bottom layer to the top. The nodes of involved in these paths are called active or activated. The final generation consists of complete partitions. This is the method developed by the SMC authors to generate ensembles of random districting plans, like the four complete plans at the bottom of Figure 1.
SMC samples face a certain amount of characteristic redundancy. As the authors note, ”because the SMC algorithm involves repeated resampling with replacement, for a finite number of samples it can suffer from particle system collapse (Liu, Chen and Logvinenko, 2001), where many of the sampled plans share a small number of common districts (which originate as common ancestor particles in the SMC scheme).” In practical terms, this means that SMC samples can tend to have certain districts or sets of districts repeated many times across plans, like the blue square at the top left of the grid in Figure 1, which appears in 3/4 of the final sample. One aim of this note is to study this concentration of ancestry in combinatorial terms.
The second aim is to understand the tradeoffs faced by users in the choice of sampler. Citing McCartan–Imai again: ”Like MCMC algorithms, the SMC algorithm generates samples which approximate the target distribution arbitrarily well as the sample size increases.” Our second set of questions explores the convergence guarantees and practical diagnostics available with SMC in relation to the production of various data artifacts used in redistricting analysis, like histograms and boxplots. (See also Cannon et al. (2022) for more comparison of methods.)
Diagnosing strengths and weaknesses of the method has important real-world value. This is because SMC for redistricting, as implemented by the authors in the open-source package Redist (Kenny et al., ), is already in widespread use in courts of law. The repetition of districts has been flagged as a limitation that undermines statistical claims about the sample. For instance, mathematician Kristopher Tapp produced an affidavit in New York state Senate litigation in which he attempted a replication of another expert’s SMC ensemble of 5000 maps, and found that a certain set of 31 districts (covering about half of the state) appeared identically in over 64% of the sample.111Tapp further notes that while an ensemble of 5000 63-district maps can have up to 315,000 distinct districts, his replication ensemble had only 12,319, so that each district was repeated an average of 1360 times. He calls this ”a head-turning level of redundancy.” (Tapp, 2022) In New Mexico state Senate litigation, a defense brief described the SMC method as being ”plagued with duplicate simulations”; as a prophylactic measure to protect against this criticism, a defense expert cosmetically altered his SMC sample by perturbing the boundaries of districts so that he could claim that no districts were duplicated.222”Dr. Chen’s implementation of the MCMC version of an SMC algorithm [sic] did not result in any duplicated maps. [Exh. D, Dep. ST 54:17–55:17 (falsely testifying that Dr. Chen’s simulations contain duplicates), 136:6–136:20 (correcting his mistaken testimony)].” The opposing expert Sean Trende was no more sophisticated, opining in deposition that ”Duplicates happen all the time… So it doesn’t bother me, unless it gets extreme to where you end up having, like, 20 maps.” (NM Legislative Defendants, 2022) It is clear that rigorous attention to the issues around duplication and the consequences for statistical interpretation are greatly needed in the field.
1.1 Motivating questions
To understand the SMC algorithm for districts, we will begin by studying uniform descendancy diagrams with levels (also called layers or generations) labeled to from bottom to top, each of width , in which each node chooses a parent uniformly at random from the generation above. Nodes in the top layer (indexed ) represent partial plans with a single initial district marked, and those at level represent districting plans with districts marked. At level 1, districts are marked, which determines the th and final district and amounts to specifying a complete plan. A node in a descendancy diagram is active if it has a descendant in the bottom layer, and surviving ancestors are active nodes at the top level (so named because they have descendants in the final population). Calculations using descendancy diagrams will omit all non-active nodes, because they have no role in the final sample constructed by SMC.
If we write for a specific diagram of this form, then let be the number of surviving ancestors in that diagram, and let be the expected number of surviving ancestors as ranges over the uniform distribution on . We consider the following questions.
Question 1 (Ancestor extinction).
As a function of and , what is the distribution of the number of surviving ancestors in a uniform descendancy diagram? Give bounds or asymptotics for the expectation .
Question 2 (Extent of redundancy).
Define to be the number of final plans with at least districts in common. How is that distributed over for each ?
For instance, see Figure 3. Seeing high numbers at low levels is an indicator of repetition. In this case, there is one district that appears in 11 out of 12 final plans (value 11 appearing in top row). Worse than that, it is part of a group of 3 districts that appear identically in those 11 plans (value 11 in row ). Also, there is a group of 7 districts that appears in 8 out of 12 final plans (value 8 in row ). So for the sample of plans constructed according to this diagram , we have and .
The questions so far concern the combinatorics of descendancy diagrams, but the combinatorics is only one source of redundancy. It turns out to be compounded by several other factors. One compounding factor is the non-uniformity of weights in the intermediate generations that are used when the each generation picks its parents. A second factor is the graph being partitioned, which can start to have bottlenecks obstructing further district selection if the first few have been marked in an unlucky way.
Question 3 (Weighting and graph topology).
How do ancestry concentration and redundancy get more severe as the weighting factors deviate from uniform, and when realistic graphs are used as the basis for the partition?
Finally, we broaden the scope and consider the overall quality of the ensemble of plans that consists of members of the final generation.
Question 4 (Convergence guarantees).
What are the convergence guarantees for the sampling distribution obtained from the weak SMC Central Limit Theorem (McCartan and Imai, 2023, Prop 4.2)? How do they limit the extent of redundancy?
Question 5 (Summary statistics).
How do the convergence guarantees and diagnostics relate to the production of histograms, boxplots, and other percentile summary statistics?
There are many other elements of the SMC code as implemented in Redist that pull results away from the simplicity of descendancy diagrams, besides those already mentioned (inter-generational weighting factors and bottlenecks in the graph topology). Another example is that SMC creates sequentially labeled districting plans but seeks to sample unlabeled plans; this is addressed with a corrective factor for which a second, auxiliary round of Monte Carlo estimation was described in the paper when sampling plans with districts.333Some district configurations have many more ways of being sequentially labeled than others; this can produce distortion factors of over a million in practice. A corrective factor is described in §4.4.2 of McCartan and Imai (2023). Another example is a final reweighting step to align the sample more closely with the target distribution.
The validation datasets employed in the article introducing SMC are graphs with 36 and 50 nodes and districts; it is not at all clear that some of the challenges faced by SMC will become visible at that scale. The New York Senate case, in which the judge gave some credence to SMC ensemble made with default settings, had over 16,000 nodes and districts.
Finally, it is very important to highlight that most of the SMC samples appearing in expert work, as well as the published work of the SMC authors, use small samples. Typically, sample sizes of 5000 are presented based on a single run at or by combining and subsampling multiple runs with .444The largest sample sizes we have found in the SMC 50-state data repository are at (McCartan et al., 2022). Our independent attempts to produce large runs can reach on certain states, but it is difficult to get past that size using basic professional-level computer resources. This is because the Redist SMC code has significant memory overhead associated with storing partial plans. Even on a medium-sized problem like redistricting Pennsylvania into districts at the precinct level, a run with consumes over 25 GB of RAM. Thus for practical purposes, SMC sampling is currently engineered to be performed with multiple small runs, not with sample sizes in the millions.
Below, we will alternate between trying to isolate the effects of different features of the SMC sampler and simply reporting outcomes when the code is run. This produces both a theoretical and a practical analysis.
Acknowledgments
We are grateful to Peter Rock for his excellent work conducting SMC experiments to support this project, building on his development of Python wrappers for the core Redist functionality. Replication repo at github.com/mggg/SMC-repetition. We thank Cory McCartan for sharing his time to explain SMC for redistricting and the Redist code, as well as for feedback and a correction on an earlier draft of this note. We thank Peter Winkler and Chris Hoffman for helpful conversations and pointers to the literature. This material is based upon work supported by the National Science Foundation under Grant No. DMS-1928930 and by the Alfred P. Sloan Foundation under grant G-2021-16778, while the authors were in residence at the Simons Laufer Mathematical Sciences Institute (formerly MSRI) during the Fall 2023 semester. SC is also supported in part by NSF CCF-2104795; MD by NSF DMS-2005512.
2 Structure of descendancy diagrams
This section presents theoretical results, derived from the combinatorics of the descendancy diagrams, that allow us to bound the values and begin to explain the expected behavior of collisions. We start by providing a Markov chain formulation for calculating exact values of before providing more computationally efficient bounds on asymptotic behavior in terms of two recursive sequences. We conclude by examining the effect of weighting factors at each layer, proving that uniform choices minimize collisions and evaluating how much the non-uniformity explains the repetitions found in empirical data.
2.1 Setup
We start with some simple observations about this model. When we take a uniform descendancy diagram with two layers (corresponding to an SMC process with three districts), Question 1 is a rephrasing of the classic birthday problem from probability. As grows, the generalized birthday problem also has a combinatorial interpretation as a sequential balls-in-bins model (see Raab and Steger (1998)) or via random coagulations (see Bertoin (2006)). Even in the language of ancestry, this has been studied in the context of genetic drift as the Wright-Fisher Model (see Durrett (2008)). It is well known that the probability that two individuals’ lineages remain distinct for at least levels is and the probability that lineages remain (pairwise) distinct for at least levels is . After renormalizing and sending , the time of the first (pairwise) coalescence among distinct lineages approaches an exponential distribution with rate . There is a rich literature considering variations of this model, using it to design Markov chains, and extending it to infinite .
Our setting differs slightly from the Wright-Fisher model by only considering lineages that extend to the bottom layer and discarding the others---in the language developed above, we only track active nodes.
Lemma 2.1 (One-step probabilities).
If a given generation has active nodes, then the expected number of ancestors in the generation immediately above (generation ) is . The probability that there are exactly activated nodes in generation when there are activated nodes in generation is .
Proof.
In generation , let be an indicator variable representing node being chosen at least once. For any individual we have . Then the number of activated nodes is , and by linearity of expectation its expected value is , as desired.
The second statement is a birthday problem variant. For each set of parents the probability that all edges end up in that set is and applying inclusion/exclusion to account for versions that don’t select every element in that set gives the desired result. ∎
With this lemma we can can compute the expected value across two or more generations exactly, but the formula does not give much insight, so we omit it.
We can reformulate the problem as a Markov chain on the states representing the number of activated nodes at a given layer. This is an absorbing Markov chain with absorbing state 1, with transition probabilities given by , forming a lower-triangular transition matrix. The expectation we seek is . For example, when , we have and for diagrams with two layers () we have that the three nodes have an expected parents.
2.2 Limiting behavior
is defined as the expected number of top nodes surviving to the bottom over diagrams . First, observe that for fixed , we have . This follows directly from the Markov chain interpretation of the problem, because it is a non-increasing sequence of positive integers with a positive probability of strict decrease at each step while the value is greater than 1.
Given , construct a sequence of coefficients as follows: ; and . Where is understood to be fixed we will write simply , . By Lemma 2.1, these approximate the share of active nodes at a given level of the diagram: . We will get a rigorous upper bound below.
Note that as gets large, rapidly converges to from below. With this in mind, we can offer an second approximation with a sequence given by ; and , which is more likely to have a useful generating function, if an analytic description is desired. Table 1 and Figure 4 show the to be close to for large ---and show that in all instances we investigated.
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | 0.6513 | 0.4965 | 0.4073 | 0.3490 | 0.3077 | 0.2769 | 0.253 | 0.234 | 0.2185 | 0.2056 | |
1 | 0.6340 | 0.4712 | 0.3772 | 0.3155 | 0.2718 | 0.2390 | 0.2135 | 0.1056 | 0.1931 | 0.1625 | |
1 | 0.6323 | 0.4688 | 0.3744 | 0.3124 | 0.2684 | 0.2355 | 0.2099 | 0.1895 | 0.1727 | 0.1587 | |
1 | 0.6322 | 0.4686 | 0.3741 | 0.3121 | 0.2682 | 0.2352 | 0.2096 | 0.1891 | 0.1723 | 0.1583 | |
1 | 0.6321 | 0.4685 | 0.3741 | 0.3121 | 0.2681 | 0.2352 | 0.2095 | 0.1890 | 0.1723 | 0.1582 |
Lemma 2.2.
For fixed and , we have .
Proof.
First, we show by induction that for all . This is clearly true for . If , then and
We will also need the following fact, which follows from the inequality for :
(1) |
As we know , we will focus on the function . We begin by noting . We also see that
Equation (1) tells us that . For , the values we are interested in, this slope is always positive (because is negative) and is strictly decreasing in . This implies for , is strictly bounded above by the line tangent to it at :
First, we will show the sequence of ’s is decreasing. Using , we see
As the sequence of ’s is bounded below by and strictly decreasing, its limit must exist.
Suppose, for the sake of contradiction, that the limit of the ’s is strictly greater than , that is, it is for some . This means for all , there is some sufficiently large such that . Choose such that . This is possible to do because and . Note this choice of means . It follows that:
As this is a monotone decreasing sequence and we assumed its limit was , it is impossible to have , giving a contradiction. Therefore it must be the case that the limit of this sequence is , as claimed. ∎
Proposition 2.3.
Proof.
Let be a random variable denoting the number of active nodes at level (those that have descendants in level ). Thus . We are trying to get bounds on , the expected number of active nodes in the top level of a -district descendancy diagram, which has levels.
We will prove by induction that , which suffices to prove the proposition. When , we have , and the statement is true. Fix , and suppose . By Lemma 2.1 and linearity of expectation, we have
We will use the Law of Total Expectation () and Jensen’s Inequality (for , ). We get
Remark 2.4.
While we only show is an upper bound, for large it is tight: in the limit as , it matches the trivial lower bound , which holds because there is at least one active node at each level. The empirical results, such as those presented in Figure 4, suggest the much stronger asymptotic as .
Table 2 shows that the predicted repetition (due to combinatorial collision expected under uniform weighting) is already pronounced, but empirical runs on real-world geography show far greater redundancy. We include (PA Congress 2010), (NM state House), (CA Congress 2020), (NY State House), and (PA State House).555The Redist software has a built-in feature to warn users about ”low plan diversity.” This warning message was triggered in 19/1000 PA Congressional runs, 534/1000 NM House runs, 939/1000 CA Congressional runs, 984/1000 NY House runs, and every PA House run. The message counsels users to ”Consider weakening or removing constraints, or increasing the population tolerance.” It is unclear how this kind of challenge was handled in the expert work cited in this note. Furthermore, restricting to runs that do not trigger a warning message does not improve the repetition enormously. In the same trials from Table 2, the max district repetition out of 5000 plans got as high as 2866 (PA-Cong), 4817 (NM-House), 4983 (CA-Cong), and 4622 (NY-House), even among runs with no low-diversity warning.
PA | NM | CA | NY | PA | |
Congress | House | Congress | House | House | |
0.1066 | 0.0466 | 0.0377 | 0.0313 | 0.0099 | |
0.1065 | 0.0464 | 0.0376 | 0.0312 | 0.0098 | |
predicted average repetition | 9.4 | 21.6 | 26.6 | 32.1 | 102.0 |
average district repetition | 18.2 | 121.6 | 518.6 | 785.1 | 4905.0 |
(averaged over trials) | |||||
max district repetition | 498.9 | 1896.9 | 3104.8 | 3350.8 | 4977.1 |
(averaged over trials) | |||||
max district repetition | 4515 | 4951 | 5000 | 5000 | 5000 |
(max over trials) |
Remark 2.5.
The case of square diagrams is a natural one to consider. Numerical results suggest that limits to a constant slightly greater than 2. Subsequently, once there are two active nodes in a population of , it takes an expected more steps for those to collide, leaving a single common ancestor. This suggests that when , we expect the ancestry to collapse to a single node—one initial district will appear in every plan. This will be further discussed below in Table 3.
2.3 Non-uniform weights
Above we assumed that each active node chooses its parent uniformly at random. In practice, this is not how the SMC code works; the weights depend on graph properties of the partitions. The weight on node at level is given by , where the numerator is , the product of the number of spanning trees in the pieces of the partial plan , raised to a power , and the denominator is the size of the edge cut.
When these weight factors will give wildly different probability of selection to plans based on their compactness, due to values for districts that can easily differ by in realistic problems.666In particular, for many planar graphs on vertices (for instance for triangular lattices), and Congressional districts might typically contain precincts. This is one reason that validating on a grid with districts is inadequate to see salient effects of scale: in that setting, values for individual districts can only differ by a factor of 15. See related discussion in DeFord, Duchin and Solomon (2021, §5.1). Even at , plans with longer boundaries will be weighted down. (See Figure 5 for an empirical example with .) These inter-generational weights thus present a compactness-related bias pulling away from uniformity for any choice of parameters.
Next we show that non-uniform weights exacerbate the sample repetition. Recall that was a random variable denoting the number of active nodes at level , where and parents are chosen uniformly at random at each level. We now set up our second model by fixing some non-uniform distribution over nodes at each level for the selection of parents. Fixing those distributions, we initialize , and let be a random variable denoting the number of active nodes at level with the specified parent selection probabilities.
Lemma 2.6 (Uniform descendancy minimizes ancestor collapse).
For , let give the count of active nodes at level randomized over uniform descendancy diagrams, while is defined instead with the same non-uniform distribution on each level. Then
Proof.
Consider the random variable . For , let denote the probability that an individual at level chooses as their parent in level (note the ’s may also vary with ). We will need Hölder’s Inequality, which states that for satisfying and any two vectors and , . We apply this to the vectors where and . Note
Using and , we see that
Putting this together with Hölder’s inequality, we see that
We now see that
This completes the proof. ∎
We find empirically that the weights at each level frequently have a distribution shaped like the one shown in Figure 5, which was drawn from a run on New Mexico state Senate districts. In New Mexico, it was common to see max-to-median weight ratios of 10 within a generation, and max-to-min ratios of 30, even with . In New York’s Senate districts, these ratios were commonly 30 and 2000, respectively. As we will see, skews of this kind will tend to significantly increase the collision rate.
Recall that one goal (Question 2) is to measure the distribution of statistics defined as the number of final plans in with districts exactly in common. A mathematically more natural expression that contains the needed information but is a bit harder to phrase in English is , the lowest level at which there is a "mega-ancestor" accounting for share of the final generation:
Table 3 shows an simulated comparison of between the case of uniform weights and a simple non-uniform setup where one node at each layer is 100 times more likely to be selected than each of the others (that is, the weights are ). Each are run 1000 times. As we would expect given Lemma 2.6, the ancestor collapse is accelerated in the non-uniform case. But even this significantly understates the actual repetition in 1000 runs to make SMC samples from New Mexico and New York; we can compare this as well to Tapp’s expert affidavit finding roughly that for a sample in New York. The excess degeneracy in real-world samples is partly because the graph partition step itself can boost repetition; if partial progress has created a hard-to-split remainder, this creates yet another scenario in which a generation may be filled out with repeats. (This is referred to as graph "bottlenecks" elsewhere in this note.)
Figure 6 turns this around and shows the distribution of , the number of plans with districts in common, for the same 1000 SMC runs on the New Mexico Senate. Though the redundancy is striking in New Mexico, it is even worse in New York, the other real-world example we track throughout this note.
3 Convergence guarantees and diagnostics
In McCartan and Imai (2023), the main convergence result is a weak central limit theorem stated as follows.
Proposition 3.1 (McCartan–Imai Prop 4.2).
Let be the weighted particle approximation generated by [their SMC Algorithm]. Then for all measurable on unlabeled plans, as ,
for some asymptotic variance .
As the authors note, this is convergence in probability rather than almost sure convergence. This style of convergence result does not rule out significant sample repetition.777Indeed, even stronger central limit theorems like those for Markov chains do not rule out this level of repetition, but observed repetition is far less severe for Markov chain methods than for SMC in the redistricting application—and, in any case, they admit far larger samples with current methods. To understand the guarantees better, consider the following construction.
Example (Controlled repetition sampler (CRS)).
Fix a parameter . Given a distribution on a state space , let the controlled repetition sampler with parameter be defined as follows: a sample of size is constructed by taking one draw and adding to the sample times, each with weight . Next, create a smaller SMC sample of plans. If a plan in this smaller sample is assigned weight by SMC, we add it to our CRS sample with normalized weight .
Despite the amount of repetition present, where up to plans in the sample of are fully identical, this CRS method still satisfies the conclusions of Proposition 3.1. (This is proved in Appendix A.) Note that the power could be replaced with any function of such that .
Of course, since , the first and simplest way to minimize the effects of repetition is to employ very large samples. When large samples are computationally expensive, one may be tempted to combine multiple separate samples rather than enlarging a single sample. Indeed, in their small validation example (dividing the grid into districts) the SMC authors have averaged 24 independent runs to obtain the estimates shown in McCartan and Imai (2023, Fig 4) rather than enlarging the size of a single sample past . In other published work (McCartan et al., 2022), the same authors and collaborators present ensembles of 5000 maps for all 50 states, and do so in most cases by combining subsamples from multiple SMC runs. But we know of no theory for this: it is not clear what balance of the sample size and the number of separate runs would constitute best practices for users of SMC for redistricting.888For the illustrative example CRS, the ideal structure would be many samples of size 1. For SMC, this would fail, because a large is already needed for the reweighting of the final sample to take the term in the target distribution into account at all.
In SMC/Redist, the main convergence diagnostic is the Gelman--Rubin statistic, which compares within-sample variance to between-sample variance, typically applied to batches of 2500 or 5000 plans.999Information on the diagnostic can be found at Gelman and Rubin (1992); Vehtari et al. (June 2021). Discussing related issues for MCMC, Charles Geyer (Geyer, 2011) wrote of several popular techniques for using many short runs in place of one long run as "worse than useless": they raise your confidence and produce cosmetically better samples while giving no reason to believe the outputs are close to the target. For now, the computational costs of SMC/Redist lock users in to a many-short-runs framework.
4 Discussion
Since spanning tree methods were introduced in redistricting around 2018, many authors who need a single exemplar of a plan (such as to serve as the starting point for a Markov chain) obtain one by recursively partitioning a tree down to districts. One way to view SMC for redistricting is that it constructs the whole sample by running this seeding process many times. Employing the structure of a descendancy diagram allows the use of weights that help control the properties of the sample, but at the cost of introducing significant combinatorial redundancy.
Repetition undermines statistical conclusions and data visualization.
SMC is sometimes claimed to produce nearly independent samples from arbitrary distributions.101010For instance, this was at one point explicit in the Redist documentation at https://perma.cc/YV37-JZNR. However, district repetition can create massive dependencies, with many plans being identical on large regions, for the sample sizes currently possible with SMC/Redist. Numerous factors that are present in real use cases---non-uniform weights stemming from compactness terms and restricted choices in the decision tree caused by the connection topology of the state, among others---can contribute to extreme repetition, which is visible in plots. A highly redundant sample does not allow for reliable outlier analysis because its percentile statistics will often be far from those of the target distribution---for instance, if 20% of a sample had repeated or identical features, that would manifestly call into question its usefulness to identify 1% outliers. To put the same point in visual terms: significant repetition clearly undermines the use of an SMC ensemble to infer the shape of a distribution of summary statistics, such as in histograms and boxplots. If statistics such as are used as diagnostics on a histogram, they should be applied to the height of each bar. A box-and-whiskers plot on Pennsylvania, as shown in McCartan and Imai (2023, Fig 7), would need 90 calculations (top whisker, third quartile, median, first quartile, bottom whisker for each district).111111See Clelland et al. (2021) for an example where a diagnostic metric, in that case the Kolmogorov–Smirnov statistic, is used in this way to support a box-and-whiskers plot.
Final reweighting cannot compensate for small samples.
The SMC process leverages importance sampling by constructing an initial sample through a descendancy diagram and then reweighting according to the target distribution only when the sample is complete. Before the final reweighting, the sample is approximately distributed by the spanning tree distribution on partitions---but somewhat distorted by repetition, labeling bias, and other artifacts of the construction. The authors intend to use this method to target arbitrary distributions , but, in particular, the energy functional is never used until the descendancy diagram is complete; partitions that are never encountered by the tree-based generation process cannot be rescued by reweighting. Thus attempts to target a general with SMC will fare no better than applying one-shot reweighting to previously known methods to sample from , such as MCMC.121212If decomposes into a district-by-district score, then there is a way to take it into account in the intergenerational weights, but this is not done by default and it is not available for general . The accuracy depends on emitting a large and diverse sample from the descendancy process. With samples in the tens of thousands on practical problems, many legally relevant events will never be observed---by contrast, current Markov chain methods for sampling from can be run to billions of (accepted) steps.
All-purpose SMC ensembles are unsuited for novel measurements.
Courts have often expressed an interest in the presence of individual districts with particular properties. For instance, in the litigation challenging the Pennsylvania Congressional plan, the court strongly discouraged the division of Pittsburgh across two districts (and the special master was said to treat it as a "disqualifying feature" of a plan).131313Carter v. Chapman (2022), see https://www.pacourts.us/assets/opinions/Supreme/out/J-20-2022mo.pdf. This preference emerged long after the initial expert work had been conducted. In the New Mexico legal challenge, the parties to litigation debated whether it was disqualifying if any district "contains more than 60% of the state’s active oil wells."141414Republican Party vs. Oliver (2023), see nmlegis.gov links, particularly Plaintiff’s Opposed Motion to Exclude Expert Report & Expert Testimony of Dr. Jowei Chen (NM Legislative Defendants, 2022). These examples illustrate that it will frequently be legally relevant to know if some district-level property is common in a neutrally constructed ensemble. If the most-repeated district in some Pennsylvania SMC run happens to divide Pittsburgh, say, the ensemble can give a highly misleading answer. Ensembles constructed with current methodology, including the ALARM ensembles published in Scientific Data (McCartan et al., 2022), are unsuited for estimating the frequency with which district-level properties occur, beyond those properties tested at the time of data generation.151515In McCartan et al. (2022), the statistic is used on a preset list of metrics: ”Finally, we evaluate the convergence of the algorithm for the specific set of summary statistics described above that are of interest to practitioners.” It is unclear exactly how is being applied.
All issues compound with large numbers of districts.
Large numbers of districts (large ) exacerbate all of the problems described here.161616Even with small numbers of districts, there can be issues: if few districts have many units, then the inter-generational weights can be highly non-uniform, which will likewise boost repetition. We suspect this is a real but less severe worry. The published validation efforts only go up to districts, and the authors themselves have used subdivision to make the problem more tractable---the ALARM 50-state project breaks up Texas (), Florida (), and California () into three or more pieces, assembling statewide Congressional plans by combining smaller runs on separate regions.171717See Texas, Florida, and California readme files from the ALARM 50-state project. Ensembles that have been modularized in this way have an unknown relationship to the target distribution on the full state.
SMC for redistricting is a highly valuable addition to the literature on sampling methods for graph partitioning. In addition to the theoretical contribution, the Redist package that implements SMC is commendably well-documented and user-friendly, and its authors have designed default settings that allow beginners to complete runs on many full-sized problems. Also notably, the main code faced by users of Redist is in R, a programming language that is popular in social science graduate training. This has created the conditions for even first-time users of graph algorithms to generate materials for expert reports in court cases across the United States, but without a deep understanding of diagnostics and limitations.181818Experts indicating that SMC/Redist was their first exposure to graph algorithms, and sometimes even to algorithmic sampling methods more broadly, filed reports not only in New Mexico and New York, but also North Carolina, Pennsylvania, Louisiana, and Texas, and possibly more. As far as we encountered, they did not discuss convergence diagnostics or warning messages about sample diversity in their expert reports or filings.
In this note, we show that the combinatorics of descendancy diagrams combines with a host of other factors to create potentially severe district repetition in SMC samples. In most cases at the full problem scale of a U.S. state, minimizing the effects of repetition would call for far larger sample sizes than is currently possible. Issues compound when attempting to target distributions that differ from the spanning tree distribution or when the plans have more than about a dozen districts. All of these observations counsel caution in using SMC on full-scale redistricting problems.
References
- Bertoin (2006) {bbook}[author] \bauthor\bsnmBertoin, \bfnmJean\binitsJ. (\byear2006). \btitleRandom Fragmentation and Coagulation Processes. \bpublisherCambridge University Press. \endbibitem
- Cannon et al. (2022) {bmisc}[author] \bauthor\bsnmCannon, \bfnmSarah\binitsS., \bauthor\bsnmDuchin, \bfnmMoon\binitsM., \bauthor\bsnmRandall, \bfnmDana\binitsD. and \bauthor\bsnmRule, \bfnmParker\binitsP. (\byear2022). \btitleSpanning tree methods for sampling graph partitions. \endbibitem
- Clelland et al. (2021) {barticle}[author] \bauthor\bsnmClelland, \bfnmJeanne\binitsJ., \bauthor\bsnmColgate, \bfnmHaley\binitsH., \bauthor\bsnmDeFord, \bfnmDaryl\binitsD., \bauthor\bsnmMalmskog, \bfnmBeth\binitsB. and \bauthor\bsnmSancier-Barbosa, \bfnmFlavia\binitsF. (\byear2021). \btitleColorado in Context: Congressional Redistricting and Competing Fairness Criteria in Colorado. \bjournalJournal of Computational Social Science \bvolume5 \bpages180-226. \endbibitem
- NM Legislative Defendants (2022) {bmisc}[author] \bauthor\bsnmNM Legislative Defendants (\byear2022). \btitleLegislative Defendants’ Response to Plaintiffs’ Proposed Motion to Exclude. \bnoteFifth Judicial District of New Mexico. Republican Party of New Mexico v. Maggie Toulouse Oliver (2022)., https://www.nmlegis.gov/Redistricting2021/Litigation%20Docs/292%20-%20September%2025,%202023%20Plaintiff’s%20Opposed%20Motion%20to%20Exclude%20Expert%20Report%20&%20Expert%20Testimony%20of%20Dr.%20Jowei%20Chen.pdf. \endbibitem
- DeFord, Duchin and Solomon (2021) {barticle}[author] \bauthor\bsnmDeFord, \bfnmDaryl\binitsD., \bauthor\bsnmDuchin, \bfnmMoon\binitsM. and \bauthor\bsnmSolomon, \bfnmJustin\binitsJ. (\byear2021). \btitleRecombination: A Family of Markov Chains for Redistricting. \bjournalHarvard Data Science Review \bvolume3. \bnotehttps://hdsr.mitpress.mit.edu/pub/1ds8ptxu. \endbibitem
- Durrett (2008) {bbook}[author] \bauthor\bsnmDurrett, \bfnmRick\binitsR. (\byear2008). \btitleProbability Models for DNA Sequence Evolution, \beditionSecond ed. \bpublisherSpringer. \endbibitem
- Gelman and Rubin (1992) {barticle}[author] \bauthor\bsnmGelman, \bfnmAndrew\binitsA. and \bauthor\bsnmRubin, \bfnmDonald B.\binitsD. B. (\byear1992). \btitleInference from Iterative Simulation Using Multiple Sequences. \bjournalStatistical Science \bvolume7 \bpages457--472. \endbibitem
- Geyer (2011) {bincollection}[author] \bauthor\bsnmGeyer, \bfnmCharles J.\binitsC. J. (\byear2011). \btitleIntroduction to Markov chain Monte Carlo. In \bbooktitleHandbook of Markov chain Monte Carlo. \bseriesChapman & Hall/CRC Handb. Mod. Stat. Methods \bpages3--48. \bpublisherCRC Press, Boca Raton, FL. \bmrnumber2858443 \endbibitem
- (9) {bunpublished}[author] \bauthor\bsnmKenny, \bfnmC. T.\binitsC. T., \bauthor\bsnmMcCartan, \bfnmC.\binitsC., \bauthor\bsnmFifield, \bfnmB.\binitsB. and \bauthor\bsnmImai, \bfnmK.\binitsK. \btitleRedist: Computational algorithms for redistricting simulation. \bnoteR Package. https://CRAN.R-project.org/package=redist. \endbibitem
- Liu, Chen and Logvinenko (2001) {bincollection}[author] \bauthor\bsnmLiu, \bfnmJun S.\binitsJ. S., \bauthor\bsnmChen, \bfnmRong\binitsR. and \bauthor\bsnmLogvinenko, \bfnmTanya\binitsT. (\byear2001). \btitleA theoretical framework for sequential importance sampling with resampling. In \bbooktitleSequential Monte Carlo methods in practice. \bseriesStat. Eng. Inf. Sci. \bpages225--246. \bpublisherSpringer, New York. \bmrnumber1847794 \endbibitem
- McCartan and Imai (2023) {barticle}[author] \bauthor\bsnmMcCartan, \bfnmCory\binitsC. and \bauthor\bsnmImai, \bfnmKosuke\binitsK. (\byear2023). \btitleSequential Monte Carlo for sampling balanced and compact redistricting plans. \bjournalThe Annals of Applied Statistics \bvolume17 \bpages3300 -- 3323. \bdoi10.1214/23-AOAS1763 \endbibitem
- McCartan et al. (2022) {barticle}[author] \bauthor\bsnmMcCartan, \bfnmCory\binitsC., \bauthor\bsnmKenny, \bfnmChristopher T.\binitsC. T., \bauthor\bsnmSimko, \bfnmTyler\binitsT., \bauthor\bsnmGarcia III, \bfnmGeorge\binitsG., \bauthor\bsnmWang, \bfnmKevin\binitsK., \bauthor\bsnmWu, \bfnmMelissa\binitsM., \bauthor\bsnmKuriwaki, \bfnmShiro\binitsS. and \bauthor\bsnmImai, \bfnmKosuke\binitsK. (\byear2022). \btitleSimulated redistricting plans for the analysis and evaluation of redistricting in the United States. \bjournalScientific Data \bvolume9 \bpages689. \bdoihttps://doi.org/10.1038/s41597-022-01808-2 \endbibitem
- Raab and Steger (1998) {binproceedings}[author] \bauthor\bsnmRaab, \bfnmMartin\binitsM. and \bauthor\bsnmSteger, \bfnmAngelika\binitsA. (\byear1998). \btitle‘‘Balls into Bins’’ --- A Simple and Tight Analysis. In \bbooktitleRandomization and Approximation Techniques in Computer Science (\beditor\bfnmMichael\binitsM. \bsnmLuby, \beditor\bfnmJosé D. P.\binitsJ. D. P. \bsnmRolim and \beditor\bfnmMaria\binitsM. \bsnmSerna, eds.) \bpages159--170. \bpublisherSpringer Berlin Heidelberg, \baddressBerlin, Heidelberg. \endbibitem
- Tapp (2022) {bmisc}[author] \bauthor\bsnmTapp, \bfnmKristopher\binitsK. (\byear2022). \btitleSecond Affidavit of Dr. Kristopher R. Tapp, PhD. \bnoteSupreme Court of the State of New York. Harkenrider v. Hochul (2022). https://perma.cc/29X3-59CX. \endbibitem
- Vehtari et al. (June 2021) {barticle}[author] \bauthor\bsnmVehtari, \bfnmAki\binitsA., \bauthor\bsnmGelman, \bfnmAndrew\binitsA., \bauthor\bsnmSimpson, \bfnmDaniel\binitsD., \bauthor\bsnmCarpenter, \bfnmBob\binitsB. and \bauthor\bsnmBürkner, \bfnmPaul-Christian\binitsP.-C. (\byearJune 2021). \btitleRank-Normalization, Folding, and Localization: An Improved for Assessing Convergence of MCMC (with Discussion). \bjournalBayesian Analysis \bvolume16. \endbibitem
Appendix A Weak CLT for controlled repetition sampler
Proposition A.1.
For any , the controlled repetition sampler with parameter satisfies
for any measurable function , where is an asymptotic variance.
Proof.
We will use to denote the distribution for the SMC sample of size used above (before it is reweighted by ), and to denote our complete sample of size , where
Let be any measurable function on unlabelled plans. We know, from Proposition 3.1 applied to , that as (which also implies ,
We define a random variables , and let . We know for any ,
Because is a continuous random variable and thus , it’s also true that for any sequence with ,
Let , and note that we are trying to show the sequence converges in distribution to . We see that
Using that we can rewrite , it follows that
If we consider for any , we see that
Note for , we see that , as goes to one and goes to 0. We conclude that for all ,
and so converges in distribution to , as claimed. Note this result would hold with replaced by for any .
∎