José F Fontanari1. 1. Instituto de Física de São Carlos, Universidade de São Paulo, Caixa Postal 369, 13560-970 São Carlos, São Paulo, Brazil.
Abstract
The short-term economic consequences of the critical measures employed to curb the transmission of Covid-19 are all too familiar, but the consequences of isolation and loneliness resulting from those measures on the mental well-being of the population and their ensuing long-term economic effects are largely unknown. Here we offer a stochastic agent-based model to investigate social restriction measures in a community where the feelings of loneliness of the agents dwindle when they are socializing and grow when they are alone. In addition, the intensity of those feelings, which are measured by a real variable that we term degree of loneliness, determines whether the agent will seek social contact or not. We find that decrease of the number, quality or duration of social contacts lead the community to enter a regime of burnout in which the degree of loneliness diverges, although the number of lonely agents at a given moment amounts to only a fraction of the total population. This regime of mental breakdown is separated from the healthy regime, where the degree of loneliness is finite, by a continuous phase transition. We show that the community dynamics is described extremely well by a simple mean-field theory so our conclusions can be easily verified for different scenarios and parameter settings. The appearance of the burnout regime illustrates neatly the side effects of social distancing, which give to many of us the choice between physical infection and mental breakdown.
The short-term economic consequences of the critical measures employed to curb the transmission of Covid-19 are all too familiar, but the consequences of isolation and loneliness resulting from those measures on the mental well-being of the population and their ensuing long-term economic effects are largely unknown. Here we offer a stochastic agent-based model to investigate social restriction measures in a community where the feelings of loneliness of the agents dwindle when they are socializing and grow when they are alone. In addition, the intensity of those feelings, which are measured by a real variable that we term degree of loneliness, determines whether the agent will seek social contact or not. We find that decrease of the number, quality or duration of social contacts lead the community to enter a regime of burnout in which the degree of loneliness diverges, although the number of lonely agents at a given moment amounts to only a fraction of the total population. This regime of mental breakdown is separated from the healthy regime, where the degree of loneliness is finite, by a continuous phase transition. We show that the community dynamics is described extremely well by a simple mean-field theory so our conclusions can be easily verified for different scenarios and parameter settings. The appearance of the burnout regime illustrates neatly the side effects of social distancing, which give to many of us the choice between physical infection and mental breakdown.
Even before the Covid-19 pandemic, the World Health Organization declared social disconnection a major public health challenge, since the lonely and socially isolated face heightened morbidity and mortality risks: today, lonely people are 30% more likely to die early than less lonely ones [1], [2], [3]. To address this crisis and prompted by reports that about 13% of its population feel lonely some or all of the time and that this social disconnection may be costing its economy 32 billion pounds a year [4], the United Kingdom created a Ministry of Loneliness in 2018. Japan followed suit in 2021.Against this current, the Covid-19 pandemic has brought unprecedented efforts to enforce social distancing and quarantining all over the world. While these measures are unarguably pivotal to preventing the spread of this disease, they will undoubtedly have consequences for mental health in both the short and long term. For many people today, the choice is between physical infection and mental breakdown [5], [6], [7]. Understanding those consequences from a quantitative perspective is of sufficient importance to merit a fraction of the attention spent on the mathematical and computational modeling of the Covid-19 transmission dynamics (see, e.g., [8]). In fact, given the well-established influence of positive affect on cognitive function and hence on productivity (see, e.g., [9], [10]), the long-term socio-economic implications of the Covid-19 pandemics may be far more serious than the prognoses of the economic pundits [11].Accordingly, to address the impact of social distancing on individual and population level mental health we use an agent-based model to simulate a community dynamics where the feelings of loneliness of an agent is measured by a real variable – the loneliness degree – that determines the propensity of the agent to initiate a social interaction (or conversation) as well as to terminate an ongoing interaction. The loneliness degree increases when the agent is alone and decreases when it is socializing, in agreement with the findings that positive affect increases significantly after social interaction [12], [13], [14]. Social (or, more correctly, physical) distancing is modeled by controlling the number of attempts an agent makes to find a conversation partner. More importantly, our model takes into account the quality of the social interaction that is measured by the rate at which the degree of loneliness decreases during a social interaction. In fact, a unique characteristic of the current pandemic is the wide access to technology that, in principle, might help buffer loneliness and isolation [15], [16]. However, evidence of heightened psychological problems amongst the youth in the wake of this pandemic [17] indicates that the abundance of virtual social contacts may have actually little or even negative impact on the feelings of loneliness [18] as the so-called ‘Zoom fatigue’ illustrates so nicely. Hence the quality of the social interactions matters, regardless of whether they are virtual or physical [19].Our approach builds on an agent-based model proposed to address the influence of social distancing on productivity [20]. However, in addition to the agent-based simulations, here we offer an analytical mean-field approximation that describes the simulation results very well and allows our results and conclusions to be easily verified for distinct parameter settings. Our main finding is that decrease of the number, quality or duration of social contacts lead the community to enter a regime of burnout in which the degree of loneliness diverges. This regime of mental breakdown is separated from the healthy regime, where the degree of loneliness is finite, by a continuous phase transition in the sense that the proportion of lonely agents in the community changes continuously when transitioning between those regimes. This unexpected threshold phenomenon highlights our unfamiliarity with the mental health consequences of isolation and loneliness resulting from the social distancing measures.
Model
We consider a community composed of agents that can either interact socially or remain alone depending on their feelings of loneliness. The feeling of loneliness of an agent, say agent , is measured by its loneliness degree that, in turn, determines the propensity of this agent to seek and engage in social interaction as well as to end an ongoing interaction. Here we assume that lonely people feel the need for company [2]. In addition, we assume that is affected differently depending on whether agent is alone or interacting with another member of the community. This assumption introduces a feedback between loneliness and behavior that is responsible for the nontrivial results of the model dynamics.If agent is alone then the probability that it will attempt to instigate a conversation with another lonely agent is given by , where is an arbitrary function. When the lone agent decides to instigate a conversation, it selects a number of contact attempts, where is a random variable drawn from a Poisson distribution of parameter . In each contact attempt, a mate is selected at random among the agents in the community and, in case the selected agent is alone at that moment, a conversation is initiated and the agent halts its search for a mate. If none of the selected agents are alone, then the attempt of the agent to socialize fails and it remains alone. A conversation or social interaction involves two agents only and the agent that is approached by agent is obliged to accept the interaction, regardless of its loneliness degree. This pro-social behavior is chosen in order to not further complicate the model, but it can be justified in terms of social norms especially during the current pandemic when there is a pressure to talk to everyone because one worries that they are lonely and one does not want to turn them down. Of course, this pro-social behavior is one of the causes of the Zoom fatigue. If agent is socializing then the probability that it will unilaterally interrupt the conversation is given by , where is another arbitrary function. In addition, the rate of change of the loneliness degree of agent is determined by the function if it is alone and by the function if it is socializing.The asynchronous evolution of the community of agents at time proceeds as follows. In the time interval , we pick an agent at random, say agent , and check if it is alone or socializing. In case it is alone, we change its loneliness degree according to the prescription and test if it will attempt to initiate a conversation using the socializing probability . As mentioned before, this attempt involves the selection with replacement of at most members of the community until another lone agent is found. In case agent is socializing, we change its loneliness degree according to the prescription and then check if it will terminate the conversation using the termination probability . In case it does, both agent and its mate become lonely at time . As usual in such asynchronous update scheme, we choose the time increment as so that during the increment from to exactly , though not necessarily distinct, agents are chosen to follow the update rules.To avoid misinterpretations of the behavioral rules described above, it is convenient to write them in a more formal manner. For instance, given that agent is alone at time , the probability that it will remain alone at time is where and are the numbers of lone and socializing agents at time , respectively. The sum in the second term of the rhs of this equation is over the subgroup of lone agents , except agent , at time . For notational simplicity, we have omitted the time dependence of . The first term of the rhs of Eq. (3) accounts for the possibility that agent is the agent selected for update, which is an event that happens with probability . In this case there are two possibilities: agent decides to remain alone, which happens with probability or decides to instigate a conversation but fails to find another lone agent, which happens with probability The second term of the rhs of Eq. (3) accounts for the possibility that a lone agent is chosen for update and that this agent either decides to remain alone, which has probability , or instigate a conversation with any other agent but agent , which has probability Finally, the third term of the rhs of Eq. (3) accounts for the possibility that the agent selected for update in the time interval is one of the agents that are socializing at time . Since a lone agent at time can either remain alone or start socializing at time , the probability that the lone agent at time starts socializing during the time interval is readily obtained from the complement rule of probability,Next, we assume that agent is socializing with agent at time . The probability that this interaction continues during the time interval is simply where we have omitted the time dependence of and . Here the first two terms of the rhs of this equation account for the events that agents and are selected for update and they choose not to interrupt their conversation. The last term of the rhs of Eq. (7) accounts for the event that any other agent, aside from and , is selected for update at time . As before, the event that and will terminate their conversation during the time increment is complementary to the event that they will continue the conversation, i.e.,To conclude the set up of our model, two remarks are in order. First, we note that Eqs. (3), (7) are probabilities of events that occur in the time interval and so they should be proportional to . This is in fact the case provided we set . Here we will not consider the unrealistic limit of infinitely large communities which would correspond to a continuous-time model of the community dynamics. Second, Eq. (7) introduces a short-time correlation between the loneliness degrees and behaviors of agents and that hinders an exact analytical approach to solve the model. However, in the next section we will set forth a simple mean-field approximation that yields a remarkably good description of some macroscopic features of the community dynamics.
Mean-field approximation
Here we offer a simple but surprisingly effective analytical approximation to the agent-based model described in the previous section. A macroscopic quantity of interest is the number of lone agents in the community at time . In the time interval this random variable can increase by two agents, decrease by two agents or remain the same. More pointedly, given and the loneliness degrees at time , the probabilities of those events are and . Hence the expected number of lone agents at time given that there are lone agents at time isIn a similar vein, we can write the expected loneliness degree of agent at as where we have used that the probabilities that agent is alone or socializing at time are and , respectively.To proceed further we make the usual mean-field assumption and (see, e.g., [21]). In addition, we assume that the mean loneliness degree is the same for all agents, i.e., . These assumptions suffice for writing the mean-field version of the community dynamics,
where we have used in Eq. (13) to stress the incremental nature of the intensive variable .In the case equation (14) has a fixed point , the equilibrium fraction of lone agents is given by with given by the solution of the transcendental equation The subscript in our notation for the equilibrium fraction of lone agents stands for healthy since is finite for this solution. The condition requires that either and or and . Since measures the degree of loneliness of a generic agent we will assume that and which, according to Eqs. (1), (2), means that the loneliness degree of an agent increases when it is alone and decreases when it is socializing.An interesting situation occurs when Eq. (16) has no solution so that in the limit . This divergence characterizes a burnout regime where the equilibrium fraction of lone agents is given by the solution of the equation which is obtained from Eq. (13) by setting and the subscript in stands for burnout.Time evolution of the mean fraction of lone agents (left panel) and mean loneliness per agent (right panel) for a population of size and mean number of contact attempts (from top to bottom) and . The other parameters are , and . The critical point occurs at . The colored thick lines are the mean-field predictions and the black thin lines are the averages over independent agent-based simulations. The initial conditions are and so that and .
Results
In the previous sections, we have made no assumptions on the probability functions and that determine the effect of the loneliness degree on the behavior of the agents. The functions and that determine the changes on the loneliness degree of lone and socializing agents, respectively, were left unspecified too. However, in order to simulate the model we need to specify those functions. Here we assume that the propensity to instigate a conversation is a decreasing function of the loneliness degree of the agents, where is a parameter that determines the influence of the loneliness on the behavior of the agent. For instance, for , the loneliness has no effect on an agent’s decision to instigate or not a conversation, whereas for a lone agent will always attempt to socialize when . Moreover, we assume that the probability that a socializing agent terminates a conversation does not depend on its loneliness degree, i.e., , since there are many external factors that may result in the interruption of a conversation, in contrast to the longing to socialize, which is most likely fed by internal factors [2]. Finally, for the sake of simplicity, we assume that the rates of change of the loneliness degrees are constant, i.e., and . Without loss of generality, we set , since this parameter can be removed from our equations by a proper rescaling of , and .With the above choices we can rewrite Eqs. (15), (16) and obtain explicit expressions for and , viz.,
where This fixed point exists provided that and a necessary (but not sufficient) condition for this happening is . In fact, a small value of implies that the conversations last longer and a large value of implies that they bring about a substantial diminution of the feelings of loneliness. (We recall that the comparison baseline of is the increment of the loneliness degree of the lone agents, viz., .) Hence, the lesser the rate , the healthier the agents, provided, of course, that they can find conversation partners whenever they need one.What happens in the case that ? Iterating Eqs. (13), (14) with (see Fig. 1) we find that in the limit whereas tends to the finite value given by Eq. (17), which reduces to since and . We note that for Eq. (22) reduces to Eq. (19), i.e., , so that the transition between the healthy and burnout regimes is continuous regarding the asymptotic mean fraction of lone agents. In fact, the condition determines the critical value of the mean number of attempts to make a social contact with . The healthy regime occurs for (i.e., ) and the burnout regime for (i.e., ). In the case that , the model exhibits the burnout regime only with given by Eq. (22). In this case, the equilibrium fraction of lone agents does not depend on .
Fig. 1
Time evolution of the mean fraction of lone agents (left panel) and mean loneliness per agent (right panel) for a population of size and mean number of contact attempts (from top to bottom) and . The other parameters are , and . The critical point occurs at . The colored thick lines are the mean-field predictions and the black thin lines are the averages over independent agent-based simulations. The initial conditions are and so that and .
In Fig. 1, we show the time evolution of and for the simulation of the agent-based model as well as for the mean-field approximation. The agreement between them is so remarkable that we have averaged those quantities over only 100 independent simulations in order to make the differences noticeable, though with no success in the case of the mean loneliness degree . This agreement seems rather puzzling at first sight because the mean-field approximation exhibits a phase transition between the healthy and burnout regimes that cannot be observed in the ‘finite’ agent-based system of our simulations. In fact, the signatures of the phase transition, viz., the discontinuity of the derivative of the asymptotic value of with respect to and the divergence of the asymptotic value of at , appear in the ‘thermodynamic’ limit only. As just hinted, the thermodynamic limit in our model is the time asymptotic limit and since we cannot run infinitely long simulations we will never see those signatures in our simulation results. In Fig. 2, we illustrate this point by showing and evaluated at times and . These results indicate that the mean-field fixed points describe very accurately the asymptotic time behavior of the agent-based model.
Fig. 2
Mean fraction of lone agents (left panel) and mean loneliness per agent (right panel) evaluated at
(),
() and
() as functions of the mean number of contact attempts . The symbols represent the averages over independent agent-based simulations. The solid lines are the mean-field predictions for the limit . The critical point occurs at . The other parameters are , , and .
In Fig. 3, we show that the excellent agreement between the simulation and the mean-field results holds for other values of the model parameters too. As pointed out before, the discrepancies observed near the critical region are most likely due to the fact that we evaluate the time-asymptotic quantities at the finite time . In particular, this figure highlights the curious finding that the rate of decrement of the loneliness degree due socialization has no influence on the number of lone agents in the burnout regime. The limit guarantees that a lone agent will always find a conversation partner if there is one available. In this case, the mean-field approximation yields and if , and and if .
Fig. 3
Mean fraction of lone agents (left panel) and asymptotic mean loneliness per agent (right panel) evaluated at as functions of the mean number of contact attempts for (left panel from top to bottom) and 0.5. The symbols represent the averages over independent agent-based simulations and the solid lines are the mean-field predictions for the limit . The other parameters are , and . The data for is not shown in the right panel because diverges in the mean-field approximation and the simulations yield results that are well above the range of the -axis.
Mean fraction of lone agents (left panel) and mean loneliness per agent (right panel) evaluated at
(),
() and
() as functions of the mean number of contact attempts . The symbols represent the averages over independent agent-based simulations. The solid lines are the mean-field predictions for the limit . The critical point occurs at . The other parameters are , , and .Since the mean-field approximation describes the simulation results so well, it is instructive to look into its predictions near the critical point for . In the healthy regime () we find and , whereas in the burnout regime () we find where Hence, if we define the order parameter of the phase transition as then as we approach the critical point from the burnout regime.At this stage, it is convenient to consider a more microscopic perspective of the community dynamics. We begin by pointing out that, since the agents are identical regarding the behavioral rules, the mean proportion of time that, say, agent spends alone equals the mean fraction of lone agents in the population for large . Our simulations indicate that this equality holds true only when those quantities are averaged over many independent simulations, hence the adjective ‘mean’ in the above statement.Mean fraction of lone agents (left panel) and asymptotic mean loneliness per agent (right panel) evaluated at as functions of the mean number of contact attempts for (left panel from top to bottom) and 0.5. The symbols represent the averages over independent agent-based simulations and the solid lines are the mean-field predictions for the limit . The other parameters are , and . The data for is not shown in the right panel because diverges in the mean-field approximation and the simulations yield results that are well above the range of the -axis.The left panel of Fig. 4 shows the flips between the alone () and the socializing () states experienced by a particular agent during a single run. The quantities of interest here are the lengths of the periods the agent spends alone and socializing , whose probability distributions are shown in the right panel of the figure. Since those distributions are observed to be exponential distributions for large , knowledge of the means and suffice to describe the random quantities and in the time-asymptotic limit. The probability distribution of is clearly exponential since once a couple of agents start socializing the duration of their conversation does not depend on their previous histories: the conversation is interrupted when either of the two socializing agents chooses to terminate it, which happens with probability [see Eq. (8)] so that [22]. As expected, the simulation results perfectly agree with this prediction (data not shown) which, we emphasize, does not involve any approximation.
Fig. 4
Sequence of flips between the conditions alone (a) and socializing (s) for a single agent in a single run (left panel) and probability distributions of the lengths of time that the agent spends in states a and s as indicated (right panel). The parameters are , , and . The exponential probability distributions with means and were obtained using independent runs.
Sequence of flips between the conditions alone (a) and socializing (s) for a single agent in a single run (left panel) and probability distributions of the lengths of time that the agent spends in states a and s as indicated (right panel). The parameters are , , and . The exponential probability distributions with means and were obtained using independent runs.However, the waiting time for a particular lone agent to start a social interaction does depend on its previous experiences since the propensity to socialize depends on its loneliness degree which, in some sense, encapsulates the life history of the agent. For instance, if the agent has just terminated a long conversation it is likely to spend a long time alone before being tempted to socialize again. Nevertheless, our simulations indicate that the probability distribution of can be described exceedingly well by an exponential distribution. In Fig. 5 we show as function of the conversation termination probability for fixed . In this setting, the phase transition occurs at which corresponds to the condition in Eq. (21). Since there is a value of above which there is no phase transition and the model exhibits the healthy regime only. For , this happens for . In contrast to , the different time-asymptotic regimes strongly impact the dependence of on , as seen in Fig. 5. This is expected because the probability of finding a conversation partner (and hence of ending the loneliness period) depends on the fraction of lone agents in the community, which, in turn, exhibits rather distinct functional forms in the healthy and burnout regimes, as illustrated in Fig. 3.
Fig. 5
Mean time per agent that an agent spends alone as function of the conversation termination probability for (top to bottom) and . The symbols represent the averages over independent simulations with the waiting times recorded for . The solid lines are the predictions of the ansatz (29). The other parameters are , and .
We observed that our simulation results for can be described by a rather simple analytical expression (solid lines in Fig. 5) for which we have no explanation. The probability of the joint event that the lone agent is chosen for update at time , decides to instigate a conversation and succeeds in finding another lone agent to interact with is which is the first term of the rhs of Eq. (6). In the limit of large , we can replace by its mean-field estimate, namely, if and if . We find that the ansatz offers a perfect fit for the simulation results, as shown in Fig. 5. In particular, using Eq. (16) for we obtain for large so that . For we obtain where is the solution of Eq. (22). We note that the natural guess with given by Eq. (6) yields qualitatively similar results but significantly underestimates the simulation results.Mean time per agent that an agent spends alone as function of the conversation termination probability for (top to bottom) and . The symbols represent the averages over independent simulations with the waiting times recorded for . The solid lines are the predictions of the ansatz (29). The other parameters are , and .It is interesting that both waiting times decrease with increasing . While this result is obvious for , it is less apparent for . In fact, it is the high availability of lone agents resulting from short conversations that produces the decrease of . The reverse is also true: long socialization periods lead to long periods of loneliness because of the shortage of available partners. In addition, in the healthy regime, the lengths of the loneliness periods increase with the efficacy of social interactions in reducing loneliness, which is measured by the parameters . This is expected, since the lesser the degree of loneliness of an agent, the less the probability that it will seek social contact. In the burnout regime, however, does not depend on provided, of course, that does not become sufficiently large to allow the transition to the healthy regime.
Conclusion
Since the main measure to curb the spread of SARS-CoV-2 is physical distancing, rather than social distancing, one may argue that internet-based and social media usage may mitigate the feelings of loneliness during the Covid-19 pandemic [15], [16]. It is unclear, however, if use of technology to socialize remotely can significantly minimize those feelings [18]. The key issue here is, of course, the quality of the social interactions. Our model takes this point into account through the parameter that measures the efficacy of the social interactions in decreasing feelings of loneliness. In fact, even if the number of contact attempts is unlimited (i.e., ) and the community size is very large (i.e., ), which is likely the case of social media, an agent can experience burnout in the case that , where is the probability that the agent ends the social interaction. We recall that means that the rate of decrease of the feelings of loneliness when the agent is socializing is less than the rate of increase of those feelings when the agent is alone. It is clear then that can be used as a proxy for the quality of the social interactions. Therefore, our model describes the effects of the number of social contacts as well as of the quality of those contacts on loneliness. Both factors have been strongly affected by the physical distancing and quarantining measures widely implemented to prevent the spread of Covid-19.We find that decrease of the number, quality or duration of social contacts lead the community to enter a regime of burnout in which the feelings of loneliness of the agents, measured by the variable , diverge. This happens through a continuous phase transition that separates the healthy from the burnout regimes and that can be identified by the discontinuity of the derivative of the asymptotic fraction of lone agents with respect to the parameters of the model. Since the mean-field approximation reproduces the simulation results very well, Eqs. (15), (16), (17) offer a general formulation of the community dynamics where no assumptions are made on the influence of loneliness on the behavior of the agents, which is determined by the probabilities and , as well as on the effect of that behavior on the feeling of loneliness, which is determined by the rates and . In that sense, the community dynamics will exhibit a burnout regime provided that is nonzero. The appearance of this regime in our model illustrates neatly the side effects of the measures employed to curb the transmission of Covid-19 on the population mental health.
Declaration of Competing Interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.