Abstract
Implicit biases - differential attitudes towards members of distinct groups - are pervasive in human societies and create inequities across many aspects of life. Recent research has revealed that implicit biases are generally driven by social contexts, but not whether they are systematically influenced by the ways that humans self-organize in cities. We leverage complex system modeling in the framework of urban scaling theory to predict differences in these biases between cities. Our model links spatial scales from city-wide infrastructure to individual psychology to predict that cities that are more populous, more diverse, and less segregated are less biased. We find empirical support for these predictions in U.S. cities with Implicit Association Test data spanning a decade from 2.7 million individuals and U.S. Census demographic data. Additionally, we find that changes in cities’ social environments precede changes in implicit biases at short time-scales, but this relationship is bi-directional at longer time-scales. We conclude that the social organization of cities may influence the strength of these biases.
Similar content being viewed by others
Introduction
Cities are organized in surprisingly regular ways1,2,3, which drive and constrain social interactions similarly across cultures and time4,5,6. However, there are many factors beyond the built-space geometry2,3 of cities that modulate urban social interactions. Among these, implicit biases towards out-group members are one of the most universal7. Implicit biases refer to differential attitudes towards individuals from different groups, in ways that are automatic. These biases pose major barriers to equity and, in particular, implicit racial biases have been associated with disparities across essentially all aspects of life, including medical care8, scholastic performance9, employment10, policing11,12, mental health outcomes13, and physical health14. If city organization and structure contribute meaningfully to these biases, there may be ways to leverage such regularities to systematically intervene and design for less biased urban areas. Despite the universality of implicit racial and ethnic biases in human societies and their well-documented detrimental effects, existing studies lack a principled and theoretical basis to reveal how the organization of people in cities may systematically influence these biases.
Early investigations of the origins of implicit racial biases revealed that they develop early in life15,16, are stable into adulthood, and are less prevalent in schools with more diverse populations16. Neurobiological evidence complemented these findings and showed that individuals with lower levels of bias process out-group stimuli more automatically. In particular, lower levels of implicit biases are associated with more automatic processing and less activation of a network of brain areas related to social context17,18,19,20. These observations suggested that early childhood exposure to diverse individuals is critical for building out-group expertize and locking-in low levels of implicit biases21,22,23.
However, more recent work has demonstrated that interventions with older children and adults that increase exposure to out-group individuals also reduce implicit biases, although these effects wear off if the intervention is not continued24,25,26. This suggests that individuals’ biases likely reflect ongoing predictions about their social environment27,28, and consequently, that consistent population averages of implicit biases29 are the result of consistent social contexts. Thus, earlier findings of stable implicit biases throughout adulthood likely reflect, in fact, not stable individual cognitive biases but instead the stability of social environments27,28,29,30.
For example, the effects of slavery and associated racial segregation in the United States (U.S.) on social context and network structure have been enduring. Areas in the U.S. with larger slave populations in 1860 have higher current levels of implicit racial biases today30. This example demonstrates one way in which longstanding structural influences on social contexts (e.g., racism) may contribute to implicit biases and perpetuate them across generations. Given the strong influence of city organization on urban social interactions and contexts1,2,31, it is natural to ask if there are general ways in which urban environments might shape implicit biases.
In this work, we begin to answer this question by developing a mathematical model linking the properties of cities with implicit biases. This model specifies learning as the mechanism linking properties of the urban environment to biases and is inspired by previous urban science, psychological, and neurobiological research. The model predicts that larger, more diverse, and less segregated cities have lower levels of implicit racial biases. We find that this prediction is consistent with implicit association test data from 2.7 million individuals over ten years and we discuss additional predictions of our model. Note that these results do not provide direct causal confirmation for the proposed mechanism.
Results
We start our analysis of urban composition from the point of view of urban scaling theory1,2. Its mathematical models describe cities as social networks enabled and structured by cities’ hierarchical infrastructure networks. In this type of model, cities arise as the result of balancing the spatial costs of housing and the transportation of goods and people with the benefits of facilitating social interactions over cities’ infrastructure networks1,2. These models derive average properties of cities as a function of their population size, N, as scale-invariant scaling relationships1,2. For example, in the case of average per-capita social interactions, k, the scaling relationship takes the form of k ~ Nδ, where \(\delta=\frac{1}{6}\). Here, scale-invariance refers to the property that doubling N results in a 2δ − 1 ≈ 12% increase in per-capita social interactions, k, regardless of initial values for N and k.
In the simplest models of urban scaling theory, all urban inhabitants are taken to be equally likely to interact (i.e, there is homogeneous mixing) and all inhabitants are treated, in this sense, identically. In our related work, we developed modifications of these models to account for individuals belonging to distinct groups and for the fact that their connections may be biased by group identities, such that individuals may interact less often with out-group individuals and more often with their in-group32. This translates into groups that may show increased same-group interaction tendencies (homophily) or decreased between-group interaction tendencies. In developing this model, our focus was on understanding how homophily, segregation, and group sizes impact emergent socio-economic outputs in cities as a result of the inhibition of a number of interactions across individuals of different racial and ethnic groups. However, here, we focus more directly on what this model can reveal about systematic variations in inter-group interactions and subsequent consequences for implicit biases.
The model of heterogeneous group interaction describes the number of per-capita interactions, ki in city i, on average, as:
Here, g indexes the distinct groups in cities, \({h}_{g,i}^{bet}\) and \({h}_{g,i}^{in}\) are the between-group and within-group relative rates of interactions of group g in city i, and Ng,i is the population of group g in city i. In this model, individuals from group g in city i interact with out-group individuals with a relative rate \(1-{h}_{g,i}^{bet}\) and with in-group of \(1+{h}_{g,i}^{in}\)32. In addition, we have made the assumption that each group avoids all other groups similarly so that there are no unique avoidance effects between pairs of groups32.
The first term of Equation (1) is the typical scaling relationship1,2,4. The second term has two components, each representing fractions of the total number of possible social interactions, N2. The first of these captures social interactions which occur within groups, on average: \({k}_{{{{{{{{\rm{within}}}}}}}},i} \sim {N}_{i}^{\delta }\cdot \mathop{\sum }\nolimits_{g=1}^{G}{(\frac{{N}_{g,i}}{{N}_{i}})}^{2}(1+{h}_{g,i}^{in})\). The second term captures social interactions which occur between groups, on average: \({k}_{{{{{{{{\rm{inter}}}}}}}},i} \sim {N}_{i}^{\delta }\cdot \mathop{\sum }\nolimits_{g=1}^{G}{\sum }_{j\ne g}\frac{{N}_{g,i}}{{N}_{i}}\frac{{N}_{j,i}}{{N}_{i}}(1-{h}_{g,i}^{bet})\). Though there is some evidence that high levels of implicit biases are associated with increased homophilic tendencies33,34, these studies do not discuss alternative mechanisms for inducing changes in implicit biases other than changes in inter-group interactions resulting from homophily (see Supplementary Note and Supplementary Figs. 1 and 2). In contrast, there is a large body of previous research that has qualitatively demonstrated that inter-group interactions shape implicit racial biases16,24,27,28,35,36,37,38,39. Thus, we focus on this term to build our model.
In order to explicitly connect the quantity of inter-group interactions in cities to implicit bias levels, an additional step is required to translate from inter-group interactions to levels of implicit biases1. Previous research has suggested that this relationship is positive – more inter-group interactions are associated with lower implicit bias levels16,24,27,28,35,36,37,38,39. In addition, neurobiological studies provide evidence that individuals with lower levels of bias engage in more automatic processing of out-group stimuli, indicating greater expertize17,18,19,20.
A common feature of such expertize-based learning is decreasing marginal returns to exposure, which is often formalized in a learning curve40,41,42,43. Learning curves describe the relationship between costs and expertise across diverse individual or group tasks such as motor learning41, sequence learning42, solar panel construction43, and cigar rolling40. Typically, these learning curves are described by power-laws of the form cost ~ n−α, where n is the number of learning instances, and 1 > α > 0 determines the speed of learning (or learning rate, \(\alpha=-d\ln cost/d\ln n\)), with larger values of α implying faster learning.
Such learning curves are a natural modeling choice to couple inter-group interactions and implicit bias levels since our measure of implicit bias, b, can be interpreted as a cognitive processing cost: b is a relative difference in reaction times when pairing photographs of White and Black faces with positive and negative words, see Methods. Thus, decreasing b can be seen in this context as learning that increases social performance in a diverse population, and such learning is the result of greater levels of exposure (interactions) to out-group individuals.
With the additional assumption that coupling strength and direction do not vary between different pairs of groups or across interaction types (e.g., friendship, employment, acquaintance, etc)1,2, we expect measured bias levels to follow a learning curve of \({b}_{i} \sim {k}_{{{{{{{{\rm{inter}}}}}}}},i}^{-\alpha }\) and therefore, we predict larger cities systematically have lower levels of bias according to:
In the presence of reduced between-group interactions (\({h}_{g,i}^{bet} \, \ne \, 0\)), it is interesting to consider the case of cities with only two distinct groups. This approximation is particularly relevant to the measure of implicit racial bias we employ here which explicitly contrasts White and Black racial groups. In this case, the scaling relationship for implicit racial biases simplifies to (see Supplementary Note):
Equation (3) can be understood in terms of three multiplicative terms: a scaling relationship, a diversity adjustment, and a segregation adjustment. Inter-group interactions drop dramatically as diversity decreases and less dramatically as the segregation values of the groups increase (see Methods). In practice, since some cities are not very diverse (\(\frac{{N}_{1}}{N} \sim 1\)) and segregation values are small (Supplementary Fig. 4), diversity is expected to play a much larger role than segregation in determining the average number of inter-group interactions and in driving subsequent implicit biases.
In addition, Equation (3) also predicts that the logarithms of the diversity adjustment and the segregation adjustment should be negatively and linearly related to the logarithm of implicit bias, b. These two adjustment terms capture deviations from the mean-field scaling relationship (b ~ N−δα) due to the specific characteristics of each given city. In summary, the model predicts that larger, more diverse, and less segregated cities have lower average levels of implicit biases.
Finally, the model suggests that deviations of the scaling exponent away from \(\delta=\frac{1}{6}\) and the magnitude of the diversity effect can provide empirical estimates of the learning rate, α, which characterizes the coupling between inter-group interactions and implicit racial biases. Since values of reduced between-group interactions are not directly observed (see Methods), we cannot obtain a direct estimate of α from the third term of Equation (3). In addition, we note that there may be other sources of deviations from the expected scaling exponent of \(\delta=\frac{1}{6}\) including top-down hierarchical constraints on inter-group interactions44, growth rate fluctuations, and other higher-order effects45, which may contribute to differences in independent estimates of α calculated from the first and the second terms of Equation (3).
We next test the three predictions of our model: (1) that implicit biases systematically decrease with city size via a scaling relationship of b ~ N−δα, (2) that cities with more diversity have lower levels of implicit biases, and, (3) that less segregated cities have lower levels of implicit biases.
We used data from the racial Implicit Association Test (IAT) to quantify the level of implicit racial bias in U.S. cities for each year in 2010-202046. The racial IAT measures the difference in response times when subjects pair images of White versus Black faces with positive or negative words (Fig. 1). We linked average IAT bias scores from approximately 2.7 million individuals in combined statistical areas (CBSAs) with racial demographics and population data from the U.S. Census to test our predictions. We note that CBSAs are functional definitions that capture the spatiotemporally extended social networks of cities and include, in the same unit, where people live, socialize, and work47.
In addition, it is important to note that this sample is not nationally representative and tends to be younger, more educated, with a higher percentage of female participants, and likely underestimates bias levels, overall48. Nonetheless, racial demographics are strongly correlated across cities suggesting that this sample is suitable for relative comparisons across cities (Spearman correlation, rs ∈ [0.83, 0.93] for the White population/IAT sample fraction and rs ∈ [0.93, 0.96] for the Black population/IAT sample fraction; Supplementary Table 1 and Supplementary Fig. 3; note that complete model results and statistics for all models are available in Supplementary Data 1).
We measured reduced between-group interaction values, \({h}_{i}^{bet}\), as linearly dependent (see Supplementary Fig. 5 for equivalent analyzes with a non-linear dependence) on residential racial segregation calculated from racial demographics in census tracts (small areas of ~ 4, 000 inhabitants). The choice to proxy these values with segregation measures is motivated by past empirical49,50 and theoretical work (e.g.,51,52) linking population mixing and segregation. We repeated this statistical analysis across four distinct measures of residential racial segregation, as in our related work32. We find that across all years and measures of residential racial segregation, larger cities have lower levels of implicit racial biases, in line with Equation (3) (95% confidence interval for the population coefficient: β1 ∈ [ − 0.045, − 0.031]; Fig. 2a, Supplementary Table 2).
In addition, more diversity and higher levels of residential racial segregation are significantly related to scaling deviations and associated with higher average IAT scores, in line with Equation (3) (95% confidence intervals for the diversity and segregation coefficients: β2 ∈ [ − 0.226, − 0.163], β3 ∈ [0.026, 0.066]; Supplementary Table 2). Importantly, the diversity and segregation terms can be statistically separated even though they are correlated (maximum variance inflation factor of 6.31 across all four segregation measures; Supplementary Fig. 6). We note that when analyzing single years of data before 2015, residential racial segregation is not significantly related to scaling deviations for some segregation measures. However, this is likely due to much lower sample sizes in those years resulting in fewer cities with available data and smaller fractions of city populations represented (average percent of city population before 2015: 0.078%; average percent of city population after 2014: 0.168%; Supplementary Table 3; see Supplementary Data 2 for a list of cities included in each year).
Further, the city size scaling, diversity, and residential racial segregation effects are predictive of individual IAT responses when controlling for race, birth-sex, and educational attainment (population coefficient range β1 ∈ [ − 0.0404, − 0.0124], diversity coefficient range β2 ∈ [ − 0.1155, − 0.1937], segregation coefficient range β3 ∈ [0.1951, 0.7081]; Supplementary Tables 4–14; note that the coefficients on diversity were only significant after 2015). This suggests that these large-scale structural determinants of implicit racial biases are relevant to individuals’ levels of bias. In other words, citywide organizational and structural characteristics may influence individual implicit biases despite the diversity of local social environments (e.g., variation in neighborhood segregation compared to city-wide averages) that any individual urban inhabitant might encounter.
Along these lines, other research has identified environmental variables related to area deprivation associated with inter-city variance in implicit racial bias53. However, with our model, we find that measures of area deprivation independently explain only a small portion of the variance in inter-city differences above and beyond the three structural factors we identify here (Supplementary Tables 15–18). This suggests that the variables identified previously actually capture a combination of city population, segregation, and diversity (e.g., see Supplementary Fig. 7) and that there are other factors, for example, segregated mixing in ambient populations54, that may explain the remaining inter-city variance in implicit biases.
In addition, we observe that for 2015-2020, systematic variations in city size, diversity, and segregation account for a median of 33.6% (with a range of [24.2%, 40.5%]) of the variance in implicit racial bias across cities (and all four segregation measures), which is equivalent to a correlation of r ~ 0.58 (range of r ~ [0.49, 0.64], Fig. 2B, Supplementary Tables 27–33).
In order to better understand the performance of our model, we employ estimates of the noise ceiling55,56. Since implicit biases are inherently noisy attitudes28, meaning that they fluctuate frequently, a model that is perfectly predictive may still fail to explain all of the observed variance and have an R2 < 1. Noise ceiling estimates provide the maximum R2 value that can be expected, given the level of noise in the data. Here, these estimates suggest that the three structural factors in our model capture a majority of the variance that can be accounted for given the reliability57 of the IAT measure (noise corrected R2 range ∈ [0.38, 0.93]; Supplementary Tables 27–36). As expected, based on the fact that many U.S. cities are not so diverse, diversity accounts for more between-city variance in implicit biases than residential racial segregation (diversity R2 = . 16, segregation R2 range ∈ [0.008, 0.082] including all years of data; Fig. 2b, Supplementary Tables 27–33).
Finally, we compared estimates of the learning rate, α, to previously conducted experimental interventions25,26 designed to simulate inter-group contact. The two independent estimates of α, from the scaling exponent and the diversity adjustment (see Methods), are convergent and consistent (Fig. 3). This need not have been the case and this convergence of estimates provides empirical support for a shared mechanism (namely a learning curve as a function of out-group exposure) coupling city population and diversity to implicit bias levels. These empirical estimates of the learning rate are also consistent with experimental interventions – in which simulated inter-group contact is overwhelmingly positive and occurs immediately before bias measurements – that provide an upper bound on the learning rate, α (see Methods). These results suggest that observed levels of implicit biases emerge from the interaction between large-scale structural factors operating across entire cities to shape social contexts, and individual psychology which determines how much and how quickly people learn from and internalize those social contexts.
Timescales of temporal precedence
The learning mechanism linking biases and between-group interactions emphasizes a specific causal direction in the model: interactions → bias levels. However, there are other mechanisms, such as selective migration58 and individual mixing preferences, that may facilitate reverse causal pathways in which bias levels influence changes in diversity, population size, and segregation, respectively. While the between-group interaction term in the model can account for the effects of mixing preferences (along with historical processes and explicit racism, e.g., that influenced unfair lending policies), our model does not explicitly account for processes in which implicit biases facilitate changes in city diversity and population size.
To begin to understand the role of each of these causal directions, we take advantage of the fact that 43 cities have implicit racial bias data available for all 10 years. We employ Granger causality59 to statistically test whether changes in one variable precede or follow changes in another variable. In brief, these analyzes test whether the linear regressions between two variables of interest improve when one of the variables is lagged in time (see Methods). We perform these analyzes for each city and calculate the percentage of cities with statistically significant evidence of temporal precedence.
We find evidence that changes in population size, diversity, and segregation precede changes in implicit biases at a lag of one year for a majority of cities (Table 1, Fig. 4). In contrast, only a fraction of cities show evidence for the reverse temporal precedence. Results are similar at a lag of 2 years. At a lag of 3 years, however, there is equal evidence for both temporal precedence directions.
In combination with the mathematical model presented here, these results suggest a mismatch in the timescales at which different mechanisms play out. In particular, these analyzes suggest that, at short timescales (i.e., 1–2 years), changes in structural factors primarily precede changes in implicit racial biases as individuals learn from and internalize changing social contexts. However, there is also some evidence of the reverse temporal direction at these short timescales. This direction, of bias changes preceding structural factors, may be due to immediate, individual-level effects such as changes in bias levels leading to changes to individual mixing preferences.
At long timescales, evidence is present for influence in both directions from biases to structural factors and vice versa. This fits with our model’s suggestion of rapid learning involved in setting implicit biases (Fig. 3). Psychological adaptations to changing social conditions are expected to be faster than the speed with which individuals (and their households) can move to different neighborhoods or cities. Thus, we expect that changes in biases happen faster than changes in city demographics and patterns of segregation. More work is needed to enumerate potential mechanisms linking bias levels back to structural changes (e.g., selective migration58) and to mathematically model these mechanisms in an urban scaling context.
Discussion
The model developed here demonstrates that relatively simple considerations of heterogeneous mixing among a small number of social groups can explain a large proportion of why people in some cities have stronger implicit racial biases than in others. While it is somewhat surprising that only three factors - city population, diversity, and racial segregation - account for so much between-city difference, this is in line with recent evidence that implicit racial biases are driven more by social contexts than by individual differences in attitudes25,26,60,61.
Our model provides a number of concrete theoretical predictions that may form the basis of new experimental hypotheses. First, our model predicts that at short timescales, implicit racial biases emerge from the interaction between city-wide social contexts that are shaped by the built environment and individual psychology which determines how much and how quickly people learn from those contexts. We find preliminary support for this hypothesis by taking advantage of the longitudinal nature of our data (Fig. 4, Table 1). At longer timescales, other still unenumerated, and unmodeled mechanisms may create feedback loops in which implicit racial biases shape these social contexts, e.g., through selective migration58.
Second, our model implicitly predicts that on average, inter-group contact in cities is beneficial with respect to reducing implicit racial biases. This matches results from the urban scaling literature that includes psychological depression62, economic outputs1,2,32, and creative outputs63. In all of these cases, the observation of increasing beneficial returns to city population suggests that interactions across these modalities are, on average, positive. If this was not the case, we would expect to find all three main results reversed so that smaller, less diverse, and more segregated cities have lower bias levels. This was not what we found empirically.
However, the equations of urban scaling theory as formulated do not address interaction quality directly. There is likely great variation in interaction quality within cities. For example, inter-group contact may be cognitively costly64, and interactions between individuals or in certain neighborhoods may be negative, particularly in areas with high levels of existing implicit racial biases65. Thus, investigations of whether and how cities systematically facilitate interactions of differing quality are natural next steps.
Finally, our model predicts that as more people move into cities over the next decades implicit biases may decrease so long as cities are not too segregated, remain centers of diversity, and residents learn from shifting social environments. In addition, our model predicts that decreasing segregation may lead to reductions in implicit racial biases that could have large societal impacts66, though causal evidence is needed to confirm these hypotheses. Such reductions in segregation may have implications beyond implicit biases as cities with lower levels of racial segregation also tend to have higher incomes32 and healthier inhabitants67.
In summary, these results, along with our related work32 characterizing economic productivity, are first steps towards better incorporating heterogeneous network structures and individual psychology into the mathematical models of modern urban science and deriving associated multifaceted effects. The additions we developed here are relatively simplistic in their consideration of individual differences in cities, proxied simply by a set of discrete groups. More complex models are likely needed to consider how city organization influences the dynamics of other types of attitudes that are socially relevant, including political polarization68,69 and issues of trust and collective action, for example relating to public health programs such as vaccines70,71.
Methods
IAT Data
All racial IAT Data are publicly available46 and were downloaded from https://osf.io/52qxl/. The collection of these data was approved by the University of Virginia Institutional Review Board for the Social and Behavioral Sciences. The use of these data in the present study was approved by the University of Chicago Social Sciences Institutional Review Board (IRB23-0796). These data are coded at the participant level, a fraction of which includes geographic identifiers for state and county. Implicit racial bias was assessed by the Dbiep metric72 which consists of the latency difference between compatible and incompatible blocks of the racial IAT, divided by the pooled standard deviation. In the racial IAT, Black and White face images are used and higher and positive Dbiep scores indicate an implicit bias towards White faces while lower and negative Dbiep scores indicate an implicit bias towards Black faces. After only retaining participants with available geographic information, Dbiep scores were averaged across all participants in each CBSA. Cities were retained if they had at least 500 IAT responses. This was done separately for all years. Results were similar with cutoffs of > 250 and > 1000 IAT responses per city (Supplementary Tables 19–26). We note that multiple comparison corrections are not relevant to these various robustness checks or to the various versions of models run with data from different years and different segregation measures: these test the same hypothesis on independent datasets rather than testing/comparing multiple hypotheses within the same dataset.
U.S. census data
All census data is publicly available and was downloaded from data.census.gov. Five-year racial demographic estimates for U.S. census tracts were downloaded from table B02001. segregation values were calculated across the two racial groups in the race IAT: White and Black. Five-year population estimates for U.S. cities defined as combined statistical areas (CBSAs) were downloaded from table B01003. In order to map between census tracts and CBSAs, delineation files for 2020 were downloaded from the United States Office of Budget and Management from https://www.census.gov/programs-surveys/metro-micro/about/delineation-files.html.
Associations between implicit bias, city size, diversity, and segregation
We fit the scaling relationship between the logarithms of implicit bias and city size with ordinary least squares (OLS) linear regression to determine the scaling exponent. The equation for this regression is:
where C is the log-log intercept (or equivalently the logarithm of the scaling prefactor), β1 log-log slope (i.e., the scaling exponent), and ϵi are the scaling deviations.
In order to assess the contribution of the city-specific diversity and segregation values to implicit racial bias, we start with ϵi as the dependent variable via the equation:
where N1,i is the number of White individuals city i, h1,i is the segregation of the White population, and h2,i is the segregation of the Black population, and ξi are additional city specific residual effects.
Since we do not observe segregation values, h1,i and h2,i, directly, but only measures of residential racial segregation, s1,i and s2,i, we follow our related work32 and model the segregation values as linearly dependent on levels of residential racial segregation. With the additional approximation that \(\ln (2-x)\simeq \ln (2)-\frac{x}{2}\) when x << 1, equation (5) then becomes:
where we have substituted the segregation values via the equation hg,i = hbet + bbetsg,i32. We can further simplify by including all non-city specific effects in the constant C2 and by including the factor of \(\frac{-{b}^{bet}}{2}\) in the constant, β3. We fit the resulting equation via OLS in order to assess the contribution of diversity and residential racial segregation to implicit racial bias:
Noise ceiling estimates
To better understand the performance of our model, we computed the bounds of the noise ceiling for the implicit bias measure. The idea of a noise ceiling is borrowed from cognitive neuroscience55,56 where the performance of predictive models can be limited by inherent noise in brain activity and measurement noise from human neuroimaging devices (e.g., functional magnetic resonance imaging or electroencephalogram). In those settings, a perfectly predictive model would only explain a fraction of the variance observed in the data (i.e., R2 < 1). Therefore, without an estimate of the noise ceiling, it is impossible to assess whether a model fails to reach an R2 close to 1 due to limitations in the model or the underlying measurement. This concept is not specific to brain imaging and can be applied to any measurement that is known to be noisy. Using noise ceiling estimates to evaluate models of implicit biases is appropriate because implicit biases are high entropy attitudes73 and hence inherently more difficult to measure.
In order to estimate the noise ceiling, we computed the correlation between IAT bias measures between halves for 500 split permutations of individual IAT participants in each year. The upper bound of the noise ceiling was estimated by averaging the correlations between each half and the full sample, while the lower bound of the noise ceiling was estimated by correlating IAT bias between the two halves of each split half55,56.
Measures of residential segregation
As in our related work32, all analyzes were conducted across four different measures of residential segregation74 in order to ensure that the results were not sensitive to any specific metric. Each of these measures has its own drawbacks and benefits. Each one differs with respect to how changes in the spatial distribution of the population affect the measure and how the measure behaves with respect to an uneven distribution of population throughout the city.
These measures included the mean deviance measure:
with g indexing group, m indexing neighborhood, and i indexing city. This can be interpreted as the percentage of each group that would have to change residences to produce an even distribution throughout a city. However, the movement of people between neighborhoods that are above the mean for that group does not change this measure. In other words, the movement of individuals between two neighborhoods that have a higher percentage of Black (or White) residents than the city as a whole will not impact this measure. In addition, this measure does not account for cases in which some neighborhoods have a much larger share of the population.
The normalized segregation index:
which is a normalized version of the mean deviance measure that takes into account the fact the different neighborhoods can have different population sizes.
The Gini Coefficient:
which can be interpreted as measuring the proportion of individuals of the other group experienced by group g. Unlike the mean deviance measure it is sensitive to redistribution among neighborhoods above or below the population mean demographics.
Finally, the exposure Bgg index, also known as the correlation ratio (CR or η2) or the mean squared deviation:
This measure attempts to capture the probabilities of random members of each group interacting given the demographic distribution. It accounts for both neighborhood size and the movement of individuals between neighborhoods above and below the mean.
Controlling for individual demographics
In order to control for individual demographics of IAT respondents, we transformed the individual bias responses into an indicator for Dbiep > 0. This variable thus indicates whether the individual respondent had a positive bias for White faces or not. For each year, a logistic regression was performed that included the city-level variables of the natural logarithm of population, the majority groups size adjustment, and the segregation adjustment, and the individual level variables of race, educational attainment and birth sex. The 14-point educational attainment scale included with the IAT data, edu_14, was recoded into three categories of “High School Graduate or Below", “Some College or College Graduate", and “Advanced Degree". For some years there were no respondents in the “High School Graduate or Below" category, in which case that variable was excluded from analyzes. Self-reported racial demographics (raceomb before 2016 and raceomb_002 afterwards) was recoded to three categories of White, Black, and Multiracial, with other races and unknown combined as the base category.
Comparison to previous results associating area deprivation with racial IAT responses
We downloaded the average maximum heat index (HI) in degrees Celsius for U.S. counties from the North America Land Data Assimilation System Daily Air Temperatures and Heat Index 1979-2011 database. This was the strongest predictor of between-city differences in implicit racial bias levels in a previously published analysis53. The maximum heat index was averaged across counties within each CBSA.
Those analyzes used a kitchen-sink approach with regularizing regressions to determine which variables were relevant to predicting these differences between cities. Since the variables identified there are indicative of levels of environmental, social, and economic disadvantage, we additionally evaluated the relevance of the Area Deprivation Index (ADI) to between-city differences in implicit racial bias. The ADI summarizes neighborhood variation in socioeconomic indicators at small spatial units down to the census block level and includes factors related to income, educational attainment, employment, and housing quality75. We averaged nationally anchored ADI values at the county level across all counties in each CBSA.
In order to determine the effects of these measures of neighborhood disadvantage on implicit racial biases we conducted separate OLS regressions including city size, the diversity adjustment, the segregation adjustment, and the ADI or HI. Since ADI and HI data are not available for all CBSAs, we additionally conducted regressions without the ADI and HI included, but with the reduced sample size for which these data are available. We note that in those regressions with a reduced sample size, but without the inclusion of the ADI or HI the variance explained by city size, the diversity adjustment, the segregation adjustment are higher than in the full sample, and outperform previous analyzes which only include measures of neighborhood disadvantage53.
Estimates of the learning rate
Independent empirical estimates of the learning rate, α, which governs the coupling between inter-group interactions and bias levels, were obtained directly from the two-step OLS regressions described in Equations (5) and (7). From Equation (5) we obtain an estimate of \({\hat{\alpha }}_{scaling}=\frac{{\beta }_{1}}{\delta }\). Confidence intervals for \({\hat{\alpha }}_{scaling}\) were obtained from the OLS confidence intervals for β1. We note there may be other effects besides learning such as top-down hierarchical structures and variations in growth rates that may additionally contribute to differences in the empirical scaling exponent β1 from the expected value of \(\delta=\frac{1}{6}\). In addition, we obtain a second, independent estimate of the learning rate: \({\hat{\alpha }}_{diversity}={\beta }_{2}\) based on Equation (3) of the main text.
Results from experimental interventions designed to simulate inter-group contact were used to further validate and bound these estimates of α. We calculated the relative reduction in IAT Dbiep scores pre- and post-intervention for 18 different systematic interventions of various strength25,76. These interventions included having participants read stories of various lengths and vividness designed to affirm “White-bad" and “Black-good" associations, modifying the IAT to include additional “Black-good" and “White-bad blocks", simulating competition with White opponents and cooperation with Black teammates, having participants read about threatening scenarios and shown images of friends in those scenarios and reminding participants of prominent Black athletes positives contributions to society25,26. Importantly, all of these interventions occurred directly between IAT tests and are all positive in nature. In reality, inter-group interactions may not always be positive in nature, and they play out continuously at potentially irregular intervals relative to when a given individual makes a judgment or decision that is influenced by implicit racial biases. Consequently, these experimental interventions can be interpreted as an upper bound on the effects of one additional inter-group interaction when that interaction happens immediately before implicit bias levels are assessed.
Granger causality analyzes
In order to evaluate evidence for temporal precedence between structural factors and implicit bias levels we employed Granger causality analyzes59 as implemented in the python statsmodels library. These tests start by fitting a linear regression of one of the three variables of interest (population, diversity, and segregation) and implicit bias levels for a single city using 10 years of data. Next, another linear regression is fit with one variable lagged in time against the other variable. Evidence that changes in the lagged variable preceded changes in the other variable is evaluated based on an F-statistic calculated by the percent change in the squared residuals from the lagged model from the sum of squared residuals of the non-lagged model. This statistic is adjusted for the number of comparisons and the degrees of freedom to obtain an F-statistic and p-value. We conducted this analysis across all 43 cities with 10 years of data and for each choice of which variable to lag. We repeated this for lags of 1, 2, and 3 years.
To summarize the results, we computed the percent of the 43 cities that show evidence (p < . 05) for temporal precedence at each lag. Confidence intervals were computed by bootstrapping these percentages with replacement and computing the standard error. To combine evidence across the four segregation measures used, we averaged the percent for each measure and combined the standard errors according to:
where σi are the standard errors computed for each segregation measure.
Reporting summary
Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.
Data availability
All data needed to evaluate the conclusions in the paper are present in the paper, the Supplementary Materials, or are publicly available. Source data are provided with this paper. IAT data can be found at: https://doi.org/10.5334/jopd.ac. U.S. Census data can be found at: https://data.census.gov. CBSA delineation files can be found at: https://www.census.gov/programs-surveys/metro-micro/about/delineation-files.html. ADI data can be found at: https://www.neighborhoodatlas.medicine.wisc.edu/. North America Land Data Assimilation System Daily Air Temperatures and Heat Index data can be found at: https://wonder.cdc.gov/nasa-nldas.html. All data has been obtained according to the terms and conditions of the websites hosting them. Source data are provided with this paper.
Code availability
All code needed to reproduce the analyzes included in this manuscript can be found at https://github.com/enlberman/implicit_biases_cities77 (https://doi.org/10.5281/zenodo.10258104).
References
Bettencourt, LuísM. A. The origins of scaling in cities. Science 340, 1438–1441 (2013).
Bettencourt, L. M. Introduction to urban science: evidence and theory of cities as complex systems. MIT Press, (2021).
Molinero, C. & Thurner, S. How the geometry of cities determines urban scaling laws. J. R. Soc. Interface 18, 20200705 (2021).
Schläpfer, M. et al. The scaling of human interactions with city size. J. R. Soc. Interface 11, 20130789 (2014).
Oliveira, M., Bastos-Filho, C. & Menezes, R. The scaling of crime concentration in cities. PloS one 12, e0183110 (2017).
Lobo, J., Bettencourt, LuisM. A., Smith, M. E. & Ortman, S. Settlement scaling theory: Bridging the study of ancient and contemporary urban systems. Urban Stud. 57, 731–747 (2020).
Dunham, Y., Baron, AndrewScott & Banaji, M. R. From American city to Japanese village: A cross-cultural investigation of implicit race attitudes. Child Dev. 77, 1268–1281 (2006).
Dehon, E. et al. A systematic review of the impact of physician implicit racial bias on clinical decision making. Academic Emerg. Med. 24, 895–904 (2017).
Jacoby-Senghor, D. S., Sinclair, S. & Shelton, J. N. A lesson in bias: the relationship between implicit racial bias and performance in pedagogical contexts. J. Exp. Soc. Psychol. 63, 50–55 (2016).
Ziegert, J. C. & Hanges, P. J. Employment discrimination: the role of implicit attitudes, motivation, and a climate for racial bias. J. Appl. Psychol. 90, 553 (2005).
Ekstrom, P. D., Le Forestier, J. M. & Lai, C. K. Racial demographics explain the link between racial disparities in traffic stops and county-level racial attitudes. Psychological Sci. 33, 497–509 (2022).
Hehman, E., Flake, J. K. & Calanchini, J. Disproportionate use of lethal force in policing is associated with regional racial biases of residents. Soc. psychological Personal. Sci. 9, 393–401 (2018).
Chae, D. H. et al. The role of racial identity and implicit racial bias in self-reported racial discrimination: Implications for depression among african american men. J. Black Psychol. 43, 789–812 (2017).
Chae, D. H., Nuru-Jeter, A. M. & Adler, N. E. Implicit racial bias as a moderator of the association between racial discrimination and hypertension: a study of midlife african american men. Psychosom. Med. 74, 961 (2012).
Baron, AndrewScott & Banaji, M. R. The development of implicit attitudes: evidence of race evaluations from ages 6 and 10 and adulthood. Psychological Sci. 17, 53–58 (2006).
Gibson, B. L., Rochat, P., Tone, E. B. & Baron, A. S. Sources of implicit and explicit intergroup race bias among african-american children and young adults. PloS one 12, e0183015 (2017).
Kubota, J. T., Banaji, M. R. & Phelps, E. A. The neuroscience of race. Nat. Neurosci. 15, 940–948 (2012).
Amodio, D. M. The neuroscience of prejudice and stereotyping. Nat. Rev. Neurosci. 15, 670–682 (2014).
Cloutier, J., Li, T., Mišić, B., Correll, J. & Berman, M. G. Brain network activity during face perception: the impact of perceptual familiarity and individual differences in childhood experience. Cereb. Cortex 27, 4326–4338 (2017).
Brosch, T., Bar-David, E. & Phelps, E. A. Implicit race bias decreases the similarity of neural representations of black and white faces. Psychological Sci. 24, 160–166 (2013).
Payne, B. K. & Vuletich, H. A. Policy insights from advances in implicit bias research. Policy Insights Behav. Brain Sci. 5, 49–56 (2018).
Jackson, S. M., Hillard, A. L. & Schneider, T. R. Using implicit bias training to improve attitudes toward women in stem. Soc. Psychol. Educ. 17, 419–438 (2014).
Boscardin, C. K. Reducing implicit bias through curricular interventions. J. Gen. Intern. Med. 30, 1726–1728 (2015).
Gonzalez, A. M., Steele, J. R. & Baron, A. S. Reducing children’s implicit racial bias through exposure to positive out-group exemplars. Child Dev. 88, 123–130 (2017).
Lai, C. K. et al. Reducing implicit racial preferences: I. a comparative investigation of 17 interventions. J. Exp. Psychol.: Gen. 143, 1765 (2014).
Lai, C. K. et al. Reducing implicit racial preferences: Ii. intervention effectiveness across time. J. Exp. Psychol.: Gen. 145, 1001 (2016).
Payne, B. K. & Hannay, J. W. Implicit bias reflects systemic racism. Trends Cogn. Sci. 25, 927–936 (2021).
De Houwer, J. Implicit bias is behavior: a functional-cognitive perspective on implicit bias. Perspect. Psychological Sci. 14, 835–840 (2019).
Vuletich, H. A. & Payne, B. K. Stability and change in implicit bias. Psychological Sci. 30, 854–862 (2019).
Payne, B. K., Vuletich, H. A. & Brown-Iannuzzi, J. L. Historical roots of implicit bias in slavery. Proc. Natl Acad. Sci. 116, 11693–11698 (2019).
Bettencourt, LuísM. A., Lobo, José, Strumsky, D. & West, G. B. Urban scaling and its deviations: Revealing the structure of wealth, innovation and crime across cities. PloS one 5, e13541 (2010).
Stier, A. J., Sajjadi, S., Bettencourt, L. M., Karimi, F. and Berman, M. G. Effects of racial segregation on economic productivity in u.s. cities. arXiv, (2022).
Jacoby-Senghor, D. S., Sinclair, S. & Smith, ColinTucker When bias binds: effect of implicit outgroup bias on ingroup affiliation. J. Personal. Soc. Psychol. 109, 415 (2015).
Wimmer, A. & Lewis, K. Beyond and below racial homophily: Erg models of a friendship network documented on facebook. Am. J. Sociol. 116, 583–642 (2010).
Laurence, J. The effect of ethnic diversity and community disadvantage on social cohesion: A multi-level analysis of social capital and interethnic relations in UK communities. Eur. Sociological Rev. 27, 70–89 (2011).
Pettigrew, T. F., Christ, O., Wagner, U. & Stellmacher, J. Direct and indirect intergroup contact effects on prejudice: A normative interpretation. Int. J. intercultural Relat. 31, 411–425 (2007).
Allport, G. W., Clark, K. and Pettigrew, T. The nature of prejudice. Addison-wesley Reading, MA, (1954).
Wagner, U., Van Dick, R., Pettigrew, T. F. & Christ, O. Ethnic prejudice in east and west germany: The explanatory power of intergroup contact. Group Process. Intergroup Relat. 6, 22–36 (2003).
Wagner, U., Christ, O., Pettigrew, T. F., Stellmacher, J. & Wolf, C. Prejudice and minority proportion: Contact instead of threat effects. Soc. Psychol. Q. 69, 380–390 (2006).
Crossman, EdwardR. F. W. A theory of the acquisition of speed-skill. Ergonomics 2, 153–166 (1959).
Woźniak, P. A., Gorzelańczyk, E. J. & Murakowski, J. A. Two components of long-term memory. Acta neurobiologiae experimentalis 55, 301–305 (1995).
Murre, JaapM. J. & Dros, J. Replication and analysis of ebbinghaus’ forgetting curve. PloS one 10, e0120644 (2015).
Van der Zwaan, B. & Rabl, A. Prospects for pv: a learning curve analysis. Sol. energy 74, 19–31 (2003).
Cesaretti, R., Lobo, José, Bettencourt, LuísM. A., Ortman, S. G. & Smith, M. E. Population-area relationship for medieval european cities. PloS one 11, e0162678 (2016).
Bettencourt, LuisM. A. Urban growth and the emergent statistics of cities. Sci. Adv. 6, eaat8812 (2020).
Xu, K., Nosek, B. and Greenwald, A. Psychology data from the race implicit association test on the project implicit demo website. J. Open Psychol. Data 2, 1 (2014).
Stier, A. J. et al. Reply to huth et al.: Cities are defined by their spatially aggregated socioeconomic networks. Proc. Natl Acad. Sci. USA 119, e2119313118 (2022).
Hehman, E., Calanchini, J., Flake, J. K. & Leitner, J. B. Establishing construct validity evidence for regional measures of explicit and implicit racial bias. J. Exp. Psychol.: Gen. 148, 1022 (2019).
Catney, G. Has neighbourhood ethnic residential segregation decreased? In Ethnic Identity and Inequalities in Britain, pages 109–122. Policy Press, (2015).
Ellis, M., Holloway, S. R., Wright, R. & East, M. The effects of mixed-race households on residential segregation. Urban Geogr. 28, 554–577 (2007).
Schelling, T. C. Dynamic models of segregation. J. Math. Sociol. 1, 143–186 (1971).
Schelling, T. C. Micromotives and macrobehavior. WW Norton & Company, (2006).
Hehman, E., Ofosu, E. K. & Calanchini, J. Using environmental features to maximize prediction of regional intergroup bias. Soc. Psychological Personal. Sci. 12, 156–164 (2021).
Tucker, R. et al. Who ‘tweets’ where and when, and how does it help understand crime rates at places? measuring the presence of tourists and commuters in ambient populations. J. Quant. Criminol. 37, 333–359 (2021).
Storrs, K. R., Khaligh-Razavi, S.-M. and Kriegeskorte, N. Noise ceiling on the crossvalidated performance of reweighted models of representational dissimilarity: Addendum to khaligh-razavi & kriegeskorte (2014). BioRxiv, (2020).
Nili, H. et al. A toolbox for representational similarity analysis. PLoS computational Biol. 10, e1003553 (2014).
Schnabel, K., Asendorpf, J. B. & Greenwald, A. G. Assessment of individual differences in implicit cognition: A review of iat measures. Eur. J. Psychological Assess. 24, 210 (2008).
Rentfrow, P. J., Gosling, S. D. & Potter, J. A theory of the emergence, persistence, and expression of geographic variation in psychological characteristics. Perspect. Psychological Sci. 3, 339–369 (2008).
Granger, C. W.J. Investigating causal relations by econometric models and cross-spectral methods. Econometrica: journal of the Econometric Society, pages 424–438, (1969).
Payne, B. K., Vuletich, H. A. & Lundberg, K. B. The bias of crowds: how implicit bias bridges personal and systemic prejudice. Psychological Inq. 28, 233–248 (2017).
Lee, E. et al. Homophily and minority-group size explain perception biases in social networks. Nat. Hum. Behav. 3, 1078–1087 (2019).
Stier, A. J. et al. Evidence and theory for lower rates of depression in larger us urban areas. Proc. Natl Acad. Sci. 118, e2022472118 (2021).
Bettencourt, LuisM. A., Lobo, José & Strumsky, D. Invention in the city: increasing returns to patenting as a scaling function of metropolitan size. Res. policy 36, 107–120 (2007).
Richeson, J. A., Trawalter, S. & Shelton, J. N. African americans’ implicit racial attitudes and the depletion of executive function after interracial interactions. Soc. Cognition 23, 336–352 (2005).
Hugenberg, K. & Bodenhausen, G. V. Facing prejudice: implicit prejudice and the perception of facial threat. Psychological Sci. 14, 640–643 (2003).
Greenwald, A. G., Banaji, M. R. & Nosek, B. A. Statistically small effects of the implicit association test can have societally large effects. J. Personal. Soc. Pyschology 108, 553–561 (2015).
Kramer, M. R. & Hogue, C. R. Is segregation bad for your health? Epidemiol. Rev. 31, 178–194 (2009).
Bak-Coleman, J. B. et al. Stewardship of global collective behavior. Proc. Natl Acad. Sci. 118, e2025764118 (2021).
Dalege, J., Borsboom, D., van Harreveld, F., Waldorp, L. J. & van der Maas, HanL. J. Network structure explains the impact of attitudes on voting decisions. Sci. Rep. 7, 1–11 (2017).
Galesic, M., Olsson, H., Dalege, J., van der Does, T. & Stein, D. L. Integrating social and cognitive aspects of belief dynamics: towards a unifying framework. J. R. Soc. Interface 18, 20200857 (2021).
Dalege, J. & van der Does, T. Using a cognitive network model of moral and social beliefs to explain belief change. Sci. Adv. 8, eabm0137 (2022).
Greenwald, A. G., Nosek, B. A. & Banaji, M. R. Understanding and using the implicit association test: I. an improved scoring algorithm. J. Personal. Soc. Psychol. 85, 197 (2003).
Dalege, J. & van der Maas, HanL. J. Accurate by being noisy: a formal network model of implicit measures of attitudes. Soc. Cognition 38, s26–s41 (2020).
White, M. J. Segregation and diversity measures in population distribution. Population index, pages 198–221, (1986).
Kind, AmyJ. H. & Buckingham, W. R. Making neighborhood-disadvantage metrics accessible-the neighborhood atlas. N. Engl. J. Med. 378, 2456 (2018).
Lage-Castellanos, A., Valente, G., Formisano, E. & De Martino, F. Methods for computing the maximum performance of computational models of fmri responses. PLoS Comput. Biol. 15, e1006397 (2019).
Stier, A. J., Sajjadi, S., Bettencourt, L., Karimi, F. and Berman, M. G. Implicit racial biases are lower in more populous more diverse and less segregated US Cities. implicit_biases_cities, https://doi.org/10.5281/zenodo.10258104 (2023).
Acknowledgements
This work is partially supported by NSF-2106013 that benefited A.J.S., S.S., and F.K. and S&CC-1952050 to M.G.B. S.S. was supported by the Austrian research agency (FFG) under project No. 873927 ESSENCSE. F.K. was partly supported by the EU Horizon Europe project MAMMOth (Grant Agreement 101070285). The authors thank Shige Oishi and Nicholas Epley for their helpful discussions during the preparation of the manuscript.
Author information
Authors and Affiliations
Contributions
A.J.S., L.M.A.B., and M.G.B. designed research; A.J.S. performed research; M.G.B. supervised research; and A.J.S., S.S., F.K., L.M.A.B., and M.G.B. wrote the paper.
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing interests.
Peer review
Peer review information
Nature Communications thanks the anonymous reviewers for their contribution to the peer review of this work. A peer review file is available.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Source data
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Stier, A.J., Sajjadi, S., Karimi, F. et al. Implicit racial biases are lower in more populous more diverse and less segregated US cities. Nat Commun 15, 961 (2024). https://doi.org/10.1038/s41467-024-45013-8
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41467-024-45013-8