Abstract
We discuss the structure of human relationship patterns in terms of a new formalism that allows to study resource allocation problems where the cost of the resource may take continuous values. This is in contrast with the main focus of previous studies where relationships were classified in a few, discrete layers (known as Dunbar’s circles) with the cost being the same within each layer. We show that with our continuum approach we can identify a parameter \(\eta \) that is the equivalent of the ratio of relationships between adjacent circles in the discrete case, with a value \(\eta \sim 6\). We confirm this prediction using three different datasets coming from phone records, face-to-face contacts, and interactions in Facebook. As the sample size increases, the distributions of estimated parameters smooth around the predicted value of \(\eta \). The existence of a characteristic value of the parameter at the population level indicates that the model is capturing a seemingly universal feature on how humans manage relationships. Our analyses also confirm earlier results showing the existence of social signatures arising from having to allocate finite resources into different relationships, and that the structure of online personal networks mirrors those in the off-line world.
Similar content being viewed by others
Introduction
Human relationships show clear organizational patterns. Numerous studies reveal that we structure our personal relationships into groups (also known as circles) whose inclusive sizes follow an approximately geometric progression with a scale factor of 31,2,3,4,5,6: 5, 15, 50, and 150 (evidence for yet another circle of size approximately 500 has been provided recently7). These circles display marked differences regarding emotional closeness and time devoted to relationships, which correlate with one another8,9,10. Of all the time we dedicate to our social life, approximately \(40\%\) is devoted to people in our most intimate circle (support clique), \(20\%\) to close relationships (sympathy group), and the remaining \(40\%\) to the rest of relationships1—progressively devoting less to those more distant. In addition, maintaining social relationships is not only costly from the perspective of the time they require, but it is also costly in cognitive terms. Studies combining neuroimaging techniques and cognitively demanding tasks show that individual differences in the volume of the orbitofrontal cortex (a specific region of the neocortex) explained differences in mentalising skills, and those, in turn, were able to explain differences in network size11.
The connection between the hierarchical structure of personal networks and the costs associated to maintaining them has recently been formalized as a simple model of resource allocation12. This model is based on two strong and robust empirical observations. Firstly, the number of relationships a person has, \({\mathscr {L}}\), tends to be stable over time13. Secondly, there are different costs to maintaining different types of relationships8,14,15, and the total cognitive resources we apply to them, \({\mathscr {S}}\), are limited. The maximum entropy principle16 is then used to add that information to a multinomial prior, and the result is a posterior distribution that measures the likelihood of different allocations of resources to relationships characterised with different costs (see Ref.12 for details). Generally, this distribution agrees with the organization of relationships in circles as empirically observed. The comparison of the model introduced in Ref.12 to the available data on real social systems requires treating relationships as a set of r discrete categories (layers) that are defined based on their intensity. Circles are then defined as the union of layers up to a given intensity. This approach is particularly convenient when intensity is measured in Likert scales, as it is often the case when data is obtained via questionnaires.
There are, however, alternative ways of measuring tie strength which do not rely on a discrete scale like the one used with the circles. Good examples are frequency of contact9, time spent together17, or number of messages (information) exchanged4,13. Even though some of these quantities could be technically regarded as discrete, the fact that they consist of hugely many possibilities makes this viewpoint rather impractical. More importantly, these measures do not have clear upper and lower bounds (what is the shortest duration of a call to be considered a contact?) that play the role of first and last layers, respectively. This calls for a more general version of the model that would allow us to consider intensities of high granularity, possibly continuum. On the other hand, such a model would be conceptually very general in so far as many resource allocation problems are of a continuous or quasi-continuous nature.
The purpose of this paper is therefore to introduce a general model in which the allocated amount of resource can take any positive real number. After going through the description of the model and its mathematical study, we apply it to three different datasets in which the intensity of personal relationships is measured with continuous variables: face to face contact time18, number of messages between Facebook users19, and number of phone calls exchanged13. Our analyses unveil the existence of a structure similar to that found when intensities are considered as discrete categories, thus showing that there is no need to exogenously categorize the data to understand its structure. More importantly, we prove the existence of a new universal scale parameter \(\eta \), which replaces (and is consistent with) the scale factor \(\sim 3\) ubiquitously found in the discrete scenario with social relationships.
Model description
We introduce our model from a completely abstract viewpoint, by starting from an individual that must distribute a limited amount of some resource among an assortment of N different choices. We will denote by \({\mathscr {L}}\) the average number of different choices the individual makes and by \({\mathscr {S}}\) the average amount of resource invested in them (irrespective of which magnitude we use to measure it). In the particular example of the ego-networks that we will explore in more depth here, \({\mathscr {L}}\) represents links to alters and \({\mathscr {S}}\) the individual’s cognitive resources devoted to keep those links. At this point, however, we are not concerned by the precise nature of these two magnitudes, only with their existence and their limited values.
For the time being, let us assume that all possible choices can be classified within r different categories, each of them bearing a different cost (in terms of resource invested) \(s_{\mathrm{max}}=s_1>s_2>\cdots >s_r=s_{\mathrm{min}}\). A maximum entropy analysis shows that the probability that an individual chooses \(\ell _k\) elements within the category k (\(k=1,\dots ,r\)) is given by12
where \({\mathscr {B}}(L,{\mathscr {L}}/N,N)\) is the binomial distribution for the total number of choices, and
Here \(\delta (x,y)=1\) if \(x=y\) and 0 otherwise, and the parameter \({{\hat{\mu }}}={{\hat{\mu }}}(\sigma )\) is determined by the equation
The cost is the only variable that distinguishes different choices, so in order to make discrete categories it is natural to split the whole range of costs uniformly. Thus,
with \(k=1\) (\(k=r\)) corresponding to the most (least) costly category, following the standard convention used in previous studies. Substituting this form for \(s_k\) into the probability distribution (2) we obtain
with \(\mu \equiv {\hat{\mu }}(s_{max}-s_{min})/(r-1)\).
This is nothing but the probability distribution of links in an ego-network that was obtained in Ref.12, but our goal is to describe a continuum of levels, not these discrete categories. To that purpose we need to take the limit \(r\rightarrow \infty \) appropriately: levels will now be described by a continuous index \(t\equiv (k-1)/(r-1)\in [0,1]\). Notice that \(t=0\) corresponds to \(s_{max}\) and \(t=1\) to \(s_{min}\), so the parameter t can also be interpreted as a sort of ‘distance’ to the corresponding choice. As a matter of fact, it is possible to parameterize everything in terms of cost rather than distance, by introducing \(s=1-t\).
In the same limit of infinitely many categories, \(r\ell _k\rightarrow \ell (t)\), so that \(\ell _k\) gets transformed into a density of links \(\ell (t)\,dt\). Accordingly,
where \(\eta \equiv \mu (r-1)={\hat{\mu }}(s_{max}-s_{min})\). Furthermore, when the number of layers r is large, the probability that two individuals belong to the same category goes to zero, so \(\ell _k\) should be either 0 or 1 for all k. This implies that \(\left( {\begin{array}{c}L\\ {\varvec{\ell }}\end{array}}\right) \rightarrow L!\).
In order to proceed now with the distribution of links (5), it has to be realized that in this limit it becomes quite an unmanageable object—a path integral. There are two ways to circumvent this technical problem. The first one amounts to calculating the limit of averages. For the second one we should realise that, in the limit \(r\rightarrow \infty \), the only dependence on \(\ell (t)\) is through the moment \(L_1\), so instead of dealing with a limit of (5) it is better to take the limit of the probability distribution
where \(W(L,L_1)\) is a factor that only depends on L and \(L_1\) and whose specific form does not concern us at this point. The first approach will be useful to obtain the expected distribution of choices as a function of their costs; with the second one we will derive a Bayesian estimate of the parameter \(\mu (\sigma )\) in the limit \(r\rightarrow \infty \).
A continuum version
Using the distribution (5) it is possible to calculate \(\varepsilon _k\), the expected number of choices from category k, as well as \(\chi _k\), the expected number of choices with costs larger than or equal to that of category k. The latter is what in the literature of ego-networks is referred to as a social “circles”20. It is straightforward to obtain the expression12
Taking the limit \(r\rightarrow \infty \) transforms these expected values into their continuous counterparts:
In particular, \(\chi (t)\) is the fraction of links whose “distance” to the individual is not larger than t. Finally, we must find the relationship between the continuum parameter \(\eta \) and the discrete parameter \(\sigma \). In order to do that, we start off from Eq. (3) which, after substituting (4), becomes
The continuum limit (\(r\rightarrow \infty \), \(\mu \rightarrow 0\) with \(\eta =\mu (r-1)=\text {constant}\)) of this expression yields
an implicit equation whose solution provides the sought for dependence \(\eta =\eta (\sigma )\). Notice that
and since \(g'(\eta )>0\) for all \(\eta \in {\mathbb {R}}\), Eq. (11) has a unique solution for any \(0<t<1\). As a matter of fact, \(\eta =0\) for \(t=1/2\), whereas \(\eta >0\) for \(t>1/2\) and \(\eta <0\) for \(t<1/2\)—hence \(\eta '(t)>0\) (see the plot of \(g(\eta )\) in Fig. 1).
Connection with the theory of ego-networks
With the calculations above, we are now in a position to obtain a quantitative estimate of the parameter \(\eta \) that determines the distribution in the continuum, for the specific application to Dunbar’s social circles in this limit. Recall that in the social circles interpretation the choices are links to alters of an ego, cost means cognitive cost, and the categories describe layers of emotional closeness of the corresponding relationships.
For large values of \(\mu \), Eq. (8) behaves as
This shows, on the one hand, that in the ordinary regime (\(\mu >0\)) the circles (quantified by \(\chi _k\)) satisfy an approximate scaling relation, and on the other hand, that in the so-called “inverse” regime (\(\mu <0\)) the closest circle becomes overpopulated. Both behaviours have been properly documented in the literature4,5,12,21,22.
The corresponding analysis for the continuum model requires that we determine the asymptotic behaviour, for large \(\eta \), of the logarithmic derivative of \(\chi (t)\), namely
As the discrete version of the left-hand side is \((\chi _{k+1}-\chi _k)/\chi _k\Delta t\), a comparison between (13) and (14) in the ordinary regime leads to \(\eta \Delta t\approx e^{\mu }-1\). Since \(\Delta t\approx (r-1)^{-1}\), we obtain the equivalence
Equation (14) reveals that \(\eta \) is the true underlying scaling factor of the circles. Therefore, the equivalence just derived implies that the value of \(\mu \) in the discrete model must depend on the total number of circles r. This fact has been overlooked in previous analysis of the original circles model because of the implicitly assumption that there are \(r=4\) circles in the structure of ego-networks4. If we set \(r=4\) in (15) and input the empirical scaling observed in this model \(e^{\mu } \approx 3\)4, we conclude that the scaling to be expected in a continuous setting of social relationships must be \(\eta \approx 6\). This is a concrete prediction of the continuum model that needs to be tested against actual data.
Data analysis
In this section we will explore how this continuous model compares to actual data. We will use three datasets for this comparison: phone calls13, face-to-face contacts18, and interactions between Facebook users19. But before that we need to develop a formalism to make the fits and determine their confidence intervals.
Bayesian estimate of the scaling parameter
Starting from (7) and assuming a noninformative uniform prior for \(\mu \), it follows that, up to a normalising constant,
In the continuum limit and using the definitions (6),
where
The limiting distribution (17) allows us to obtain \(\eta \) for any dataset as the maximum-likelihood estimate. Differentiating
with respect to \(\eta \) leads to the equation
Comparing this equation to (11) provides the interpretation
As in the discrete case, Eq. (21) enables us to estimate the value of the parameter \(\eta \) given the total cost per item \(\sigma \) from a set of empirical data. There is an important difference though: we now need to set the scale of costs, namely the values of \(s_{\mathrm{max}}\) and \(s_{\mathrm{min}}\), using additional information on the dataset—a problem that did not arise in the discrete case because the first and last categories were fixed. Remember that \(s_{\mathrm{max}}\) defines the largest possible cost that one can invest in one item, whereas \(s_{\mathrm{min}}\) defines the least possible such cost. Once these parameters are known, t is estimated as
where the \(s_i\) are the costs associated to each of the items \(i=1,\dots ,{{{\tilde{L}}}}\), measured in the same units as \(s_{\mathrm{max}}\) and \(s_{\min }\).
For the confidence interval of the maximum-likelihood estimate of \(\eta \) we need to introduce the function
Then the \(1-2\delta \) confidence interval for \(\eta \), given \({\tilde{L}}\) and \({\tilde{L}}_{1}\), is obtained through the cumulative distribution
More precisely, the confidence interval \([\eta _-,\eta _+]\) is determined by solving the equations \(\Gamma (\eta _-|{\tilde{L}},{\tilde{L}}_{1})=\delta \), and \(\Gamma (\eta _+|{\tilde{L}},{\tilde{L}}_{1})=1-\delta \) (see "Methods" for numerical details). In what follows we choose a \(95\%\) confidence interval using \(\delta = 0.025\).
Mobile phones dataset
We have obtained the first dataset to analyse from Ref.13 (actually, data were originally collected for another study23). This dataset contains the phone activity of 24 individuals during 18 months. At the beginning of the study, all participants (12 males, 12 females, ages 17-19) were in their final year of secondary school, so that about six months later they transitioned into either university (18 of them) or labour market. The data from the phones (which were given for free to the participants along with 500 free monthly voice minutes and unlimited text messages) were complemented with three questionnaires, one at the beginning of the study, another one at the end of month 9, and a last one at the end of month 18. With this information, the authors were able to merge phone numbers that belonged to the same person, and, most importantly, to conclude that the number of calls was a reliable estimate of the emotional closeness of the relationships (see Ref.13 for details).
In the original study, the communication patterns of the participants were analysed by dividing the dataset into three time intervals (\(T_1\), \(T_2\), and \(T_3\)) of six months each. For each time interval, the number of calls from each ego to each alter were counted and the alters were subsequently ranked based on this number. Then, the curve representing the fraction of calls as a function of the alters’ ranks is used as a fingerprint of the ego’s communication pattern. The main result of this study is that, even though the composition of personal networks varies considerably over time, these patterns are consistent across the different time windows. They named these patterns social signatures and conjectured that they were likely a consequence of a constraint on the available resources (time and cognitive skills) necessary to manage relationships.
In order to analyse these data we first aggregate them into the same time windows, so that we end up with a list (per time window) of pairs \((a_i,n_i)\) for each ego, where \(a_i\) is a given alter and \(n_i\) is the total number of calls made to that alter. As we explained in “Bayesian estimate of the scaling parameter” section, prior to fitting the model we need to determine what \(s_{\mathrm{min}}\) and \(s_{\mathrm{max}}\) are for each participant (at each time window). To that end, we first select the minimum and the maximum number of calls each ego made every month to any alter. Then, \(s_{\mathrm{min}}\) (respectively \(s_{\mathrm{max}}\)) for each time window is defined as the sum of the monthly minima (respectively maxima) along the six-month period. The rationale for these definitions is that these would have been the maximum and minimum number of calls to an alter, had this alter been the same all along the time window. Once \(s_{\mathrm{min}}\) and \(s_{\mathrm{max}}\) have been determined, we filter out any interaction below \(s_{\mathrm{min}}\) (alters receiving fewer calls do not qualify as true relationships) and fit the model as explained in “Bayesian estimate of the scaling parameter” section.
Figure 2 summarises our results. As we can see in panels A-D, the distributions of the parameter estimates are centred around values consistent with the predicted \(\eta \approx 6\) scaling (see “Connection with the theory of ego-networks” section). Additionally, the model is able to capture individual’s nuances (panels a-d), and the fittings are, generally speaking, strikingly good (see Supplementary Information for a comprehensive set of figures, including fittings for every subject within every time window). Furthermore, we find a very high, significant correlation between the estimated parameter for each ego and the number of alters in his or her network (\({\tilde{L}}\)). More precisely: \(\eta ^{T_1}\sim {\tilde{L}}^{T_1}\) (\(r=0.84,p<10^{-6}\)), \(\eta ^{T_2}\sim {\tilde{L}}^{T_2}\) (\(r=0.52,p<10^{-3}\)), \(\eta ^{T_3}\sim {\tilde{L}}^{T3}\) (\(r=0.81,p<10^{-5}\)) and \(\eta ^{T_1\cup T_2\cup T_3}\sim {\tilde{L}}^{T_1\cup T_2\cup T_3}\) (\(r=0.83,p<10^{-6}\))—Pearson’s r coefficients, 2-tailed tests. This fact further endorses the claim that the amount of resource available to form relationships is a seemingly fixed quantity that individuals spread according to the maximum entropy principle12.
Lastly, we analyse if the parameter \(\eta \) may serve as a quantitative characterisation of the social signatures. In Ref.13, the authors used the Jensen-Shannon divergence24 (JSD) to measure the shape difference (distance) between signatures. Sticking to the notation in that reference, we will denote \(d^{ij}_{ab}\) the JSD distance between the signature of ego i in time a and ego j in time b. This measure was used to compute the variation between the signatures of the same ego (i) in consecutive time windows as \(d^{ii}_{12}\equiv d^{\mathrm{self}}_{12}(i)\) and \(d^{ii}_{23}\equiv d^{\mathrm{self}}_{23}(i)\). For comparison, the authors also computed the reference distances
and found that these reference distances were consistently higher than the ones between signatures of the same ego13.
We perform a parallel analysis using the relative change between two different values of \(\eta \) as a measure of the “distance” between them. That is, using the same notation, self-distances are obtained as
whereas the reference distances are given by
We then create a distribution of self-distances \(d^{\mathrm{self}}=\bigcup _{i}^{N_{\mathrm{egos}}}\{d^{\mathrm{self}}_{12}(i),d^{\mathrm{self}}_{23}(i)\}\) as well as another one of reference distances \(d^{\mathrm{ref}}=\bigcup _{i}^{N_{\mathrm{egos}}}\{d^{\mathrm{ref}}_{22}(i),d^{\mathrm{ref}}_{33}(i)\}\) (a total of 48 points per distribution). In Fig. 3 we show the resulting distributions of self- (\(d^{\mathrm{self}}\)) and reference distances (\(d^{\mathrm{ref}}\)). The distribution \(d^{\mathrm{ref}}\) is again consistently higher than that of \(d^{\mathrm{self}}\)—which is confirmed by a Mann-Whitney U test yielding \(p<10^{-3}\) (two-sided). Therefore, the different egos tend to have a persistent value of \(\eta \) just like they have a persistent social signature. Given that the central premise of our model is that the resources available to create relationships are limited (see “Model description” section), this result reinforces the conjecture13 that the existence of social signatures is a consequence of this very constraint.
Face-to-face contacts dataset
In this section we analyse data from face-to-face interactions18 that took place during a scientific conference in Turin, Italy, in 2009 (see "Methods"). The data were collected using proximity sensors that voluntary participants (\(n=111\), about \(75\%\) of the attendees) had embedded in their conference badges. The sensors recorded interactions over intervals of 20s when two or more participants were facing each other at less than about \(1.5-2m\) (see Refs.18,25,26,27 for technical details). With this information, we can build the network of interactions for each participants using the time spent together as a proxy of the intensity of the implied relationships.
The high temporal resolution of the data permits us to characterise the values of \(s_{\mathrm{min}}\) and \(s_{\mathrm{max}}\) in several ways. One natural option is to aggregate the data over one day18, and use a similar rule to the one we applied in “Mobile phones dataset” section—that is, use the sum of the maximum time spent with any alter on each day as \(s_{\mathrm{max}}\), and the sum of the minima as \(s_{\mathrm{min}}\). However, during a conference, many different time restrictions may apply to the attendees, such as having an agenda of presentations to attend or deliver. As a consequence, the aforementioned heuristic may not apply here, since it is very likely the case that it was not entirely up to the participants with whom to spend their time at a given moment. Furthermore, we do not have any information on the interactions with the \(25\%\) of individuals who were at the venue but chose not to participate. These facts impose clear limitations to the conclusions we can draw from applying our model, and they are hardly avoidable. Therefore, we adopt a rather cautious position and do not aggregate the data on daily time windows. Instead, we simply take \(s_{\mathrm{max}}\) as the maximum time spent (and recorded) with one alter during the whole conference, and \(s_{\mathrm{min}}\) as the minimum one. Additionally, we exclude all participants who had fewer than five alters in their networks, ending up with a total of 95 valid cases.
Our results (Fig. 4a) show a long-tailed distribution for the parameter estimates with a clear peak close, once again, to the predicted \(\eta \approx 6\), which suggests that the overall behaviour of the contact patterns seems to agree with our model. However, even though some fittings are quite good (see Fig. 4b), overall they are not as good as those of the mobile phones dataset (see Fig. S6 in the Supplementary Information). For comparison, we also carried out the analysis using the same approach as in “Mobile phones dataset” section to set \(s_{\mathrm{min}}\) and \(s_{\mathrm{max}}\). Figure S5 in the Supplementary Information collects the corresponding results, showing individual fits that are slightly worse and distributions of the parameter estimates centred around a higher value (\(\eta \approx 14\)). It has to be taken into account that, as explained above, these data are inherently noisy and assessing the intensity of the relationships (or even merely of the interactions) based solely on time spent together during a conference can be misleading. Ideally, we would need this type of data but from individuals in their daily lives, so that the interactions recorded would better correspond to decisions of the individual. Nevertheless, even with the mentioned limitations, the model is still capable of capturing the patterns of face-to-face interactions to some extent.
Facebook dataset
If we compare the results from “Mobile phones dataset” and “Face-to-face contacts dataset” sections (Figs. 2a, 4a) we can appreciate how, as the sample size increases, the distribution of the parameter estimates seems to smooth around a well-defined central value \(\eta \approx 6\). If that were the case, it would be a clear indication that the parameter of the model is indeed capturing a real feature of the way individuals manage relationships. To further explore this possibility, we analyse a larger dataset of interactions in Facebook19. This dataset was obtained using a crawler on April 2008 and comprises data on roughly 3 million Facebook users and 23 million edges. Importantly, it also contains the number of interactions (photo comments or Wall posts) between users. The data is divided into four different time windows (referred to the time of the crawl): last month, last six months, last year and all—which contains all the interactions among the users since they established their links19.
To analyse the structure of the personal networks in Facebook, the authors of that study filtered the data to retain only active, relevant users from which the relative frequency of contact with all his or her alters could be adequately assessed (see Ref.19 for details). The resulting dataset contains about 90, 000 users and 4.5 million links. Applying two different clustering techniques, k-means28 and DBSCAN29, they found that the structure of personal networks of Facebook users consists of a set of 4 concentric, inclusive circles according to the intensity of their links, and that the sizes of these circles exhibited a more or less constant scaling ratio close to 3—thus, resembling what is found in offline social networks4.
Since clustering algorithms find an optimal partition of personal networks into four circles with a scaling of approximately 3, our model should yield a distribution of parameters centred around \(\eta \approx 6\). In this case, for each individual \(s_{\mathrm{max}}\) is simply given by his or her most intense interaction, and \(s_{\mathrm{min}}\) by the least intense one—with this decision, we can use the original dataset without any further pre-processing. Figure 5 confirms our hypothesis, showing a smooth distribution with \({ mean}=8.25\), \({ median}=7.17\), and \(mode=5.48\). Interestingly, the size of this sample allows us to find, for the first time, individuals exhibiting an inverse regime (\(\eta <0\)). Specifically, we find 256 users, about \(0.3\%\) of the population, exhibiting this type of structure—to be precise, only for 7 of them (\(0.007\%\)) the \(95\%\) confidence interval does not include the zero. In Fig. 5b,c we show representative fits of individuals in the standard and the inverse regime, respectively. Let us remark that not only does our model capture the typical structure of personal networks19, but it also unveils that the inverse regime12 can also be found in digital communications—in spite that this is the last environment one would expect to find it because of the usual inflation of contacts it favours.
Discussion
In this paper we have presented an extension of the discrete model of costly allocation of resources introduced elsewhere12, which treats the cost as a continuous variable. While our approach allows us to deal with any such problem of resource allocation, we have applied it to case of the structure of personal networks when the intensity of emotional links is given by a continuous magnitude (time spent with the alter, number of phone calls, messages exchanged, etc.) which cannot be naturally classified in categories or layers of intensity. We have found that the behaviour of this continuous model is qualitatively identical to that of its discrete counterpart. Remarkably, our experimental results show that the estimates of the new parameter characterising the distribution of links (\(\eta \approx 6\)) are consistent with the scaling relation between circles typically observed in discrete settings (\(\mu \approx 1\) or \(e^{\mu }\approx 3\)). Consequently, one may wonder whether the organisation of personal networks has a discrete (as empirical evidence has suggested so far) or continuous nature.
Given the abundant empirical evidence for the existence of discrete layers, we are inclined to think that the discretisation might be real—if only because of the natural human tendency to classify and the inherent difficulty to deal with the continuum. However, this discretisation will hardly be perfect and may be subject to fluctuations. Moreover, even if the (psychological) organisation of the networks were perfectly discrete, it would be difficult for all people within the same layer to receive precisely the same attention (number of calls, contact time, and so on) at all times, which would cause continuous fluctuations. Let us emphasise that under no circumstances are both results incompatible, since our (continuous) model does not assume at any time that the distribution of intensities is continuous, but only that it can be so measured. The model we have developed simply allows us to manage this type of data without having to make ad hoc assumptions on the number of layers. Importantly, the principles underlying both types of structures are indeed the same, namely that relationships are costly in terms of (cognitive) resources and that the we have a limited amount of these resources to devote to them.
The use of the continuum approach we have introduced here has its own drawbacks. Dispensing with the layers/circles allowed us to find a parameter that characterises the scaling of the distribution of resources valid in any situation, but the price to pay is that the scale in which the intensity of the relations is measured (i.e., \(s_{\mathrm{min}}\) and \(s_{\mathrm{max}}\)) has to be inferred from additional information on the problem. This creates a further challenge when fitting the data, and decisions have to be made based on plausible reasons—but there might be other possibilities. This might well be one of the reasons why the individual fittings seem to be somewhat worse than the ones obtained with the discrete model12, and it is an issue that deserves further attention.
On the other hand, it is important to realize that one of the assumptions of the model is that the effort devoted to relationships is a perfect indicator of their intensity. This must be compared with the different types of information with which we have measured these efforts (number of calls, face-to-face contact, and number of messages exchanged), which are nothing more than proxies for that effort. In particular, although contacts can be maintained using different means (phone calls, personal meetings, Facebook, etc.), in our analyses we are focusing only on one of them. Including all the data of contacts among people through any means should improve the results. Another relevant issue is that, more likely than not, all communications are not equally intense, even if their duration is the same, which is a significant source of noise for our model. In any case, given the simplicity of the model and the particularities of the data, the fits are remarkably good. Furthermore, the aggregate distribution of the parameter estimates (which might compensate for individual errors) exhibits a clear shape centred around the expected value of \(\eta \approx 6\), a remarkable result in itself that makes it clear that our relationships exhibit the signature of a resource allocation problem.
Methods
All numerical analyses are carried out in Python with the packages scipy.optimize and scipy.integrate. The documentation of these packages can be found in https://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.optimize.fsolve.html.
To compute the integrals in Eq. (24) for finite values of u we use the function quad (Python). For \(u\rightarrow \infty \) we evaluate them using a Gauss-Laguerre quadrature with 150 points. Overflows due to exponentiation are avoided by evaluating the logarithm of the integrand, and the singularity at \(\eta = 0\) is avoided by Taylor expanding \(e^{-\eta r}\) and \(e^{-\eta }\) up to third order. Likewise, the singularity at \(\eta =0\) of (20) is avoided by using the Taylor expansion \(\chi _k \approx k/r + (k/2r)(e^{\eta }-1)(k-r)\) for \(|e^{\eta }-1| \le 10^{-6}\). The extremes of the confidence interval \([\eta _{-},\eta _{+}]\) and the Eq. (20) are solved using the function fsolve with tolerance \(10^{-6}\). The code used for these analyses is publicly available30.
Data for the analysis of “Face-to-face contacts dataset” section has been downloaded from the SocioPatterns webpage31 (last accessed 24 January 2019). They register face-to-face interactions that took place during the scientific conference “Hypertext 2009: 20th ACM Conference on Hypertext and Hypermedia” (http://www.ht2009.org/), held in Turin, Italy, between June 29th and July 1st in 2009.
The Facebook dataset used to be available, upon request, at http://current.cs.ucsb.edu/socialnets/ under the name “Anonymous regional network A”. However, as of April 24, 2021, it seems that the web is no longer available. We obtained the data thanks to Prof. Ben Zhao’s kindness.
Code availability
Accession codes (where applicable).
References
Sutcliffe, A., Dunbar, R., Binder, J. & Arrow, H. Relationships and the social brain: Integrating psychological and evolutionary perspectives. Br. J. Psychol. 103, 149–168 (2012).
Dunbar, R. I. The social brain psychological underpinnings and implications for the structure of organizations. Curr. Direct. Psychol. Sci. 23, 109–114 (2014).
Hill, R. A. & Dunbar, R. I. Social network size in humans. Hum. Nat. 14, 53–72 (2003).
Dunbar, R. I., Arnaboldi, V., Conti, M. & Passarella, A. The structure of online social networks mirrors those in the offline world. Soc. Netw. 43, 39–47 (2015).
Zhou, W.-X., Sornette, D., Hill, R. A. & Dunbar, R. I. Discrete hierarchical organization of social group sizes. Proc. R. Soc. Lond. B Biol. Sci. 272, 439–444 (2005).
Dunbar, R. I. Structure and function in human and primate social networks: Implications for diffusion, network stability and health. Proc. R. Soc. A 476, 20200446 (2020).
Lubbers, M. J., Molina, J. L. & Valenzuela-García, H. When networks speak volumes: Variation in the size of broader acquaintanceship networks. Soc. Netw. 56, 55–69 (2019).
Oswald, D. L., Clark, E. M. & Kelly, C. M. Friendship maintenance: An analysis of individual and dyad behaviors. J. Soc. Clin. Psychol. 23, 413–441 (2004).
Roberts, S. G., Dunbar, R. I., Pollet, T. V. & Kuppens, T. Exploring variation in active network size: Constraints and ego characteristics. Soc. Netw. 31, 138–146 (2009).
Pollet, T. V., Roberts, S. G. & Dunbar, R. I. Going that extra mile: individuals travel further to maintain face-to-face contact with highly related kin than with less related kin. PloS ONE 8, e53929 (2013).
Powell, J., Lewis, P. A., Roberts, N., García-Fiñana, M. & Dunbar, R. I. Orbital prefrontal cortex volume predicts social network size: An imaging study of individual differences in humans. Proc. R. Soc. Lond. B Biol. Sci. 279, 2157–2162 (2012).
Tamarit, I., Cuesta, J. A., Dunbar, R. I. M. & Sánchez, A. Cognitive resource allocation determines the organization of personal networks. Proc. Natl. Acad. Sci. USA 115, 8316–8321 (2018).
Saramäki, J. et al. Persistence of social signatures in human communication. Pro. Natl. Acad. Sci. USA 111, 942–947 (2014).
Miritello, G. et al. Time as a limited resource: Communication strategy in mobile phone networks. Soc. Netw. 35, 89–95 (2013).
Dunbar, R. I. The anatomy of friendship. Trends Cogn. Sci. 22, 32–51 (2018).
Jaynes, E. T. Probability Theory: The Logic of Science (Cambridge University Press, 2003).
Mastrandrea, R., Fournet, J. & Barrat, A. Contact patterns in a high school: A comparison between data collected using wearable sensors, contact diaries and friendship surveys. PloS ONE 10, e0136497 (2015).
Isella, L. et al. What’s in a crowd? Analysis of face-to-face behavioral networks. J. Theor. Biol. 271, 166–180 (2011).
Arnaboldi, V., Conti, M., Passarella, A. & Pezzoni, F. Analysis of ego network structure in online social networks. In 2012 International Conference on and 2012 International Confernece on Social Computing (SocialCom) Privacy, Security, Risk and Trust (PASSAT), 31–40 (IEEE, 2012).
McCarty, C., Lubbers, M. J., Vacca, R. & Molina, J. L. Conducting Personal Network Research (The Guilford Press, 2019).
Dunbar, R. I. M. & Sosis, R. Optimising human community sizes. Evolut. Hum. Behav. 39, 106–111 (2018).
Lubbers, M. J., Molina, J. L. & ValenzuelaGarcía, H. When networks speak volumes: Variation in the size of broader acquaintanceship networks. Soc. Netw. 56, 55–69 (2019).
Roberts, S. G. & Dunbar, R. I. The costs of family and friends: A 18-month longitudinal study of relationship maintenance and decay. Evolut. Hum. Behav. 32, 186–197 (2011).
Lin, J. Divergence measures based on the shannon entropy. IEEE Trans. Inf. Theory 37, 145–151 (1991).
Alani, H. et al. Live social semantics. In International Semantic Web Conference, 698–714 (Springer, 2009).
Van den Broeck, W. et al. The live social semantics application: a platform for integrating face-to-face presence with on-line social networking. In 2010 8th IEEE International Conference on Pervasive Computing and Communications Workshops (PERCOM Workshops), 226–231 (IEEE Press, New York, 2010).
Cattuto, C. et al. Dynamics of person-to-person interactions from distributed rfid sensor networks. PloS ONE 5, e11596 (2010).
Wang, H. & Song, M. Ckmeans.1d. dp: Optimal k-means clustering in one dimension by dynamic programming. R J. 3, 29 (2011).
Ester, M., Kriegel, H.-P., Sander, J., Xu, X. et al. A density-based algorithm for discovering clusters in large spatial databases with noise. In Simoudis, E., Han, J. & Fayyad, U. (eds.) Proceedings of the Second International Conference on Knowledge Discovery and Data Mining, vol. 96, 226–231 (AAAI Press, Palo Alto, CA, 1996).
Tamarit, I. Code for the analyses in “Beyond Dunbar circles: a continuous description of social relationships and resource allocation”. GitHubhttps://github.com/1gnaci0/continuous-resource-allocation (2021).
SocioPatterns. DATASET: Hypertext 2009 dynamic contact network. http://www.sociopatterns.org/datasets/hypertext-2009-dynamic-contact-network (2009).
Acknowledgements
We are very thankful to Prof. Ben Zhao for granting us access to his Facebook dataset, and to Dr. Valerio Arnaboldi for sharing with us the final, curated dataset just as they used it in their paper. This research has been funded by project BASIC (PGC2018-098186-B-I00) funded by MCIN/AEI/ 10.13039/501100011033 and by “ERDF A way of making Europe”.
Author information
Authors and Affiliations
Contributions
All three authors (I.T., A.S., and J.C.) conceived the research, analysed and discussed the results and wrote the manuscript. I.T. generated the fits to the datasets and the numerical work. I.T. and J.C. developed the mathematical model.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary Information
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
Tamarit, I., Sánchez, A. & Cuesta, J.A. Beyond Dunbar circles: a continuous description of social relationships and resource allocation. Sci Rep 12, 2287 (2022). https://doi.org/10.1038/s41598-022-06066-1
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-022-06066-1
This article is cited by
-
Beyond Dunbar circles: a continuous description of social relationships and resource allocation
Scientific Reports (2022)
-
Social isolation and the brain in the pandemic era
Nature Human Behaviour (2022)
-
Chimpanzees organize their social relationships like humans
Scientific Reports (2022)
Comments
By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.