Introduction
Measuring racial and ethnic disparities across social, economic, and political domains requires information about individuals’ race in administrative and other records (e.g., [1 , 11 , 13 ] ). However, race is often unavailable because it is withheld by law or omitted due to privacy concerns and the sensitivity of collecting such information ([10 ] ). As a result, researchers must infer individuals’ racial or ethnic group membership from the information that is available, most commonly their name and place of residence.
Bayesian Improved Surname Geocoding (BISG) combines surname-based racial information, derived from the U.S. Census Bureau’s surname list, with the racial composition of an individual’s place of residence to estimate individual race probabilities. The method assumes that surname and geolocation are conditionally independent given unobserved race ([8 , 15 , 16 ] ). BISG has been extended to incorporate first names, resulting in the Bayesian Improved First Name Surname Geocoding (BIFSG) method ([30 ] ).
BISG has become the standard approach for racial demographic inference across many domains. Its applications range from fair lending enforcement ([5 , 13 ] ) to studies of health disparities ([1 ] ) and racial turnout gaps in voting ([11 ] ), and it is supported by widely used software implementations ([19 ] ). BISG returns a probability for each individual belonging to each group, which is essential for downstream statistical analyses. Probabilistic outputs enable unbiased estimation of group disparities in settings where deterministic classifications can introduce bias ([22 ] ).
However, BISG requires data that exist in few settings: a surname-by-race frequency table (and BIFSG additionally requires an analogous table for first names) and the geographic prevalence of each racial group. For these reasons, BISG is most commonly applied in the United States. The U.S. Census Bureau publishes the former tables only for “frequently occurring” names – names that appear at least 100 times in the Census returns – and provides these tables for a limited set of racial categories ([29 ] ). Detailed geographic distributions of groups are similarly confined to these few racial categories. Consequently, individuals with uncommon names receive only an uninformative geography-based prior, and the group memberships for which BISG can be plausibly estimated are few. The required data are unavailable for more detailed ethnic groups and for most countries outside the United States.
We propose list-powered BISG (ℓ \ell ℓ BISG), which estimates calibrated race probabilities without requiring a name-by-race frequency table (§ 2.2 ). We consider two settings: a setting in which geographic prevalence is available for all groups of interest and a limited information setting in which geographic prevalence is either unavailable or available only for coarser groups (§ 2.3 ). The proposed ℓ \ell ℓ BISG relies on relatively short group-specific name lists, which can be compiled from expert knowledge or generated synthetically using large language models (LLMs) (§ 2.4 ).
ℓ \ell ℓ BISG is based on two key ideas: (1) lists contain information about the name patterns associated with group membership, and (2) group geographic prevalence is associated with name and geographic prevalence of list membership. To formalize (1), we embed names in a vector space, in which morphologically and linguistically similar names are close to one another, and we fit prediction models of whether a name embedding belongs to a given list ([31 , 6 , 7 ] (Ye et al. 2017)). We then use these predictions to form list-guided name clusters.
The core identification strategy of ℓ \ell ℓ BISG is based on (2): we apply proximal inference ([20 ] ) to recover group probabilities within each name cluster using the geographic distributions of groups and name clusters. When geographic prevalence information is available, ℓ \ell ℓ BISG can use embeddings without name lists by relying more heavily on the spatial clustering of the embeddings to infer group membership. However, name lists play an essential role in ℓ \ell ℓ BISG when geographic prevalence information is absent. Lastly, ℓ \ell ℓ BISG also provides diagnostics about the quality of name lists even when no ground truth evaluation set is available.
Like standard BISG ([30 ] ), ℓ \ell ℓ BISG naturally extends to incorporating group-specific first name lists, yielding what we call ℓ \ell ℓ BIFSG. Moreover, because ℓ \ell ℓ BISG produces calibrated group probabilities, it can also substitute for BISG in downstream analyses. For instance, ℓ \ell ℓ BISG can be combined with BIRDiE ([22 ] ) to obtain valid estimates of group disparities in an outcome. BIRDiE assumes that the outcome is independent of name conditional on race and geography, rather than the often less plausible assumption that it is independent of race conditional on name and geography.
We evaluate the empirical performance of ℓ \ell ℓ BISG using three datasets with individual-level ground truth (§ 3 ): (1) the Florida and North Carolina voter files, which include self-reported race for registered voters; (2) the complete-count 1900 U.S. Census, which enumerates Chinese and Japanese as separate ethnic groups ([27 ] ); and (3) the 2018 Lebanese voter file, scraped from government records, which contains individuals’ self-reported religious sect. Because these settings include ethnic groups and religious sects, we use the terms race, ethnicity, and group interchangeably throughout the paper. Across these settings, ℓ \ell ℓ BISG achieves prediction accuracy and probability calibration comparable to those of BISG, and otherwise performs well even where the requisite data for BISG are unattainable. We also show that this strong performance carries over to downstream analyses, with ℓ \ell ℓ BISG yielding group disparity estimates nearly identical to those obtained using BISG under the BIRDiE framework ([22 ] ).
By eliminating the need for name–race frequency tables and requiring only easily constructed name lists, ℓ \ell ℓ BISG substantially broadens the scope of race and ethnicity imputation. ℓ \ell ℓ BISG is implemented through an open-source software package wru (https://CRAN.R-project.org/package=wru ).
A growing literature seeks to overcome the limitations of the Census surname list that BISG requires by training machine learning models to infer race or ethnicity directly from names. Character-level and transformer-based models predict race from the sequence of letters in a name ([4 , 24 ] ); interpretable models leverage patterns in name popularity ([17 ] ); and embedding-based approaches learn representations of names from social and communication data without using race labels ((Ye et al., 2017; Ye and Skiena, 2019)). More recently, LLMs have been used to infer ethnicity, religious sect, or caste from names without task-specific training, both in the United States and elsewhere ([6 ] ).
These approaches typically assign each individual to a single group and are often proposed as alternatives to BISG. However, classification errors make naïvely treating these predictions as ground truth problematic, leading to biased estimates in downstream disparity analyses [3 , 33 see also Section 2.1] . Rather than replacing BISG, ℓ \ell ℓ BISG leverages the outputs of these and other classifiers to recover calibrated probabilistic predictions, which can then be used for statistically valid downstream inference [22 ] .
A number of existing methods extend BISG itself. As noted above, Voicu [30 ] incorporates first-name information through an additional Bayes factor (BIFSG), while Imai et al. [16 ] develops a fully Bayesian version (fBISG) that accounts for potential measurement error in the Census surname data. Rosenman et al. [26 ] augments the Census surname list with name dictionaries derived from Southern voter files, and Dasanaike and Imai [7 ] replaces the uninformative prior for uncommon surnames with embedding-based predictions (eBISG). Lastly, Greengard and Gelman [12 ] improves the calibration of BISG probabilities to relax BISG’s usual surname-geography conditional independence assumption. Nevertheless, all of these methods rely on a name-race frequency table. In contrast, ℓ \ell ℓ BISG eliminates this requirement while remaining compatible with the same downstream analyses and naturally extending to incorporate first-name information (§ 2.2.5 and § 3.1 ).
Curated name lists have long been used to identify and sample members of specific populations. Distinctive surname lists have been developed for American Jews [14 ] , Asian Americans [21 ] , and, with formal validation, South Asian and Chinese populations in administrative health data [28 ] . These approaches often use curated lists as deterministic filters, classifying individuals solely on the basis of whether their names appear on the list (see Chasalow et al. [2 ] for an exception).
In ℓ \ell ℓ BISG, we instead treat list membership as a noisy proxy for group membership. A given list omits the names of many group members and may include names that are shared with members of other groups. We use name embeddings to predict list membership for names that appear on no list, and thereby obtain group membership probabilities for unlisted names, whereas a deterministic filter would classify these as a non-member. Moreover, the further steps of ℓ \ell ℓ BISG are necessary because, as we confirm empirically, list membership probabilities are not generally well-calibrated group probabilities.
Methods
We now introduce our ℓ \ell ℓ BISG methodology. Suppose we have a random sample of n n n individuals from a population. For each individual, we observe their geographic location G i ∈ G G_i \in\mathcal{G} G i ∈ G , name S i ∈ S S_i \in\mathcal{S} S i ∈ S (a first name, surname, or both), and outcome Y i ∈ Y Y_i \in\mathcal{Y} Y i ∈ Y , but not their membership R i ∈ R R_i \in\mathcal{R} R i ∈ R in a racial, ethnic, or other group of interest. Let d G : = ∣ G ∣ d_{\mathcal{G}} := |\mathcal{G}| d G := ∣ G ∣ , d S : = ∣ S ∣ d_{\mathcal{S}} := |\mathcal{S}| d S := ∣ S ∣ , and d R : = ∣ R ∣ d_{\mathcal{R}} := |\mathcal{R}| d R := ∣ R ∣ denote the numbers of possible values of these variables in the population, and assume each is finite. Our goal is to estimate probabilities for the missing R i R_i R i given each individual’s name S i S_i S i and geographic location G i G_i G i , and then use these probabilities to estimate quantities such as differences in the average outcome Y Y Y across groups.
We first explain the value of probabilistic prediction over classification in § 2.1 to motivate ℓ \ell ℓ BISG. In § 2.2 , we assume that information about group geographic prevalence is available, while in § 2.3 , we extend the method to the setting in which such information is unavailable or available only for coarser groups. In both cases, we assume only that for each group r r r , we have a list of names that are distinctive, common, or typical of that group. We let L r = L r ( S ) L_r = L_r(S) L r = L r ( S ) be a binary indicator for group r r r which is 1 if name S S S is in that group’s list and 0 otherwise. While § 2.2 makes no assumptions about list quality (though better lists will lead to more precise final probabilities), § 2.3 imposes more list quality requirements. In § 2.4 , we further discuss desirable properties of name lists as well as how one may obtain them and how to compute list quality diagnostics.
The value of probabilistic prediction in downstream analysis
We begin by briefly explaining why probabilistic prediction of an individual’s race is essential for valid statistical estimation of racial disparities. A common approach to the missing group membership problem is to assign each individual to the group with the highest predicted probability based on their name and geographic location. However, this discretization ignores classification error and can bias downstream analyses. To illustrate, consider the case in which both R R R and Y Y Y are binary. Suppose each individual is assigned to the racial group with the highest probability, i.e.,
R ∗ = arg max r ∈ { 0 , 1 } P ( R = r ∣ S , G ) . R^* = \underset{r \in\{0,1\}}{\operatorname{arg\,max}}\ \mathbb{P}(R = r \mid S, G). R ∗ = r ∈ { 0 , 1 } arg max P ( R = r ∣ S , G ) .
We refer to this as the oracle classifier because it assumes the true conditional probabilities are known, thereby eliminating estimation error and model misspecification.
Now, suppose the outcome is independent of name conditional on race and geography, i.e., Y ⊥ ⊥ S ∣ R , G Y \perp\!\!\!\perp S \mid R, G Y ⊥ ⊥ S ∣ R , G , which is a key identification assumption for downstream analyses of racial disparities (see McCartan et al., [22 ] ). Appendix § 7 shows that if we estimate the racial disparity in geography G = g G = g G = g using the oracle classification R ∗ R^* R ∗ , the resulting bias is given by the following product of racial disparity and misclassification rate,
[ P ( Y = y ∣ R ∗ = 1 , g ) − P ( Y = y ∣ R ∗ = 0 , g ) ] − [ P ( Y = y ∣ R = 1 , g ) − P ( Y = y ∣ R = 0 , g ) ] = − [ P ( Y = y ∣ R = 1 , g ) − P ( Y = y ∣ R = 0 , g ) ] × [ P ( R = 1 ∣ S ∈ C 0 g , g ) + P ( R = 0 ∣ S ∈ C 1 g , g ) ] . \begin{aligned}
&[\mathbb{P}(Y = y \mid R^* = 1,g) - \mathbb{P}(Y = y \mid R^* = 0,g)] - [\mathbb{P}(Y = y \mid R = 1,g) - \mathbb{P}(Y = y \mid R = 0,g)] \\
&= -[\mathbb{P}(Y = y \mid R = 1,g) - \mathbb{P}(Y = y \mid R = 0,g)] \times[\mathbb{P}(R = 1 \mid S \in C_{0g},g) + \mathbb{P}(R = 0 \mid S \in C_{1g},g)].
\end{aligned} [ P ( Y = y ∣ R ∗ = 1 , g ) − P ( Y = y ∣ R ∗ = 0 , g )] − [ P ( Y = y ∣ R = 1 , g ) − P ( Y = y ∣ R = 0 , g )] = − [ P ( Y = y ∣ R = 1 , g ) − P ( Y = y ∣ R = 0 , g )] × [ P ( R = 1 ∣ S ∈ C 0 g , g ) + P ( R = 0 ∣ S ∈ C 1 g , g )] .
where C r g C_{rg} C r g denotes the set of names classified as R ∗ = r R^* = r R ∗ = r in geography g g g . Related results appear in Chen et al. [3 ] and Xin et al. [33 ] .
The bias in each geography is therefore proportional to the total misclassification rate and has the opposite sign of the true racial disparity. Consequently, hard classification systematically attenuates the estimated disparity toward zero: if the true racial disparity is positive, it is underestimated, whereas if it is negative, it is overestimated. Moreover, the bias is zero if and only if the classification is perfect or the true racial disparity is zero.
Empirically, we find that the misclassification rate can be sizable. For a brief illustration, we use the Florida voter file from § 3.1 , which contains self-reported race. We compute standard BISG probabilities P ( R ∣ S , G ) \mathbb{P}(R \mid S,G) P ( R ∣ S , G ) for every voter using the Census surname table and the block-level race shares. We estimate the racial composition of the electorate by assigning each registrant to their single most likely race and summing across individuals.
Compared to the self-reported population composition, the hard classification over-predicts the White share by 5.8 percentage points (ppts) and under-predicts the Black share by 2.2 ppts. Using the average estimated probability instead of the hard classifications reduces these errors to −1.4 and −0.8 ppts, respectively, and also causes the mean absolute error of the estimated racial composition, averaged over all five categories, to drop from 2.3 to 1.0 ppts.
The List-powered BISG Method
In this subsection, we assume that information about the geographic distribution of the group variable R R R is available, meaning that P ( R = r ∣ G = g ) \mathbb{P}(R = r \mid G = g) P ( R = r ∣ G = g ) is known from census data or has been estimated from surveys for each geography g g g . For now, we make no assumptions about list quality. The lists may even have some names in common, though more overlap will make groups less distinguishable. In some cases, one group may represent a residual or “other” group not of interest for analysis. Although it helps to have a list for this group, it is not strictly necessary. That is, we may have d R − 1 d_R - 1 d R − 1 lists.
Using name embeddings for proxy prediction
Name lists contain information about the underlying patterns and structures associated with names from a particular group. For example, lists could suggest that surnames ending in “dez” are often Hispanic, whereas names starting with “zh” are more likely to be Chinese. Regularities such as these imply that names not appearing on a group-specific list, but nonetheless sharing similar structural or linguistic characteristics, may also be associated with that group.
Dense text embeddings provide a natural way to formalize these intuitions both mathematically and at scale. Representing names as vectors in a high-dimensional space, they place structurally, linguistically, or otherwise similar names closer together based on patterns learned from the corpora used to train the embedding model [31 ] (Ye et al. 2017; Ye and Skiena 2019). As a result, the embeddings derived from a group-specific name list encode information about the similarity among names both on and off the list, allowing us to identify names that are likely to belong to the same group even if they do not explicitly appear in the original list.
Suppose that for each name S S S , we obtain a d E d_E d E -dimensional text embedding vector E = E ( S ) E = E(S) E = E ( S ) that captures its linguistic and structural features. Dasanaike and Imai [7 ] demonstrate the value of an embedding-based BISG approach (eBISG), which uses Census name tables to learn P ( R = r ∣ E , G ) \mathbb{P}(R = r \mid E, G) P ( R = r ∣ E , G ) and generalizes the resulting model to rare names whose frequencies are unavailable.
In our setting, however, no such name–group frequency data are available. Instead, we formulate a new proxy prediction task. For each group-specific name list, represented by the indicator L r L_r L r , we model the probability that a name with embedding E E E belongs to the list, using standard supervised machine learning methods. We call the resulting probability P ( L r = 1 ∣ E , G ) \mathbb{P}(L_r = 1 \mid E, G) P ( L r = 1 ∣ E , G ) the list score. Though L R L_R L R is a binary function of surname, the list score is generally greater than 0 and less than 1 because lists are neither exhaustive nor perfectly separated in embedding space.
Unfortunately, this proxy prediction task does not directly recover the target probabilities P ( R = r ∣ E , G ) \mathbb{P}(R = r \mid E, G) P ( R = r ∣ E , G ) . Although P ( L r = 1 ∣ E , G ) \mathbb{P}(L_r = 1 \mid E, G) P ( L r = 1 ∣ E , G ) is generally positively associated with P ( R = r ∣ E , G ) \mathbb{P}(R = r \mid E, G) P ( R = r ∣ E , G ) , the two quantities are not equal. The list score depends on which names are included on the list, and a given list may be skewed by including names that the group shares with our groups or by excluding names that are common to the group. The list scores also do not take into account base rates.
For example, the LLM-generated list of Asian surnames in § 3.1 includes “Lee,” and names with embeddings close to that of “Lee” therefore receive a high Asian list score. However, most Florida voters with the surname Lee are white or Black. The list prediction task does not account for the fact that the Asian group is rare. In Appendix § 8 , we show that the Florida list scores are not well calibrated, which means they are likely to yield biased downstream estimates. This failure of the simple list prediction approach suggests that achieving good calibration will require incorporating additional information.
Identifying the target probabilities from proxy prediction
We now introduce ℓ \ell ℓ BISG, which uses list scores but bases identification on geographic prevalence patterns that reflect the relationship between names and groups. The standard identifying assumption underlying BISG is that, conditional on group membership, name and geography are independent [8 ] .
Assumption 2.1 (BISG).
S ⊥ ⊥ G ∣ R . S \perp\!\!\!\perp G \mid R. S ⊥ ⊥ G ∣ R .
Because the embedding is a deterministic function of the name, i.e., E = E ( S ) E = E(S) E = E ( S ) , this assumption implies the identifying assumption used by eBISG [7 ] , which requires embedding and geography to be conditionally independent given group membership.
Assumption 2.2 (eBISG).
E ⊥ ⊥ G ∣ R . E \perp\!\!\!\perp G \mid R. E ⊥ ⊥ G ∣ R .
Under Assumption 2.2 , Bayes Rule implies
P ( R = r ∣ E , G ) ∝ P ( E ∣ R = r ) P ( R = r ∣ G ) . (1) \mathbb{P}(R = r \mid E, G) \propto\mathbb{P}(E \mid R = r) \mathbb{P}(R = r \mid G). \tag*{(1)} P ( R = r ∣ E , G ) ∝ P ( E ∣ R = r ) P ( R = r ∣ G ) . (1)
Although we assume that P ( R = r ∣ G ) \mathbb{P}(R = r \mid G) P ( R = r ∣ G ) is identified from an external source such as Census data, no analogous data are available to estimate the embedding distribution P ( E ∣ R = r ) \mathbb{P}(E \mid R = r) P ( E ∣ R = r ) . The proposed ℓ \ell ℓ BISG method is based on the observation that under Assumption 2.2 , the following equality holds for each r r r and g g g ,
P ( E = e ∣ G = g ) = P ( E = e ∣ R = r ) P ( R = r ∣ G = g ) . (2) \mathbb{P}(E = e \mid G = g) = \mathbb{P}(E = e \mid R = r) \mathbb{P}(R = r \mid G = g). \tag*{(2)} P ( E = e ∣ G = g ) = P ( E = e ∣ R = r ) P ( R = r ∣ G = g ) . (2)
Thus, for each value of e e e , we have a system of d G d_G d G linear equations with d R d_R d R unknowns. Under the following rank condition, we can uniquely identify P ( E = e ∣ R = r ) \mathbb{P}(E = e \mid R = r) P ( E = e ∣ R = r ) [20 ] .
Assumption 2.3 (Geographic prevalence rank condition). Let M M M be the d G × d R d_G \times d_R d G × d R matrix with M g , r = P ( R = r ∣ G = g ) M_{g,r} = \mathbb{P}(R = r \mid G = g) M g , r = P ( R = r ∣ G = g ) . Assume M M M is full column rank, for which a necessary condition is d G ≥ d R d_G \ge d_R d G ≥ d R .
Concretely, for each e e e , let ρ e \rho_e ρ e be the vector of P ( E = e ∣ G ) \mathrm{P}(E=e\mid G) P ( E = e ∣ G ) and let ϕ e \phi_e ϕ e be the vector of P ( E = e ∣ R ) \mathrm{P}(E=e\mid R) P ( E = e ∣ R ) . Then, the target probabilities can be recovered by regressing ρ e \rho_e ρ e on M M M :
ϕ e = ( M T M ) − 1 M T ρ e . (3) \phi_e = (M^{\mathsf{T}}M)^{-1}M^{\mathsf{T}}\rho_e. \tag*{(3)} ϕ e = ( M T M ) − 1 M T ρ e . (3)
Thus, the identification underlying the proposed ℓ \ell ℓ BISG method leverages the association between geographic group patterns and name prevalence patterns.
In practice, given n n n observations of ( E i , G i ) (E_i,G_i) ( E i , G i ) , we can also view identification equality of Equation (3) as an OLS regression of P ( E i ∣ G i = g ) \mathrm{P}(E_i\mid G_i=g) P ( E i ∣ G i = g ) on the length d R d_R d R vector of predictors P ( R i ∣ G i = g ) \mathrm{P}(R_i\mid G_i=g) P ( R i ∣ G i = g ) . Let W W W be the d G × d G d_G \times d_G d G × d G diagonal matrix with the number of observations from each geography g g g , i.e., n g n_g n g , on the diagonal. Then, this gives the weighted regression:
ϕ e = ( M T W M ) − 1 M T W ρ e . (4) \phi_e = (M^{\mathsf{T}}WM)^{-1}M^{\mathsf{T}}W\rho_e. \tag*{(4)} ϕ e = ( M T W M ) − 1 M T W ρ e . (4)
The weighted regression is preferable because it accounts for differences in estimation uncertainty of ρ e \rho_e ρ e due to different numbers of observations across geographies.
Leveraging name lists for dimension reduction
While the previous result establishes identification, directly estimating the conditional distribution P ( E = e ∣ G = g ) \mathrm{P}(E=e\mid G=g) P ( E = e ∣ G = g ) is challenging because the embedding vector E E E is high-dimensional. Our practical solution is to replace the high-dimensional embedding E E E with an informative lower-dimensional representation B = B ( E ) B=B(E) B = B ( E ) that we now assume satisfies the following conditional independence assumption:
Assumption 2.4 (ℓ \ell ℓ BISG).
B ⊥ ⊥ G ∣ R . B \perp\!\!\!\perp G \mid R. B ⊥ ⊥ G ∣ R .
Intuitively, B B B is obtained by clustering or otherwise reducing the dimension of E E E while retaining information relevant for predicting the target group. Because B B B is a deterministic many-to-one function of E E E , the eBISG assumption (Assumption 2.2 ) implies Assumption 2.4 , but the reverse is not true. Assumption 2.4 is therefore weaker than the eBISG assumption and the classic BISG assumption (Assumption 2.1 ).
Suppose, for example, that Hispanic residents of one county more often have surnames of Mexican origin and that Hispanic residents of another county more often have surnames of Cuban origin. Among Hispanic individuals, the surnames and their embeddings vary across geography, violating Assumptions 2.1 and 2.2 . However, if these Mexican and Cuban surnames belong to the same bin b b b , then Assumption 2.4 holds so long as among Hispanic individuals in those two counties, the share in that bin is the same in each county.
Another way to think about this distinction between these assumptions is that the original BISG assumption may be too high-resolution, especially for distinctive names and when first names are included. For example, among white individuals, the probability that “Kyla Chasalow” lives in Florida and the probability that she lives in Massachusetts are different – technically a violation of Assumption 2.1 . However, Assumption 2.4 only requires that among white people, being in some cluster of names of the same general type as “Kyla Chasalow” is not associated with geographic location.
Under Assumption 2.4 , equation (2) becomes,
P ( B = b ∣ G = g ) = ∑ r = 1 d R P ( B = b ∣ R = r ) P ( R = r ∣ G = g ) . (5) \mathbb{P}(B=b \mid G=g)=\sum_{r=1}^{d_R}\mathbb{P}(B=b \mid R=r)\mathbb{P}(R=r \mid G=g). \tag*{(5)} P ( B = b ∣ G = g ) = r = 1 ∑ d R P ( B = b ∣ R = r ) P ( R = r ∣ G = g ) . (5)
When B B B is a low-dimensional categorical variable, the left-hand side, P ( B = b ∣ G = g ) \mathbb{P}(B=b \mid G=g) P ( B = b ∣ G = g ) , can be estimated directly from the data. Hence, this system consists of d B × d G d_B \times d_G d B × d G equations with ( d B − 1 ) × d R (d_B-1)\times d_R ( d B − 1 ) × d R unknowns, while the rank condition for identification remains unchanged (Assumption 2.3 ). Solving the resulting system identifies P ( B = b ∣ R = r ) \mathbb{P}(B=b \mid R=r) P ( B = b ∣ R = r ) for all b b b and r r r . Bayes’ rule then yields the desired target posterior probabilities,
P ( R = r ∣ B = b , G = g ) ∝ P ( B = b ∣ R = r ) P ( R = r ∣ G = g ) , (6) \mathbb{P}(R=r \mid B=b,G=g)\propto\mathbb{P}(B=b \mid R=r)\mathbb{P}(R=r \mid G=g), \tag*{(6)} P ( R = r ∣ B = b , G = g ) ∝ P ( B = b ∣ R = r ) P ( R = r ∣ G = g ) , (6)
where the proportionality constant implies these must be normalized so that the posterior probabilities of group membership sum to one over r r r .
While any fixed choice of B B B yields consistent estimates of probabilities of group membership under Assumptions 2.3 and 2.4 , the efficiency of the resulting estimator depends on how informative B B B is about the target variable R R R . In particular, greater correlation between P ( B = b ∣ G = g ) \mathbb{P}(B=b \mid G=g) P ( B = b ∣ G = g ) and P ( R = r ∣ G = g ) \mathbb{P}(R=r \mid G=g) P ( R = r ∣ G = g ) leads to more precise P ( B = b ∣ R = r ) \mathbb{P}(B=b \mid R=r) P ( B = b ∣ R = r ) , more precise final ℓ \ell ℓ BISG probabilities, and hence more efficient estimation.
To construct such a variable B B B , we leverage the name lists and the proxy list membership prediction task described in § 2.2.1 . Specifically, let f r , e = P ( L r = 1 ∣ E = e ) f_{r,e}=\mathbb{P}(L_r=1 \mid E=e) f r , e = P ( L r = 1 ∣ E = e ) denote a list score, and define f e = ( f e , 1 , … , f e , d R ) ⊤ \mathbf{f}_e=(f_{e,1},\ldots,f_{e,d_R})^\top f e = ( f e , 1 , … , f e , d R ) ⊤ as the vector of list scores for a name with embedding E E E . We then apply the K K K -means clustering algorithm to the log-odds transformation of f e \mathbf{f}_e f e , partitioning these vectors into K ≥ d R K\ge d_R K ≥ d R clusters with similar patterns of list scores. When the name lists are informative, B B B retains substantial predictive information about the target variable. In this case, equation (5) yields a system of d G × K d_G\times K d G × K equations with d R × ( K − 1 ) d_R\times(K-1) d R × ( K − 1 ) unknowns.
The intuition for why it can be helpful to use more than d R d_R d R clusters is that different subgroups of group r r r may form distinct sub-clusters. For example, we observe this among Asian surnames in the Florida data example (Appendix § 9 ). In summary, (1) each name receives group-specific list scores, (2) the bins partition names with similar list scores into clusters, and (3) the weighted regression defined in § 2.2.2 recovers the distribution over clusters within each group using the relationship between cluster geographic prevalence and group geographic prevalence.
We formally present the ℓ \ell ℓ BISG method in Algorithm 1. When fitting the list membership prediction models in Step 4, we randomly split names into folds and use out-of-sample list scores for each name to reduce overfitting on training names. In our applications, we fit these models using neural networks, for which we choose the number of training epochs by cross-validation within the training data before fitting each model to all the training data.5
Choosing the number of clusters
We choose the number of clusters K K K to make B B B as informative about R R R as possible without overfitting: too few clusters leave B B B unable to isolate less common groups, whereas too many
Algorithm 1 ℓ \ell ℓ BISG
Require: Target dataset of n n n observations { S i , G i } i = 1 n \{S_i,G_i\}_{i=1}^n { S i , G i } i = 1 n
Geographic prevalence estimates P ( R = r ∣ G = g ) \mathbb{P}(R=r\mid G=g) P ( R = r ∣ G = g ) ,
Name lists L r ( S ) L_r(S) L r ( S ) for every group r = 1 , … , d R r=1,\ldots,d_R r = 1 , … , d R ,
Pre-trained embedding model E ( S ) E(S) E ( S ) ,
Number of folds J ≥ 2 J\ge2 J ≥ 2 ,
Number of clusters K ≥ d R K\ge d_R K ≥ d R .
Obtain name embeddings for each observation i i i : E i = E ( S i ) E_i=E(S_i) E i = E ( S i )
Randomly partition the distinct names into J J J folds I 1 , … , I J \mathcal{I}_1,\ldots,\mathcal{I}_J I 1 , … , I J containing approximately equal numbers of people
for j = 1 , … , J j=1,\ldots,J j = 1 , … , J do
Fit a predictive model separately for membership in each list L r L_r L r using all observations other than those in I j \mathcal{I}_j I j and estimate f ^ e , r = P ^ ( L r = 1 ∣ E = e ) \widehat{f}_{e,r}=\widehat{\mathbb{P}}(L_r=1\mid E=e) f e , r = P ( L r = 1 ∣ E = e )
Compute the predicted probabilities for each observation i ∈ I j i\in\mathcal{I}_j i ∈ I j :
f ^ E i = ( f ^ E i , 1 , … , f ^ E i , d R ) ⊤ \widehat{\boldsymbol{f}}_{E_i}=\left(\widehat{f}_{E_i,1},\ldots,\widehat{f}_{E_i,d_R}\right)^\top f E i = ( f E i , 1 , … , f E i , d R ) ⊤
end for
Construct K K K clusters through K K K -means on the log-odds scores z i z_i z i , and assign each observation i i i to a cluster with cluster membership denoted by B B B :
z i r = log { f ~ i r 1 − f ~ i r } , f ~ i r = min { max { f ^ E i , r , ϵ } , 1 − ϵ } , ϵ = 10 − 6 z_{ir}=\log\left\{\frac{\widetilde{f}_{ir}}{1-\widetilde{f}_{ir}}\right\},\qquad\widetilde{f}_{ir}=\min\left\{\max\left\{\widehat{f}_{E_i,r},\epsilon\right\},1-\epsilon\right\},\quad\epsilon=10^{-6} z i r = log { 1 − f i r f i r } , f i r = min { max { f E i , r , ϵ } , 1 − ϵ } , ϵ = 1 0 − 6
B i = B ( E i ) ∈ { 1 , … , K } B_i=B(E_i)\in\{1,\ldots,K\} B i = B ( E i ) ∈ { 1 , … , K }
Calculate empirical cluster proportions within each geography:
ρ ^ b , g = P ^ ( B = b ∣ G = g ) with ρ ^ b = ( ρ ^ b , 1 , … , ρ ^ b , d G ) ⊤ \widehat{\rho}_{b,g}=\widehat{\mathbb{P}}(B=b\mid G=g)\text{ with }\widehat{\boldsymbol{\rho}}_b=\left(\widehat{\rho}_{b,1},\ldots,\widehat{\rho}_{b,d_G}\right)^\top ρ b , g = P ( B = b ∣ G = g ) with ρ b = ( ρ b , 1 , … , ρ b , d G ) ⊤
Obtain probability estimates P ^ ( B = b ∣ R = r ) \widehat{\mathbb{P}}(B=b\mid R=r) P ( B = b ∣ R = r ) as:
ϕ ^ b = ( M ^ ⊤ W M ^ ) − 1 M ^ ⊤ W ρ ^ b \widehat{\boldsymbol{\phi}}_b=\left(\widehat{\mathbf{M}}^\top W\widehat{\mathbf{M}}\right)^{-1}\widehat{\mathbf{M}}^\top W\widehat{\boldsymbol{\rho}}_b ϕ b = ( M ⊤ W M ) − 1 M ⊤ W ρ b
where M ^ g , r = P ^ ( R = r ∣ G = g ) \widehat{M}_{g,r}=\widehat{\mathbb{P}}(R=r\mid G=g) M g , r = P ( R = r ∣ G = g ) , and W = diag ( n 1 , … , n d G ) W=\operatorname{diag}(n_1,\ldots,n_{d_G}) W = diag ( n 1 , … , n d G ) . If there are negative estimates in ϕ ^ b \widehat{\boldsymbol{\phi}}_b ϕ b , set them to zero and re-normalize the remaining estimates over b b b
For every i i i , compute the target posterior probabilities:
P ^ ( R i = r ∣ B i , G i ) ∝ P ^ ( B = B i ∣ R = r ) P ^ ( R = r ∣ G = G i ) \widehat{\mathbb{P}}(R_i=r\mid B_i,G_i)\propto\widehat{\mathbb{P}}(B=B_i\mid R=r)\widehat{\mathbb{P}}(R=r\mid G=G_i) P ( R i = r ∣ B i , G i ) ∝ P ( B = B i ∣ R = r ) P ( R = r ∣ G = G i )
clusters introduce sparsity, such that P ( B ∣ R ) \mathbb{P}(B\mid R) P ( B ∣ R ) cannot be estimated reliably. Unfortunately, because clustering is not supervised by R R R , we cannot select K K K by held-out accuracy in the usual way. Instead, we select K K K by how much geography improves the prediction of clusters in held-out geographic units relative to the overall cluster base rate. This relies on the fact that, under the ℓ \ell ℓ BISG assumptions of § 2.2.3 , P ( B ∣ G ) \mathbb{P}(B\mid G) P ( B ∣ G ) and P ( R ∣ G ) \mathbb{P}(R\mid G) P ( R ∣ G ) co-vary across geography (see equation (5) ).
Algorithm 2 summarizes our selection procedure. We use grouped sample splitting, partitioning the geographic units into the training and validation sets. We use the observations in the training set to construct the clusters following Step 7 of Algorithm 1 and then estimate P ( B ∣ R ) \mathbb{P}(B\mid R) P ( B ∣ R ) through the regression in Steps 8 and 9 of the algorithm. As formalized by Q ( K ) Q(K) Q ( K ) in equation (7) of Algorithm 2, our criterion for selecting K K K is the difference between the multinomial log-likelihood based on the estimated conditional cluster membership probabilities, P ^ ( B = B i ∣ G = G i ) \widehat{\mathbb{P}}(B=B_i\mid G=G_i) P ( B = B i ∣ G = G i ) computed as regression fitted values in Step 5 of Algorithm 2, and the corresponding log-likelihood based on the estimated marginal probabilities, P ^ ( B = B i ) \widehat{\mathbb{P}}(B=B_i) P ( B = B i )
Algorithm 2 Choosing the number of clusters K K K
Require: List-score vectors f ^ E i \hat{f}_{E_i} f ^ E i and geographies G i G_i G i from Step 5 of Algorithm 1, Geographic prior P ^ ( R = r ∣ G = g ) \widehat{\mathbb{P}}(R=r\mid G=g) P ( R = r ∣ G = g ) for each r r r and g g g , Candidate set K \mathcal{K} K for the number of clusters
Randomly partition the geographic units into the training Z t r a i n \mathcal{Z}_{\mathrm{train}} Z train and validation Z v a l \mathcal{Z}_{\mathrm{val}} Z val sets
for K ∈ K K\in\mathcal{K} K ∈ K do
Run Step 7 of Algorithm 1 using all observations in Z t r a i n \mathcal{Z}_{\mathrm{train}} Z train , and assign each observation i ∈ Z v a l i\in\mathcal{Z}_{\mathrm{val}} i ∈ Z val to the cluster whose centroid is closest to its log-odds scores z i z_i z i , denoted by B i B_i B i
Run Steps 8–9 of Algorithm 1 using all observations in Z t r a i n \mathcal{Z}_{\mathrm{train}} Z train and obtain ϕ ^ b \hat{\phi}_b ϕ ^ b for each b = 1 , … , K b=1,\ldots,K b = 1 , … , K
For each geography g g g in Z v a l \mathcal{Z}_{\mathrm{val}} Z val , compute
P ^ ( B = b ∣ G = g ) : = M ^ g ϕ ^ b \widehat{\mathbb{P}}(B=b\mid G=g):=\widehat{M}_g\hat{\phi}_b P ( B = b ∣ G = g ) := M g ϕ ^ b
where M ^ g \widehat{M}_g M g is the vector of P ^ ( R ∣ G = g ) \widehat{\mathbb{P}}(R\mid G=g) P ( R ∣ G = g )
Estimate P ^ ( B = b ) \widehat{\mathbb{P}}(B=b) P ( B = b ) as the share of observations in Z t r a i n \mathcal{Z}_{\mathrm{train}} Z train that are in cluster b b b
Compute the held-out log-likelihood ratio of cluster membership with and without geography
Q ( K ) : = 1 ∣ Z v a l ∣ ∑ i ∈ Z v a l [ log P ^ ( B = B i ∣ G = G i ) − log P ^ ( B = B i ) ] (7) Q(K):=\frac{1}{\lvert\mathcal{Z}_{\mathrm{val}}\rvert}\sum_{i\in\mathcal{Z}_{\mathrm{val}}}\left[\log\widehat{\mathbb{P}}(B=B_i\mid G=G_i)-\log\widehat{\mathbb{P}}(B=B_i)\right] \tag*{(7)} Q ( K ) := ∣ Z val ∣ 1 i ∈ Z val ∑ [ log P ( B = B i ∣ G = G i ) − log P ( B = B i ) ] (7)
end for
return K ∗ = arg max K ∈ K Q ( K ) K^*=\underset{K\in\mathcal{K}}{\arg\max}\ Q(K) K ∗ = K ∈ K arg max Q ( K )
computed in Step 6.
Maximizing the conditional log-likelihood alone is not suitable because prediction is generally easier with fewer clusters, causing the criterion to favor small values of K K K . The marginal probability also captures this tendency, so comparing the two isolates the added predictive value of geography coming from R R R ’s relationship to both G G G and B B B . In other words, because P ( B ∣ G ) \mathbb{P}(B\mid G) P ( B ∣ G ) depends on P ( R ∣ G ) \mathbb{P}(R\mid G) P ( R ∣ G ) and P ( B ∣ R ) \mathbb{P}(B\mid R) P ( B ∣ R ) , the difference in the two log-likelihoods tends to be larger when the cluster variable B B B contains more information about R R R . If K K K is too large, however, the clusters become too sparse to estimate P ( B ∣ R ) \mathbb{P}(B\mid R) P ( B ∣ R ) reliably relative to P ( B ) \mathbb{P}(B) P ( B ) . Selecting the value of K K K that maximizes Q ( K ) Q(K) Q ( K ) therefore balances informativeness against estimation instability.6 Appendix § 10 demonstrates that this selection procedure performs well in the Florida voter-file analysis.
Incorporating multiple name lists for each group
The ℓ \ell ℓ BISG framework naturally accommodates multiple name lists (e.g., first-name and surname lists) for each group. Let E F E_F E F and E S E_S E S denote the first-name and surname embeddings, respectively. Applying ℓ \ell ℓ BISG separately to each field yields the calibrated probabilities P ( R ∣ B F , G ) \mathbb{P}(R \mid B_F, G) P ( R ∣ B F , G ) and P ( R ∣ B S , G ) \mathbb{P}(R \mid B_S, G) P ( R ∣ B S , G ) , where B F B_F B F and B S B_S B S denote the first-name and surname clusters.
The standard assumption underlying the incorporation of first names into BISG (known as BIFSG) is that first and surnames are conditionally independent given race and geography [30 ] . For ℓ \ell ℓ BISG, we instead only require the following weaker assumption:
Assumption 2.5 (ℓ \ell ℓ BIFSG).
B F ⊥ B S ∣ R , G B_F \perp B_S \mid R, G B F ⊥ B S ∣ R , G .
Because the clusters are deterministic functions of the embeddings, this assumption is weaker than conditional independence of the names themselves. Under the assumption,
P ( R ∣ B F , B S , G ) ∝ P ( R ∣ B F , G ) P ( R ∣ B S , G ) P ( R ∣ G ) , \mathbb{P}(R \mid B_F, B_S, G) \propto\frac{\mathbb{P}(R \mid B_F, G)\mathbb{P}(R \mid B_S, G)}{\mathbb{P}(R \mid G)}, P ( R ∣ B F , B S , G ) ∝ P ( R ∣ G ) P ( R ∣ B F , G ) P ( R ∣ B S , G ) ,
where the proportionality constant normalizes the probabilities to sum to one across all groups.
Discussion
We emphasize that throughout, ℓ \ell ℓ BISG imposes no assumptions on the quality of the list or the ranking. Indeed, when compared to the standard BISG method, the only additional assumption required for ℓ \ell ℓ BISG is Assumption 2.3 , which is typically satisfied if there is some geographic variation in group prevalence. In fact, we also weaken the typical BISG Assumption 2.1 to Assumption 2.4 . The caveat is that only good lists are able to improve upon the geographic baseline P ( R = 1 ∣ G ) \mathbb{P}(R = 1 \mid G) P ( R = 1 ∣ G ) .
In the ℓ \ell ℓ BISG algorithm, one could even cluster directly on embeddings E E E without using name lists – ℓ \ell ℓ BISG might then stand for “low-dimensional embedding powered BISG.” However, such an unsupervised approach relies upon the embeddings being primarily an encoding of group membership so that they are spatially separated in R d E \mathbb{R}^{d_E} R d E into clusters that correspond to the groups of interest. By comparison, the proposed semi-supervised approach first projects the embeddings to a lower-dimensional metric specifically constructed for the group prediction task. Neither approach produces clusters with known labels, but the list-based clusters tend to construct more informative clusters. As shown in § 2.3 , the name lists are required when the geographic prevalence of different groups must be recovered.
Empirically, we find that the lists sometimes carry important information that can improve on clustering alone. For example, in the Florida voter file application presented in § 3.1 , clustering on the list scores rather than on the raw embeddings raises the average precision for the rare Asian group from 0.15 to 0.25 at K = 500 K = 500 K = 500 . The two approaches perform similarly for the other groups and at the larger number of clusters that Algorithm 2 selects in the full sample (see Appendix § 11 ). The same result extends to the Lebanese voter file in § 3.3 , where clustering on the list scores rather than the raw embeddings raises the average precision for the Armenian Orthodox, the smallest sect, from 0.64 to 0.69 at K = 100 K = 100 K = 100 . These results suggest that lists may be especially useful for smaller groups that fully unsupervised clustering struggles to identify.
The clustering step of ℓ \ell ℓ BISG can also be viewed as using the embeddings to update and extend our original lists. For example, if Hernandez originally appeared on the Hispanic list and Fernandez did not, their closeness in embedding space hopefully will mean that Fernandez is also included in a Hispanic cluster. In this way, we generalize initial, possibly quite small, lists to the entire embedding space.
In some settings, researchers may have lists for only a few groups of interest rather than a full partition of the population. Because the subgroup probabilities sum to one, it is sufficient to estimate them for the d R − 1 d_R - 1 d R − 1 named groups, leaving a residual class as the complement. That said, forming an explicit residual list for that class, for example by gathering names distinctive of the overall population but not of any group of interest, can be worthwhile. In § 2.3 , we show that the provision of such a name list becomes necessary once geographic prevalence must be recovered rather than assumed known.
The ℓ \ell ℓ BISG method naturally accommodates overlapping name lists, in which the same name appears on multiple lists. Specifically, each probability P ( L r ∣ E = e ) \mathbb{P}(L_r \mid E = e) P ( L r ∣ E = e ) is estimated as a separate prediction task, which treats each name separately for each target group. Consequently, a name appearing on multiple lists simply receives a high list score for each corresponding task, and this may be reflected in the clustering, which is performed on a function of the full vector of list scores, f ^ e \hat{f}_e f ^ e . Although overlap makes the target groups less distinguishable, it does not otherwise affect the validity of the method.
Finally, as discussed in § 2.2.3 , the assumption of ℓ \ell ℓ BISG (Assumption 2.4 ) is weaker than that of standard BISG (Assumption 2.1 ) or eBISG (Assumption 2.2 ). In Appendix § 14.5 , we measure the extent to which these assumptions are violated in the Florida and North Carolina voter files analyzed in § 3.1 , and examine how the performance of ℓ \ell ℓ BISG and its downstream analysis changes with the size of the assumption violation. We find that the violation is small, with differences between counties explaining at most 0.61% of the variation in the embeddings within a group beyond what random allocation would produce. As expected, we find that the assumption violation is smaller for the clusters than for the embeddings. We also find that the performance of ℓ \ell ℓ BISG and its downstream analysis declines as the extent of the assumption violation increases for most groups.
Recovering Geographic Prevalence
The ℓ \ell ℓ BISG method developed in § 2.2 assumes access to group geographic prevalence rates P ( R = r ∣ G ) \mathbb{P}(R = r \mid G) P ( R = r ∣ G ) . In this section, we propose methods for recovering geographic prevalence when it is either entirely unavailable (§ 2.3.1 ) or only available for coarse groups relative to finer subgroups of interest (§ 2.3.2 ). Compared to the previous section, in these settings, the name lists are required because we recover group geographic prevalence as a function of the rates at which people in a given geographic unit have surnames on each list. Once we recover geographic prevalence estimates, then we can apply the ℓ \ell ℓ BISG method described in § 2.2 .
Proposed solution given assumptions about list quality
The lack of geographical prevalence data means that we need additional assumptions to make progress. Unlike the preceding application of ℓ \ell ℓ BISG, the methods we introduce below assume (1) that lists lack any geographic selection bias, and (2) that there is perfect separation across group name lists such that no member of one group may have a name on the list of another. Formally, we require7
Assumption 2.6 (List quality requirements).
(a) No geographic bias: L r ′ ⊥ ⊥ G ∣ R = r L_{r'} \perp\!\!\!\perp G \mid R=r L r ′ ⊥ ⊥ G ∣ R = r for all r , r ′ r,r' r , r ′
(b) List exclusivity: P ( L r ′ = 1 ∣ R = r ) = 0 \mathbb{P}(L_{r'}=1 \mid R=r)=0 P ( L r ′ = 1 ∣ R = r ) = 0 for all r ≠ r ′ r\ne r' r = r ′
Assumption 2.6 (a) requires that, conditional on group membership, list membership is independent of geography. This assumption is implied by the standard BISG assumption (Assumption 2.1) provided that list membership is determined solely by name and is not associated with geographic units within each group. The assumption may be violated, however, if only the weaker eBISG or ℓ \ell ℓ BISG assumptions hold (Assumptions 2.2 and 2.4 ) so that at the resolution of the original raw names, some geographic specificity also affects the way the list is compiled. For example, suppose a list is compiled from a geographically unrepresentative source, such as the membership rolls of a regional organization. In that case, among individuals in the same group, list membership may be associated with geography (see § 2.4.1 for a discussion of list construction and evaluation).
Assumption 2.6 (b) means that the method introduced in this section is applicable only to subgroups whose names on thier lists are distinct from one another. The within-group and across-group list membership rates P ( L r ′ = 1 ∣ R = r ) \mathbb{P}(L_{r'}=1 \mid R=r) P ( L r ′ = 1 ∣ R = r ) reflect how well the lists separate the groups. When r ≠ r ′ r\ne r' r = r ′ , a positive cross-group-rate indicates that there are members of one group r r r whose names appear on the list for another group r ′ r' r ′ . This can happen for two reasons: (1) poor list quality and (2) inherent lack of group separation by names. For example, if trying to separate English and Irish groups, positive cross-group-rates could be caused by using too-expansive lists not designed for the purpose of separating these groups. At the same time, historical and linguistic ties between the two groups may also make these groups inherently difficult to separate.
The list exclusivity assumption allows incomplete coverage (i.e., P ( L r = 1 ∣ R = r ) < 1 \mathbb{P}(L_r=1 \mid R=r)<1 P ( L r = 1 ∣ R = r ) < 1 ). It also remains possible for there to be members of groups r ′ r' r ′ and r r r that share the same name, but those names cannot appear on either group’s list of distinctive names. A necessary, but not sufficient, condition for satisfying this perfect separation assumption is that the name lists themselves do not overlap.
Together, the two restrictions in Assumption 2.6 imply, by the Law of Total Probability,
P ( L r = 1 ∣ G ) = P ( L r = 1 ∣ R = r ) P ( R = r ∣ G ) . (8) \mathbb{P}(L_r=1 \mid G)=\mathbb{P}(L_r=1 \mid R=r)\mathbb{P}(R=r \mid G). \tag*{(8)} P ( L r = 1 ∣ G ) = P ( L r = 1 ∣ R = r ) P ( R = r ∣ G ) . (8)
We do also know the additional restriction that
∑ r = 1 d R P ( R = r ∣ G ) = 1 , (9) \sum_{r=1}^{d_R}\mathbb{P}(R=r \mid G)=1, \tag*{(9)} r = 1 ∑ d R P ( R = r ∣ G ) = 1 , (9)
To make equation (9) more useful, we will now, unlike before, require that d R d_R d R groups have their own lists (i.e., d R − 1 d_R-1 d R − 1 lists is not sufficient). In other words, the set of groups considered must be exhaustive so we are not inferring one P ( R = r ∣ G ) \mathbb{P}(R=r \mid G) P ( R = r ∣ G ) after recovering the rest.
Let β \boldsymbol{\beta} β be the d G × d R d_G \times d_R d G × d R matrix of list rates P ( L r = 1 ∣ G ) \mathbb{P}(L_r=1 \mid G) P ( L r = 1 ∣ G ) for each geography. We assume it is full rank, which requires there to be some variation across geographies in list prevalence.
Assumption 2.7 (List prevalence rank condition). Assume β \beta β is full column rank.
A necessary, but not sufficient, condition is d G ≥ d R d_G \ge d_R d G ≥ d R . Under this assumption, we show in Appendix S6 that equations (8) and (9) uniquely identify the geographic rates for each group r r r as,
P ( R = r ∣ G = g ) = P ( L r = 1 ∣ G = g ) ( ( β T β ) − 1 β T 1 d G ) r . (10) \mathrm{P}(R=r \mid G=g)=\mathrm{P}(L_r=1 \mid G=g)((\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}\mathbf{1}_{d_G})_r. \tag*{(10)} P ( R = r ∣ G = g ) = P ( L r = 1 ∣ G = g ) (( β T β ) − 1 β T 1 d G ) r . (10)
To interpret this formula, imagine directly using list-prevalence as an estimate of geographic prevalence under the exclusivity assumption that anyone whose name is on a group’s list is from that group. But, this approach is likely to be biased because the names of some people are not on any list. Equation (10) corrects this undercoverage by up-weighting the list prevalence. Under Assumption 2.6, β T 1 d G \beta^{\mathsf{T}}\mathbf{1}_{d_G} β T 1 d G equals the vector of overall list coverages (i.e., the fraction of people in each geography whose names are on some list) for each geographic area. Under perfect coverage (β T 1 d G = 1 d G \beta^{\mathsf{T}}\mathbf{1}_{d_G}=\mathbf{1}_{d_G} β T 1 d G = 1 d G ), equation (10) reduces to P ( R = r ∣ G = g ) = P ( L r = 1 ∣ G = g ) \mathrm{P}(R=r \mid G=g)=\mathrm{P}(L_r=1 \mid G=g) P ( R = r ∣ G = g ) = P ( L r = 1 ∣ G = g ) .
We acknowledge that Assumption 2.6 may not hold exactly in practice. In Appendix S6, we develop sensitivity analysis tools for probing how empirical results change under small violations of Assumption 2.6(b). Specifically, we show how to adjust the denominator of equation (10) if the cross-probabilities instead take a small constant λ > 0 \lambda>0 λ > 0 . However, this sensitivity analysis still does not capture what would happen for greater heterogeneous violations of list exclusivity. Hence, we recommend using it only when the expected violations are fairly small and homogeneous across groups.
We caution that performance can be poor under heterogeneous non-separation in name lists between groups. To make progress in such cases, researchers will need to gather geographic information about groups and apply the ℓ \ell ℓ BISG method described in § 2.2 . Alternatively, they might consider pooling strongly overlapping groups (e.g., English and Irish) and focusing on recovery of geographic prevalence for the remaining more distinct groups.
Extension to the subgroup problem
We next consider another common but challenging setting, in which geographic prevalence data are not available for groups of interest, but such information does exist for coarser groups. For example, the U.S. Census provides geographic prevalence for the broad Asian category but not for finer subgroups such as Chinese, Korean, Japanese, or South Asian. This again creates a barrier to directly applying the ℓ \ell ℓ BISG method of § 2.2 with higher-resolution name lists, but we can leverage the coarser information in a way that generalizes the method and assumptions described above.
First, we define both coarse group and subgroup. Let C ∈ C C \in\mathcal{C} C ∈ C denote a coarsened group variable such that each original group R R R belongs to exactly one coarse group c = c ( r ) c=c(r) c = c ( r ) . Let d R ( c ) d_R(c) d R ( c ) denote the number of groups within coarse group c c c with d R = ∑ c d R ( c ) d_R=\sum_c d_R(c) d R = ∑ c d R ( c ) the total number of groups. The challenge is again that geographic prevalence rates at the resolution of interest P ( R = r ∣ G ) \mathrm{P}(R=r \mid G) P ( R = r ∣ G ) are unavailable, but now, we do have the geographic baseline for each coarse group P ( C = c ∣ G ) \mathrm{P}(C=c \mid G) P ( C = c ∣ G ) .
We continue to assume that name lists are available for the original higher-resolution groups with list indicator L r L_r L r . In addition, we also require that these groups exhaustively span each coarser group. This means that d R ( c ) − 1 d_R(c)-1 d R ( c ) − 1 groups that leave a residual category group unrepresented by a list is not sufficient. This assumption ensures that the unknown subgroup rates sum to the coarse group baseline. If, in practice, there are not d R ( c ) d_R(c) d R ( c ) lists, but researchers do have access to an overall list for the coarse group, then they can add a residual class whose list is the coarse group’s name list minus every name claimed by any of the subgroup lists. The residual name list then enters the embedding step as an ordinary list, contributing its own score to f ^ e \hat{f}_e f ^ e .
Our solution to the subgroup prevalence recovery problem relies on the same assumptions as earlier. Under Assumption 2.6 and the requirement that the groups exhaustively span each coarse group, we again have equation (8) and now replace equation (9) with
P ( C = c ∣ G ) = ∑ r : c ( r ) = c P ( R = r ∣ G ) . (11) \mathop{\mathrm{P}}(C = c \mid G) = \sum_{r:c(r)=c} \mathop{\mathrm{P}}(R = r \mid G). \tag*{(11)} P ( C = c ∣ G ) = r : c ( r ) = c ∑ P ( R = r ∣ G ) . (11)
We show in Appendix S6 that this implies,
P ( R = r ∣ G = g ) = P ( L r = 1 ∣ G = g ) ( ( β c T β c ) − 1 β c T M c ) r , (12) \mathop{\mathrm{P}}(R = r \mid G = g) = \mathop{\mathrm{P}}(L_r = 1 \mid G = g)\left((\boldsymbol{\beta}_c^{\mathsf{T}}\boldsymbol{\beta}_c)^{-1}\boldsymbol{\beta}_c^{\mathsf{T}}M_c\right)_r, \tag*{(12)} P ( R = r ∣ G = g ) = P ( L r = 1 ∣ G = g ) ( ( β c T β c ) − 1 β c T M c ) r , (12)
where β c \boldsymbol{\beta}_c β c is the d G × d R ( c ) d_G \times d_R(c) d G × d R ( c ) matrix of list rates P ( L r = 1 ∣ G ) \mathop{\mathrm{P}}(L_r = 1 \mid G) P ( L r = 1 ∣ G ) for coarse group c c c in each geography, and where M c M_c M c is the length d G d_G d G vector of coarse group prevalence rates P ( C = c ∣ G = g ) \mathop{\mathrm{P}}(C = c \mid G = g) P ( C = c ∣ G = g ) . This formula takes the group list prevalence in geography g g g and adjusts it by a term which captures the average relationship between the subgroup list prevalence and the coarse group prevalence across geographies. In practice, we estimate this adjustment by non-negative least squares with weighting of each geography by its expected number of coarse group members, followed by a normalization step to ensure final estimates sum to exactly P ( C = c ∣ G ) \mathop{\mathrm{P}}(C = c \mid G) P ( C = c ∣ G ) (see Appendix § 12.3 for details).
In Appendix S6, we again provide a sensitivity analysis extension. We show how to adjust the denominator of equation (12) if the cross-probabilities uniformly take a small value λ > 0 \lambda> 0 λ > 0 within each coarse group and uniformly take a value λ ≥ γ ≥ 0 \lambda\ge\gamma\ge0 λ ≥ γ ≥ 0 across coarse groups.
Discussion
The case where geographic information is missing represents a common but difficult problem. In such situations, high-quality name lists become not just a useful tool for better clustering of names but essential for being able to identify meaningful probabilities at all. The key intuition is that high-quality lists that are not geographically skewed contain some information about the geographic distribution of their group members. For well-separated groups with high-quality lists, the above method allows us to recover P ( R = r ∣ G ) \mathop{\mathrm{P}}(R = r \mid G) P ( R = r ∣ G ) even when there is no prior geographic information at all. When subgroups are of interest, and yet only the geographic prevalence of a coarse group is available, high-quality lists allow us to recover subgroup geographic prevalence as well. Once recovered, these estimates of geographic prevalence can be used by applying the ℓ \ell ℓ BISG method of § 2.2 to again obtain the target posterior probabilities.
There may be further ways to weaken some of the assumptions made in this section, especially if prior information is available about which groups are likely to be poorly separated or at what resolution list geographic selection mechanisms occur. For example, one way to weaken Assumption 2.6 is to apply it only within a coarser geographic unit (e.g., within each county when the original geographic unit is census tract). In that case, all subsequent steps should be applied separately within each region. However, even if this conditioning means there is no further relationship between list membership and a higher-resolution geographic unit, list quality may be poor in regions whose names were originally under-represented, leading to potentially low values of P ( L r = 1 ∣ G ) P(L_r = 1 \mid G) P ( L r = 1 ∣ G ) or P ( L c = 1 ∣ G ) P(L_c = 1 \mid G) P ( L c = 1 ∣ G ) and unstable results for those regions. It may then be necessary to try to build separate name lists for each region.
Obtaining and Evaluating Name Lists
In this section, we briefly discuss how to obtain and evaluate group-specific name lists. § 2.3 introduced some quality requirements on lists. But, more broadly, for any ℓ B I S G \ell\mathrm{BISG} ℓ BISG application, better list quality will lead to more informative clusters B B B and hence final probabilities that differ more from predictions made using geography alone. Here, we formalize some notions of list quality.
Generating name lists
There are different ways to build name lists. First, lists can be curated from domain knowledge or existing records. For example, they may be constructed from prior surveys, censuses, or genealogical records; membership rolls of group-affiliated organizations; obituaries associated with group-specific funeral homes [2 ] ; curated Wikipedia pages [4 ] ; or the activities of identified users on social media [32 ] .
A second approach, which makes ℓ B I S G \ell\mathrm{BISG} ℓ BISG applicable even when no frequency table or curated record exists, is to prompt an LLM to generate names that are typical of a target group, thus leveraging the world knowledge encoded during pre-training [6 ] . This approach is broadly applicable across many types of groups and targets. To improve separation between groups in LLM generated lists, one can apply a within-group exclusivity filter by removing any name that appears on multiple group lists. This is necessary, though not sufficient, for the geographic prevalence recovery method described in § 2.3 . In addition, one can prompt an LLM to generate names that are distinctively associated with the group of interest. The generated list can then be refined by asking a possibly different model to assess the distinctiveness of each name and retaining only those that are judged to be truly distinctive.
More generally, an LLM agent with access to web search can combine the two approaches by constructing a list from different sources such as those described above, or by generating names and validating each against them. Agents can also be used to clean or supplement lists generated by other models. Agents are particularly useful for probing the list exclusivity required by the geographic prevalence recovery method of § 2.3 . For example, we can ask agents which names on one list might also belong to members of another group.
Desirable properties of name lists
What makes a good name list? Ideally, a name list contains names that are both distinctive and common within the group of interest. Distinctive names have high positive predictive value for the target group (i.e., P ( R = r ∣ S = s ) P(R = r \mid S = s) P ( R = r ∣ S = s ) is high), whereas common names are held by a large share of the target group (i.e., P ( S = s ∣ R = r ) P(S = s \mid R = r) P ( S = s ∣ R = r ) is high).
In addition, a name list should ideally cover different subgroups within the group of interest. For example, a list of Asian names that entirely excludes Japanese names may have distinctive and common names for other subgroups, like Chinese, but may not capture the full diversity of the group. If the excluded subgroup is concentrated in particular geographic areas, the list also violates the no-geographic-selection assumption required for the geographic prevalence recovery method discussed in § 2.3.1 .
Returning to the different types of lists described above, curated lists can contain highly distinctive names, but they may or may not have been designed to include common yet less distinctive names. Their coverage also depends on the source. Sources tied to a particular place may violate the no-geographic-selection assumption (Assumption 2.6) that the geographic prevalence recovery method of § 2.3 relies on. On the other hand, the properties of LLM generated lists are more of an open question. Because they are trained to return probable responses, it is possible they could under-represent names that are highly distinctive but less common.
To illustrate and explore LLM list generation, we generate a name list for each of the four racial groups in the Florida voter file analyzed in § 3.1 using an LLM, Gemini 3.0 Flash. This corresponds to a realistic setting in which researchers must create lists on their own without relying on name frequency tables. To cover the subgroups within each racial group, we use separate prompts for different national origins. For the White list, for instance, we use three prompts, each requesting surnames of individuals with English and Irish descent; German descent; and Italian, Polish, and other European descent. We split Asian into Chinese; Indian; Vietnamese and Filipino; and Korean and Japanese. Appendix S7 provides the exact prompts.
For each of these prompts, we make six separate model calls at a temperature of 1.0, and request 300 surnames per call. With three prompts each, the White, Black, and Hispanic groups have eighteen calls and 5,400 requested surnames, while the four Asian prompts give a total of 7,200 surnames. Within each group, we pool the results of all calls across prompts, rank the unique surnames by the number of calls that returned them, and then retain the top 1,000 surnames. Since the top 1,000 threshold often includes a number of ties, we break those ties by the order in which the model first returned each surname.
We find that for ℓ \ell ℓ BISG on the Florida voter file, the gain in discrimination from longer lists is essentially complete at a few hundred surnames per group (see the top panel of Figure S8 in Appendix § 14.2 ). The same analysis on the North Carolina voter file (the bottom panel of the same appendix figure) produces a similar result for the White and Black groups. For the smaller Asian group in North Carolina, however, discrimination continues to improve beyond a few hundred surnames.
Figure S8. Discrimination lift over geography alone, in ROC-AUC and PR-AUC, against the number of surnames per group. Calculated for the Florida (top row) and North Carolina (bottom row) voter files with published Census tract shares as the geographic baseline, for the Census and LLM lists of Table 1 . We use separate binary membership targets for each list. Standard BISG is included as a flat reference.
Figure 1 plots the surnames held by Floridians of each race along distinctiveness (y y y -axis) and commonness (x x x -axis). Each point represents a surname held by at least 25 individuals, and the colored points indicate the surnames included in the LLM-generated list of 1,000 surnames for that group.
Figure 1. Florida surnames plotted by log commonness P ( S ∣ R ) P(S \mid R) P ( S ∣ R ) (x-axis) against distinctiveness P ( R ∣ S ) P(R \mid S) P ( R ∣ S ) (y-axis) for the four race groups. Each point is a surname held by at least twenty-five members of the group, sized by how many voters hold it. Colored points are those included in the list of 1,000 surnames generated by an LLM for that group. Labeled points are the most common surnames in each group. The dashed line marks the distinctiveness floor of 0.3 used to build lists in § 3.1 . Because P ( R ∣ S ) P(R \mid S) P ( R ∣ S ) is equal to the product of P ( S ∣ R ) P(S \mid R) P ( S ∣ R ) and the number of group members divided by the number of voters holding the surname, surnames held by the same number of voters fall on a straight line. On the log scale of the x-axis, each such line appears as a curved arc, which is especially clear for White and Hispanic voters.
The four racial groups exhibit distinct patterns. White surnames span a broad range of both commonness and distinctiveness. Hispanic surnames form a dense band characterized by high distinctiveness and a range of commonness, making them well suited for both identifying and representing the group. Black surnames are generally less distinctive because they are more frequently shared with other groups, in particular white, although there are some quite common names. Asian surnames resemble Hispanic surnames in being both relatively common and highly distinctive, with some exceptions including “Lee,” which is relatively common but not distinctive at all. Overall, the LLM appears to generally select surnames that are both distinctive and common. The exception is Black surnames, for which it prioritizes commonness over distinctiveness.
Coverage matters for another reason. The embedding step extends the information in a list to unlisted names that are close in embedding space. A list which provides a broader coverage of the group’s name distribution thus yields more accurate probabilities for unlisted names. In Appendix § 9 , we visually inspect the coverage of the LLM surname lists of § 3.1 in the embedding space of the Florida surnames. The high list scores for each group fall in distinct regions of this space, with Hispanic in particular demonstrating strong clustering. These regions include many surnames that are not on any list.
Measure of list quality when geographic prevalence is available
In the absence of ground-truth data, the relationship between list membership and true group membership cannot be directly measured. However, there are ways to recover this list quality information. We define two per-group metrics of list quality: coverage and precision , as well as the overall quality of a collection of lists. In this section, we show how to estimate these quality metrics under the settings considered in § 2.2 (geographic prevalence estimates available) and § 2.3 (geographic prevalence recovered).
Coverage probabilities, which we define as π r , r ′ : = P ( L r ′ = 1 ∣ R = r ) \pi_{r,r'} := \mathbb{P}(L_{r'} = 1 \mid R = r) π r , r ′ := P ( L r ′ = 1 ∣ R = r ) capture the fraction of group members whose name is on a given list. Coverage of a group by its own list is desirable (π r , r \pi_{r,r} π r , r is high), while cross-coverage (π r , r ′ \pi_{r,r'} π r , r ′ is high) is undesirable. When geographic prevalence is known as assumed in § 2.2 , and lists additionally satisfy the assumption of no geographic selection (Assumption 2.6 (a)), then it is possible to recover all the probabilities π r , r ′ \pi_{r,r'} π r , r ′ using the same strategy as the one used for recovering P ( B = b ∣ R = r ) \mathbb{P}(B = b \mid R = r) P ( B = b ∣ R = r ) . Specifically, we solve the following linear system of d G d R d_Gd_R d G d R equations with d R 2 d_R^2 d R 2 unknowns,
P ( L r ′ = 1 ∣ G = g ) = ∑ r = 1 d R π r , r ′ P ( R = r ∣ G = g ) . (13) \mathbb{P}(L_{r'} = 1 \mid G = g) = \sum_{r=1}^{d_R} \pi_{r,r'}\mathbb{P}(R = r \mid G = g). \tag*{(13)} P ( L r ′ = 1 ∣ G = g ) = r = 1 ∑ d R π r , r ′ P ( R = r ∣ G = g ) . (13)
This system has a unique solution if there is sufficient variation in these rates to satisfy Assumption 2.3 .
On the other hand, when no geographic prevalence are available, Assumption 2.6 (b) strongly imposes a list quality constraint by assuming no cross-coverage (π r , r ′ = 0 \pi_{r,r'} = 0 π r , r ′ = 0 ). Under this assumption, we can then at least estimate the own-group coverage, i.e., π r , r = P ( L r = 1 ∣ G = g ) / P ( R = r ∣ G = g ) \pi_{r,r} = \mathbb{P}(L_r = 1 \mid G = g) / \mathbb{P}(R = r \mid G = g) π r , r = P ( L r = 1 ∣ G = g ) / P ( R = r ∣ G = g ) , but these results are valid only when cross-coverage is zero.
Our overall list quality metric is based on the d R × d R d_R \times d_R d R × d R coverage matrix Π \boldsymbol{\Pi} Π where Π r , r ′ = π r , r ′ \Pi_{r,r'} = \pi_{r,r'} Π r , r ′ = π r , r ′ . We measure the quality of Π \boldsymbol{\Pi} Π using the diagonal dominance:
D ( Π ) = 1 d R ∑ r = 1 d R [ π r , r − 1 d R − 1 ∑ r ′ ≠ r π r , r ′ ] . (14) D(\boldsymbol{\Pi}) = \frac{1}{d_R}\sum_{r=1}^{d_R}\left[\pi_{r,r} - \frac{1}{d_R - 1}\sum_{r'\ne r}\pi_{r,r'}\right]. \tag*{(14)} D ( Π ) = d R 1 r = 1 ∑ d R π r , r − d R − 1 1 r ′ = r ∑ π r , r ′ . (14)
which is maximized at the ideal π r , r ′ = 1 { r = r ′ } \pi_{r,r'} = 1\{r = r'\} π r , r ′ = 1 { r = r ′ } with value 1 and minimized at a pathological scenario of π r , r ′ = 1 { r ≠ r ′ } \pi_{r,r'} = 1\{r \ne r'\} π r , r ′ = 1 { r = r ′ } with value − 1 -1 − 1 . Positive values indicate a tendency for diagonal π r , r \pi_{r,r} π r , r values to be greater than the off-diagonal values. In the binary group case where R = 1 R = 1 R = 1 indicates the group of interest and R = 0 R = 0 R = 0 is simply the residual group with no list, we can solve for π 1 = P ( L = 1 ∣ R = 1 ) \pi_1 = \mathbb{P}(L = 1 \mid R = 1) π 1 = P ( L = 1 ∣ R = 1 ) and π 0 = P ( L = 1 ∣ R = 0 ) \pi_0 = \mathbb{P}(L = 1 \mid R = 0) π 0 = P ( L = 1 ∣ R = 0 ) and measure quality as π 1 − π 0 \pi_1 - \pi_0 π 1 − π 0 . Estimating D D D can be a useful way to assess list quality when true labels are unavailable for computing other evaluation metrics. Indeed, in § 3.1 and § 3.3 below, we show that the estimates of D ( Π ) D(\boldsymbol{\Pi}) D ( Π ) are close to their ground truths.
Our final measure of list quality is precision: the proportion of people on a list who belong to its intended target group. By Bayes’ rule, this equals
P ( R = r ∣ L r = 1 ) = q r π r , r ∑ r ′ q r ′ π r ′ , r (15) \mathbb{P}(R = r \mid L_r = 1) = \frac{q_r \pi_{r,r}}{\sum_{r'} q_{r'} \pi_{r',r}} \tag*{(15)} P ( R = r ∣ L r = 1 ) = ∑ r ′ q r ′ π r ′ , r q r π r , r (15)
where q r = P ( R = r ) q_r = \mathbb{P}(R = r) q r = P ( R = r ) is the marginal group share, which can be obtained from the geographic prevalence estimates. A notion of cross-precision P ( R = r ∣ L r ′ = 1 ) \mathbb{P}(R = r \mid L_{r'} = 1) P ( R = r ∣ L r ′ = 1 ) can be defined similarly. High precision indicates good list separation, but we caution that precision can be more affected by group base rates, whereas coverage is more affected by list base rates. For example, if the names of Asian people in Florida have even a moderate presence on White name lists (π r ′ = W h i t e , r = A s i a n > 0 \pi_{r'=\mathrm{White},r=\mathrm{Asian}} > 0 π r ′ = White , r = Asian > 0 ), the high base rate of the white group (q W h i t e ≫ 0 q_{\mathrm{White}} \gg0 q White ≫ 0 ) and low base rate of the Asian group (q A s i a n ≈ 0 q_{\mathrm{Asian}} \approx0 q Asian ≈ 0 ) can pull down the Asian precision by inflating the denominator of equation (15) , even if π A s i a n , A s i a n \pi_{\mathrm{Asian},\mathrm{Asian}} π Asian , Asian is high.
Discussion
Ultimately, unless a population has a perfect partition of names by group with no overlap between groups (which is almost never the case), there is no one true ground truth list. For the ℓ \ell ℓ BISG method with geographic prevalence available (§ 2.2 ), higher quality lists are those that cover all the most prevalent and distinctive underlying name patterns of a group, but lower quality lists may still be valid, though less informative, if they do not threaten Assumption 2.4. In the extreme, suppose lists were formed as random subsets of names. Then we expect the list scores f e f_e f e to reflect no true predictive power and only vary due to random chance. The ℓ \ell ℓ BISG probability P ( R = r ∣ B , G ) \mathbb{P}(R = r \mid B, G) P ( R = r ∣ B , G ) will then simply not improve on the geographic baseline P ( R = r ∣ G ) \mathbb{P}(R = r \mid G) P ( R = r ∣ G ) because the clustering B B B , though trivially satisfying Assumption 2.4, will not be informative.
For the geographic recovery version of ℓ \ell ℓ BISG (§ 2.3 ), we can take steps in list construction to make the required list exclusivity assumption more plausible. Here, one notion of an ideal list is a list that include all names that are exclusive (or in practice, almost exclusive) to its group. Yet including only these names could come at some cost if there are names that are not mutually exclusive to the group and correspond to a distinctive subgroup (i.e., there can be a list-exclusivity vs list-coverage trade-off). Moreover, we also find in our empirical examples that pushing lists to be larger has diminishing returns; fairly short lists can be sufficient. Quality matters more than quantity.
Downstream estimation
For downstream estimation, McCartan et al. [22 ] proposes the BIRDiE framework, showing that if the outcome is conditionally independent of name given race and geography (i.e., Y ⊥ S ∣ R , G Y \perp S \mid R, G Y ⊥ S ∣ R , G ), racial disparities can be estimated without bias using calibrated racial probabilities, P ( R = r ∣ S , G ) \mathbb{P}(R = r \mid S, G) P ( R = r ∣ S , G ) , rather than imputing race through classification. This assumption is often more credible than the assumption required by the standard weighting approach, which assumes that race is conditionally independent of the outcome given name and geography (i.e., Y ⊥ R ∣ S , G Y \perp R \mid S, G Y ⊥ R ∣ S , G ) (see McCartan et al. [22 ] , for details). Under either assumption, accurate estimation of calibrated race probabilities is essential for racial disparity analysis. In our empirical validations (§ 3 ), we use the BIRDiE approach with ℓ \ell ℓ BISG probabilities.
Results
We empirically validate ℓ \ell ℓ BISG in three diverse settings with known ground truth. First, we use voter files from Florida and North Carolina, where self-reported race is available. We compare the performance of ℓ \ell ℓ BISG with that of the standard BISG based on Census name frequency tables. We show that ℓ \ell ℓ BISG performs as well as the standard BISG despite not using the name-race frequency data. Second, we use the full-count 1900 U.S. Census to predict Chinese and Japanese subgroups within the Asian population. This evaluates the performance of the methodological extension proposed in § 2.3 when geographic prevalence is not available for subgroups of interest. This analysis also corresponds to a level of granularity for which no name frequency tables naturally exist. Third, we consider the prediction of religious sect in Lebanon, illustrating the applicability of ℓ \ell ℓ BISG outside the conventional race-based BISG setting in the United States.
In each application, we evaluate the calibration of the predicted probabilities, their discriminatory power, and the bias and RMSE of downstream disparity estimates under the BIRDiE framework [22 ] .
Comparison with standard BISG using US voter files
Setup. We obtain Florida and North Carolina voter files from L2 Inc., a leading national non-partisan firm and the oldest organization in the United States that supplies voter data and related technology to candidates, political parties, pollsters, and consultants for use in campaigns. These voter files contain the self-reported race of each registrant alongside their geocoded residential address, turnout in recent elections, and political party registration.
We collapse the race field into five categories, White, Black, Hispanic, Asian, and other, the last of which includes American Indian and Alaska Native. We use the Florida file of March 7, 2026 and the North Carolina file of April 11, 2026. We exclude registrants whose race is not recorded in the voter file and those without Census geocodes, comprising 494,443 and 627,520 of Florida’s 15,017,471 voters and 649,911 and 318,860 of North Carolina’s 7,249,018, respectively. Lastly, we draw random samples of one million registrants from the remainder in each state.
We apply ℓ \ell ℓ BISG and standard BISG using the published 2020 Census block-level race shares as the geographic priors. For registrants whose blocks have zero population, we use the tract prior instead.8 In the downstream analysis, we use these predictions to estimate the Democratic share of each racial group aggregated at the county level, based on party registration.
To estimate the individual race probabilities using ℓ \ell ℓ BISG, we draw on two sets of name lists in turn. The first name list is an oracle one based on the 2020 Census surname table, which reports the racial composition of every surname occurring at least 100 times in the Census. Admittedly, the ℓ \ell ℓ BISG method is targeted at applications where such tables are not available. However, because this list is directly derived from the Census data, it allows us to isolate the consequences of losing frequency information on the quality of individual race probability estimates and downstream analysis by comparing the resulting estimates with those based on the standard surname-frequency-table-based BISG.
As described in § 2.4.2 , a useful list has names that are sufficiently common and yet distinctive. For each group r r r , we construct the corresponding Census list by filtering to surnames that are at least 30% likely to belong to that group, i.e., P ( R = r ∣ S = s ) ≥ 0.30 P(R = r \mid S = s) \ge0.30 P ( R = r ∣ S = s ) ≥ 0.30 .9 We then rank each surname by how many group members have that surname, beyond the number expected in a random set of the same sample size, i.e., P ( S = s ∣ R = r ) − P ( S = s ) P(S = s \mid R = r) - P(S = s) P ( S = s ∣ R = r ) − P ( S = s ) . Lastly, we take the 1,000 highest-ranked surnames for each group. Because we construct each list independently across groups, a surname may qualify for more than one list. However, this is rare, as only seven surnames appear on two lists after filtering to the top 1,000.
We obtain the second set of name lists from an LLM, Gemini 3.0 Flash, as described in § 2.4.2 . For ℓ \ell ℓ BIFSG, we construct first-name lists in the same two ways, from the 2020 Census first-name table by the rule above and from the LLM with the same prompts. The LLM lists represent a more realistic generation approach for settings where ℓ \ell ℓ BISG is being used exactly because the surname frequency tables are unavailable.
Finally, we embed every distinct observed surname and first name using the multilingual E5-large model [31 ] and estimate the list score f e , r f_{e,r} f e , r for each list separately using a multilayer perceptron.10 Each model is fitted using five folds so that list scores are computed out-of-sample (see Steps 3–6 of Algorithm 1). Within each training set (four folds), we choose the number of epochs by cross-validation, leading to one or two epochs.
We then apply the ℓ \ell ℓ BISG method via Algorithm 1, selecting the number of clusters with Algorithm 2, which returns K = 7,500 K = 7{,}500 K = 7 , 500 for the Florida LLM surname list and the North Carolina LLM first-name list, K = 5,000 K = 5{,}000 K = 5 , 000 for the Florida LLM first-name list, the North Carolina LLM surname list, and the Florida Census first-name list, K = 10,000 K = 10{,}000 K = 10 , 000 for both Census surname lists, and K = 3,000 K = 3{,}000 K = 3 , 000 for the North Carolina Census first-name list.11 We fit standard BISG using the same 2020 Census surname table and geographic priors.
Quality of name lists. Before we examine the performance of ℓ \ell ℓ BISG, we investigate the quality of LLM name lists relative to that of the Census-based lists, which can be thought of as a gold standard. For these list-quality diagnostics, we aggregate list membership and Census race shares at the tract level. As shown in the column labeled “In Census” in Table 1 , between 97 and 100% of the LLM surnames generated for each group appear in the Census table, indicating that the model reliably produces plausible names. We note that the Census released the 2020 surname table in April 2026 and that Gemini 3.0 Flash was trained only on data through January 2025, so the validation data is not included in the training data. The 2000 and 2010 surname tables have been public for much longer, and so the model may be aware of them.
Table 1. Comparison of LLM-based and Census-based surname lists on the Florida registrants. The column labeled as “In Census” shows the share of list names that appear in the 2020 Census surname table at all. “Coverage” is the share of the group’s registrants with a surname on the list, and “Precision” the share of the registrants with a list surname who belong to the group, each computed from the self-reported race (ground truth) and estimated from the tract system with the tract-level race shares as the geographic prior and no individual labels (§ 2.4.3 ).
Table S3. Sensitivity of the Census-based lists to the probability floor τ \tau τ , where a surname enters the list for group r r r when P ( R = r ∣ S = s ) ≥ τ P(R = r \mid S = s) \ge\tau P ( R = r ∣ S = s ) ≥ τ . Coverage and precision are defined as in Table 1 , computed on the Florida file. “Shared” is the share of registrants holding a surname on more than one of the four lists. The floor used in the paper is 0.30.
The two name list constructions diverge in coverage and precision, in particular for the Black and Asian lists. For Black registrants, the LLM covers 0.53 of the group against 0.33 for the Census list. It has a precision of 0.25 against 0.46, indicating that the model returns more common but less distinctive surnames when compared to the Census lists. The LLM is worse on both metrics for Asian registrants, 0.39 against 0.42 with respect to coverage and 0.17 against 0.64 for precision. For White and Hispanic registrants, the two lists are close on both measures.
In addition, the LLM lists overlap across racial groups much more often than the lists based on the Census surname data: 26.9% of Florida registrants have a surname belonging to more than one LLM list, compared to only 0.04% for the Census-based lists. This makes sense because our Census-based name list is intentionally constructed to favor distinctiveness while LLMs may be more prone to returning common names.
We also report the measure of list quality proposed in § 2.4.3 , based on the diagonal dominance D ( Π ) D(\Pi) D ( Π ) of the matrix whose ( r , r ′ ) (r,r^\prime) ( r , r ′ ) entry π r , r ′ \pi_{r,r^\prime} π r , r ′ is the rate at which members of group r r r hold a name on list r ′ r^\prime r ′ (see Figure S9 ). Estimated from the tract-level list hit rates and the published tract race shares alone, D ( Π ) D(\Pi) D ( Π ) is 0.36 for the Census lists and 0.34 for the LLM lists. This suggests that the former is of slightly higher quality than the latter. These estimates are substantively similar to their ground truths based on self-reported race, which are 0.34 and 0.30 for the Census and LLM lists, respectively, indicating that the proposed quality measure is reliable.
Figure S9. List quality on the Florida voter file. Each cell is π r , r ′ \pi_{r,r'} π r , r ′ , the rate at which members of group r r r (rows) has a name on list r ′ r' r ′ (columns), for the Census lists (top) and the LLM lists (bottom). The left column computes Π \Pi Π from the self-reported race (i.e., ground-truth). The right column estimates Π \Pi Π from the tract-level list hit rates and the published tract race shares, with no individual race labels. The number above each panel is D ( Π ) D(\Pi) D ( Π ) .
The estimated Π \Pi Π matrix also recovers coverage and precision well. Table 1 reports both quantities, as estimated from the tract hit rates and race shares without individual race labels, next to their ground truths. Estimated coverage is within 0.06 of its ground truth and estimated precision within 0.16 for every list. The largest differences are observed for the Hispanic lists and the Census Asian list, where the estimates overstate precision. The Census lists are more precise than the LLM lists for every group, both in the ground truth and the estimates.
Results. We compare the empirical performance of ℓ \ell ℓ BISG with LLM lists and standard BISG for Florida and North Carolina. As shown in Figure 2 , ℓ \ell ℓ BISG (red solid line) nearly matches the precision and recall of standard BISG (blue dashed line) for Whites in both states and Hispanics in Florida, despite having no access to a surname frequency table. For Black and Asian voters, standard BISG outperforms ℓ \ell ℓ BISG, by more for Asian voters; standard BISG also performs better for Hispanics in North Carolina. This reflects the lower precision of the LLM name lists for these two groups (Table 1 ). In all cases, ℓ \ell ℓ BISG is still a substantial improvement on using geography-based probabilities alone (gray dotted line).
Figure 2. Precision and recall for ℓ \ell ℓ BISG (LLM lists, red, solid), standard BISG (blue, dashed) and geography alone (grey, dotted), by state (rows) and race (columns). Average precision is reported above each panel.
Figure 3 evaluates calibration, showing how closely the predicted individual race probabilities correspond to observed group frequencies. With the exception of the Hispanic group in Florida, the calibration patterns are similar for ℓ \ell ℓ BISG and standard BISG. Calibration is notably imperfect in the Asian and Hispanic groups, but this is true for either method. For Black voters, both methods have expected calibration error of about 0.02 or less in Florida and about 0.03 in North Carolina. For White voters, ℓ \ell ℓ BISG probabilities tend to slightly underpredict this racial group.
Figure 3. Calibration of estimated individual race probabilities based on ℓ \ell ℓ BISG (LLM lists, red, solid) and standard BISG (blue, dashed) for Florida (top row) and North Carolina (bottom row). The dashed diagonal marks perfect agreement between estimated probabilities and observed proportions. The area of each circle is proportional to the number of registrants in the bin.
We also evaluate the validity of downstream analysis using the individual race probabilities obtained from ℓ \ell ℓ BISG. We estimate the Democratic share of registrants in each racial group with BIRDiE (see [22 for details] ). BIRDiE takes the ℓ \ell ℓ BISG probabilities as its first-stage estimates and then uses the surname as a proxy predictive of race, while assuming that the surname is independent of the outcome conditional on race and geography. Although the BIRDiE assumption may not hold perfectly, it corrects the attenuation bias of other standard downstream estimation approaches that assume conditional independence between race and outcome conditional on name and geography.12 We fit BIRDiE jointly over all five racial categories at the county level, with partial pooling across counties because the race-by-county cells for the smaller groups hold few registrants. For each racial group, we compute the bias and RMSE over every county, weighting each county via the number of the group’s members implied by the geographic prior.
Figure 4 compares the estimated Democratic share of each racial group at the county level against the truth. The top panel shows that the magnitude of bias is smaller for ℓ \ell ℓ BISG (red bars) than for standard BISG (blue bars) for both White and Black registrants in both states. For Hispanic and Asian registrants, the bias of ℓ \ell ℓ BISG is smaller in Florida, but in North Carolina, where biases are overall larger, there is an increase in bias relative to the standard BISG, again reflecting the low list quality identified above.
The bottom panel shows the root mean squared error (RMSE) has an inconsistent pattern for ℓ \ell ℓ BISG versus standard BISG. Specifically, ℓ \ell ℓ BISG improves on standard BISG for White and Hispanic registrants in Florida. ℓ \ell ℓ BISG is within 0.1 percentage points (ppts) of standard BISG in county RMSE for White registrants in both states. For Black registrants, ℓ \ell ℓ BISG falls behind standard BISG by 0.4 ppts in Florida and improves on it by 1.0 ppts in North Carolina. For Hispanic registrants in North Carolina, ℓ \ell ℓ BISG falls behind standard BISG by
1.4 ppts. ℓ B I S G \ell_{\mathrm{BISG}} ℓ BISG also falls behind standard BISG for the rarer Asian group, whose name list is weaker, by 0.7 ppts in Florida and 1.6 ppts in North Carolina.
Adding first names (ℓ B I F S G \ell_{\mathrm{BIFSG}} ℓ BIFSG ) lowers county-level error in most cases. In terms of RMSE, ℓ B I F S G \ell_{\mathrm{BIFSG}} ℓ BIFSG improves on ℓ B I S G \ell_{\mathrm{BISG}} ℓ BISG for all four groups in North Carolina, by 1.2 ppts for Black registrants and 1.3 ppts for Asian registrants, with White RMSE essentially unchanged. Similarly, ℓ B I F S G \ell_{\mathrm{BIFSG}} ℓ BIFSG improves upon ℓ B I S G \ell_{\mathrm{BISG}} ℓ BISG for three of the four groups in Florida, by between 0.3 and 1.1 ppts. For Black registrants in North Carolina, ℓ B I F S G \ell_{\mathrm{BIFSG}} ℓ BIFSG outperforms standard BIFSG by 3.8 ppts. For bias, the addition of first names moves one of the four groups in Florida and two in North Carolina farther from zero, and Black absolute bias decreases in both states, from 2.3 to 0.8 ppts in Florida and from 2.6 to 1.4 ppts in North Carolina. Standard BIFSG likewise improves upon standard BISG in RMSE for five of the eight state-group pairs, the exceptions being Black registrants in both states and White registrants in North Carolina.
We also repeat the downstream analysis using the Census lists (see Figure S10 in the Appendix). The results are similar to those based on the LLM lists shown here, with a few moderate differences. For both absolute bias and RMSE, the Census lists yield slightly lower or essentially identical results for all groups in Florida and North Carolina – except for Asian registrants in North Carolina, who have lower RMSE but higher bias when using the census lists.
Figure S10. County-level race-specific estimates of the Democratic share of registrants with the LLM lists (red), the Census lists (green), and standard BISG/BIFSG (blue), otherwise as Figure 4 .
Figure 4. County-level race-specific estimates of the Democratic share of registrants. Rows give signed bias (top) and root-mean-square error (bottom), both in percentage points and averaged over counties. The left two columns are Florida and the right two North Carolina, each pair showing the surname-only estimators (BISG) and then those that add first names (BIFSG). Red bars are the ℓ B I S G / ℓ B I F S G \ell_{\mathrm{BISG}}/\ell_{\mathrm{BIFSG}} ℓ BISG / ℓ BIFSG (LLM lists) estimators, while blue bars are the estimates based on the standard BISG/BIFSG.
Overall, we find that ℓ \ell ℓ BISG is comparable to standard BISG in accuracy, calibration, and downstream analysis validity, while first names improve performance further through ℓ \ell ℓ BIFSG. Group-specific performance results depend on measurable group-specific list quality. With respect to the LLM lists, the Asian list is weak in precision, and for this group, the downstream analysis based on ℓ \ell ℓ BISG is less accurate than that based on standard BISG.
As with eBISG (Dasanaike and Imai, [7 ] ), which extends standard BISG to names that are absent from the Census surname table using embedding models, researchers can combine ℓ \ell ℓ BISG with standard BISG by using standard BISG for names that are listed in the frequency table(s) and ℓ \ell ℓ BISG for imputing probabilities for names that are not, to which standard BISG otherwise assigns the geographic prior. In Appendix § 14.3 , we report the results of standard BISG and BIFSG with ℓ \ell ℓ BISG probabilities for unlisted names in the Florida and North Carolina voter files. For surnames, using ℓ \ell ℓ BISG for unlisted names improves average precision for Hispanic registrants in both states and leaves the other groups largely unchanged. For first names, this approach performs comparably to standard BIFSG across all registrants, but has a lower average precision among registrants whose first name is missing from the corresponding Census first name table.
Predicting Asian subgroups using U.S. historical census
We next turn to the U.S. historical census, which provides population-scale, individual-level records decennially from 1850 to 1950 ([27 , 23 ] ). We focus on the 1900 census, which includes, among other information, individual name, race, and country of origin, and enumerates Chinese and Japanese as separate ethnic groups. We validate ℓ \ell ℓ BISG estimates against these two groups as enumerated in the race field of each individual record, regardless of birthplace.
We consider the challenging setting of § 2.3.2 , in which the geographic prevalence of the target groups (i.e., Chinese and Japanese) is unknown while that of their coarser group (i.e., Asian) is available. This is the setting where name lists are required because we recover the subgroup geographic prevalence from the rates at which the people in a given county have surnames on each list. We do not assume that it is known who is in the Asian group, so we also include a group for each of the other races. This validation set-up mimics a relevant contemporary ℓ \ell ℓ BISG application: Standard BISG is not applicable for more recent Censuses because neither surname frequency tables nor geographic prevalence information exists (or has been made public) for Asian sub-groups.
Setup. We use the de-anonymized (restricted access) 1900 Federal Census. By 1900, approximately 126,000 Chinese and 94,000 Japanese Americans were enumerated living in the U.S., concentrated in the West and in Hawaii. No other Asian group numbered more than 1,000. We therefore use the Chinese and Japanese populations as the two target subgroups, and the Asian population coarse group as the union of these two. The published tables of the 1900 census report the size of the Asian population in every county but do not decompose this by country of origin. Therefore, if we were using only public information, we would know the geographic prevalence of the coarse group but not of the subgroups, which corresponds exactly to the setting described in § 2.3.2 . We apply ℓ \ell ℓ BISG to all 75,790,807 records of the census, of every race. The groups are Chinese and Japanese, within the Asian coarse group, the other coarse racial groups are white, Black, Native American (“American Indian”), and a residual group. Like today’s Census, the 1900 Census published tables reporting the size of each coarse group in every county.
We conduct two analyses. First, we consider “oracle ℓ \ell ℓ BISG” as a benchmark. Specifically, we treat the county geography of the two Asian subgroups as known by constructing the geographic prior from the census records themselves and apply the ℓ \ell ℓ BISG method. Second, we conduct a more realistic “coarse prior ℓ \ell ℓ BISG” analysis from § 2.3 , where we treat only the geographic prevalence of the coarse groups as known (the Asian, white, Black, American Indian, and other residents of each county). Here, we recover the subgroup shares in each county from the list hit rates by applying the method described in § 2.3.2 under Assumption 2.6 . Then, we apply the main ℓ \ell ℓ BISG method to an LLM-based name list for each group. Finally, for both analyses, we conduct a downstream analysis to estimate each subgroup’s socioeconomic standing at the same county level.
A key additional assumption for coarse prior ℓ \ell ℓ BISG is that a person has a surname on a subgroup’s list only if they belong to that subgroup (Assumption 2.6 (b)). Chinese and Japanese surnames largely do not overlap with each other (only five surnames appear on both lists), but many white Americans have a surname on the Chinese list, so this assumption does not hold exactly here. The validation against oracle ℓ \ell ℓ BISG gives us the opportunity to see how much this matters.
For both versions of ℓ \ell ℓ BISG, we construct a name list for each subgroup by prompting an LLM. As in § 3.1 , we also use an LLM, Gemini 3.0 Flash, to assist in writing these prompts. For each subgroup, we ask the model to propose three short descriptions that identify subgroups within that population, then substitute these descriptions into the same template, which specifies surnames “spelled as they were written in American census and immigration records of that period.” For example, for the Chinese population, the descriptions are “Cantonese families from the Pearl River Delta settling in California and the American West,” “Taishanese and Sze Yup laborers migrating to the sugar plantations of the Hawaiian Islands,” and “Fujianese and Hokkien merchants and sailors establishing communities in Atlantic port cities like New York.” We form lists for each of the white, Black, and American Indian groups in the same way, with each prompt referring to its population “in the United States around 1900”; the residual group of other residents has no list. Appendix S7 lists the descriptions generated for every group.
For each prompt, we make six separate model calls at temperature 1.0, requesting 300 surnames per call, rank the unique surnames by the number of calls that returned them, and retain the top 1,000, breaking ties by the order in which the model first returned each surname. To make Assumption 2.6 (b) as credible as possible, we then apply the exclusivity filter between the Chinese and Japanese lists, dropping the five surnames that appear on both, and between either of them and the white, Black, and American Indian lists. These three lists are allowed to share surnames with one another because the geographic prevalence of their groups is known and does not need to be recovered.
After filtering, the Chinese list holds 966 surnames, the Japanese list 994, and the white, Black, and American Indian lists 986, 986, and 978. Even so, when comparing with the individual-level ground truth, we find that 81% of the people with a surname on the Chinese list and 29% of those with a surname on the Japanese list are not Asian. Examples of Japanese surnames that overlap with white Americans includes Ohara, with Irish immigrants, and Ide, with English and German immigrants. Various Cantonese romanizations such as Fay, Law, and Hay coincide with common English, Scottish, and German surnames.
Because the white population is more than 300 times larger than the Asian population at this time, however, only 0.4% of the people who are not Asian have a surname on the Chinese list, and 0.01% a surname on the Japanese list. Within the Asian population, 0.9% of Japanese records have a surname on the Chinese list, and 0.05% of Chinese records a surname on the Japanese list. Crucially, these numbers mean that the relevant cross probabilities P ( L r = 1 ∣ R = r ′ ) \mathbb{P}(L_r = 1 \mid R = r') P ( L r = 1 ∣ R = r ′ ) , which we treat as 0 for the method in § 2.3.2 , are in fact small. The low precision P ( R = r ∣ L r = 1 ) \mathbb{P}(R = r \mid L_r = 1) P ( R = r ∣ L r = 1 ) plays no direct role in our method.
The remaining steps follow Algorithm 1. We embed surnames using the multilingual E5-large model and estimate f ^ \hat{f} f ^ in the same way as done in § 3.1 . We apply Algorithm 2 to a random sample of 5,000,000 records, which returns K = 67,500 K = 67{,}500 K = 67 , 500 under both priors, and then apply Algorithm 1 to all records.
Quality of name lists. Table 2 reports the true coverage and precision for each list computed from the enumerated ethnicity. The Chinese list covers 0.55 of Chinese records with a precision of 0.19, and the Japanese list covers 0.26 of Japanese records with a precision of 0.71. The precision of the Chinese list is low because most people holding a surname on it are the white Americans described above. The American Indian list has almost no precision because nearly every person holding one of its surnames is white or Black. With the true geographic prevalence of every group, the method of § 2.4.3 estimates the coverage of every list within 0.15 of its ground truth and the precision within 0.05.
Table 2. Quality of the five LLM lists on the full-count 1900 census. “Records” counts the true number of people enumerated in each group. “Coverage” is the share of those records with a surname on the group’s list, and “Precision” the share of all people with a surname on the list who belong to the group. “Truth” is computed from the enumerated race and ethnicity. “Oracle” is estimated by the method of § 2.4.3 with the true county prevalence of every group. “Coarse” uses only the coarse geography: for the Chinese and Japanese lists, coverage is obtained from the county-level list hit rates and the county Asian share by the method of § 2.3 , and precision is the estimated coverage times the recovered number of subgroup members, as a share of the people holding a list surname; for the other lists, whose county prevalence is known, it equals the method of § 2.4.3 .
For the coarse prior B I S G \mathit{BISG} BISG , we cannot estimate the full Π \mathbf{\Pi} Π when sub-group geography is unknown, but the subgroup recovery method of § 2.3 does, under the assumption that Π \mathbf{\Pi} Π is diagonal, produce an estimate of the coverage of each list based on the county-level list hit rates and the coarse geography alone. Here, we find that this coverage estimate is within 0.04 of its ground truth for both lists, and the recovered county subgroup shares correlate with the truth at 0.96, weighting counties by their Asian population. The estimated precision is within 0.04 of its ground truth for both lists.
Results. We compare the empirical performance of coarse prior ℓ B I S G \ell\mathrm{BISG} ℓ BISG against oracle ℓ B I S G \ell\mathrm{BISG} ℓ BISG , as well as against using the recovered geography alone. As shown in Figure 5 , coarse prior ℓ B I S G \ell\mathrm{BISG} ℓ BISG (red solid line) approaches oracle ℓ B I S G \ell\mathrm{BISG} ℓ BISG (blue dashed line): average precision over all records is 0.52 against 0.52 for Chinese records and 0.72 against 0.73 for Japanese records, whereas recovered geography yields only 0.12 and 0.37, respectively. Among the Asian records alone, average precision is 0.88 against 0.89 for Chinese records and 0.88 against 0.90 for Japanese records.
Figure 5. Precision and recall (top) and calibration (bottom) over all records of the census for coarse prior ℓ B I S G \ell\mathrm{BISG} ℓ BISG , which recovers the subgroup geography from the coarse geography and the lists by the method of § 2.3.2 (red, solid); oracle ℓ B I S G \ell\mathrm{BISG} ℓ BISG , which uses the true subgroup geography (blue, dashed); and, in the top panel, recovered geography, the county subgroup shares (grey, dotted), by subgroup. In the bottom panel, the dashed diagonal marks perfect agreement between estimated probabilities and observed proportions. The area of each circle is proportional to the number of records in the bin.
Figure 5 shows that, under both ℓ B I S G \ell\mathrm{BISG} ℓ BISG and its oracle version, the two subgroups are over-predicted at high probabilities: among the records assigned a probability near 0.97 of being Japanese, 0.73 are Japanese. The expected calibration error over all records is about 0.001 for both ℓ B I S G \ell\mathrm{BISG} ℓ BISG and its oracle version because nearly every record receives a probability near zero.
We also evaluate the validity of downstream analysis based on the probabilities obtained using ℓ B I S G \ell\mathrm{BISG} ℓ BISG . We estimate the share of each subgroup in the top quartile of the 1900 socioeconomic index within each county, among the 24,235,916 records of every race in the labor force with a recorded index value. The index is the Duncan socioeconomic index provided by IPUMS [27 ] , which scores each occupation by the income and education of its members in 1950. We fit a single jointly estimated BIRDiE model over all six groups with complete pooling [22 ] , and score every county, weighting each county’s error by the subgroup’s expected count under the recovered geographic prior. We compare ℓ B I S G \ell\mathrm{BISG} ℓ BISG against oracle ℓ B I S G \ell\mathrm{BISG} ℓ BISG and geography alone.
Figure 6 compares the estimated top-quartile share of each subgroup at the county level against the truth. The bias of ℓ B I S G \ell\mathrm{BISG} ℓ BISG is close to that of oracle ℓ B I S G \ell\mathrm{BISG} ℓ BISG : 5.4 against 4.9 for Chinese records and 0.3 against 0.2 for Japanese, whereas using recovered geography alone yields 15.5 and 10.1 ppts. The county RMSE of ℓ B I S G \ell\mathrm{BISG} ℓ BISG is 8.8 against 8.5 ppts for Chinese records and 5.0 against 5.0 for Japanese, against 20.9 and 13.6 for recovered geography only. Overall, we find that coarse prior ℓ B I S G \ell\mathrm{BISG} ℓ BISG approaches oracle ℓ B I S G \ell\mathrm{BISG} ℓ BISG in accuracy, calibration, and downstream analysis validity. Thus, this validation exercise demonstrates the applicability of ℓ B I S G \ell\mathrm{BISG} ℓ BISG to subgroups for which neither a surname table nor a geographic prior exists.
Figure 6. County-level subgroup-specific estimates of the share in the top quartile of the 1900 socioeconomic index. Panels give signed bias (left) and root-mean-square error (right), both in percentage points. Red bars are coarse prior ℓ B I S G \ell\mathrm{BISG} ℓ BISG , blue bars oracle ℓ B I S G \ell\mathrm{BISG} ℓ BISG , and grey bars recovered geography only.
Predicting religious sects in Lebanon using voter files
Finally, we turn to Lebanon and apply ℓ B I S G \ell\mathrm{BISG} ℓ BISG outside the United States to predict individuals’ religious sect memberships rather than their racial and ethnic identities.
Setup. We use full-count voter files, containing 3,676,322 registrants, which were published by the Lebanese Ministry of Interior and Municipalities through the Directorate General of Civil Status on 1 February 2018. We drop the 14,388 voters whose sectarian memberships are missing. After also requiring usable names and geography, the file contains 3,661,930 registrants. Each file contains the full name, location of residence, and self-reported religious sect of each registrant (Dasanaike, [6 ] ). We consider the seven largest sects, together comprising 96.6% of all registrants, and collapse the remaining 125,534 registrants into the residual group. These seven sects are the Shia, at 29.9% of all registrants, Sunni (27.1%), Maronite (19.8%), Roman Orthodox (7.0%), Druze (5.5%), Roman Catholic (4.9%), and Armenian Orthodox (2.4%). No other sect comprises more than 1% of the roll.
Surnames are more informative about religious sects in Lebanon than about racial groups in the United States because families tend to be confessionally endogamous. However, that informativeness is unevenly distributed. The least distinctive names belong to the smaller Christian sects, whose surnames come from a Levantine Arabic ancestry shared with larger neighbors.
Unfortunately, the last census in Lebanon was conducted in 1932 under French supervision, so the geographic distribution of sect from external sources is not available. Therefore, for the purposes of this validation exercise, we form geographic priors using the voter file itself. Specifically for each voter, we calculate the share of each sect among the registrants of the voter’s “locality”, which is a formal administrative term referring to towns and villages, aggregated from the self-reported sects in the registry itself (there are 1,550 localities).
Our downstream analysis uses locality-level ℓ \ell ℓ BISG predictions to estimate the age composition of each sect at the district level (n = 29 n = 29 n = 29 ). The age composition of Lebanon’s sectarian groups is politically consequential because political representation is explicitly allocated along sectarian lines. Based on the 1932 census, which found Christians to constitute 51% of the population, the 1943 National Pact allocated parliamentary seats to Christians and Muslims in a 55–45 ratio. Following fifteen years of sectarian civil war, the 1989 Taif Agreement revised this allocation to an equal 50–50 split. By that time, however, unofficial estimates placed the Muslim share of the population at roughly 70% (Faour, [9 ] ).
Because younger cohorts are disproportionately Muslim, a proposal to lower the voting age from 21 to 18, endorsed by parliament in 2009, has stalled amid concerns that expanding the electorate to younger voters would place Christian confessions at a substantial numerical disadvantage (Faour, [9 ] ). Although no census has been conducted since 1932, in part to avoid reigniting sectarian conflict over the demographic balance, sectarian affiliation continues to be recorded in the electoral rolls because civil status in Lebanon is administered by confession and parliamentary seats are allocated by sect.
Without a published surname table, we construct lists using an approach similar to the one employed in § 3.2 . Specifically, we use Gemini 3.0 Flash to propose prompts written in Arabic (see Appendix S7 for details). As done in the previous applications, we make six separate model calls per prompt at temperature 1.0, rank the surnames by the number of calls that returned them, and retain up to 1,000 unique surnames for each sect. The Maronite and Druze lists contain 861 and 853 surnames, respectively; the other five contain 1,000.
We embed surnames using the paraphrase-multilingual-mpnet-base-v2 model (Reimers and Gurevych, [25 ] ), which accommodates Arabic script, instead of the E5 encoder used in the previous applications. In Step 4 of Algorithm 1, the list-membership models, one per sect list, are fit on all registrants. The models score each surname out-of-sample across five folds that randomly partition the distinct surnames, with the number of epochs selected by cross-validation within each training set. The remaining steps follow Algorithm 1, with K = 57,567 K = 57{,}567 K = 57 , 567 clusters chosen by applying Algorithm 2 to all 3{,}661{,}930 registrants.13
Quality of name lists. We evaluate the quality of LLM sect lists using an approach similar to the one used in the previous applications. Table 3 reports coverage and precision for each of the seven sects, both as computed from the recorded sects and as estimated from the locality system, using the locality sect shares as the geographic prior and no individual labels (§ 2.4.3 ). The estimates align closely to their corresponding ground-truths with the only exception being the estimated precision for Armenian Orthodox, which overestimates precision by 16 ppt.
Table 3. Quality of the seven LLM sect lists on the Lebanese voter registry. “Coverage” is the share of a sect’s registrants holding a surname on that sect’s list, and “Precision” is the share of the registrants holding a list surname who belong to the sect. Lists contain up to 1,000 unique surnames.
Across the groups, the Armenian lists yield the lowest coverage but the highest precision, while the Druze and Roman Catholic lists hold surnames that cover most registrants of those sects as well as many non-members. The sect lists also overlap more often than any of the American lists: 57.1% of registrants have a surname that belongs to more than one list. Our overall list quality measure is D ( Π ) = 0.36 D(\Pi) = 0.36 D ( Π ) = 0.36 , which is similar to its ground truth 0.33 based on individual sectarian memberships, suggesting that the Lebanese lists are similar in quality to the American lists.
Results
We compare the empirical performance of ℓ \ell ℓ BISG based on the LLM lists against that of geography alone prediction as a baseline. Aside from constructing the geographic prior, the sect recorded in the voter file is used only for evaluation. As shown in Figure 7 , locality alone (grey dots) already predicts sect well because most localities are confessionally homogeneous. Still, ℓ \ell ℓ BISG (red solid line) improves on locality-alone prediction for every sect, though only marginally for the Shia, and by the most for the Armenian Orthodox, whose average precision rises from 0.48 under geography alone to 0.73; the Armenian Orthodox list is the most precise of the seven (Table 3 ).
Figure 7. Precision and recall for ℓ \ell ℓ BISG and geography alone for the seven principal Lebanese sects, by confession (rows) and sect (columns), under the locality-level prior (n = 1,550 n = 1{,}550 n = 1 , 550 ; ℓ \ell ℓ BISG red solid, geography grey dotted) and the district-level prior (n = 29 n = 29 n = 29 ; ℓ \ell ℓ BISG blue dashed, geography dark grey dot-dashed).
The Muslim sects and the Druze are predicted best, with average precision above 0.94, and the smaller Christian sects worst, at 0.55 for Roman Catholics and 0.64 for Roman Orthodox because their surnames are shared with the larger Christian sects. A low-precision list still supports precise predictions. The Roman Catholic list has a precision of only 0.08 at a recall equal to its coverage of 0.61 (Table 3 ), whereas the ℓ \ell ℓ BISG posterior reaches a precision of 0.47 at the same recall. This is because the posterior also draws on geography and on the other six lists.
Moreover, if we only look at the localities where no single sect comprises more than 90% of the roll (43% of 1,550 localities), ℓ \ell ℓ BISG outperforms geography alone by between 0.05 (Roman Catholic) and 0.26 (Armenian Orthodox) in average precision, and by 0.10 to 0.14 for the three largest sects.
If we use the more heterogeneous district-level (n = 29 n = 29 n = 29 ) share as the geographic prior instead of the locality, ℓ \ell ℓ BISG (blue dashed line) outperforms district-alone prediction (dark grey dot-dashed line) by between 0.01 (Roman Catholic) and 0.41 (Armenian Orthodox) in average precision. However, the downstream age estimates in Figure 9 become less accurate when probabilities are calculated at the district level, with the RMSE rising for six of the seven sects. This is because the coarser prior discards within-district geographic information.
Figure 9. Share of each sect born in 1985 or later, estimated by district. Rows give signed bias and root-mean-square error against the enumerated sect, both in ppts; red bars are ℓ \ell ℓ BISG and grey bars geography alone. Sects are ordered by their share of the roll.
Figure 8 shows that the predicted individual sect probabilities based on ℓ \ell ℓ BISG are well calibrated for the Maronites, the Muslim sects, and the Druze, whose reliability curves lie close to the diagonal. The three smaller Christian sects are over-predicted at high probabilities. Among registrants assigned a probability near 0.98 of being Armenian Orthodox, 0.75 are; most of the remainder are Armenian Catholics and Armenian Protestants in the residual class, since the Armenian Orthodox list identifies Armenian surnames rather than the denomination. The expected calibration error is nevertheless low for every sect, from 0.004 for the Druze to 0.015 for the Roman Catholics, because most registrants receive a probability near zero for any given sect.
Figure 8. Calibration of estimated individual sect probabilities based on ℓ \ell ℓ BISG (LLM lists) for the seven principal Lebanese sects, by confession (rows) and sect (columns). The dashed diagonal marks perfect agreement between estimated probabilities and observed proportions. The area of each circle is proportional to the number of registrants in the bin.
We also evaluate the validity of the downstream analysis of age based on the estimated ℓ \ell ℓ BISG individual sect probabilities under the locality-level prior. The estimand is the share of each sect’s members who are young adults (born in 1985 or later) within each district, which is a politically salient statistic in Lebanon. This share varies across the sects, ranging from 12.9% among Armenian Orthodox to 28.4% among Shia. We estimate it for each sect within districts using separate target-versus-rest BIRDiE models with a saturated district specification, among the 90.2% of registrants with a recorded birth year. We then compute the bias and RMSE over every sect-by-district pair, weighting each pair by its expected number of sect members under the geographic prior. We evaluate at the district level rather than at the locality level of the prior because most localities are confessionally homogeneous, such that geography alone already recovers the age composition of each sect within most localities. Again, we compare these estimates against using geography alone.
Figure 9 shows that across the 202 sect-by-district pairs, ℓ \ell ℓ BISG reduces the overall RMSE of the geographic baseline by about 68%, from 5.9 to 1.9 ppts. RMSE (bottom panel) is lower for all seven sects, and absolute bias (top panel) is lower for six.
The size of the reduction reflects two separate components: how well geography alone recovers the sect due to residential segregation, and how well surnames identify group members. The Roman Catholics, whose members are older and dispersed as a minority across districts, have a baseline RMSE of 10.1 ppts, of which ℓ \ell ℓ BISG removes 54%. The largest proportional reductions are for the Shia, from 5.8 to 1.1 ppts (82%), and the Sunni, from 4.1 to 0.8 ppts (80%).
Overall, we find that ℓ \ell ℓ BISG predicts sectarian memberships with average precision between 0.55 and 0.98, improves on geography alone for every sect – though the extent depends on the precision of the initial geographic probabilities – and reduces the error of the geographic baseline on the district-level estimand by about 68%. This validation demonstrates the potential application of ℓ \ell ℓ BISG outside of the United States, to non-English names, and to a non-traditional group membership for which surnames are informative.
Conclusion
Bayesian Improved Surname Geocoding (BISG) and its variants have become the standard method for predicting individual race in the U.S. However, the requirement of race-name frequency tables has severely limited the applicability of BISG beyond this specific context. Often, these methods have been inapplicable beyond the coarse racial categories defined by the Census Bureau and outside the U.S., where such information is rarely available.
In this paper, we overcome this difficulty by developing list-powered BISG (ℓ \ell ℓ BISG), which only requires group-specific name lists that can easily be obtained from an LLM. Importantly, when geographic prevalence information is available, the only new assumption is a rank condition on geographic prevalence that will often be satisfied if the groups of interest have at least some geographic variation. That is, ℓ \ell ℓ BISG only imposes this single additional assumption beyond what is required for the standard BISG method. Moreover, by replacing the traditionally assumed independence of surname and geography given race with an assumed surname cluster and geography independence given race, ℓ \ell ℓ BISG actually weakens the foundational BISG assumption.
ℓ \ell ℓ BISG works by using a previously unrecognized consequence of the standard BISG assumption that surname and geography are independent given group membership. If a variable B B B predictive of group membership (such as surname, surname embeddings, or embedding clusters) is not directly related to geography conditional on group membership (and if group membership has a geographic pattern), then B B B will also exhibit a geographic pattern that indirectly reveals how B B B relates to group membership. By setting up a system of equations, we are able to recover that relationship, which can in turn be used to produce BISG probabilities.
Building on our earlier work of embedding-powered BISG (eBISG; [7 ] ), ℓ \ell ℓ BISG uses a proxy task of predicting list membership from name embeddings followed by clustering of those predictions to construct such a variable B B B . Under additional assumptions on list quality, we have also shown how to extend ℓ \ell ℓ BISG to settings in which prior information about subgroup geographic prevalence is not available.
Our empirical validations show that the performance of ℓ \ell ℓ BISG is comparable to the standard BISG in terms of precision, accuracy, calibration, and downstream estimation performance — more so when lists are of higher quality. This is even though the former only requires group specific name lists. The case where geographic priors are unavailable is much more challenging, but when lists are distinctive enough, we are able to achieve comparable performance to standard BISG. Ultimately, ℓ \ell ℓ BISG represents a substantial improvement over using a geographic prior alone when standard BISG is not applicable. In Appendix § 14.4 , we also compare ℓ \ell ℓ BISG with directly prompting an LLM for the probability of each group given a surname ([6 ] ). We find that the downstream estimates based on ℓ \ell ℓ BISG are more accurate for most groups, and that ℓ \ell ℓ BISG is better calibrated in the 1900 census and for most sects in Lebanon.
Because one can use a large-language model to generate an informative name list essentially for any group, ℓ \ell ℓ BISG extends probabilistic inference to fine-grained ethnic groups, to settings outside the United States, and to subgroups within a coarse racial group. We expect ℓ \ell ℓ BISG to considerably widen the applicability of probabilistic prediction methods that estimate group disparities when their membership is not observed.
Future research could improve ℓ \ell ℓ BISG in several directions. One direction is to extend our approach to recovering unavailable subgroup geographic prevalence to settings where additional prior information about list quality and overlap is available. Another is to explore alternatives to our combination of list-based prediction and K-means clustering for constructing the low-dimensional summary variable. A third is to further explore list quality and the trade-offs between selecting distinctive, common, group-exclusive, and group-covering names.
As we noted in § 2.2 , in the settings where geographic priors are already available, the ℓ \ell ℓ BISG framework can be applied effectively without lists so long as embeddings are spatially clustered by the group of interest. However, when geographic information is not available, and for diagnostics, lists are essential. In some of our applications, we find that list-guided clustering only moderately improves on direct clustering. Still, it remains an open question how the added value of lists varies across application types and embedding models.
Broadly, this paper offers a general strategy for incorporating information from (LLM-generated) lists and name embeddings into well-calibrated probabilities that support valid downstream inference while accounting for uncertainty in unobserved group membership.
Acknowledgments
We thank reviewers of the Alexander and Diviya Magaro Peer Pre-Review Program and attendees of the Harvard Institute for Quantitative Social Science Applied Statistics Workshop for useful comments.
Data and materials availability: All data necessary to evaluate the conclusions in the paper will be made publicly available at Harvard Dataverse, with the following restrictions. The versions of the Florida and North Carolina voter files we used are proprietary and available for purchase from L2, Inc., and thus cannot be redistributed. The full-count 1900 U.S. Census with full names is available to approved researchers under a restricted-use agreement with IPUMS USA [27 ] ; we accessed it through the National Bureau of Economic Research (NBER) and release only anonymized aggregate outputs. The 2018 Lebanese voter registry was published by the Lebanese Ministry of Interior and Municipalities. However, because it records the religious sect of named individuals, we do not redistribute it, and similarly release only aggregate outputs.
All code, the LLM-generated name lists, prompts, and aggregate outputs will be made available in the Harvard Dataverse. With these materials, every table and figure can be reproduced from the aggregate outputs, and the analyses can be rerun by researchers with access to the restricted data. ℓ \ell ℓ BISG is implemented in the open-source R package wru, available from CRAN (https://CRAN.R-project.org/package=wru ).
Bias caused by hard thresholding
Bias expression given in Section 2.1
Without loss of generality, we ignore conditioning on geography G = g G = g G = g below. A simple approach to imputing the missing group membership would be to set
R ∗ = arg max r P ( R = r ∣ S = s ) (16) R^{*} = \underset{r}{\operatorname{arg\,max}}\ \mathbb{P}(R = r \mid S = s) \tag*{(16)} R ∗ = r arg max P ( R = r ∣ S = s ) (16)
and then estimate group means using
∑ i = 1 N 1 { Y i = y } 1 { R i ∗ = r } ∑ i = 1 N 1 { R i ∗ = r } (17) \frac{\sum_{i=1}^{N} 1\{Y_i = y\}1\{R_i^{*} = r\}}{\sum_{i=1}^{N} 1\{R_i^{*} = r\}} \tag*{(17)} ∑ i = 1 N 1 { R i ∗ = r } ∑ i = 1 N 1 { Y i = y } 1 { R i ∗ = r } (17)
which converges as N → ∞ N \to\infty N → ∞ to P ( Y = y ∣ R ∗ = r ) \mathbb{P}(Y = y \mid R^{*} = r) P ( Y = y ∣ R ∗ = r ) . The question is how this compares to P ( Y = y ∣ R = r ) \mathbb{P}(Y = y \mid R = r) P ( Y = y ∣ R = r ) . For simplicity, we will suppose R R R is binary, taking values of 0 or 1, and without loss of generality, we exclude conditioning on geography from this proof. Let C 0 C_0 C 0 be the set of surnames that are classified as 0 under this rule and C 1 C_1 C 1 be the set classified as 1. Note also that because R ∗ R^{*} R ∗ is a function of S S S , Y ⊥ ⊥ R ∗ ∣ R , S Y \perp\!\!\!\perp R^{*} \mid R, S Y ⊥ ⊥ R ∗ ∣ R , S , and define
μ y ∣ r , s : = P ( Y = y ∣ R = r , S = s ) μ y ∣ r : = P ( Y = y ∣ R = r ) (18) \mu_{y\mid r,s} := \mathbb{P}(Y = y \mid R = r, S = s) \qquad\mu_{y\mid r} := \mathbb{P}(Y = y \mid R = r) \tag*{(18)} μ y ∣ r , s := P ( Y = y ∣ R = r , S = s ) μ y ∣ r := P ( Y = y ∣ R = r ) (18)
Then
P ( Y = y ∣ R ∗ = 1 ) = ∑ r = 0 1 ∑ s P ( Y = y ∣ R ∗ = 1 , R = r , S = s ) P ( R = r , S = s ∣ R ∗ = 1 ) = ∑ r = 0 1 ∑ s μ y ∣ r , s P ( R ∗ = 1 ∣ S = s , R = r ) P ( S = s ∣ R = r ) P ( R = r ) P ( R ∗ = 1 ) = ∑ r = 0 1 ∑ s μ y ∣ r , s 1 { s ∈ C 1 } P ( S = s ∣ R = r ) P ( R = r ) P ( R ∗ = 1 ) = ∑ r = 0 1 ∑ s ∈ C 1 μ y ∣ r , s P ( S = s ∣ R = r ) P ( R = r ) P ( S ∈ C 1 ) \begin{aligned}
\mathbb{P}(Y = y \mid R^{*} = 1)
&= \sum_{r=0}^{1}\sum_s \mathbb{P}(Y = y \mid R^{*} = 1, R = r, S = s)\mathbb{P}(R = r, S = s \mid R^{*} = 1) \\
&= \sum_{r=0}^{1}\sum_s \mu_{y\mid r,s}\frac{\mathbb{P}(R^{*} = 1 \mid S = s, R = r)\mathbb{P}(S = s \mid R = r)\mathbb{P}(R = r)}{\mathbb{P}(R^{*} = 1)} \\
&= \sum_{r=0}^{1}\sum_s \mu_{y\mid r,s}1\{s \in C_1\}\frac{\mathbb{P}(S = s \mid R = r)\mathbb{P}(R = r)}{\mathbb{P}(R^{*} = 1)} \\
&= \sum_{r=0}^{1}\sum_{s \in C_1} \mu_{y\mid r,s}\frac{\mathbb{P}(S = s \mid R = r)\mathbb{P}(R = r)}{\mathbb{P}(S \in C_1)}
\end{aligned} P ( Y = y ∣ R ∗ = 1 ) = r = 0 ∑ 1 s ∑ P ( Y = y ∣ R ∗ = 1 , R = r , S = s ) P ( R = r , S = s ∣ R ∗ = 1 ) = r = 0 ∑ 1 s ∑ μ y ∣ r , s P ( R ∗ = 1 ) P ( R ∗ = 1 ∣ S = s , R = r ) P ( S = s ∣ R = r ) P ( R = r ) = r = 0 ∑ 1 s ∑ μ y ∣ r , s 1 { s ∈ C 1 } P ( R ∗ = 1 ) P ( S = s ∣ R = r ) P ( R = r ) = r = 0 ∑ 1 s ∈ C 1 ∑ μ y ∣ r , s P ( S ∈ C 1 ) P ( S = s ∣ R = r ) P ( R = r )
Noting in the last line that { R ∗ = 1 } ↔ { S ∈ C 1 } \{R^{*} = 1\} \leftrightarrow\{S \in C_1\} { R ∗ = 1 } ↔ { S ∈ C 1 } . Using this, we have
P ( Y = y ∣ R ∗ = 1 ) − P ( Y = y ∣ R = 1 ) = ∑ r = 0 1 ∑ s ∈ C 1 μ y ∣ r , s P ( S = s ∣ R = r ) P ( R = r ) P ( S ∈ C 1 ) − ∑ s μ y ∣ 1 , s P ( S = s ∣ R = 1 ) = ∑ s ∈ C 1 μ y ∣ 0 , s P ( S = s ∣ R = 0 ) P ( R = 0 ) P ( S ∈ C 1 ) + ∑ s ∈ C 1 μ y ∣ 1 , s P ( S = s ∣ R = 1 ) [ P ( R = 1 ) P ( S ∈ C 1 ) − 1 ] − ∑ s ∈ C 0 μ y ∣ 1 , s P ( S = s ∣ R = 1 ) \begin{aligned}
\mathbb{P}(Y = y \mid R^{*} = 1) - \mathbb{P}(Y = y \mid R = 1)
&= \sum_{r=0}^{1}\sum_{s \in C_1} \mu_{y\mid r,s}\frac{\mathbb{P}(S = s \mid R = r)\mathbb{P}(R = r)}{\mathbb{P}(S \in C_1)}
- \sum_s \mu_{y\mid1,s}\mathbb{P}(S = s \mid R = 1) \\
&= \sum_{s \in C_1} \mu_{y\mid0,s}\frac{\mathbb{P}(S = s \mid R = 0)\mathbb{P}(R = 0)}{\mathbb{P}(S \in C_1)} \\
&\quad+ \sum_{s \in C_1} \mu_{y\mid1,s}\mathbb{P}(S = s \mid R = 1)
\left[\frac{\mathbb{P}(R = 1)}{\mathbb{P}(S \in C_1)} - 1\right]
- \sum_{s \in C_0} \mu_{y\mid1,s}\mathbb{P}(S = s \mid R = 1)
\end{aligned} P ( Y = y ∣ R ∗ = 1 ) − P ( Y = y ∣ R = 1 ) = r = 0 ∑ 1 s ∈ C 1 ∑ μ y ∣ r , s P ( S ∈ C 1 ) P ( S = s ∣ R = r ) P ( R = r ) − s ∑ μ y ∣ 1 , s P ( S = s ∣ R = 1 ) = s ∈ C 1 ∑ μ y ∣ 0 , s P ( S ∈ C 1 ) P ( S = s ∣ R = 0 ) P ( R = 0 ) + s ∈ C 1 ∑ μ y ∣ 1 , s P ( S = s ∣ R = 1 ) [ P ( S ∈ C 1 ) P ( R = 1 ) − 1 ] − s ∈ C 0 ∑ μ y ∣ 1 , s P ( S = s ∣ R = 1 )
If we add Y ⊥ ⊥ S ∣ R Y \perp\!\!\!\perp S \mid R Y ⊥ ⊥ S ∣ R , this becomes
= μ y ∣ 0 P ( S ∈ C 1 ) P ( S ∈ C 1 , R = 0 ) + μ y ∣ 1 P ( S ∈ C 1 ∣ R = 1 ) [ P ( R = 1 ) P ( S ∈ C 1 ) − 1 ] − μ y ∣ 1 P ( S ∈ C 0 ∣ R = 1 ) = μ y ∣ 0 P ( S ∈ C 1 ) P ( S ∈ C 1 , R = 0 ) + μ y ∣ 1 [ P ( S ∈ C 1 ∣ R = 1 ) ( P ( R = 1 ) P ( S ∈ C 1 ) − 1 ) − P ( S ∈ C 0 ∣ R = 1 ) ] = μ y ∣ 0 P ( R = 0 ∣ S ∈ C 1 ) + μ y ∣ 1 [ P ( R = 1 ∣ S ∈ C 1 ) − 1 ] = μ y ∣ 0 P ( R = 0 ∣ S ∈ C 1 ) − μ y ∣ 1 [ P ( R = 0 ∣ S ∈ C 1 ) ] = [ μ y ∣ 0 − μ y ∣ 1 ] P ( R = 0 ∣ S ∈ C 1 ) \begin{aligned}
&= \frac{\mu_{y\mid0}}{\mathbb{P}(S \in\mathcal{C}_1)}\mathbb{P}(S \in\mathcal{C}_1,R=0) \\
&\quad+ \mu_{y\mid1}\mathbb{P}(S \in\mathcal{C}_1 \mid R=1)\left[\frac{\mathbb{P}(R=1)}{\mathbb{P}(S \in\mathcal{C}_1)}-1\right]-\mu_{y\mid1}\mathbb{P}(S \in\mathcal{C}_0 \mid R=1) \\
&= \frac{\mu_{y\mid0}}{\mathbb{P}(S \in\mathcal{C}_1)}\mathbb{P}(S \in\mathcal{C}_1,R=0) \\
&\quad+ \mu_{y\mid1}\left[\mathbb{P}(S \in\mathcal{C}_1 \mid R=1)\left(\frac{\mathbb{P}(R=1)}{\mathbb{P}(S \in\mathcal{C}_1)}-1\right)-\mathbb{P}(S \in\mathcal{C}_0 \mid R=1)\right] \\
&= \mu_{y\mid0}\mathbb{P}(R=0 \mid S \in\mathcal{C}_1)+\mu_{y\mid1}\left[\mathbb{P}(R=1 \mid S \in\mathcal{C}_1)-1\right] \\
&= \mu_{y\mid0}\mathbb{P}(R=0 \mid S \in\mathcal{C}_1)-\mu_{y\mid1}\left[\mathbb{P}(R=0 \mid S \in\mathcal{C}_1)\right] \\
&= [\mu_{y\mid0}-\mu_{y\mid1}]\mathbb{P}(R=0 \mid S \in\mathcal{C}_1)
\end{aligned} = P ( S ∈ C 1 ) μ y ∣ 0 P ( S ∈ C 1 , R = 0 ) + μ y ∣ 1 P ( S ∈ C 1 ∣ R = 1 ) [ P ( S ∈ C 1 ) P ( R = 1 ) − 1 ] − μ y ∣ 1 P ( S ∈ C 0 ∣ R = 1 ) = P ( S ∈ C 1 ) μ y ∣ 0 P ( S ∈ C 1 , R = 0 ) + μ y ∣ 1 [ P ( S ∈ C 1 ∣ R = 1 ) ( P ( S ∈ C 1 ) P ( R = 1 ) − 1 ) − P ( S ∈ C 0 ∣ R = 1 ) ] = μ y ∣ 0 P ( R = 0 ∣ S ∈ C 1 ) + μ y ∣ 1 [ P ( R = 1 ∣ S ∈ C 1 ) − 1 ] = μ y ∣ 0 P ( R = 0 ∣ S ∈ C 1 ) − μ y ∣ 1 [ P ( R = 0 ∣ S ∈ C 1 ) ] = [ μ y ∣ 0 − μ y ∣ 1 ] P ( R = 0 ∣ S ∈ C 1 )
If classification is perfect, P ( R = 0 ∣ S ∈ C 1 ) = 0 \mathbb{P}(R=0 \mid S \in\mathcal{C}_1)=0 P ( R = 0 ∣ S ∈ C 1 ) = 0 and this is 0. If Y ⊥ ⊥ R Y \perp\!\!\!\perp R Y ⊥ ⊥ R (no group disparity), then the left term becomes P ( Y = y ) − P ( Y = y ) = 0 \mathbb{P}(Y=y)-\mathbb{P}(Y=y)=0 P ( Y = y ) − P ( Y = y ) = 0 . The calculation for P ( Y = y ∣ R ∗ = 0 ) − P ( Y = y ∣ R = 0 ) \mathbb{P}(Y=y \mid R^*=0)-\mathbb{P}(Y=y \mid R=0) P ( Y = y ∣ R ∗ = 0 ) − P ( Y = y ∣ R = 0 ) is identical but flipped
P ( Y = y ∣ R ∗ = 0 ) − P ( Y = y ∣ R = 0 ) = [ μ y ∣ 1 − μ y ∣ 0 ] P ( R = 1 ∣ S ∈ C 0 ) \mathbb{P}(Y=y \mid R^*=0)-\mathbb{P}(Y=y \mid R=0)=[\mu_{y\mid1}-\mu_{y\mid0}]\mathbb{P}(R=1 \mid S \in\mathcal{C}_0) P ( Y = y ∣ R ∗ = 0 ) − P ( Y = y ∣ R = 0 ) = [ μ y ∣ 1 − μ y ∣ 0 ] P ( R = 1 ∣ S ∈ C 0 )
Hence the asymptotic bias in the disparity is
[ P ( Y = y ∣ R ∗ = 1 ) − P ( Y = y ∣ R ∗ = 0 ) ] − [ μ y ∣ 1 − μ y ∣ 0 ] = ( [ μ y ∣ 0 − μ y ∣ 1 ] P ( R = 0 ∣ S ∈ C 1 ) ) − ( [ μ y ∣ 1 − μ y ∣ 0 ] P ( R = 1 ∣ S ∈ C 0 ) ) = − [ μ y ∣ 1 − μ y ∣ 0 ] [ P ( R = 1 ∣ S ∈ C 0 ) + P ( R = 0 ∣ S ∈ C 1 ) ] \begin{aligned}
&[\mathbb{P}(Y=y \mid R^*=1)-\mathbb{P}(Y=y \mid R^*=0)]-[\mu_{y\mid1}-\mu_{y\mid0}] \\
&=\left([\mu_{y\mid0}-\mu_{y\mid1}]\mathbb{P}(R=0 \mid S \in\mathcal{C}_1)\right)-\left([\mu_{y\mid1}-\mu_{y\mid0}]\mathbb{P}(R=1 \mid S \in\mathcal{C}_0)\right) \\
&=-[\mu_{y\mid1}-\mu_{y\mid0}][\mathbb{P}(R=1 \mid S \in\mathcal{C}_0)+\mathbb{P}(R=0 \mid S \in\mathcal{C}_1)]
\end{aligned} [ P ( Y = y ∣ R ∗ = 1 ) − P ( Y = y ∣ R ∗ = 0 )] − [ μ y ∣ 1 − μ y ∣ 0 ] = ( [ μ y ∣ 0 − μ y ∣ 1 ] P ( R = 0 ∣ S ∈ C 1 ) ) − ( [ μ y ∣ 1 − μ y ∣ 0 ] P ( R = 1 ∣ S ∈ C 0 ) ) = − [ μ y ∣ 1 − μ y ∣ 0 ] [ P ( R = 1 ∣ S ∈ C 0 ) + P ( R = 0 ∣ S ∈ C 1 )]
Bias without the conditional independence assumption
If we do not assume Y ⊥ ⊥ S ∣ R Y \perp\!\!\!\perp S \mid R Y ⊥ ⊥ S ∣ R , then a more algebraically complicated calculation yields that the asymptotic bias in the disparity estimation is as follows:
( P ( Y = y ∣ R ∗ = 1 ) − P ( Y = y ∣ R = 1 ) ) − ( P ( Y = y ∣ R ∗ = 0 ) − P ( Y = y ∣ R = 0 ) ) = ∑ s ∈ C 1 μ y ∣ 0 , s P ( S = s ∣ R = 0 ) P ( R = 0 ) P ( S ∈ C 1 ) + ∑ s ∈ C 1 μ y ∣ 1 , s P ( S = s ∣ R = 1 ) [ P ( R = 1 ) P ( S ∈ C 1 ) − 1 ] − ∑ s ∈ C 0 μ y ∣ 1 , s P ( S = s ∣ R = 1 ) − ∑ s ∈ C 0 μ y ∣ 1 , s P ( S = s ∣ R = 1 ) P ( R = 1 ) P ( S ∈ C 0 ) − ∑ s ∈ C 0 μ y ∣ 0 , s P ( S = s ∣ R = 0 ) [ P ( R = 0 ) P ( S ∈ C 0 ) − 1 ] + ∑ s ∈ C 0 μ y ∣ 0 , s P ( S = s ∣ R = 0 ) = ( P ( R = 0 ) P ( S ∈ C 1 ) + 1 ) ∑ s ∈ C 1 μ y ∣ 0 , s P ( S = s ∣ R = 0 ) − ( P ( R = 1 ) P ( S ∈ C 0 ) + 1 ) ∑ s ∈ C 0 μ y ∣ 1 , s P ( S = s ∣ R = 1 ) + [ P ( R = 1 ) P ( S ∈ C 1 ) − 1 ] ∑ s ∈ C 1 μ y ∣ 1 , s P ( S = s ∣ R = 1 ) − [ P ( R = 0 ) P ( S ∈ C 0 ) − 1 ] ∑ s ∈ C 0 μ y ∣ 0 , s P ( S = s ∣ R = 0 ) \begin{aligned}
&(\mathbb{P}(Y=y \mid R^*=1)-\mathbb{P}(Y=y \mid R=1))-(\mathbb{P}(Y=y \mid R^*=0)-\mathbb{P}(Y=y \mid R=0)) \\
&=\sum_{s\in\mathcal{C}_1}\mu_{y\mid0,s}\frac{\mathbb{P}(S=s \mid R=0)\mathbb{P}(R=0)}{\mathbb{P}(S\in\mathcal{C}_1)} \\
&\quad+\sum_{s\in\mathcal{C}_1}\mu_{y\mid1,s}\mathbb{P}(S=s \mid R=1)\left[\frac{\mathbb{P}(R=1)}{\mathbb{P}(S\in\mathcal{C}_1)}-1\right]-\sum_{s\in\mathcal{C}_0}\mu_{y\mid1,s}\mathbb{P}(S=s \mid R=1) \\
&\quad-\sum_{s\in\mathcal{C}_0}\mu_{y\mid1,s}\frac{\mathbb{P}(S=s \mid R=1)\mathbb{P}(R=1)}{\mathbb{P}(S\in\mathcal{C}_0)} \\
&\quad-\sum_{s\in\mathcal{C}_0}\mu_{y\mid0,s}\mathbb{P}(S=s \mid R=0)\left[\frac{\mathbb{P}(R=0)}{\mathbb{P}(S\in\mathcal{C}_0)}-1\right]+\sum_{s\in\mathcal{C}_0}\mu_{y\mid0,s}\mathbb{P}(S=s \mid R=0) \\
&=\left(\frac{\mathbb{P}(R=0)}{\mathbb{P}(S\in\mathcal{C}_1)}+1\right)\sum_{s\in\mathcal{C}_1}\mu_{y\mid0,s}\mathbb{P}(S=s \mid R=0)-\left(\frac{\mathbb{P}(R=1)}{\mathbb{P}(S\in\mathcal{C}_0)}+1\right)\sum_{s\in\mathcal{C}_0}\mu_{y\mid1,s}\mathbb{P}(S=s \mid R=1) \\
&\quad+\left[\frac{\mathbb{P}(R=1)}{\mathbb{P}(S\in\mathcal{C}_1)}-1\right]\sum_{s\in\mathcal{C}_1}\mu_{y\mid1,s}\mathbb{P}(S=s \mid R=1)-\left[\frac{\mathbb{P}(R=0)}{\mathbb{P}(S\in\mathcal{C}_0)}-1\right]\sum_{s\in\mathcal{C}_0}\mu_{y\mid0,s}\mathbb{P}(S=s \mid R=0)
\end{aligned} ( P ( Y = y ∣ R ∗ = 1 ) − P ( Y = y ∣ R = 1 )) − ( P ( Y = y ∣ R ∗ = 0 ) − P ( Y = y ∣ R = 0 )) = s ∈ C 1 ∑ μ y ∣ 0 , s P ( S ∈ C 1 ) P ( S = s ∣ R = 0 ) P ( R = 0 ) + s ∈ C 1 ∑ μ y ∣ 1 , s P ( S = s ∣ R = 1 ) [ P ( S ∈ C 1 ) P ( R = 1 ) − 1 ] − s ∈ C 0 ∑ μ y ∣ 1 , s P ( S = s ∣ R = 1 ) − s ∈ C 0 ∑ μ y ∣ 1 , s P ( S ∈ C 0 ) P ( S = s ∣ R = 1 ) P ( R = 1 ) − s ∈ C 0 ∑ μ y ∣ 0 , s P ( S = s ∣ R = 0 ) [ P ( S ∈ C 0 ) P ( R = 0 ) − 1 ] + s ∈ C 0 ∑ μ y ∣ 0 , s P ( S = s ∣ R = 0 ) = ( P ( S ∈ C 1 ) P ( R = 0 ) + 1 ) s ∈ C 1 ∑ μ y ∣ 0 , s P ( S = s ∣ R = 0 ) − ( P ( S ∈ C 0 ) P ( R = 1 ) + 1 ) s ∈ C 0 ∑ μ y ∣ 1 , s P ( S = s ∣ R = 1 ) + [ P ( S ∈ C 1 ) P ( R = 1 ) − 1 ] s ∈ C 1 ∑ μ y ∣ 1 , s P ( S = s ∣ R = 1 ) − [ P ( S ∈ C 0 ) P ( R = 0 ) − 1 ] s ∈ C 0 ∑ μ y ∣ 0 , s P ( S = s ∣ R = 0 )
Letting μ y ∣ r , C r ′ = P ( Y = y ∣ R = r , S ∈ C r ′ ) \mu_{y\mid r,C_r'}=\mathbb{P}(Y=y\mid R=r,S\in C_r') μ y ∣ r , C r ′ = P ( Y = y ∣ R = r , S ∈ C r ′ ) this is
= ( P ( R = 0 ) P ( S ∈ C 1 ) + 1 ) μ y ∣ 0 , C 1 P ( S ∈ C 1 ∣ R = 0 ) − ( P ( R = 1 ) P ( S ∈ C 0 ) + 1 ) μ y ∣ 1 , C 0 P ( S ∈ C 0 ∣ R = 1 ) + [ P ( R = 1 ) P ( S ∈ C 1 ) − 1 ] μ y ∣ 1 , C 1 P ( S ∈ C 1 ∣ R = 1 ) − [ P ( R = 0 ) P ( S ∈ C 0 ) − 1 ] μ y ∣ 0 , C 0 P ( S ∈ C 0 ∣ R = 0 ) = μ y ∣ 0 , C 1 [ P ( R = 0 ∣ S ∈ C 1 ) + P ( S ∈ C 1 ∣ R = 0 ) ] − μ y ∣ 1 , C 0 [ P ( R = 1 ∣ S ∈ C 0 ) + P ( S ∈ C 0 ∣ R = 1 ) ] + μ y ∣ 1 , C 1 [ P ( R = 1 ∣ S ∈ C 1 ) − P ( S ∈ C 1 ∣ R = 1 ) ] − μ y ∣ 0 , C 0 [ P ( R = 0 ∣ S ∈ C 0 ) − P ( S ∈ C 0 ∣ R = 0 ) ] = μ y ∣ 0 , C 1 [ P ( R = 0 ∣ S ∈ C 1 ) + P ( S ∈ C 1 ∣ R = 0 ) ] − μ y ∣ 1 , C 0 [ P ( R = 1 ∣ S ∈ C 0 ) + P ( S ∈ C 0 ∣ R = 1 ) ] + μ y ∣ 1 , C 1 [ P ( S ∈ C 0 ∣ R = 1 ) − P ( R = 0 ∣ S ∈ C 1 ) ] − μ y ∣ 0 , C 0 [ P ( S ∈ C 1 ∣ R = 0 ) − P ( R = 1 ∣ S ∈ C 0 ) ] = μ y ∣ 0 , C 1 P ( R = 0 ∣ S ∈ C 1 ) − μ y ∣ 1 , C 1 P ( R = 0 ∣ S ∈ C 1 ) + μ y ∣ 0 , C 1 P ( S ∈ C 1 ∣ R = 0 ) − μ y ∣ 0 , C 0 P ( S ∈ C 1 ∣ R = 0 ) + μ y ∣ 1 , C 1 P ( S ∈ C 0 ∣ R = 1 ) − μ y ∣ 1 , C 0 P ( S ∈ C 0 ∣ R = 1 ) + μ y ∣ 0 , C 0 P ( R = 1 ∣ S ∈ C 0 ) − μ y ∣ 1 , C 0 P ( R = 1 ∣ S ∈ C 0 ) \begin{aligned}
&=\left(\frac{\mathbb{P}(R=0)}{\mathbb{P}(S\in C_1)}+1\right)\mu_{y\mid0,C_1}\mathbb{P}(S\in C_1\mid R=0)\\
&\quad-\left(\frac{\mathbb{P}(R=1)}{\mathbb{P}(S\in C_0)}+1\right)\mu_{y\mid1,C_0}\mathbb{P}(S\in C_0\mid R=1)\\
&\quad+\left[\frac{\mathbb{P}(R=1)}{\mathbb{P}(S\in C_1)}-1\right]\mu_{y\mid1,C_1}\mathbb{P}(S\in C_1\mid R=1)\\
&\quad-\left[\frac{\mathbb{P}(R=0)}{\mathbb{P}(S\in C_0)}-1\right]\mu_{y\mid0,C_0}\mathbb{P}(S\in C_0\mid R=0)\\[4pt]
&=\mu_{y\mid0,C_1}\left[\mathbb{P}(R=0\mid S\in C_1)+\mathbb{P}(S\in C_1\mid R=0)\right]\\
&\quad-\mu_{y\mid1,C_0}\left[\mathbb{P}(R=1\mid S\in C_0)+\mathbb{P}(S\in C_0\mid R=1)\right]\\
&\quad+\mu_{y\mid1,C_1}\left[\mathbb{P}(R=1\mid S\in C_1)-\mathbb{P}(S\in C_1\mid R=1)\right]\\
&\quad-\mu_{y\mid0,C_0}\left[\mathbb{P}(R=0\mid S\in C_0)-\mathbb{P}(S\in C_0\mid R=0)\right]\\[4pt]
&=\mu_{y\mid0,C_1}\left[\mathbb{P}(R=0\mid S\in C_1)+\mathbb{P}(S\in C_1\mid R=0)\right]\\
&\quad-\mu_{y\mid1,C_0}\left[\mathbb{P}(R=1\mid S\in C_0)+\mathbb{P}(S\in C_0\mid R=1)\right]\\
&\quad+\mu_{y\mid1,C_1}\left[\mathbb{P}(S\in C_0\mid R=1)-\mathbb{P}(R=0\mid S\in C_1)\right]\\
&\quad-\mu_{y\mid0,C_0}\left[\mathbb{P}(S\in C_1\mid R=0)-\mathbb{P}(R=1\mid S\in C_0)\right]\\[4pt]
&=\mu_{y\mid0,C_1}\mathbb{P}(R=0\mid S\in C_1)-\mu_{y\mid1,C_1}\mathbb{P}(R=0\mid S\in C_1)\\
&\quad+\mu_{y\mid0,C_1}\mathbb{P}(S\in C_1\mid R=0)-\mu_{y\mid0,C_0}\mathbb{P}(S\in C_1\mid R=0)\\
&\quad+\mu_{y\mid1,C_1}\mathbb{P}(S\in C_0\mid R=1)-\mu_{y\mid1,C_0}\mathbb{P}(S\in C_0\mid R=1)\\
&\quad+\mu_{y\mid0,C_0}\mathbb{P}(R=1\mid S\in C_0)-\mu_{y\mid1,C_0}\mathbb{P}(R=1\mid S\in C_0)
\end{aligned} = ( P ( S ∈ C 1 ) P ( R = 0 ) + 1 ) μ y ∣ 0 , C 1 P ( S ∈ C 1 ∣ R = 0 ) − ( P ( S ∈ C 0 ) P ( R = 1 ) + 1 ) μ y ∣ 1 , C 0 P ( S ∈ C 0 ∣ R = 1 ) + [ P ( S ∈ C 1 ) P ( R = 1 ) − 1 ] μ y ∣ 1 , C 1 P ( S ∈ C 1 ∣ R = 1 ) − [ P ( S ∈ C 0 ) P ( R = 0 ) − 1 ] μ y ∣ 0 , C 0 P ( S ∈ C 0 ∣ R = 0 ) = μ y ∣ 0 , C 1 [ P ( R = 0 ∣ S ∈ C 1 ) + P ( S ∈ C 1 ∣ R = 0 ) ] − μ y ∣ 1 , C 0 [ P ( R = 1 ∣ S ∈ C 0 ) + P ( S ∈ C 0 ∣ R = 1 ) ] + μ y ∣ 1 , C 1 [ P ( R = 1 ∣ S ∈ C 1 ) − P ( S ∈ C 1 ∣ R = 1 ) ] − μ y ∣ 0 , C 0 [ P ( R = 0 ∣ S ∈ C 0 ) − P ( S ∈ C 0 ∣ R = 0 ) ] = μ y ∣ 0 , C 1 [ P ( R = 0 ∣ S ∈ C 1 ) + P ( S ∈ C 1 ∣ R = 0 ) ] − μ y ∣ 1 , C 0 [ P ( R = 1 ∣ S ∈ C 0 ) + P ( S ∈ C 0 ∣ R = 1 ) ] + μ y ∣ 1 , C 1 [ P ( S ∈ C 0 ∣ R = 1 ) − P ( R = 0 ∣ S ∈ C 1 ) ] − μ y ∣ 0 , C 0 [ P ( S ∈ C 1 ∣ R = 0 ) − P ( R = 1 ∣ S ∈ C 0 ) ] = μ y ∣ 0 , C 1 P ( R = 0 ∣ S ∈ C 1 ) − μ y ∣ 1 , C 1 P ( R = 0 ∣ S ∈ C 1 ) + μ y ∣ 0 , C 1 P ( S ∈ C 1 ∣ R = 0 ) − μ y ∣ 0 , C 0 P ( S ∈ C 1 ∣ R = 0 ) + μ y ∣ 1 , C 1 P ( S ∈ C 0 ∣ R = 1 ) − μ y ∣ 1 , C 0 P ( S ∈ C 0 ∣ R = 1 ) + μ y ∣ 0 , C 0 P ( R = 1 ∣ S ∈ C 0 ) − μ y ∣ 1 , C 0 P ( R = 1 ∣ S ∈ C 0 )
which gives a final expression
= P ( R = 0 ∣ S ∈ C 1 ) [ μ y ∣ 0 , C 1 − μ y ∣ 1 , C 1 ] + P ( S ∈ C 1 ∣ R = 0 ) [ μ y ∣ 0 , C 1 − μ y ∣ 0 , C 0 ] + P ( S ∈ C 0 ∣ R = 1 ) [ μ y ∣ 1 , C 1 − μ y ∣ 1 , C 0 ] + P ( R = 1 ∣ S ∈ C 0 ) [ μ y ∣ 0 , C 0 − μ y ∣ 1 , C 0 ] \begin{aligned}
&=\mathbb{P}(R=0\mid S\in C_1)\left[\mu_{y\mid0,C_1}-\mu_{y\mid1,C_1}\right]
+\mathbb{P}(S\in C_1\mid R=0)\left[\mu_{y\mid0,C_1}-\mu_{y\mid0,C_0}\right]\\
&\quad+\mathbb{P}(S\in C_0\mid R=1)\left[\mu_{y\mid1,C_1}-\mu_{y\mid1,C_0}\right]
+\mathbb{P}(R=1\mid S\in C_0)\left[\mu_{y\mid0,C_0}-\mu_{y\mid1,C_0}\right]
\end{aligned} = P ( R = 0 ∣ S ∈ C 1 ) [ μ y ∣ 0 , C 1 − μ y ∣ 1 , C 1 ] + P ( S ∈ C 1 ∣ R = 0 ) [ μ y ∣ 0 , C 1 − μ y ∣ 0 , C 0 ] + P ( S ∈ C 0 ∣ R = 1 ) [ μ y ∣ 1 , C 1 − μ y ∣ 1 , C 0 ] + P ( R = 1 ∣ S ∈ C 0 ) [ μ y ∣ 0 , C 0 − μ y ∣ 1 , C 0 ]
Using the list score directly
Using the Florida data, we show that the list score f r , e = P ( L r = 1 ∣ E = e ) f_{r,e}=\mathbb{P}(L_r=1\mid E=e) f r , e = P ( L r = 1 ∣ E = e ) cannot serve as the race probability on its own. That is, the probability that a name is on the list does not equal the probability that a person with that name belongs to the group. This is because lists have imperfect precision – some on the list are not in group r r r and some off it are in the group – and because lists ignore base rates.
Figure S1 demonstrates that f f f (blue dashed line) is not well calibrated. The failure is most dramatic for White, the majority group, whose raw scores substantially underpredict its prevalence. For comparison, Figure S1 also includes the surname-only ℓ B I S G \ell_{\mathrm{BISG}} ℓ BISG probabilities. based on the LLM lists of § 3.1 , which adjust the raw scores using information gained from the geographic prevalence information.
Figure S1. Calibration of the raw LLM list score f r = P ( L r = 1 ∣ E ) f_r = P(L_r=1 \mid E) f r = P ( L r = 1 ∣ E ) used directly as a race probability (blue, dashed) against ℓ B I S G \ell_{\mathrm{BISG}} ℓ BISG (red, solid), by race, on the Florida registrants. The dashed diagonal indicates perfect agreement between estimated probabilities and observed proportions. The area of each circle is proportional to the number of registrants in the bin.
Surname embeddings and the list score
The list score f r , e = P ( L r = 1 ∣ E = e ) f_{r,e} = \mathbb{P}(L_r=1 \mid E=e) f r , e = P ( L r = 1 ∣ E = e ) is a smooth function of the name embedding. In Figure S2 , we project the Florida surname embeddings to two dimensions. We color each embedding point e e e by the dominant predicted group list membership (i.e., arg max r f r , e \operatorname{arg\,max}_r f_{r,e} arg max r f r , e ). We find that this partitions the space into interpretable regions which we label with a few familiar names for each group (Figure S2 ). A name that belongs to no list still receives a score learned from other names in its embedding neighborhood.
Figure S2. Surname embeddings (E5), Florida. A two-dimensional UMAP projection colored by dominant group (i.e., arg max r f r \arg\max_r f_r arg max r f r ), with one exemplar label per group.
Figure S3 highlights that within the Asian group, Indian surnames are located apart from East and Southeast Asian ones in the embedding space, while Chinese, Vietnamese, and Korean surnames overlap. This illustrates the value of setting the number of clusters in the K K K -means clustering algorithm to a value larger than d R d_R d R – we may need to pick up multiple Asian clusters.
Figure S3. The 428 Asian-dominant Florida surnames, colored by country-of-origin list. Grey points are on no origin list.
Empirical results for the choice of the number of clusters
Figure S4 reports Q ( K ) Q(K) Q ( K ) of equation (7) for the surname and first-name models in the one-million-record voter file samples. All four surname models and both LLM first-name models select K = 7,500 K = 7{,}500 K = 7 , 500 , and both Census first-name models select K = 5,000 K = 5{,}000 K = 5 , 000 .
Figure S4. The label-free criterion Q ( K ) Q(K) Q ( K ) for choosing the number of clusters on the one million record Florida and North Carolina samples. Panels facet state and name field; colors distinguish LLM and Census lists. Higher values are preferred. Open circles mark the selected value of K K K . The candidate grid ranges from 10 to 20,000.
Figure S5 compares Q ( K ) Q(K) Q ( K ) with the ground truth. We use the Florida surname model with the LLM lists and draw random subsamples of 100,000 and 300,000 registrants from the one-million-record sample, which we also show. The ground truth is the PR-AUC and the Brier score of the resulting ℓ \ell ℓ BISG probabilities against self-reported race, averaged over the four groups. At every sample size, Q ( K ) Q(K) Q ( K ) follows the ground truth, selecting K = 75 K = 75 K = 75 , K = 999 K = 999 K = 999 , and K = 7,500 K = 7{,}500 K = 7 , 500 , where the PR-AUC is respectively highest at K = 100 K = 100 K = 100 , K = 450 K = 450 K = 450 , and K = 5,000 K = 5{,}000 K = 5 , 000 and the Brier score is lowest at K = 150 K = 150 K = 150 , K = 600 K = 600 K = 600 , and K = 7,500 K = 7{,}500 K = 7 , 500 . The selected value of K K K is greater in larger samples because more clusters can be estimated reliably from more observations.
Figure S5. The criterion Q ( K ) Q(K) Q ( K ) of equation (7) and the ground truth criterion for choosing the number of clusters K K K , by sample size, for the Florida surname model with the LLM lists. The ground truth is the PR-AUC (dashed) and the Brier score (dotted) against self-reported race, averaged over the four groups. The Brier score is reversed so that higher values are preferred for every curve. Each curve is rescaled to the unit interval within its panel, open circles denote the largest value of each curve, and the vertical line marks the selected K K K .
Comparison with K-means on embeddings
Figure S6 compares the recall at a precision of 0.5 and the average precision of ℓ \ell ℓ BISG under two approaches to the dimension reduction described in § 2.2.3 . Our proposed approach is K-means clustering on the vectors of log-odds of list scores f e = ( f 1 , e , … , f d R , e ) f_e = (f_{1,e}, \ldots, f_{d_R,e}) f e = ( f 1 , e , … , f d R , e ) . We compare this to running K-means clustering on the embeddings directly, which relies more heavily on the embeddings being clustered by group membership even if they come from an embedding model trained for other tasks.
Figure S6. Discrimination when the clusters are formed by K-means on the raw E5 surname embeddings (no lists) against K-means on the list scores. Florida sample with the block-level prior, by number of clusters K K K . Top row: recall at a precision of 0.5. Bottom row: average precision.
In the Florida example, clustering the list scores yields more informative clusters than clustering the raw embeddings directly for the rare Asian group when the number of clusters is moderate. At K = 500 K = 500 K = 500 , the average precision for the Asian group is 0.25 using the list scores compared to 0.15 with the raw embeddings. The recall for each approach at a precision of 0.5 is 0.21 compared to 0.03, respectively (Figure S6 ). For the other three groups, the two approaches perform similarly at every selected K K K . At the K = 7,500 K = 7{,}500 K = 7 , 500 selected by Algorithm 2, both approaches perform similarly for every group. Differential performance under list scores and raw embeddings therefore appears to arise primarily when there are too few observations to estimate many clusters.
In the Lebanese voter file (Figure S7 ), clustering the list scores rather than the raw embeddings directly yields more informative clusters for the Armenian Orthodox, the smallest sect, when the number of clusters is small or moderate. At K = 100 K = 100 K = 100 , the average precision for the Armenian Orthodox is 0.69 using the list scores compared to 0.64 with the raw embeddings, and the recall at a precision of 0.5 is 0.87 compared to 0.80. For the other six sects, the two approaches perform similarly, and at the K = 57,567 K = 57{,}567 K = 57 , 567 selected by Algorithm 2, they perform similarly for every sect.
Figure S7. As Figure S6 , for the seven principal Lebanese sects, with the multilingual surname embeddings of § 3.3 and the locality-level prior.
Details for recovery of subgroup geographic probabilities
In this appendix, we provide details of recovering P ( R = r ∣ G = g ) \mathbb{P}(R = r \mid G = g) P ( R = r ∣ G = g ) as discussed in § 2.3 . We maintain Assumption 2.6 (a) throughout but weaken its part (b) to allow P ( L r ′ = 1 ∣ R = r ) \mathbb{P}(L_{r'} = 1 \mid R = r) P ( L r ′ = 1 ∣ R = r ) to take positive values, with the original assumption represented by the λ = 0 \lambda= 0 λ = 0 or λ = γ = 0 \lambda= \gamma= 0 λ = γ = 0 cases of the sensitivity analysis below. Appendix Sections S6.1 and S6.2 provide a detailed description of the systems of equations we solve and the sensitivity analysis results. Section S6.3 describes implementation details, while Appendix S6.4 provides proofs.
Recovery and sensitivity analysis for geographic prevalence
We start with the regime where P ( R = r ∣ G ) \mathbb{P}(R = r \mid G) P ( R = r ∣ G ) is entirely unavailable. Stacking main text equations (8) and (9) over geographies, we can write the system of constraints as
M Π = β (19) M\Pi= \beta \tag*{(19)} M Π = β (19)
M 1 d R = 1 d G (20) M\mathbf{1}_{d_R} = \mathbf{1}_{d_G} \tag*{(20)} M 1 d R = 1 d G (20)
where β \beta β is the full rank (Assumption 2.7) d G × d R d_G \times d_R d G × d R matrix of list rates P ( L r = 1 ∣ G ) \mathbb{P}(L_r = 1 \mid G) P ( L r = 1 ∣ G ) , Π \Pi Π is the d R × d R d_R \times d_R d R × d R matrix of within-group list rates P ( L r ′ = 1 ∣ R = r ) \mathbb{P}(L_{r'} = 1 \mid R = r) P ( L r ′ = 1 ∣ R = r ) , and M M M is the d G × d R d_G \times d_R d G × d R matrix of geographic prevalence P ( R = r ∣ G ) \mathbb{P}(R = r \mid G) P ( R = r ∣ G ) . The matrix β \beta β is directly identified from the data, but Π \Pi Π and M M M are unknown. We wish to solve for M M M but cannot do so without further constraints on Π \Pi Π .
As discussed in the main text, one way to simplify Π \Pi Π is Assumption 2.6 , which imposes that Π \Pi Π is diagonal. We now suppose that violations of list group separation are allowed but are uniform in nature so that for any r ≠ r ′ r \ne r' r = r ′ ,
P ( L r ′ = 1 ∣ R = r ) = λ (21) \mathbb{P}(L_{r'} = 1 \mid R = r) = \lambda \tag*{(21)} P ( L r ′ = 1 ∣ R = r ) = λ (21)
for some λ ∈ [ 0 , 1 ] \lambda\in[0, 1] λ ∈ [ 0 , 1 ] . Thus λ \lambda λ captures the degree of “error” or lack of separation among the lists: if the lists perfectly separate the groups, then λ = 0 \lambda= 0 λ = 0 . We leave P ( L r = 1 ∣ R = r ) \mathbb{P}(L_r = 1 \mid R = r) P ( L r = 1 ∣ R = r ) unrestricted.
Formally, we assume:
Assumption S6.1 (Homogeneous non-separation). Let Π \Pi Π be the d R × d R d_R \times d_R d R × d R matrix of π r ′ , r = P ( L r ′ = 1 ∣ R = r ) \pi_{r',r} = \mathbb{P}(L_{r'} = 1 \mid R = r) π r ′ , r = P ( L r ′ = 1 ∣ R = r ) with diagonal π r = π r , r \pi_r = \pi_{r,r} π r = π r , r . Assume:
Π \Pi Π is invertible
Π = Ω + λ 1 d R 1 d R T \Pi= \Omega+ \lambda\mathbf{1}_{d_R}\mathbf{1}_{d_R}^{\mathsf{T}} Π = Ω + λ 1 d R 1 d R T where Ω = diag ( ω 1 , … , ω d R ) \Omega= \operatorname{diag}(\omega_1,\ldots,\omega_{d_R}) Ω = diag ( ω 1 , … , ω d R ) with ω r = π r − λ \omega_r = \pi_r - \lambda ω r = π r − λ and λ \lambda λ satisfying λ < min r ( π r ) \lambda< \min_r(\pi_r) λ < min r ( π r ) so that ω r > 0 \omega_r > 0 ω r > 0 for all r r r .
Strictly speaking, the requirement on λ \lambda λ could be relaxed to requiring 1 + ∑ r 1 ω r ≠ 0 1 + \sum_{r} \frac{1}{\omega_r} \ne0 1 + ∑ r ω r 1 = 0 and ω r ≠ 0 \omega_r \ne0 ω r = 0 for all r r r , but the above restriction will often be reasonable as we think of λ \lambda λ as representing a kind of error rate that we hope would not be so large as to be larger than the rate of non-errors π r \pi_r π r . In Appendix S6.4, we prove that under this assumption, we can solve for π r \pi_r π r given any known λ \lambda λ to get:
π r = λ + 1 − λ 1 d R T ( β T β ) − 1 β T 1 d G ( ( β T β ) − 1 β T 1 d G ) r (22) \pi_r = \lambda+ \frac{1 - \lambda\mathbf{1}_{d_R}^{\mathsf{T}}(\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}\mathbf{1}_{d_G}}{((\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}\mathbf{1}_{d_G})_r} \tag*{(22)} π r = λ + (( β T β ) − 1 β T 1 d G ) r 1 − λ 1 d R T ( β T β ) − 1 β T 1 d G (22)
Here we assume that ( ( β T β ) − 1 β T 1 d G ) r ≠ 0 \left((\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}1_{d_G}\right)_r \ne0 ( ( β T β ) − 1 β T 1 d G ) r = 0 . If all assumptions used to derive this expression, this must hold since π r \pi_r π r is a probability in [ 0 , 1 ] [0,1] [ 0 , 1 ] . However, in practice, especially if some assumptions hold imperfectly, one should check that the denominator is not 0 – if it is, this indicates an assumption violation. The same is true for similar expressions below. By setting λ = 0 \lambda= 0 λ = 0 and calculating P ( L r = 1 ∣ G ) / π r \mathbb{P}(L_r = 1 \mid G)/\pi_r P ( L r = 1 ∣ G ) / π r , we obtain our main estimate of P ( R = 1 ∣ G ) \mathbb{P}(R = 1 \mid G) P ( R = 1 ∣ G ) from equation (10) in the main text.
Recovery and sensitivity analysis given coarse group geographic prevalence
Next, we consider the regime where coarse group prevalence P ( C = c ∣ G ) \mathbb{P}(C = c \mid G) P ( C = c ∣ G ) is available but P ( R = r ∣ G ) \mathbb{P}(R = r \mid G) P ( R = r ∣ G ) is not. Stacking equation (8) in the main text over geographies and groups gives the following matrix form,
β = Θ Π , (23) \beta= \Theta\Pi, \tag*{(23)} β = ΘΠ , (23)
where β \beta β is the d G × d R d_G \times d_R d G × d R matrix of list rates P ( L r = 1 ∣ G ) \mathbb{P}(L_r = 1 \mid G) P ( L r = 1 ∣ G ) , Θ \Theta Θ is the d G × d R d_G \times d_R d G × d R matrix of subgroup geography proportions P ( R = r ∣ G ) \mathbb{P}(R = r \mid G) P ( R = r ∣ G ) , and Π \Pi Π is the d R × d R d_R \times d_R d R × d R matrix of within-subgroup list rates π r ′ , r = P ( L r ′ = 1 ∣ R = r ) \pi_{r',r} = \mathbb{P}(L_{r'} = 1 \mid R = r) π r ′ , r = P ( L r ′ = 1 ∣ R = r ) . We also index the R R R groups and order each of these matrices so that R = r R = r R = r levels belonging to the same C = c C = c C = c coarse group are arranged in blocks.
Unlike in Assumption 2.3, we now let M M M be the d G × d C d_G \times d_C d G × d C matrix of coarse group probabilities P ( C = c ∣ G = g ) \mathbb{P}(C = c \mid G = g) P ( C = c ∣ G = g ) . We also let U U U be a d R × d C d_R \times d_C d R × d C block-diagonal indicator matrix with, in each column c c c , a vector 1 d R ( c ) 1_{d_R(c)} 1 d R ( c ) padded by 0’s (where 1 d 1_d 1 d denotes a d d d -dimensional vector of ones) that encodes the r r r values such that c ( r ) = c c(r) = c c ( r ) = c . Then, equation (11) in the main text can be written as,
Θ U = M . (24) \Theta U = M. \tag*{(24)} Θ U = M . (24)
Under our set-up, both β \beta β and M M M are identifiable and full rank by Assumptions 2.3 (applied to coarse group M M M ) and 2.7. Our goal is to recover Θ \Theta Θ , but the key complication is that Π \Pi Π is also unknown. We again relax Assumption 2.6(b) with Assumption S6.1. Note that for now, we makes no distinction between the off-diagonal entries for r , r ′ r,r' r , r ′ in the same coarse group or different coarse groups.
Under these assumptions, we prove in Section S6.4 that
π r = λ + 1 − λ 1 d R T ( β T β ) − 1 β T M 1 d C ( ( β T β ) − 1 β T M 1 d C ) r (25) \pi_r = \lambda+ \frac{1-\lambda1_{d_R}^{\mathsf{T}}(\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}M1_{d_C}}{\left((\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}M1_{d_C}\right)_r} \tag*{(25)} π r = λ + ( ( β T β ) − 1 β T M 1 d C ) r 1 − λ 1 d R T ( β T β ) − 1 β T M 1 d C (25)
where if λ = 0 \lambda= 0 λ = 0 , this gives
π r = 1 ( ( β T β ) − 1 β T M 1 d C ) r (26) \pi_r = \frac{1}{\left((\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}M1_{d_C}\right)_r} \tag*{(26)} π r = ( ( β T β ) − 1 β T M 1 d C ) r 1 (26)
Alternatively, we can relax Assumption S6.1 to allow Π \Pi Π to have different cross-rates in different coarse groups c c c . Specifically, suppose we relax part 2 of this assumption to
P ( L r = 1 ∣ R = r ) = { λ if r ≠ r ′ and c ( r ) = c ( r ′ ) γ if r ≠ r ′ and c ( r ) ≠ c ( r ′ ) \mathbb{P}(L_r = 1 \mid R = r) =
\begin{cases}
\lambda& \text{if } r \ne r' \text{ and } c(r) = c(r') \\
\gamma& \text{if } r \ne r' \text{ and } c(r) \ne c(r')
\end{cases} P ( L r = 1 ∣ R = r ) = { λ γ if r = r ′ and c ( r ) = c ( r ′ ) if r = r ′ and c ( r ) = c ( r ′ )
This says that the chance of a member of group r r r having their name on the list of another group within the same coarser group is λ \lambda λ while the chance of their name being on a list for a group in a different coarser group is γ \gamma γ . Usually, we would expect γ < λ \gamma< \lambda γ < λ . We might even be willing to assume γ = 0 \gamma= 0 γ = 0 so that the coarse groups are separated even if the subgroups are not.
In matrix form, this new Π \Pi Π can be written
Π = Ω + U C U T \Pi= \Omega+ U C U^{\mathsf{T}} Π = Ω + U C U T
where again, Ω \Omega Ω is the diagonal matrix of π r − λ \pi_r - \lambda π r − λ and
C = ( λ − γ ) I d C + γ 1 d C 1 d C T (27) C = (\lambda- \gamma)I_{d_C} + \gamma1_{d_C}1_{d_C}^{\mathsf{T}} \tag*{(27)} C = ( λ − γ ) I d C + γ 1 d C 1 d C T (27)
Under this specification of Π \Pi Π , we prove two results. First, if γ = 0 \gamma= 0 γ = 0 , then Π \Pi Π has a block diagonal form and all relevant equations are completely separable by c c c . We then simply have equation (S10) within each c c c group. That is, for subgroup r r r from course group c c c ,
π r = λ + ( 1 − λ 1 d R ( c ) T ( β c T β c ) − 1 β c T M c ) ( ( β c T β c ) − 1 β c T M c ) r (28) \pi_r = \lambda+ \frac{\left(1-\lambda1_{d_R(c)}^{\mathsf{T}}(\beta_c^{\mathsf{T}}\beta_c)^{-1}\beta_c^{\mathsf{T}}M_c\right)}{\left((\beta_c^{\mathsf{T}}\beta_c)^{-1}\beta_c^{\mathsf{T}}M_c\right)_r} \tag*{(28)} π r = λ + ( ( β c T β c ) − 1 β c T M c ) r ( 1 − λ 1 d R ( c ) T ( β c T β c ) − 1 β c T M c ) (28)
where β c \beta_c β c is the d G × d R ( c ) d_G \times d_R(c) d G × d R ( c ) matrix of P ( L r = 1 ∣ G ) \mathbb{P}(L_r = 1 \mid G) P ( L r = 1 ∣ G ) for r : c ( r ) = c r : c(r) = c r : c ( r ) = c ; where M c M_c M c is the vector of P ( C = c ∣ G = g ) \mathbb{P}(C = c \mid G = g) P ( C = c ∣ G = g ) over g g g ; and where we are solving for elements of Π c \Pi_c Π c , the d R ( c ) × d R ( c ) d_R(c) \times d_R(c) d R ( c ) × d R ( c ) matrix of P ( L r ′ = 1 ∣ R = r ) \mathbb{P}(L_{r'} = 1 \mid R = r) P ( L r ′ = 1 ∣ R = r ) for r , r ′ r,r' r , r ′ in the same coarse group. When also λ = 0 \lambda= 0 λ = 0 , this gives equation (12) in the main text. More generally, for γ > 0 \gamma> 0 γ > 0 and γ ≠ λ \gamma\ne\lambda γ = λ ,
π r = λ + ( 1 d C − C U T ( β T β ) − 1 β T M 1 d C ) c ( ( β T β ) − 1 β T M 1 d C ) r (29) \pi_r = \lambda+ \frac{\left(1_{d_C}-CU^{\mathsf{T}}(\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}M1_{d_C}\right)_c}{\left((\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}M1_{d_C}\right)_r} \tag*{(29)} π r = λ + ( ( β T β ) − 1 β T M 1 d C ) r ( 1 d C − C U T ( β T β ) − 1 β T M 1 d C ) c (29)
Note that the γ = λ > 0 \gamma= \lambda> 0 γ = λ > 0 case is equation (S10).
Implementation details under λ = 0 \lambda= 0 λ = 0
To estimate P ( R = r ∣ G = g ) \mathbb{P}(R = r \mid G = g) P ( R = r ∣ G = g ) in practice, we use non-negative least squares fit separately for each coarse group (as discussed above, the γ = 0 \gamma= 0 γ = 0 case allows us to partition Π \Pi Π into a block for each coarse group c c c ). Let ρ r ( g ) = P ( L r = 1 ∣ G = g ) \rho_r(g) = \mathbb{P}(L_r = 1 \mid G = g) ρ r ( g ) = P ( L r = 1 ∣ G = g ) and recall that π r = P ( L r = 1 ∣ R = r ) \pi_r = \mathbb{P}(L_r = 1 \mid R = r) π r = P ( L r = 1 ∣ R = r ) . Under λ = 0 \lambda= 0 λ = 0 , we have ρ r ( g ) = π r P ( R = r ∣ G = g ) \rho_r(g) = \pi_r \mathbb{P}(R = r \mid G = g) ρ r ( g ) = π r P ( R = r ∣ G = g ) . Since the subgroups partition the coarse group, it follows that
∑ r : c ( r ) = c ρ r ( g ) π r = P ( C = c ∣ G = g ) . (30) \sum_{r:c(r)=c} \frac{\rho_r(g)}{\pi_r} = \mathbb{P}(C = c \mid G = g). \tag*{(30)} r : c ( r ) = c ∑ π r ρ r ( g ) = P ( C = c ∣ G = g ) . (30)
This equation is linear in the inverse coverages u r : = 1 / π r u_r := 1/\pi_r u r := 1/ π r . For each c c c , we therefore solve
u ^ = arg min u ≥ 0 ∑ g w g ( ∑ r : c ( r ) = c u r ρ r ( g ) − P ( C = c ∣ G = g ) ) 2 \hat{u} = \underset{u \ge0}{\arg\min}\ \sum_g w_g \left(\sum_{r:c(r)=c}u_r\rho_r(g)-\mathbb{P}(C = c \mid G = g)\right)^2 u ^ = u ≥ 0 arg min g ∑ w g r : c ( r ) = c ∑ u r ρ r ( g ) − P ( C = c ∣ G = g ) 2
where u ≥ 0 u \ge0 u ≥ 0 is a shorthand for all its elements being non-negative. We weight each geography by its expected number of coarse group members, w g = n g P ( C = c ∣ G = g ) w_g = n_g\mathbb{P}(C = c \mid G = g) w g = n g P ( C = c ∣ G = g ) , where n g n_g n g is the number of units in geography g g g . This weight requires only the known coarse geographic distribution and not the unobserved R i R_i R i . The estimated coverage of list r r r is π ^ r = 1 / u ^ r \hat{\pi}_r = 1/\hat{u}_r π ^ r = 1/ u ^ r , meaning we could estimate P ( R = r ∣ G ) \mathbb{P}(R = r \mid G) P ( R = r ∣ G ) using the following initial estimator,
P ^ ( i n i ) ( R = r ∣ G ) = u ^ r ρ r ( g ) = ρ r ( g ) π ^ r (31) \widehat{\mathbb{P}}^{(ini)}(R = r \mid G) = \hat{u}_r\rho_r(g) = \frac{\rho_r(g)}{\hat{\pi}_r} \tag*{(31)} P ( ini ) ( R = r ∣ G ) = u ^ r ρ r ( g ) = π ^ r ρ r ( g ) (31)
However, while their theoretical versions must sum to P ( C = c ∣ G ) \mathbb{P}(C = c \mid G) P ( C = c ∣ G ) , these estimates need not sum to the known coarse group share. To impose this constraint, our final estimates are
P ^ ( R = r ∣ G ) = P ( C = c ∣ G = g ) P ^ ( i n i ) ( R = r ∣ G ) ∑ r ′ : c ( r ′ ) = c P ^ ( i n i ) ( R = r ′ ∣ G ) (32) \widehat{\mathbb{P}}(R = r \mid G) = \mathbb{P}(C = c \mid G = g)\frac{\widehat{\mathbb{P}}^{(ini)}(R = r \mid G)}{\sum_{r':c(r')=c}\widehat{\mathbb{P}}^{(ini)}(R = r' \mid G)} \tag*{(32)} P ( R = r ∣ G ) = P ( C = c ∣ G = g ) ∑ r ′ : c ( r ′ ) = c P ( ini ) ( R = r ′ ∣ G ) P ( ini ) ( R = r ∣ G ) (32)
Because the fit is constrained to be non-negative, a subgroup whose geographic prevalence cannot be identified by the data is equal to zero.
Proofs
We start with a useful Lemma.
Lemma S6.2. If Π = Ω + λ 1 d R 1 d R T \boldsymbol{\Pi} = \boldsymbol{\Omega} + \lambda\mathbf{1}_{d_R}\mathbf{1}_{d_R}^{\mathsf{T}} Π = Ω + λ 1 d R 1 d R T for d R × d R d_R \times d_R d R × d R invertible diagonal matrix Ω \boldsymbol{\Omega} Ω with diagonal entries ω r \omega_r ω r and for λ ∈ R \lambda\in\mathbb{R} λ ∈ R such that 1 + λ ∑ r = 1 d R 1 ω r ≠ 0 1 + \lambda\sum_{r=1}^{d_R}\frac{1}{\omega_r} \ne0 1 + λ ∑ r = 1 d R ω r 1 = 0 , Then
( Ω + λ 1 d R 1 d R T ) − 1 1 d R = Ω − 1 1 d R 1 + λ ∑ r = 1 d R 1 ω r . \left(\boldsymbol{\Omega}+\lambda\mathbf{1}_{d_R}\mathbf{1}_{d_R}^{\mathsf{T}}\right)^{-1}\mathbf{1}_{d_R} = \frac{\boldsymbol{\Omega}^{-1}\mathbf{1}_{d_R}}{1+\lambda\sum_{r=1}^{d_R}\frac{1}{\omega_r}}. ( Ω + λ 1 d R 1 d R T ) − 1 1 d R = 1 + λ ∑ r = 1 d R ω r 1 Ω − 1 1 d R .
Proof. By the Sherman-Morrison formula
( Ω + λ 1 d R 1 d R T ) − 1 = Ω − 1 − λ Ω − 1 1 d R 1 d R T Ω − 1 1 + λ 1 d R T Ω − 1 1 d R \left(\boldsymbol{\Omega}+\lambda\mathbf{1}_{d_R}\mathbf{1}_{d_R}^{\mathsf{T}}\right)^{-1}=\boldsymbol{\Omega}^{-1}-\frac{\lambda\boldsymbol{\Omega}^{-1}\mathbf{1}_{d_R}\mathbf{1}_{d_R}^{\mathsf{T}}\boldsymbol{\Omega}^{-1}}{1+\lambda\mathbf{1}_{d_R}^{\mathsf{T}}\boldsymbol{\Omega}^{-1}\mathbf{1}_{d_R}} ( Ω + λ 1 d R 1 d R T ) − 1 = Ω − 1 − 1 + λ 1 d R T Ω − 1 1 d R λ Ω − 1 1 d R 1 d R T Ω − 1
where 1 d R T Ω − 1 1 d R = ∑ r 1 ω r \mathbf{1}_{d_R}^{\mathsf{T}}\boldsymbol{\Omega}^{-1}\mathbf{1}_{d_R}=\sum_r\frac{1}{\omega_r} 1 d R T Ω − 1 1 d R = ∑ r ω r 1 . This then implies
( Ω + λ 1 d R 1 d R T ) − 1 1 d R = Ω − 1 1 d R − λ Ω − 1 1 d R ( ∑ r 1 ω r ) 1 + λ ( ∑ r 1 ω r ) = Ω − 1 1 d R ( 1 − λ ( ∑ r 1 ω r ) 1 + λ ( ∑ r 1 ω r ) ) = Ω − 1 1 d R ( 1 1 + λ ( ∑ r 1 ω r ) ) \begin{aligned}
\left(\boldsymbol{\Omega}+\lambda\mathbf{1}_{d_R}\mathbf{1}_{d_R}^{\mathsf{T}}\right)^{-1}\mathbf{1}_{d_R}
=\boldsymbol{\Omega}^{-1}\mathbf{1}_{d_R}
-\frac{\lambda\boldsymbol{\Omega}^{-1}\mathbf{1}_{d_R}\left(\sum_r\frac{1}{\omega_r}\right)}{1+\lambda\left(\sum_r\frac{1}{\omega_r}\right)} \\
&=\boldsymbol{\Omega}^{-1}\mathbf{1}_{d_R}\left(1-\frac{\lambda\left(\sum_r\frac{1}{\omega_r}\right)}{1+\lambda\left(\sum_r\frac{1}{\omega_r}\right)}\right) \\
&=\boldsymbol{\Omega}^{-1}\mathbf{1}_{d_R}\left(\frac{1}{1+\lambda\left(\sum_r\frac{1}{\omega_r}\right)}\right)
\end{aligned} ( Ω + λ 1 d R 1 d R T ) − 1 1 d R = Ω − 1 1 d R − 1 + λ ( ∑ r ω r 1 ) λ Ω − 1 1 d R ( ∑ r ω r 1 ) = Ω − 1 1 d R 1 − 1 + λ ( ∑ r ω r 1 ) λ ( ∑ r ω r 1 ) = Ω − 1 1 d R 1 + λ ( ∑ r ω r 1 ) 1
Proof of equation (S7). Start M Π = β M\Pi= \beta M Π = β and M 1 d R = 1 d G M\mathbf{1}_{d_R} = \mathbf{1}_{d_G} M 1 d R = 1 d G . Rearranging gives:
M = β Π − 1 M = \beta\Pi^{-1} M = β Π − 1
β Π − 1 1 d R = 1 d G \beta\Pi^{-1}\mathbf{1}_{d_R} = \mathbf{1}_{d_G} β Π − 1 1 d R = 1 d G
Π − 1 1 d R = ( β T β ) − 1 β T 1 d G \Pi^{-1}\mathbf{1}_{d_R} = (\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}\mathbf{1}_{d_G} Π − 1 1 d R = ( β T β ) − 1 β T 1 d G
Ω − 1 1 d R 1 + λ ∑ r = 1 d R 1 ω r = ( β T β ) − 1 β T 1 d G (xref‘Lemma S6.2‘) \frac{\Omega^{-1}\mathbf{1}_{d_R}}{1+\lambda\sum_{r=1}^{d_R}\frac{1}{\omega_r}} = (\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}\mathbf{1}_{d_G}
\qquad\text{({xref}`Lemma S6.2`)} 1 + λ ∑ r = 1 d R ω r 1 Ω − 1 1 d R = ( β T β ) − 1 β T 1 d G ( xref ‘Lemma S6.2‘)
Since Ω − 1 1 d R \Omega^{-1}\mathbf{1}_{d_R} Ω − 1 1 d R is simply the column vector of 1 / ω r 1/\omega_r 1/ ω r values, this implies that for each r r r ,
1 ω r = ( 1 + λ ∑ r = 1 d R 1 ω r ) ( ( β T β ) − 1 β T 1 d G ) r (33) \frac{1}{\omega_r} =
\left(1+\lambda\sum_{r=1}^{d_R}\frac{1}{\omega_r}\right)
\left((\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}\mathbf{1}_{d_G}\right)_r \tag*{(33)} ω r 1 = ( 1 + λ r = 1 ∑ d R ω r 1 ) ( ( β T β ) − 1 β T 1 d G ) r (33)
Finally, we can solve for the value of ∑ r 1 ω r \sum_r \frac{1}{\omega_r} ∑ r ω r 1 by noting that
∑ r = 1 d R 1 ω r = ( 1 + λ ∑ r = 1 d R 1 ω r ) 1 d R T ( β T β ) − 1 β T 1 d G \sum_{r=1}^{d_R}\frac{1}{\omega_r}
=
\left(1+\lambda\sum_{r=1}^{d_R}\frac{1}{\omega_r}\right)
\mathbf{1}_{d_R}^{\mathsf{T}}(\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}\mathbf{1}_{d_G} r = 1 ∑ d R ω r 1 = ( 1 + λ r = 1 ∑ d R ω r 1 ) 1 d R T ( β T β ) − 1 β T 1 d G
which, rearranged, implies
∑ r = 1 d R 1 ω r = 1 d R T ( β T β ) − 1 β T 1 d G 1 − λ 1 d R T ( β T β ) − 1 β T 1 d G \sum_{r=1}^{d_R}\frac{1}{\omega_r}
=
\frac{\mathbf{1}_{d_R}^{\mathsf{T}}(\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}\mathbf{1}_{d_G}}
{1-\lambda\mathbf{1}_{d_R}^{\mathsf{T}}(\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}\mathbf{1}_{d_G}} r = 1 ∑ d R ω r 1 = 1 − λ 1 d R T ( β T β ) − 1 β T 1 d G 1 d R T ( β T β ) − 1 β T 1 d G
Overall then, plugging this into equation (S18) and using ω r = π r − λ \omega_r=\pi_r-\lambda ω r = π r − λ , we have
π r = λ + ( 1 + λ 1 d R T ( β T β ) − 1 β T 1 d G 1 − λ 1 d R T ( β T β ) − 1 β T 1 d G ) − 1 ( ( β T β ) − 1 β T 1 d G ) r − 1 = λ + ( 1 1 − λ 1 d R T ( β T β ) − 1 β T 1 d G ) − 1 ( ( β T β ) − 1 β T 1 d G ) r − 1 = λ + 1 − λ 1 d R T ( β T β ) − 1 β T 1 d G ( ( β T β ) − 1 β T 1 d G ) r \begin{aligned}
\pi_r=\lambda+
\left(
1+\lambda
\frac{\mathbf{1}_{d_R}^{\mathsf{T}}(\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}\mathbf{1}_{d_G}}
{1-\lambda\mathbf{1}_{d_R}^{\mathsf{T}}(\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}\mathbf{1}_{d_G}}
\right)^{-1}
\left((\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}\mathbf{1}_{d_G}\right)_r^{-1} \\
&=\lambda+
\left(
\frac{1}{1-\lambda\mathbf{1}_{d_R}^{\mathsf{T}}(\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}\mathbf{1}_{d_G}}
\right)^{-1}
\left((\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}\mathbf{1}_{d_G}\right)_r^{-1} \\
&=\lambda+
\frac{1-\lambda\mathbf{1}_{d_R}^{\mathsf{T}}(\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}\mathbf{1}_{d_G}}
{\left((\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}\mathbf{1}_{d_G}\right)_r}
\end{aligned} π r = λ + ( 1 + λ 1 − λ 1 d R T ( β T β ) − 1 β T 1 d G 1 d R T ( β T β ) − 1 β T 1 d G ) − 1 ( ( β T β ) − 1 β T 1 d G ) r − 1 = λ + ( 1 − λ 1 d R T ( β T β ) − 1 β T 1 d G 1 ) − 1 ( ( β T β ) − 1 β T 1 d G ) r − 1 = λ + ( ( β T β ) − 1 β T 1 d G ) r 1 − λ 1 d R T ( β T β ) − 1 β T 1 d G
Proof of equation (S10). The steps of this proof are similar to the previous, only slightly more complicated. Start with β = Θ Π \beta=\Theta\Pi β = ΘΠ and Θ U = M \Theta U=M Θ U = M . Under the invertibility of Π \Pi Π and β \beta β from Assumptions 2.7 and S6.1 and the form of Π \Pi Π under Assumption S6.1, these imply
Θ = β Π − 1 \Theta= \beta\Pi^{-1} Θ = β Π − 1
β Π − 1 U = M \beta\Pi^{-1}U = M β Π − 1 U = M
Π − 1 U = ( β T β ) − 1 β T M \Pi^{-1}U = (\beta^{\mathsf T}\beta)^{-1}\beta^{\mathsf T}M Π − 1 U = ( β T β ) − 1 β T M
Π − 1 U 1 d C = ( β T β ) − 1 β T M 1 d C \Pi^{-1}U1_{d_C} = (\beta^{\mathsf T}\beta)^{-1}\beta^{\mathsf T}M1_{d_C} Π − 1 U 1 d C = ( β T β ) − 1 β T M 1 d C
Π − 1 1 d R = ( β T β ) − 1 β T M 1 d C ( U 1 d C = 1 d R ) \Pi^{-1}1_{d_R} = (\beta^{\mathsf T}\beta)^{-1}\beta^{\mathsf T}M1_{d_C}
\qquad(U1_{d_C}=1_{d_R}) Π − 1 1 d R = ( β T β ) − 1 β T M 1 d C ( U 1 d C = 1 d R )
Ω − 1 1 d R 1 + λ ∑ r = 1 d R 1 ω r = ( β T β ) − 1 β T M 1 d C (xref‘Lemma S6.2‘) \frac{\Omega^{-1}1_{d_R}}{1+\lambda\sum_{r=1}^{d_R}\frac{1}{\omega_r}}
= (\beta^{\mathsf T}\beta)^{-1}\beta^{\mathsf T}M1_{d_C}
\qquad\text{({xref}`Lemma S6.2`)} 1 + λ ∑ r = 1 d R ω r 1 Ω − 1 1 d R = ( β T β ) − 1 β T M 1 d C ( xref ‘Lemma S6.2‘)
We then again have
1 ω r = ( 1 + λ ∑ r ′ = 1 d R 1 ω r ′ ) ( ( β T β ) − 1 β T M 1 d C ) r \frac{1}{\omega_r}
=
\left(1+\lambda\sum_{r'=1}^{d_R}\frac{1}{\omega_{r'}}\right)
\left((\beta^{\mathsf T}\beta)^{-1}\beta^{\mathsf T}M1_{d_C}\right)_r ω r 1 = ( 1 + λ r ′ = 1 ∑ d R ω r ′ 1 ) ( ( β T β ) − 1 β T M 1 d C ) r
and can again solve for ∑ r = 1 d R 1 ω r \sum_{r=1}^{d_R}\frac{1}{\omega_r} ∑ r = 1 d R ω r 1 in the same way as in the previous proof to get
π r = λ + ( 1 + λ 1 d R T ( β T β ) − 1 β T M 1 d C 1 − λ 1 d R T ( β T β ) − 1 β T M 1 d C ) − 1 { ( ( β T β ) − 1 β T M 1 d C ) r } − 1 = λ + 1 − λ 1 d R T ( β T β ) − 1 β T M 1 d C ( ( β T β ) − 1 β T M 1 d C ) r \begin{aligned}
\pi_r
=
\lambda+
\left(
1+\lambda
\frac{1_{d_R}^{\mathsf T}(\beta^{\mathsf T}\beta)^{-1}\beta^{\mathsf T}M1_{d_C}}
{1-\lambda1_{d_R}^{\mathsf T}(\beta^{\mathsf T}\beta)^{-1}\beta^{\mathsf T}M1_{d_C}}
\right)^{-1}
\left\{\left((\beta^{\mathsf T}\beta)^{-1}\beta^{\mathsf T}M1_{d_C}\right)_r\right\}^{-1} \\
&= \lambda+
\frac{1-\lambda1_{d_R}^{\mathsf T}(\beta^{\mathsf T}\beta)^{-1}\beta^{\mathsf T}M1_{d_C}}
{\left((\beta^{\mathsf T}\beta)^{-1}\beta^{\mathsf T}M1_{d_C}\right)_r}
\end{aligned} π r = λ + ( 1 + λ 1 − λ 1 d R T ( β T β ) − 1 β T M 1 d C 1 d R T ( β T β ) − 1 β T M 1 d C ) − 1 { ( ( β T β ) − 1 β T M 1 d C ) r } − 1 = λ + ( ( β T β ) − 1 β T M 1 d C ) r 1 − λ 1 d R T ( β T β ) − 1 β T M 1 d C
Proof of equation (S13). Suppose γ = 0 \gamma=0 γ = 0 . Then Π \Pi Π consists of blocks for each coarse group, each of which takes exactly the form of the overall Π \Pi Π in the previous calculations. Moreover, each ∑ r : c ( r ) = c P ( C = c ∣ G ) = P ( C = c ∣ G ) \sum_{r:c(r)=c}\mathbb{P}(C=c\mid G)=\mathbb{P}(C=c\mid G) ∑ r : c ( r ) = c P ( C = c ∣ G ) = P ( C = c ∣ G ) is entirely separate from those for other c ′ c' c ′ , so the entire system of constraints applies to and can be solved only within each coarse group block. Hence the result follows immediately from doing the calculations above within each coarse group block, with M M M now a column vector and 1 d C 1_{d_C} 1 d C replaced by a scalar 1 1 1 .
Proof of equation (S14). Suppose γ > 0 \gamma>0 γ > 0 and γ ≠ λ \gamma\ne\lambda γ = λ . We again start with
Π − 1 U = ( β T β ) − 1 β T M \Pi^{-1}U = (\beta^{\mathsf T}\beta)^{-1}\beta^{\mathsf T}M Π − 1 U = ( β T β ) − 1 β T M
Rearranging this equation and substituting in the form of Π \Pi Π yields
U = Π ( β T β ) − 1 β T M U = \Pi(\beta^{\mathsf T}\beta)^{-1}\beta^{\mathsf T}M U = Π ( β T β ) − 1 β T M
U = ( Ω + U C U T ) ( β T β ) − 1 β T M U = (\Omega+UCU^{\mathsf T})(\beta^{\mathsf T}\beta)^{-1}\beta^{\mathsf T}M U = ( Ω + U C U T ) ( β T β ) − 1 β T M
U = Ω ( β T β ) − 1 β T M + U C U T ( β T β ) − 1 β T M U = \Omega(\beta^{\mathsf T}\beta)^{-1}\beta^{\mathsf T}M
+ UCU^{\mathsf T}(\beta^{\mathsf T}\beta)^{-1}\beta^{\mathsf T}M U = Ω ( β T β ) − 1 β T M + U C U T ( β T β ) − 1 β T M
U ( I d C − C U T ( β T β ) − 1 β T M ) = Ω ( β T β ) − 1 β T M U\left(I_{d_C}-CU^{\mathsf T}(\beta^{\mathsf T}\beta)^{-1}\beta^{\mathsf T}M\right)
= \Omega(\beta^{\mathsf T}\beta)^{-1}\beta^{\mathsf T}M U ( I d C − C U T ( β T β ) − 1 β T M ) = Ω ( β T β ) − 1 β T M
The left side of this equation consists of entirely known quantities. The right side includes multiplication by a diagonal matrix Ω \Omega Ω . Consider some r r r such that c = c ( r ) c=c(r) c = c ( r ) . On the left, row r r r of U U U is e c e_c e c , which denotes the c th c^{\text{th}} c th length d C d_C d C standard basis vector. On the right, the fact that Ω \Omega Ω is diagonal means that row r r r corresponds to row r r r of the matrix ( β T β ) − 1 β T M (\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}M ( β T β ) − 1 β T M multiplied by ω \omega ω . Hence for any column j = 1 , … , d C j=1,\ldots,d_C j = 1 , … , d C , we have
ω r ( ( β T β ) − 1 β T M ) r , j = e c T ( I d C − C U T ( β T β ) − 1 β T M ) ⋅ , j = ( I d C − C U T ( β T β ) − 1 β T M ) c , j \begin{aligned}
\omega_r\left((\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}M\right)_{r,j}
&=e_c^{\mathsf{T}}\left(I_{d_C}-CU^{\mathsf{T}}(\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}M\right)_{\cdot,j}\\
&=\left(I_{d_C}-CU^{\mathsf{T}}(\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}M\right)_{c,j}
\end{aligned} ω r ( ( β T β ) − 1 β T M ) r , j = e c T ( I d C − C U T ( β T β ) − 1 β T M ) ⋅ , j = ( I d C − C U T ( β T β ) − 1 β T M ) c , j
Summing each side, this implies
ω r ( ( β T β ) − 1 β T M 1 d C ) r = ( ( I d C − C U T ( β T β ) − 1 β T M ) 1 d C ) c = ( 1 d C − C U T ( β T β ) − 1 β T M 1 d C ) c \begin{aligned}
\omega_r\left((\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}M\mathbf{1}_{d_C}\right)_r
&=\left(\left(I_{d_C}-CU^{\mathsf{T}}(\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}M\right)\mathbf{1}_{d_C}\right)_c\\
&=\left(\mathbf{1}_{d_C}-CU^{\mathsf{T}}(\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}M\mathbf{1}_{d_C}\right)_c
\end{aligned} ω r ( ( β T β ) − 1 β T M 1 d C ) r = ( ( I d C − C U T ( β T β ) − 1 β T M ) 1 d C ) c = ( 1 d C − C U T ( β T β ) − 1 β T M 1 d C ) c
As long as the left entry is non-zero, and using ω r = π r − λ \omega_r=\pi_r-\lambda ω r = π r − λ this can be rearranged to
π r = λ + ( 1 d C − C U T ( β T β ) − 1 β T M 1 d C ) c ( ( β T β ) − 1 β T M 1 d C ) r (34) \pi_r=\lambda+\frac{\left(\mathbf{1}_{d_C}-CU^{\mathsf{T}}(\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}M\mathbf{1}_{d_C}\right)_c}{\left((\beta^{\mathsf{T}}\beta)^{-1}\beta^{\mathsf{T}}M\mathbf{1}_{d_C}\right)_r} \tag*{(34)} π r = λ + ( ( β T β ) − 1 β T M 1 d C ) r ( 1 d C − C U T ( β T β ) − 1 β T M 1 d C ) c (34)
Exact Prompts Used
All lists are generated by Gemini 3.0 Flash at temperature 1.0, with six calls for each prompt and 300 surnames requested per call (500 full names in Lebanon), ranked by the number of calls returning each surname. Every prompt substitutes a group description into a fixed template.
United States voter files
The template is:
List { n } \{n\} { n } common SURNAMES (last names only) of { description } \{\text{description}\} { description } in the United States. Maximize diversity; avoid famous/celebrity surnames. One surname per line, UPPERCASE, no first names, no numbering, no commentary.
with the following descriptions:
White:
“non-Hispanic White Americans of English or Irish descent”
“non-Hispanic White Americans of German descent”
“non-Hispanic White Americans of Italian, Polish, or other European descent”
Black:
“Black / African American people (ordinary, everyday)”
“Black Americans from the US South”
“a diverse set of Black Americans, ordinary people and not celebrities”
Hispanic:
“Mexican Americans”
“Cuban and Puerto Rican Americans”
“Central and South American (Salvadoran, Colombian, Dominican) people in the US”
Historical census
We use Gemini 3.0 Flash to write a meta prompt that asks the model to write the descriptions itself:
You are helping build surname lists for {origin} immigrants to the United States around 1900. Propose exactly three short descriptions of subgroups that together cover that immigrant population, distinguished by the region they came from or the region of America where they settled. Each description must complete the sentence ‘list 300 common surnames (last names only) of ...’. Return only the three descriptions, one per line, with no numbering.
The three descriptions returned for each origin are substituted into the template:
List {n} common SURNAMES (last names only) of {description}. Maximize diversity; avoid famous/celebrity surnames. One surname per line, UPPERCASE, no first names, no numbering, no commentary.
For the Chinese and Japanese lists of § 3.2 , the meta prompt refers to the population “in the United States and Hawaii around 1900”, and the template adds “spelled as they were written in American census and immigration records of that period”. For the white, Black, and American Indian lists of § 3.2 , the meta prompt refers to “white Americans”, “Black Americans”, and “American Indians” “in the United States around 1900”, and the descriptions are substituted into the template above. Table S1 lists every description used.
Table S1.
Table S1 (PDF p. 61). Model-written descriptions for the historical census lists.
Lebanon
Each prompt embeds an English group description and four to five example full names, held fixed within the sect, into an Arabic template. In English, the template reads:
Write {n} full names of people from {descriptor}. Examples: {examples}. Avoid the family names of famous politicians and celebrated families. Write varied, ordinary family names. Write exactly one name per line, with no numbers, no explanation, and no commentary. (Rendered from the Arabic; the original prompts appear in the replication archive.)
The example names are ordinary full names of the sect. Table S2 lists every description used.
Table S2. Group descriptions used in the Lebanese sect prompts.
Table 4 (PDF p. 63).
Table 5 (PDF p. 64).
Table 6.
Additional Empirical Results
Census-based name list generation
Table S3 reports the Census lists under values of τ \tau τ ranging from 0.20 to 0.60. The White, Hispanic, and Asian lists are largely unchanged. For these groups, the top 1,000 surnames by the ranking rule clear even the highest value of τ \tau τ . The Black list is far more sensitive, clearly trading off coverage for precision as τ \tau τ rises. τ \tau τ also determines the extent to which the group lists have overlapping surnames: at τ = 0.20 \tau= 0.20 τ = 0.20 , 7.0% of registrants have a surname that belongs to two groups, while at τ = 0.30 \tau= 0.30 τ = 0.30 , that share falls to 0.04%, and above τ = 0.30 \tau= 0.30 τ = 0.30 , it is zero. We therefore use τ = 0.30 \tau= 0.30 τ = 0.30 , the smallest measured floor at which the lists are close to disjoint.
Robustness of the LLM lists
Figure S8 shows the improvement in ROC-AUC and PR-AUC of using ℓ \ell ℓ BISG for two different list generation methods and various list sizes. This is relative to simply using the geographic baseline P ( R = r ∣ G ) P(R = r \mid G) P ( R = r ∣ G ) . For comparison, the plot also includes the standard BISG probabilities which one would estimate directly if frequency data were available. The figure shows diminishing returns as list size increases in most but not all cases and that performance for the two list generation methods are similar. The lift over geographic baselines is largest for the Hispanic and Asian groups, though in all cases, it is positive.
Combining ℓ \ell ℓ BISG with standard BISG
Standard BISG assigns a generic geography prior to every surname that is absent from the Census surname table. Standard BIFSG similarly drops the first name updating for individuals whose first name is absent from the Census first name table. In Table S4 , we compare standard BISG and BIFSG with BISG and BIFSG that use ℓ \ell ℓ BISG for unlisted names (B I S G + ℓ B I S G \mathrm{BISG} + \ell\mathrm{BISG} BISG + ℓ BISG and B I F S G + ℓ B I S G \mathrm{BIFSG} + \ell\mathrm{BISG} BIFSG + ℓ BISG ). Among registrants whose surname is missing from the table, B I S G + ℓ B I S G \mathrm{BISG} + \ell\mathrm{BISG} BISG + ℓ BISG improves average precision for every group in both states. The improvement is largest for Hispanic registrants. Probabilities for voters whose names are already listed on the tables are left unchanged.
Table S4. Standard BISG and BIFSG combined with ℓ \ell ℓ BISG (LLM lists) for names missing from the Census tables. Log-loss is computed over the four list groups.
For first names, B I F S G + ℓ B I S G \mathrm{BIFSG} + \ell\mathrm{BISG} BIFSG + ℓ BISG performs about as well as standard BIFSG across all registrants. However, among registrants whose first name is missing from the Census first name table, B I F S G + ℓ B I S G \mathrm{BIFSG} + \ell\mathrm{BISG} BIFSG + ℓ BISG has a lower average precision than standard BIFSG for every group in both states. For these registrants, the ℓ B I S G \ell\mathrm{BISG} ℓ BISG first name probability reduces the accuracy of standard BISG. Many of these first names are double names, initials, or spellings held only by a single registrant, and the ℓ B I S G \ell\mathrm{BISG} ℓ BISG first name probabilities for them are less informative than geography alone.
Comparison with direct prompting of an LLM
One alternative approach that might be considered to ℓ B I S G \ell\mathrm{BISG} ℓ BISG is to simply prompt an LLM directly for the probability of each group given a surname [6 ] . These probabilities can then be used in place of a surname table, as eBISG does for missing surnames in the race-name frequency tables [7 ] . We evaluate this alternative in all three settings. For each distinct surname, we prompt an open-weight LLM (gpt-oss-120b) for the probability of each group. We then combine these probabilities with the geographic prior, in the same way as standard BISG, and fit the same BIRDiE models as above. We provide the prompts below and the results in Table S5 .
Table S5. ℓ \ell ℓ BISG (LLM lists) compared with direct prompting of gpt-oss-120b combined with the geographic prior (LLM). “ECE” is the expected calibration error over ten probability bins. “RMSE” is the root-mean-square error, computed as in § 3 , of the BIRDiE estimate of: (1) the Democratic share by county in the voter files, for Florida and North Carolina; (2) the share in the top quartile of the socioeconomic index by county, for the 1900 census; and (3) the share born in 1985 or later by district, for Lebanon.
Specifically, we prompt gpt-oss-120b once for every distinct surname in each setting. We run the model locally on the Harvard FAS Research Computing cluster with a temperature of 0. For the U.S. voter files, we use the following system prompt:
“You are an expert in the demography of names in the United States. Answer with a single JSON object and nothing else.”
We then use the following prompt for each name, proposed by Claude Opus 5.5:
Consider a registered voter in the United States whose surname is “{surname}”. Estimate the probability that this person self-identifies as each of the following groups: white (non-Hispanic), black (non-Hispanic), hispanic, asian (non-Hispanic Asian or Pacific Islander), other (any other group, including multiracial and American Indian). The five probabilities must sum to 1. Respond only with JSON of the form {”white”: p, ”black”: p, ”hispanic”: p, ”asian”: p, ”other”: p}.
For the 1900 census, as with the respective name list generation, we define the prompt in reference to a person enumerated in the 1900 United States census, with the surname as written by the enumerator, and request the probability that the race of the given person was recorded as Chinese, Japanese, White, Black, American Indian, or any other race. For Lebanon, we define the prompt in reference to a registered voter in Lebanon with the family name written in Arabic, and request the probability of each of the seven sects and the residual class. We normalize the probabilities for each surname so that they sum to one. If the model does not return a probability for every group, we prompt the model again with the temperature at 0.7.
Let P L L M ( R = r ∣ S ) \mathbb{P}_{\mathrm{LLM}}(R = r \mid S) P LLM ( R = r ∣ S ) denote the probability for surname S S S . Following standard BISG, we obtain the direct prompting estimate as
P ^ ( R = r ∣ S , G ) ∝ P L L M ( R = r ∣ S ) P ( R = r ∣ G ) P ( R = r ) , \widehat{\mathbb{P}}(R = r \mid S, G) \propto\frac{\mathbb{P}_{\mathrm{LLM}}(R = r \mid S)\mathbb{P}(R = r \mid G)}{\mathbb{P}(R = r)}, P ( R = r ∣ S , G ) ∝ P ( R = r ) P LLM ( R = r ∣ S ) P ( R = r ∣ G ) ,
where P ( R = r ∣ G ) \mathbb{P}(R = r \mid G) P ( R = r ∣ G ) is the same geographic prior as for ℓ B I S G \ell_{\mathrm{BISG}} ℓ BISG in each setting and P ( R = r ) \mathbb{P}(R = r) P ( R = r ) is the average of this prior over individuals. In addition to gpt-oss-120b, we also prompt a smaller LLM, Qwen3-30B-A3B, for robustness. Qwen3-30B-A3B produces a lower average precision than gpt-oss-120b for most groups in the U.S. settings and a similar average precision in Lebanon.
Directly prompting an LLM for probabilities yields a higher average precision than ℓ B I S G \ell_{\mathrm{BISG}} ℓ BISG for most groups in the voter files and the 1900 census, with the largest differences for Asian registrants in both states and Hispanic registrants in North Carolina. Given that our preferred specifications use LLM-generated lists that are then generalized to all voters using an embedding model, the difference in performance between ℓ B I S G \ell_{\mathrm{BISG}} ℓ BISG and direct model prompting can be thought of as the residual improvement offered by LLMs over the embedding model (and ℓ B I S G \ell_{\mathrm{BISG}} ℓ BISG algorithm) for unlisted names.
However, ℓ \ell ℓ BISG has better calibration (a lower ECE) than directly prompting an LLM for Black registrants in both states; for Chinese, White, and Black records in the 1900 census; and for four of the seven sects in Lebanon. The BIRDiE estimates based on ℓ \ell ℓ BISG have a lower RMSE than those based on the LLM for White and Black registrants in both states, Hispanic registrants in Florida, both subgroups in the 1900 census, and six of the seven sects in Lebanon. They have a higher RMSE for Asian registrants in both states and Hispanic registrants in North Carolina.
Because an LLM has only latent knowledge about the target population, the probabilities that the LLM generates need not be calibrated for that population. ℓ \ell ℓ BISG, conversely, uses the LLM only to generate the name lists, which shifts the burden from recall and inference of every name to the simpler task of generating short sets of example names that are distinctive and common.
Violations of the conditional independence assumption
We measure violations of the eBISG Assumption 2.2 and the in theory weaker ℓ \ell ℓ BISG Assumption 2.4 within each racial group. Violations occur if, within racial group, there is any remaining relationship between embedding (or embedding cluster) to geography. First, we define the normalized embedding vector, E ~ i : = E i / ∥ E i ∥ \widetilde{E}_i := E_i/\lVert E_i\rVert E i := E i / ∥ E i ∥ . To measure the dependence between an embedding vector and geography in any given group r r r , we compute the following proportion of variance explained by geography,
ξ ~ r : = ∑ g = 1 d g n g r ∥ E ~ g r − E ~ r ∥ 2 ∑ i = 1 N 1 { R i = r } ∥ E ~ i − E ~ r ∥ 2 \widetilde{\xi}_r := \frac{\sum_{g=1}^{d_g} n_{gr}\lVert\widetilde{E}_{gr}-\widetilde{E}_r\rVert^2}{\sum_{i=1}^{N} 1\{R_i=r\}\lVert\widetilde{E}_i-\widetilde{E}_r\rVert^2} ξ r := ∑ i = 1 N 1 { R i = r } ∥ E i − E r ∥ 2 ∑ g = 1 d g n g r ∥ E g r − E r ∥ 2
where N N N is the total number of registrants, n g r n_{gr} n g r is the number of registrants in geographic unit g g g who belong to group r r r , E ~ g r : = ∑ i = 1 N 1 { G i = g , R i = r } E ~ i / n g r \widetilde{E}_{gr} := \sum_{i=1}^{N} 1\{G_i = g, R_i = r\}\widetilde{E}_i / n_{gr} E g r := ∑ i = 1 N 1 { G i = g , R i = r } E i / n g r is the average normalized embedding for group r r r in geography g g g , and E ~ r : = ∑ i = 1 N 1 { R i = r } E ~ i / N r \widetilde{E}_r := \sum_{i=1}^{N} 1\{R_i = r\}\widetilde{E}_i / N_r E r := ∑ i = 1 N 1 { R i = r } E i / N r is the overall average for group r r r with N r : = ∑ i = 1 N 1 { R i = r } N_r := \sum_{i=1}^{N} 1\{R_i = r\} N r := ∑ i = 1 N 1 { R i = r } . We measure the violation of Assumption 2.4 by replacing the embeddings with indicators for the clusters B B B in this expression.
If registrants were allocated to geographic units at random within each racial group (i.e., Assumption 2.2 holds), the expected value of this statistic is E [ ξ r ] = ( d G r − 1 ) / ( N r − 1 ) \mathbb{E}[\xi_r] = (d_{Gr} - 1)/(N_r - 1) E [ ξ r ] = ( d G r − 1 ) / ( N r − 1 ) with d G r : = ∑ g = 1 d G 1 { n g r > 0 } d_{Gr} := \sum_{g=1}^{d_G} 1\{n_{gr} > 0\} d G r := ∑ g = 1 d G 1 { n g r > 0 } indicating the number of geographical units where at least one member of group r r r resides (e.g., [e.g. 18 ] ). Since this expected value is larger when both the group size and geographical units are smaller, we use the following adjusted statistic, whose expectation is zero under the random geographic allocation and is bounded above by one,
ξ r a d j : = 1 − N r − 1 N r − d G r ( 1 − ξ r ) . \xi_r^{\mathrm{adj}} := 1 - \frac{N_r - 1}{N_r - d_{Gr}}(1 - \xi_r). ξ r adj := 1 − N r − d G r N r − 1 ( 1 − ξ r ) .
Between counties, the adjusted statistic is positive for every group in both states, suggesting some degree of violation (Figure S11 A). However, the magnitude of that violation is small, with differences between counties explaining at most 0.61% of the variation in the embeddings within a group. Between census blocks, the adjusted statistic is larger, reaching 7.7% for the embeddings of Asian registrants in North Carolina (Figure S11 A). The statistic between census blocks also depends on the size of the sample, as many blocks contain few registrants of a given group. In random half-samples of registrants, it is between 12% and 19% smaller than in the full sample, whereas the statistic between counties is nearly unchanged. Figure S11 A also shows that for every group and at both levels of geography, the statistic for the cluster variable B B B is smaller than the statistic for the embeddings. This is consistent with Assumption 2.4 being weaker than Assumption 2.2 .
Figure S11. Violation of the conditional independence of names and geography given race. Panel A plots the adjusted statistic ξ a d j \xi^{\mathrm{adj}} ξ adj (percent) between counties and between census blocks. Panel B plots weighted lowess estimates of the average precision of ℓ B I S G \ell\mathrm{BISG} ℓ BISG and of the absolute bias and root-mean-square error of the county BIRDiE estimate based on ℓ B I S G \ell\mathrm{BISG} ℓ BISG against ξ r a d j \xi_{r}^{\mathrm{adj}} ξ r adj computed within each county. Error bars in Panel A are 95% confidence intervals based on repeated random half-samples of registrants, and shaded bands in Panel B are pointwise 95% confidence intervals from a bootstrap over counties.
Next, we examine how the assumption violation is associated with the performance of ℓ \ell ℓ BISG and its downstream analysis. Specifically, we compute ξ r a d j \xi_r^{\mathrm{adj}} ξ r adj within each county, using census blocks as the geographic units. We then compute the average precision of ℓ \ell ℓ BISG in each county and estimate the Democratic share in each county with BIRDiE based on ℓ \ell ℓ BISG. We fit a lowess regression of the average precision, the absolute bias of the BIRDiE estimate, and its squared error on the statistic, weighting each county by n g r n_{gr} n g r . We plot the fitted values for the average precision, and the absolute bias, and the square root of the fitted values for the squared error (Figure S11 B). We exclude counties where fewer than 100 registrants belong to group r r r .
We find that, for most groups, the average precision of ℓ \ell ℓ BISG decreases and the bias and root-mean-square error of the BIRDiE estimate increase with the extent of the assumption violation. The increases in bias and root-mean-square error are largest for Black registrants in Florida and Asian registrants in North Carolina, although the confidence intervals for these groups are wide. The association between the error and the violation remains positive after controlling for the number of the group’s registrants in each county.