key: cord-130778-d6jtz3pm authors: Hardy, Peter; Marcolino, Leandro Soriano; Fontanari, Jos'e F. title: The paradox of productivity during quarantine: an agent-based simulation date: 2020-08-21 journal: nan DOI: nan sha: doc_id: 130778 cord_uid: d6jtz3pm Economies across the globe were brought to their knees due to lockdowns and social restriction measures to contain the spread of the SARS-CoV-2, despite the quick switch to remote working. This downfall may be partially explained by the"water cooler effect", which holds that higher levels of social interaction lead to higher productivity due to a boost in people's mood. Somewhat paradoxically, however, there are reports of increased productivity in the remote working scenario. Here we address quantitatively this issue using an agent-based model to simulate a workplace with extrovert and introvert agent stereotypes that differ solely on their propensities to initiate a social interaction. We find that the effects of curtailing social interactions depend on the proportion of the stereotypes in the working group: while the social restriction measures always have a negative impact on the productivity of groups composed predominantly of introverts, they may actually improve the productivity of groups composed predominantly of extroverts, which offers then an explanation for the paradox of productivity during quarantine. Introduction. -The interest on the trade-off between work productivity and social interaction is not a present-day fad, as attested by this verse of the 19th century writer Maria Edgeworth: "All work and no play makes Jack a dull boy, All play and no work makes Jack a mere toy" [1] . In fact, this is a staple subject of social psychology that addresses the influence of loneliness or, more generally, of mood on human cognitive function, often with discrepant findings (see, e.g., [2, 3] ). Recent lockdowns and social restriction measures that isolated workers from their peers have placed these issues at the forefront of public attention, with news outlets reminding their customers that they do not need to be productive, and to expect a reduction in overall productivity during this time. But why is it that productivity would decrease during a period that one would think people have more time on their hands than ever before? Typical answers to this question are in line with the so-called "water cooler effect" that has been highlighted (and satirized) in how effective placing an inanimate object for people to congregate around can stir up casual conversations, with many psychologists believing that this can also increase company productivity [4] . However, this is not an obvious conclusion since for a singular worker the extra down time communicating may actually detract from its productivity as a whole. Here we address quantitatively the productivity and social interaction issue using an agent-based model to simulate a workplace scenario where the agents exhibit two social stereotypes, viz., extroverts and introverts, that differ solely on their propensities to initiate a conversation. Social distancing is modeled by controlling the number of attempts an agent makes to find a conversation partner and the motivation to work (mood) is assumed to increase with the time spent talking and decrease with the time spent alone. Moreover, the instantaneous productivity of a lone agent increases linearly with its motivation to work. We find that the effect of curtailing social interactions depends on the proportion of the different stereotypes in the group. For instance, while social restriction measures always have a negative impact on the productivity of groups composed predominantly of introverts, they may actually improve the productivity of groups composed predominantly of extroverts. In addition, within a same working group the productivity of the two stereotypes is affected differently by those measures. These results may explain the paradoxical findings that productivity is increased in some remote work experiments [5] . Model. -We model the dynamics of a group of N agents that interact socially and work during a 480minute (eight-hour) workday. We first make a strong assumption that for all agents they are more productive when they are motivated, and their motivations increase when they participated in some form of social interaction [6] [7] [8] . In this framework, motivation has both an emotional dimension, in the sense that talking with peers improves the mood of the agent and helps it to focus on the task, and an informational dimension, in that talking with peers may result in the acquisition of valuable information that can help the agent to consummate its task. We assume that the motivation of agent k = 1, . . . , N is determined by the integer parameter L k = 1, 2, . . . , L max and that at the beginning of the day, the agents' motivations are the lowest, i.e., L k = 1. In addition, we assume that the instantaneous productivity of an agent at time t = 0, 1, . . . , T is P k (t) = L k − 1 if agent k is not talking and P k (t) = 0 if agent k is talking. Since we measure time in minutes, we set T = 480. Hence, at time t = 0 the instantaneous productivity is zero for all agents. The only way an agent can increase its motivation and, consequently, its productivity, is by engaging in social interaction. We introduce two different social stereotypes our agents can be, viz., extroverts and introverts, which determine their propensities to seek and engage in social interaction. In particular, if agent k has stereotype l, arXiv:2008.09461v1 [cs.MA] 21 Aug 2020 where l = e for extroverts and l = i for introverts, the probability that it instigates a conversation is for L k ≤ T /τ l and p l k = 0, otherwise. Here τ e and τ i are parameters measured in minutes that are necessary to make eq. (1) dimensionally correct. Throughout this paper we set τ e = 1 without loss of generality, but set τ i > 1 in order to guarantee that p e k ≥ p i k , i.e., that the extroverts are more likely to engage in social interaction than the introverts. In addition, p e k = p i k = 1 for L k = 1 so that when the motivation of agent k is at the bottom line, it will try to engage in social interaction with certainty. The propensity to instigate a conversation decreases linearly with the motivation to work until it vanishes altogether when the motivation parameter reaches a threshold value that differs for the two social stereotypes. Regardless of its stereotype, once a target agent decides to instigate a conversation, it selects a number m of contact attempts, where m = 0, 1, . . . is a random variable drawn from a Poisson distribution of parameter q. In each contact attempt, a peer is selected at random among the N − 1 agents in the group and, in case the selected agent is not in a conversation at that time, a conversation is initiated and the target agent halts its search for a partner. The duration of the conversation d is given by a random integer selected uniformly in {1, ..., D}. We note that a conversation involves two agents only and the agent that is approached by the target agent is obliged to accept the interaction, regardless of its motivation and stereotype. To complete the model we need to give a prescription for changing the motivation parameter L k with k = 1, . . . , N , which is the central factor in the determination of the social behavior of the agents. We assume simply that the motivation of agent k increases by one unit for each minute it spends in a conversation and decreases by one unit for each minute it spends working alone. Moreover, we set L k = 1 as the lower bound of the motivation parameter so that a lone agent k at the motivation bottom line L k = 1 cannot have its motivation reduced any further. We note that our prescription to change the motivation of the agents implies that the motivation parameter is bounded from above by L max = 480, so that the probability that an extroverted agent instigates a conversation, eq. (1), is never zero during the eight-hour workday. This produces a qualitative distinction between the two stereotypes since the extroverts are, in principle, always willing to initiate a social interaction (i.e., p e k > 0), whereas the introverts will not instigate a conversation if their motivation to work is above the threshold T /τ i . Throughout this paper we set τ i = 5 but note that this choice is immaterial, provided that T /τ i is sufficiently distinct from the upper bound T /τ e to justify the existence of two stereotypes. In summary, we implement the synchronous or parallel update of the N agents as follows. At t = 0 we set L k = 1 and P k = 0 for all agents k = 1, . . . , N . The update procedure at time t begins with the selection of a random order of update of the N agents, so that at the end of the procedure all agents are updated and we can increment the time from t to t + 1. Then we check the status of the agent to be updated -the target agent -to determine if it is participating in a conversation or not. In case it is, we increment its motivation parameter by one unit. In case it is not, we decrement its motivation parameter by one unit and test whether it initiates a conversation or not using the probabilities given in eq. (1) in accord with the stereotype of the target agent. The simulation ends at t = T . Results. -We consider working groups composed of N e extroverts and N i = N − N e introverts and focus mainly on the mean cumulative productivity of the stereotypes at time t = 1, . . . , T , where and the superscript l = e, i specifies the social stereotypes of the agents, as before. Here the sum over k is restricted to the subset S l of agents with stereotype l, whose cardinality is N l . We recall that P k (0) = 0 for all k. The mean cumulative productivity of the whole group is simply Π w = N e Π e + N i Π i /N , where we have omitted the dependence on t for simplicity. It is also of interest to know the mean motivation of the stereotype subgroups, with l = e, i as before. Then the mean motivation of the whole group is Λ w = N e Λ e + N i Λ i /N . Our main interest here is Π l (t) and Λ l (t) evaluated at the end of the day, i.e, at t = T . These quantities are averaged over 10 3 independent runs for each setting of the model parameters. In particular, in the following we vary the fraction of extroverts η = N e /N and the mean number of contact attempts q, but fix the group size to N = 100 and the maximum duration of a conversation to D = 20. As already pointed out, we set τ e = 1 and τ i = 5. To better appreciate the assumptions of the model, fig. 1 shows typical time dependences of the motivation and mean cumulative productivity of two agents with distinct stereotypes for a single run. The time intervals where the mean cumulative productivity decreases correspond to the periods when the agent is participating in a social interaction and are associated with the increase of its motivation. We note that, whereas the cumulative productivity is a non-decreasing function of t, the mean cumulative productivity, eq. (3), decreases with increasing t in the time intervals where the instantaneous productivity of the agent is zero. In addition, the motivation decreases in the periods where the productivity increases. Most of the time in this run, the introvert agent exhibits a higher mean productivity than the extrovert agent, despite its lower motivation. In fact, the motivation parameter of the introvert stabilizes and fluctuates around the value L = T /τ i = 96, whereas the motivation parameter of the extrovert shows a tendency to increase linearly with t on average. It is easy to understand the behavior pattern of the introvert's motivation if we note that an introvert agent with L ≥ T /τ i will not attempt to instigate any conversation and so the tendency of its motivation is to decrease only, except for the events when another agent engages it in a conversation. Figure 2 shows the influence of the fraction of extroverts η on the motivation and mean cumulative productivity of the agents at the end of the day. This figure reveals some interesting features. First and foremost, the insertion of extroverts in groups composed predominantly of introverts results in a significant increase of the mean productivity of the introverts, whereas the mean productivity of the extroverts is barely changed. Too many extroverts, however, cause a decrease on the productivity of both stereotypes, although they considerably boost the motivation of the introverts. In addition, there is an optimum group composition (η ≈ 0.5 for the parameters used in fig. 2 ) that maximizes the total productivity of the group. In fig. 3 , we examine the influence of the mean number of contact attempts q on the optimum composition of the group. For instance, for small q, say q = 0.5, it is difficult to find conversation partners to increase the agents' motivations and so the highest total productivity is achieved by all-extroverts groups, since this stereotype seeks for partners more frequently than the introverts. As q increases, the odds of finding a conversation partner increases as well, and so it becomes advantageous to insert a few introverts in the group. For very large q, so that the target agent attempts to contact all the other agents in the group, the maximum total productivity occurs for η ≈ 0.47. For groups composed predominantly of introverts (η < 0.5), increase of q and η lead always to higher total productivity. However, the scenario is more complicated for groups composed predominantly of extroverts. In fact, for η > 0.5 our results indicate that there is an optimum value of the mean number of contact attempts that maximizes the total productivity. For instance, this optimum value is located between q = 1 and q = 2 for η ≈ 1. It is worthwhile to examine the effects of the parameter q in more detail. In the context of the 2020 coronavirus pandemic, this is the leading parameter of the model since, at least for those adhering to social distancing norms, the mean number of attempts to interact socially was considerably curtailed during the pandemic. Accordingly, fig. 4 shows that a moderate decrease of q actually increases the productivity of the group for η > 0.5. For instance, for η > 0.8 the decrease from q = 6 to q = 1 results in a productivity increase of about 10%, which is in agreement with the experiments of ref. [5] . We note that in both our simulations and those experiments the boost in productivity is modest, though altogether unexpected. It is interesting to look at how the productivities of the two stereotypes within a same working group are affected by the social restrictions. Figure 5 shows that, for η = 0.5, a moderate decrease of q reduces the motivation of both stereotypes as well as the mean productivity of the introverts, but increases the mean productivity of the extroverts. This finding may explain sporadic personal reports of heightening productivity in the quarantine. Further decrease of q leading to a scenario where social interactions happen very rarely results in a sharp drop of the mean productivity of both stereotypes. A word is in order about the effects of the parameters N and D that determine the group size and the maxi-mum duration of a conversation, respectively. Reducing the group size has no effect on our results and our choice of fairly large groups (N = 100) is so as to smooth out the variation of the fraction of extroverts η. However, increase of the parameter D has a strong effect on the productivity of the extroverts. For instance, for long conversations, say D = 60, all-introverts groups yield the highest total productivity regardless of the number of contact attempts. Our choice D = 20, which corresponds to conversations of average durationd = 10, are meant to model a "water cooler talk" scenario. Conclusion. -In the spirit of sociophysics [9, 10] and computational social science [11] , our agent-based model assumes only linear relationships between the quantities relevant to study the influence of social restriction measures on the productivity of working groups. In that sense, it offers a proof of concept that, somewhat paradoxically, quarantining and social distancing may boost the productivity of extroverted people. * * * Perceived Social Isolation and Cognition Feeling low, thinking slow? Associations between situational cues, mood and cognitive function How social networks network best Does Working from Home Work? Evidence from a Chinese Experiment Positive affect facilitates creative problem solving Resource allocation model of the effects of depressed mood states on memory Putting mood in context: Using smartphones to examine how people feel in different locations Statistical physics of human cooperation The social physics collective