This work develops the concept of the temporal network epistemology model enabling the simulation of the learning process in dynamic networks. The results of the research, conducted on the temporal social network generated using the CogSNet model and on the static topologies as a reference, indicate a significant influence of the network temporal dynamics on the outcome and flow of the learning process. It has been shown that not only the dynamics of reaching consensus is different compared to baseline models but also that previously unobserved phenomena appear, such as uninformed agents or different consensus states for disconnected components. It has also been observed that sometimes only the change of the network structure can contribute to reaching consensus. The introduced approach and the experimental results can be used to better understand the way how human communities collectively solve both complex problems at the scientific level and to inquire into the correctness of less complex but common and equally important beliefs’ spreading across entire societies.

The human learning process would not be possible without social relationships that allow communities to exchange views and to learn through social interactions. The analysis of how this process works led to the development of a network epistemology field that studies how people exchange information and make decisions based on the acquired knowledge. Previous research in this area has focused on static networks which do not capture the dynamics of connectivity changes that are present in real social networks. In this work, we analyzed the impact of network dynamics on social learning and proposed a new model closer to the real-world scenario.

Human beings are extremely social. The specific abilities that our species has developed in the course of the cognitive revolution have allowed us to dominate other organisms on the planet. One crucial component in this process is the incredibly powerful and effective, evolved ability of Homo sapiens to communicate with one another, and exchange and store large amounts of information. The fundamental role of this process is evident in jumps of civilization sophistication when storage of information moved, thanks to the invention of the alphabet, from individuals memorizing cultural and religious myths, to storing information on stones, papyrus, or paper. This made access to information easier but still limited. Not until the invention of print press democratization of access had been possible, thanks to massive and inexpensive information replication technology. The final step, the invention of the Internet and digital storage brought the cost of access to information nearly to nil and started the information revolution. Initially, a few people devoted their lives to memorizing history or replicating manuscripts, so social learning was a necessity in times of limited access. Today, it is the opposite problem of abundance of information that makes social learning necessary for filtering vast information to establish a consensus and communicate it to the masses. These behaviors have been captured in social learning and social choice theory. Given the evolutionary history of our species, it should come as no surprise that human systems for forming views and opinions are also social in nature. Humans pass information from one person to another, and as a result, a large number of our views are dependent on the environment of our contacts. This inherent human way of spreading knowledge is the foundation of today’s extremely complex and advanced culture and science. However, the social learning process has drawbacks that sometimes make reaching consensus impossible. Research has shown that people often use heuristic thinking, which, on the one hand, preserves their energy but, on the other hand, results in confirmation bias.1–3 Individuals will seek confirmation of their opinion to the point that they will stick to it even if it is false. Furthermore, they will interact more often with people who hold a similar opinion. Flamino et al.4 demonstrated that groups strive to optimize the utility of interaction of their members, which results in a total polarization of opinions within the groups. An interesting fact about human social learning is revealed by research comparing cognition between humans and other primates.5–7 Research shows that social learning and trusting authority among humans are much stronger than in apes.8,9

Due to the aforementioned role of the social aspect of information exchange in the social learning process,10 researchers for long have been carrying out research that helps to understand the characteristics of this process and its complexity. There is a growing interest in modeling in the scientific community. What is the best community structure for spreading information? What conditions must be met to allow the community to reach a consensus on a given topic? What influences the speed of the spread of information and opinions? Various models developed by researchers in recent years provide answers to these questions. Through the use of mathematical modeling, it is possible, to a certain extent, to predict spreading scenarios and to gain insight into the complex dynamics of the social learning process. This research is extremely important and useful, but often the experiments are conducted on static and synthetic network structures. Therefore, the results of such research should always be approached with caution and, if possible, verified.

Many of these models are based on the network structure, which has been identified as a major factor in determining how societies move toward adopting ideologies. The network epistemology framework was initially proposed in Ref. 11 to model learning from neighbors. Subsequently, using that framework, Zollman10 created a network epistemology model that provides an interesting way of capturing aspects of social learning in human societies and its impact on theory adoption. It is an agent-based model that offers an imitation of a human and especially a scientific way of analyzing information and updating beliefs. It has so far mainly been used to model the spread of knowledge in scientific communities, but it can also be applied in a more general context, i.e., to study any community of people receiving evidence and sharing beliefs. The authors of Refs. 12 and 13 used agent-based modeling to study the effects of polarization and conformity on reaching consensus. They showed that through social trust and conformism, the learning process could be disrupted, which will result in the agent accepting the opinion prevailing in a given group, even if it is not true. In Ref. 14, they presented a model for exploring belief sharing. They explain the phenomenon that individuals share highly correlated views on many different topics within a community. Finally, the impact of spreading false information in an epistemic network was investigated in Ref. 15 and resulted in the conclusion that even a small percentage of propagandists can completely sabotage the learning process in a community.

Agent-based models of reaching consensus also include a group of simpler binary agreement models that are based on the naming game16–19 or voter models.20–22 In the previously mentioned models, each agent’s belief was represented on a continuous scale from 0 to 1. In binary agreement models, however, agents are assigned one or both of the competing viewpoints. The conducted research shows that this model is able to guarantee consensus for individuals organized in a complete graph structure and the time in which this happens depends on the number of agents in the network.23 Xie et al.24 show that even a small fraction of agents resistant to social influence and constantly proclaiming their fixed views can be sufficient to convince an overwhelmingly large proportion of the community to adopt a new view. Furthermore, in Ref. 25, the authors analyze an interesting property of the binary consensus model, where individuals promoting their own views seek a broader consensus. Also, neutral or uninformed agents can prevent consensus to any of the committed groups26 even in groups of animals.27 

In the field of opinion dynamics, the continuous Deffuant model28,29 is often used to simulate interactions between individuals and the spread of beliefs. A random pair of nodes is sequentially selected to update their opinion if they share similar beliefs (the difference in opinion must be below a given confidence bound). The Hegselmann–Krause model30,31 updates the opinion of all nodes simultaneously taking into account the opinion of neighbors, which can reflect the influence of a group on an individual in the real world. Another classic model of opinion dynamics is the Sznajd model,32 which originated in the field of physics.

The study of consensus and collective behavior in multi agent systems is not limited to the problem of social learning but also has applications in engineering, physics, robotics, and biology. Consensus dynamics is an important issue of cooperative control in the area of synchronization of coupled oscillators,33,34 multi-vehicle systems,35 and robotic and biological swarms.36,37 Decentralized consensus has also found applications in the area of social networks.38–40 

A non-agent-based approach is used to analyze the temporal patterns of citation networks to determine scientific consensus.41,42 Using modularity as a measure of consensus over dynamic time windows uncovers consensus evolution. The emergence of consensus creates one common core community with multiple micro-communities in the network, but it can also split the network into two or more competing communities.

An important feature of the social networks studied by the researchers is their temporality—acquaintances and friendships arise and dissolve, old relationships may decay when new people are met.43 Most real networks are temporal and their structure—the configuration of nodes and edges—changes over time. The temporal structure of link activity can influence the dynamics of interaction in a network just like its topology.44 Researchers have already proposed many models, which attempt to capture this aspect of social networks in different ways.45 Recently introduced Cognition-driven Social Network (CogSNet) model46 presents a unique approach based on social perception and due to incorporating cognitive processes on forgetting it is used in this work as a foundation of a temporal social network.

The previously mentioned methods of agent-based consensus modeling were developed for static graphs, abstracting from temporal characteristics of many real networks and limiting the consensus dynamics. However, in the last decade, an adaptation of the binary voter model47,48 has been attempted, and a continuous model has been proposed for activity-driven networks.49 A common feature of the above works is their focus on synthetic networks. In recent years, Li and Dankowicz50 analyzed the effect of temporal networks on reaching consensus. The authors, based on the Deffuant model and real social networks, showed that reaching consensus in temporal networks takes more time than in static networks. The problem of consensus has also been studied in temporal hypergraphs.51 

This work addresses the topic of social learning modeling in temporal social networks. The question is whether the currently used models correctly represent the dynamics of opinion propagation in real social networks. Special attention is given to the network epistemology model, for which so far no extension has been developed to make the model work for temporal networks, and we advocate here for such an extension the use of the CogSNet temporal network representation model. Unlike previous work, our approach to modeling consensus based on an epistemic framework uses not only beliefs but also evidence collected by agents. We test our approach on a real temporal network that contains interactions over a significant period of 110 days (cf. Li and Dankowicz50 that uses up to one week periods). Moreover, our continuous temporal network model is based on a stream of events, which eliminates the problem that the size of the time window affects the network structure. An additional advantage of CogSNet is that it models the cognitive abilities of the human brain.

Epistemic models are tackling the problem of collaborative learning that leads to developing new ideas and beliefs that are hopefully shared by all members of a group. As presented in Ref. 52, collaborative learning can be understood as a particular way in which a group may construct a new degree of understanding about the topic that they are investigating. However, this cannot be done individually by each member, but human interactions are required to facilitate consensus reaching.53 The substantial base and foundation for the later versions of the network epistemology model were laid by Bala and Goyal in Ref. 54. In this work, we employ a specific version of this model that was brought to the field of epistemology by Zollman in Ref. 10. The basic concept assumes that the model consists of a fixed set of K agents that represent a group of people. The agents are connected to each other by symmetric relationships in a graph structure. These agents are faced with the problem of choosing between two theories with different effectiveness defined as A={Alpha,Beta}. In this specific case, the dilemma can be described as a two-armed bandit problem with two possible states of the world Θ={θ0,θ1}. The Alpha arm returns a payoff equal to 1 with a probability pAlpha=0.5 in both states. The Beta arm returns the same payoff but with a different probability equal to pBeta=0.5+ϵ, where |ϵ|<0.5 and ϵ takes positive values in θ0 and negative values in θ1. All agents know the effectiveness of the Alpha arm, but they do not know whether the Beta arm is better (θ0) or worse (θ1). The problem comes down to choosing the better arm. As an example, a group of doctors may use two different therapies with different efficacy to treat a certain disease. One of these treatments has been used for a long time and its efficacy is well known, and the other, innovative one has similar but unknown efficacy that may be better or worse.

The process of belief evolution in this model is carried out in an iterative manner, with iterations indexed by i=1,2,. The belief of agent a in iteration i is represented by the credence ca,i[0,1]. This value can be interpreted as the probability that the Beta action is better than the Alpha action. The action Aa,i chosen by an agent a in iteration i is determined as follows:

(1)

According to it, if an agent’s credence is greater than 0.5, the Beta action is chosen, otherwise—the Alpha action is performed.

In the beginning, the agents’ credence is drawn from a uniform distribution over the interval of possible values. Then, in each iteration, agents take two activities: experimenting and updating beliefs. Within the experimentation phase, each agent performs its preferred action a specified number of times N and observes the results. The results of an action are drawn from a binomial distribution with an action-specific probability of success. For example, an agent whose credence is equal to 0.8 has 80% confidence that the action Beta is better than Alpha. Hence, they perform it ten times, out of which, e.g., 6 are successful. Next, each agent updates their credence based on the collected results. Agents do this using Bayes’ rule (strict conditionalization). The results of performing the Alpha action are not used to update views, as its payoff is known and there is general agreement on its value. The observations are shared among the agents over their network social relationships. The credence update is performed not only on the basis of the evidence observed by the specific agent but also upon the evidence collected by its neighbors. It means that any agent whose neighbors have undertaken a Beta action will update their views.

The credence update for a particular agent a in iteration i is based on na,i—the total number of attempts to take the action Beta made by a and their neighbors and ka,i—the total number of successes observed among the performed attempts. According to Bayesian inference, the formula for calculating the posterior credence is given by

(2)

This process runs until the entire community converges to one of the beliefs, reaching consensus or up to a given maximum number of iterations. The consensus occurs when all agents have sufficiently low credence, less than or equal to 0.5 (incorrect consensus), or sufficiently high credence—above an arbitrary threshold, usually set to 0.99 (correct consensus). In this version of the model, the community usually converges to one of the beliefs in a finite time.

The network epistemology model described above does not take into account the time factor. We hypothesize that the temporality of the structure is important in the context of the spread of beliefs. Therefore, the concept of such a modification is proposed here. The temporal version is based on the application of the temporal social network model—CogSNet—that has been introduced in Ref. 46. The CogSNet model accounts for cognitive aspects of social perception. The model explicitly represents each social interaction as a trace in human memory with its corresponding dynamics. It allows for computing the network state at any point in time—due to this property, it is used in this study. By applying the CogSNet model, we create a setting in which for each iteration of the decision-making process a new snapshot of a temporal network is being created that is based on human past interactions. With this approach, we operate on a temporal network by exploiting a sequence of consecutive snapshots of the network, where each one of them represents this network at a specific point in time of its lifespan. The dynamic weights of the network relationship correspond to the changing agent’s ability (trust or influence level) to adapt beliefs acquired by the neighboring nodes.

The CogSNet model incorporates a forgetting function55,56 and three parameters: μ indicating the peak that sets the weight when the interaction occurs, θ being a cutoff threshold, and λ that is a parameter for a forgetting function—the basic idea for the model is presented in Fig. 1. These three parameters can be also combined into a trace lifetime L that indicates how long an edge between nodes will live before vanishing if no more interactions happen. Based on the previous research, we decided to use the exponential forgetting function and the parameters that most adequately mapped human forgetting, see Table I. More details on how the CogSNet model works are presented in Ref. 46.

FIG. 1.

Dynamics of relations in a CogSNet network with exponential and power forgetting functions for parameters μ=0.4, θ=0.1, and L=10 days.

FIG. 1.

Dynamics of relations in a CogSNet network with exponential and power forgetting functions for parameters μ=0.4, θ=0.1, and L=10 days.

Close modal
TABLE I.

CogSNet parameters.

ParameterValue
Forgetting function Exponential 
Trace lifetime 3 days 
μ 0.3 
θ 0.2 
λ 0.005 631 459 834 835 61 
Unit 1 h 
ParameterValue
Forgetting function Exponential 
Trace lifetime 3 days 
μ 0.3 
θ 0.2 
λ 0.005 631 459 834 835 61 
Unit 1 h 

A major change resulting from this temporal approach when compared to static networks is that simulations can only be conducted up to a certain number of iterations, equal to the product of the number of temporal social network states and the number of iterations performed in each state of the network. Therefore, there may be a situation where no consensus is reached by that time.

This approach also makes it necessary to introduce some modifications regarding the details of the model. In the case of temporal networks, nodes can lose connection with all their neighbors and be isolated from the rest of the network. Such nodes are labeled as inactive. In contrast, active nodes are those that have at least one neighbor. For this reason, inactive nodes are not considered when checking the consensus condition. Such nodes also do not conduct experiments but retain their credence level and when they return to the network, their belief is the same as it was when they disappeared.

Figure 2 shows an example of the learning process for a small community. The rows represent states of the temporal network on the timeline and the columns represent phases of the learning process. The credence values ranging from 0 to 1 are assigned to each agent defining their beliefs. The nodes colored in green choose the Beta action which, in fact, is a better one, and the orange ones choose the worse action Alpha. In this example, the community performs only one learning iteration for one network state. In this iteration, first, the agents that choose the Beta action perform experiments ten times and count the number of successes to assess if the Beta action is better or worse. Agents opting for Alpha action perform no experiments as the payoff of this action is known and equal to 0.5. Then, each agent updates its credence based on the results observed by himself and its neighbors. We start looking at the state of the network at its first instance t1, at which we see a network of four nodes connected by a set of edges. At this instance, only one of the nodes votes for Beta action and the other three for Alpha action. It means that only one agent performs experiments. These experiments result in 7 successes in 10 tries, which supports the belief that Beta is better than Alpha action. Based on the gathered data, this agent and its neighbors update their levels of credence using Bayes’ rule. One of the agents has no connections to anyone who performed experiments, so it has no reason to update its credence. At the state in t2, agents start the learning process with credence levels updated from the previous learning iteration. For this state, one of the connections disappears and the network consists of just three active nodes. One of the nodes has no connection to anyone else at that time, so it is disabled and maintains its opinion. At t3, we see two newly created edges and four active nodes. Evidence gathered through experiments still supports the Beta action superiority. In consequence, all agents change their credence and prefer Beta action. There is still no consensus, because the credence of all the nodes is not high enough—over 0.99 or low enough—less than 0.5.

FIG. 2.

An example of a learning process performed for a temporal network. Rows represent times points t1, t2, and t3 at which the network is inspected. Columns depict different phases of the learning process. The values in the circles representing nodes for the first and third column mean the credence levels of agents; for the second column—the number of successes returned by Beta action out of ten tries. Green nodes correspond to agents choosing the Beta action, orange nodes to agents carrying out the Alpha action, and gray ones to disabled agents. For each time point, the network structure is calculated using the CogSNet method and one iteration of the learning process performed on that topology.

FIG. 2.

An example of a learning process performed for a temporal network. Rows represent times points t1, t2, and t3 at which the network is inspected. Columns depict different phases of the learning process. The values in the circles representing nodes for the first and third column mean the credence levels of agents; for the second column—the number of successes returned by Beta action out of ten tries. Green nodes correspond to agents choosing the Beta action, orange nodes to agents carrying out the Alpha action, and gray ones to disabled agents. For each time point, the network structure is calculated using the CogSNet method and one iteration of the learning process performed on that topology.

Close modal

We run the simulations on both real social temporal networks built by applying the CogSNet model to the NetSense dataset and static synthetic networks. Some of these static topologies have already been studied in previous work on learning in social networks,10 while the others have been included due to their distinctive features. These synthetic networks are intended to serve as a reference for our temporal model.

NetSense is an empirical dataset generated by human interactions.57 The data were collected among a group of about 180 students using a special application installed on their smartphones that recorded metadata on phone calls and text messages. The scope of the data covers three years, that is, six semesters of studies of the group of students. In total, it contains 7 575 865 events, out of which 7 096 844 (93.7%) are text messages and the rest are phone calls. Events were recorded for every student’s communication, including those with non-participants. Before processing the event sequence from the NetSense collection, we performed a series of data cleaning operations. To ensure data consistency, we decided to limit the events set only to activities between the study participants, as it was not possible to track activity between non-participants. In addition, we removed duplicates that were sometimes recorded by the data collection application. These operations limited the number of events to 537 575.

We utilized the NetSense dataset to create a temporal social network, which was later used as a topology for our temporal model. We applied the configuration of the CogSNet model introduced in Ref. 46, where it was validated on the same dataset. One day was a resolution of the generated temporal network. This means that as many as 1103 points in time were generated, one for each day in which we run the decision process. We also model slower processes, in which the decisions are being made every one, three, five, or ten days. The CogSNet model parameters are presented in Table I.

The produced temporal network shows some seasonality in the activity of the participants, characterized by reduced communication during holiday breaks and inter-semester breaks, in agreement with an in-depth study of the seasonality presented in Ref. 58. In these periods, the network is unstable, first a large number of nodes and connections disappear and then reappear sometime later. In order to avoid the impact of such high instability on the study, we decided to limit the scope of experiments performed on the network to the period of the first semester, between 15 and 125 days. During this time, the number of active nodes and the number of edges are fluctuating, but the changes are not drastic, as in the case of the inter-semester breaks mentioned earlier. During the selected period, there were on average 148 nodes and 157 edges in the network.

In previous studies, the network epistemology model has been tested mainly for a relatively small number (a few to a few dozen nodes) of static topologies. For comparison, we also run simulations for other reference network topologies: complete, cycle, circle, and networks generated using the following models: Erdös–Rényi,59 Watts–Strogatz (WS),60 Barabási–Albert (BA)61—toy examples of these are depicted in Fig. 3.

FIG. 3.

Example of six different static topologies, generated for a given size of ten nodes.

FIG. 3.

Example of six different static topologies, generated for a given size of ten nodes.

Close modal

The complete graph, cycle, and circle structures were studied in the previous work of Zollman,10 while the WS and BA networks show closer similarity to real social networks. The size and properties of the network can affect the network learning process. For this reason, we generated these reference networks in such a way as to provide similarity in size and properties to the studied temporal network. In the period under the study, the average number of active nodes in the temporal network was equal to 148.37 and the average number of edges between these nodes was equal to 157.38. According to that, the number of nodes was set to 148 for each reference network. In the Erdös–Rényi model, the edge occurrence probability was set to 0.0144. This value was calculated based on the fundamental property of the ER graph model that the expected number of edges E the function of the probability p of an edge between any pair of nodes, leading to equation E=(N2)p, so p=E(N2), where N denotes the number of nodes. In the Watts–Strogatz model, the mean degree K (base number of neighbors) was set to 2, which is the closest even integer (required by the model) to the value 2.12 calculated from the formula K=2EN. The rewiring (edge switching) probability was set to 0.5, which is a middle value from the available range [0,1] and the default of the model. In the Barabási–Albert model, the number of edges to attach from a new node to existing nodes was set to 2. The choice of this value allows us to produce graphs with 293 edges, a number larger than desired; however, this is the best approximation that could be obtained using the BA model.

Another baseline network model was a snapshot of a temporal network that had been taken at the 15th day of students’ interactions (shortly after the snapshots stabilized over time).58 We referred to it as static network in this work since there are no structural changes over time, and its structure and connectivity was closer to the temporal network than the six aforementioned models.

In this section, we present the results of simulations performed with the proposed temporal model and the base static model for reference topologies. We use the NetSense dataset as a source for a temporal social network that has been built using the CogSNet model. Then, it is used in simulations of the learning process in the dynamic setting.

Figure 4 shows the effectiveness of a temporal network and reference networks in solving problems of various difficulties. The difficulty of the problem was controlled by changing the value of the Beta action payoff parameter. Other parameters of the model were predefined and constant. The Beta action payoff values were taken from the set: {0.5001, 0.500 25, 0.5005, 0.501, 0.5025, 0.505, 0.51, 0.525, 0.55}, which corresponds to the difference between the expected action payoffs: ϵ=P(Beta)P(Alpha)=P(Beta)0.5, from the set: {0.0001, 0.000 25, 0.0005, 0.001, 0.0025, 0.005, 0.01, 0.025, 0.05}. The maximum number of iterations for the static topologies was set to 10 000. To ensure a similar maximum number of possible iterations between the static models and the temporal network, the number of iterations per state of the temporal network was set to 91. This configuration resulted in the maximum number of iterations for the temporal network being set to 10,010, 10 more than for the static networks. Trials number N was equal to 10. 1000 simulations were run for each parameter configuration. It can be observed that all networks except static, random, and Small-World for Beta action payoff=0.51 reached the correct consensus for all simulations. For the two topologies mentioned above, this did not happen because some of three generated structures contained small connected components with just two nodes, which may have already received a drawn credence unsupportive of Beta action or have fallen into the trap of spurious data at the beginning of the simulation. This occurs when the credence of all individuals in a connected component falls below 0.5, so nobody is left to attempt to experiment with the Beta action and the entire connected component reaches incorrect consensus. Apart from the random, static, and Small-World graphs, for Beta action payoff values greater than 0.505, the probability of reaching correct consensus is lowest for both the entire temporal network and its largest connected component (CC). The CC of static networks is defined as the largest of its connected components. For the temporal network, it is established at the beginning of a simulation. The CC for this type of network may change over time and these structural changes are reflected in each iteration. During the studied period of real interactions from the NetSense dataset, the largest connected component was clearly settled and stable. It contains most of the nodes of the entire network. At each iteration, a small fraction of its nodes change. This has been quantified by comparing how many nodes in fact connect and disconnect to the largest CC on average between each time window. The average change with respect to nodes connecting and disconnecting equals 10% meaning that, in fact, the largest temporal connected component was relatively stable over iterations. Most importantly, the community in the temporal network configuration was able to reach consensus. For relatively simple problems, all simulations ended up reaching the correct consensus on the action payoff. Per contra, for harder problems, the probability of success was lower than for most of the reference networks or even equal to zero. If we look at the average community credence, for simulations with beta action payoff equal to 0.505, we can see that it is comparable for all configurations. The lower likelihood of correct consensus for the temporal network may be caused by the presence of certain small connected components, separated from the rest of the network, falling into incorrect consensus, after which they had no opportunity to contact other nodes to change their minds. It is also worth noting that the average time to converge to consensus, regardless of the difficulty of the problem, was always the longest for the temporal network. Only this structure needed a relatively large number of nearly 1500 iterations to converge to consensus, even for the easiest problem, where other networks were able to achieve it very quickly.

FIG. 4.

Community performance for various cases of the given problem.

FIG. 4.

Community performance for various cases of the given problem.

Close modal

The first study shows the difference between the results of the learning process between simulations with dynamic and static networks. Another interesting aspect is the behavior of the learning process itself. Figure 5 shows the values of the average credence and the number of Beta action voters averaged over all simulations. A noticeable characteristic of the evolution of a temporal network over time is its instability and fluctuating size of its largest connected component (CC). The average values of both measured characteristics, for the static networks, seem to be non-decreasing over time and converging in the case of credence to 1 and in the case of beta voter fraction to 100%. Instability arises only in the temporal network, even when the results are averaged over a large number of simulations. This observation indicates that the dynamic structure of the network causes fluctuations in learning. These fluctuations may be a reflection of new nodes joining the network or reactivating nodes that fell out of the structure some time earlier and were inactive for some time. The chance that such nodes have a low level of credence and choose the Alpha action is greater than that they are followers of the Beta action, especially if they were previously elements of smaller coherent components that are easier to fall into a state of incorrect consensus. The research presented in the introduction shows that network structure is an important factor in the process of opinion formation in social networks. Here, examine how dynamic structure affects the time evolution of this process. Communities organized in reference network structures and in a dynamic network were given a relatively simple problem to solve. In this case, the goal is not so much to see how successfully each community will perform, but the process itself. To ensure comparisons, all communities performed an identical number of iterations, that is, 110. In the dynamic network, one iteration was performed for one time window—it is as if individuals performed experiments and contacted each other to update their views exactly once a day for 110 days. In this study, 10 000 simulations were run for each network. Trials number n was equal to 10.

FIG. 5.

The course of the community learning process.

FIG. 5.

The course of the community learning process.

Close modal

The first important observation is that, at least for the temporal network based on the NetSense dataset, the community despite its dynamic structure can reach the correct consensus. The probabilities of reaching the correct consensus are different for different levels of problem difficulty and decrease as the problem gets harder. We can also observe that the chance of convergence to the correct consensus by the temporal network is lower than for most of the reference network models.

The lower performance of the Random networks is caused by the choice of parameters used to generate them. For the used parameters, the Erdös–Rényi graph results with high probability in the creation of a network having more than one connected component. These connected components may consist of a small number of nodes whose randomly initiated beliefs lead them to choose the Alpha action and not to experiment. This configuration and the static structure of the community do not allow the members of these connected components to change their beliefs, thus blocking the whole network from reaching a correct consensus.

Single cases of convergence to incorrect consensus occurred only for the complete network and for the more difficult problems. This phenomenon of dense connectivity leading to a negative influence on the learning process was described as the Zollman effect.10 The fact that we do not observe any cases of convergence to the incorrect consensus for other networks is due to the size of the networks. This relationship of convergence probability with network size was described in Ref. 62.

For the static network setting, in which the network is a single snapshot of a CogSNet model, the joint belief formation is highly unlikely. Since there is no opportunity to share knowledge between individuals located in different connected components, the only scenario is that each component starts with the same initial opinion. The situation is different for the largest connected component of a static network that was separately analyzed as well. Here, the consensus can be reached rather fast. Unlike convergence for a temporal network seen in Fig. 5, the learning process here is smoother as there are no network fluctuations. Another perspective on the results arises from the study of entropy evolution of social interactions and communication.58,63 From this perspective, the high probability of reaching consensus in the temporal setting is caused by the contribution of the dynamics itself. Over time, the opinions can be carried around by people connecting to different parts of the network. Thus, the limitations of clustering can be overcome in a way similar to what Kurahashi-Nakamura et al. observed in opinion dynamics,64 where connecting agents with smaller disagreement eventually led to reaching consensus.

In another set of experiments, we investigated how the learning process evolves in a situation when its iterations are not aligned with the temporal network. As described in Sec. II C, we conducted the experiments for updating the actors’ states every one, three, five, and ten days. The rationale for slightly longer periods for updating credence was that people may require different periods of time to digest an idea before intrinsically accepting or rejecting it. Given the experiments were conducted in the university setting, we selected these periods on the scale from one to ten days to be in line with the best recall performance found in Ref. 46. The results demonstrate (see Fig. 6) that the trend is the same—the percentage of beta voters increases over iterations, as well as the average credence. However, the dynamics of the process is slower. The conclusion is that despite the fluctuations introduced by network dynamics, the process follows the same direction, only the speed is affected.

FIG. 6.

The analysis of the learning process with different timescales: updating the state of agents every day, or three, five, or ten days.

FIG. 6.

The analysis of the learning process with different timescales: updating the state of agents every day, or three, five, or ten days.

Close modal

Now, we look at the parameter space of the learning process. The experiment confirms that the network epistemology model is sensitive to the choice of parameters. A small difference in Beta action payoff can determine the ability of a community to collectively draw correct conclusions and come to a consensus on a topic in a finite time.

If we look at the results for the Beta payoff equal to 0.505, we can see that for the temporal network the probability of reaching the correct consensus for the largest connected component of the temporal network is higher than for the whole network. Even though the whole community may be struggling to solve the problem posed to it, the largest subgroup of the network reaches a correct consensus. This means that those who rejected better action tend to be on the periphery of the community, gathered in smaller groups supporting the same, but worse, view. The same applies to the number of iterations needed to converge to a consensus. In the full network, it is significantly longer than for static reference networks and for the largest connected component. Convincing initially isolated individuals requires contacting them and cannot be done any other way. Isolated individuals who insist on an erroneous view may and will change their minds, but they must be given evidence to do so.

The dynamic structure of the community also affects the process of learning itself. The number of people advocating different options can change dynamically and affect the proportion of groups supporting different actions. The average credence and the number of agents supporting the better action do not decrease for any of the reference network structures as it does for the temporal network.

It is important to note, however, that the study was conducted on only a fragment of one temporal network and requires confirmation from the large studies that we left for future research. Our goal was to support the predictions about the effect of dynamized structure on learning and we believe that our results accomplished that.

This work introduces a temporal network epistemology model that corresponds to reality closer than static epistemic networks studied in previous studies on knowledge exchange and decision making. By applying the CogSNet model, we were able to build a temporal social network through which agents gather information to decide their next actions.

As the results demonstrate, accounting for dynamic topology reveals the existence of a number of effects that either prohibit or significantly slow down reaching the consensus compared to static social structures. This is naturally caused by network dynamics, but two major aspects of it contributed the most, namely, nodes’ isolation and varying neighborhood of nodes. This clearly shows that representing real-life phenomena in the network dynamics reveals significant divergence from the simplified outcomes of typical epistemological studies based on static networks. Moreover, contrary to the models based on static networks, it should also be expected that different connected components will end up with different states regarding the consensus—the longer this situation persists, the harder it would be to direct the network toward the expected situation if some links between these components reappear in the future.

Given that the goal of this study was to analyze the process of the decision-making process in temporal epistemic networks, a variety of new insight have been drawn, but also a number of future work directions have also been found interesting. Among the latter, we believe that it would be beneficial to investigate the outcomes of the process for different sets of CogSNet model parameters. So far, we only studied the most plausible values as past research on forgetting has shown.46 However, for certain processes, these values can be different and an interesting research direction would be to answer the question of their impact on the process. Next, given that real-world social networks do consist of separate components, we study how different configurations and their dynamic interconnections shape this process, especially that we can see that the number and structure of connected components significantly impact the results. For instance, does a series of one-day links that appear every second day contribute more than a link that exists continuously but only for the first half of the analyzed period? Next, given that the credence update period can mean something different for different individuals, as our interactions highly vary, another idea would be to update the credence based not on a time passed, but rather a number of interactions made with others. We plan to study these ideas in the future analysis of temporal epistemic networks in the context of multiple dependencies that network dynamics introduces.

B.K.S. was partially supported by DARPA Social-Sim (Program No. W911NF-17-C-0099) and INCAS (Program No. HR001121C0165). P.K. was partially supported by the National Science Centre, Poland (Project No. 2020/37/B/ST6/03806). R.M. and M.N. were partially supported by the National Science Centre, Poland (Project No. 2021/41/B/HS6/02798). T.J. has been supported by Industry-University-Research Innovation Fund for Chinese Universities (No. 2021ALA03016) and University Innovation Research Group of Chongqing (No. CXQT21005).

The authors have no conflicts to disclose.

The code for computing the state of the social network built using the CogSNet model has been made public. A fast C implementation is available in Code Ocean capsule at https://dx.doi.org/10.24433/CO.6088785.v1, Ref. 65. Access to the NetSense dataset for research use can be gained by contacting Professor Omar Lizardo from University of California Los Angeles.

1.
D. G.
Goldstein
and
G.
Gigerenzer
, “
Models of ecological rationality: The recognition heuristic
,”
Psychol. Rev.
109
(
1
),
75
(
2002
).
2.
S.
Knobloch-Westerwick
,
C.
Mothes
, and
N.
Polavin
, “
Confirmation bias, ingroup bias, and negativity bias in selective exposure to political information
,”
Commun. Res.
47
(
1
),
104
124
(
2020
).
3.
S. J.
Sherman
and
E.
Corty
, Cognitive Heuristics (Lawrence Erlbaum Associates Publishers, 1984).
4.
J.
Flamino
,
B. K.
Szymanski
,
A.
Bahulkar
,
K.
Chan
, and
O.
Lizardo
, “
Creation, evolution, and dissolution of social groups
,”
Sci. Rep.
11
(
1
),
1
11
(
2021
).
5.
L.
Hopper
and
S.
Brosnan
, “
Primate cognition
,”
Nat. Educ. Knowl.
5
(
8
),
3
(
2012
).
6.
L. M.
Hopper
,
S. P.
Lambeth
,
S. J.
Schapiro
, and
A.
Whiten
, “
Observational learning in chimpanzees and children studied through ‘ghost’ conditions
,”
Proc. R. Soc. B
275
(
1636
),
835
840
(
2008
).
7.
M.
Tomasello
and
E.
Herrmann
, “
Ape and human cognition: What’s the difference?
,”
Curr. Dir. Psychol. Sci.
19
(
1
),
3
8
(
2010
).
8.
V.
Horner
and
A.
Whiten
, “
Causal knowledge and imitation/emulation switching in chimpanzees (Pan troglodytes) and children (Homo sapiens)
,”
Anim. Cogn.
8
(
3
),
164
181
(
2005
).
9.
A. M.
Seed
,
D.
Hanus
, and
J.
Call
, “Causal knowledge in corvids, primates, and children,” in Tool Use and Causal Cognition (Oxford University Press, 2011), pp. 89–110.
10.
K. J. S.
Zollman
, “
The communication structure of epistemic communities
,”
Philos. Sci.
74
(
5
),
574
587
(
2007
).
11.
V.
Bala
and
S.
Goyal
, “
Learning from neighbours
,”
Rev. Econ. Stud.
65
(
3
),
595
621
(
1998
).
12.
C.
O’Connor
and
J.
Weatherall
, “
Scientific polarization
,”
Eur. J. Philos. Sci.
8
,
1
21
(
2018
).
13.
J.
Weatherall
and
C.
O’Connor
, “
Do as I say, not as I do, or, conformity in scientific networks
,”
SSRN Electron. J.
(
2018
) (online).
14.
J.
Weatherall
and
C.
O’Connor
, “
Endogenous epistemic factionalization: A network epistemology approach
,”
SSRN Electron. J.
(
2018
) (online).
15.
J.
Weatherall
,
C.
O’Connor
, and
J.
Bruner
, “
How to beat science and influence people: Policymakers and propaganda in epistemic networks
,”
Br. J. Philos. Sci.
71
,
1157
1186
(
2020
).
16.
A.
Baronchelli
, “
Role of feedback and broadcasting in the naming game
,”
Phys. Rev. E
83
(
4
),
046103
(
2011
).
17.
A.
Baronchelli
,
M.
Felici
,
V.
Loreto
,
E.
Caglioti
, and
L.
Steels
, “
Sharp transition towards shared vocabularies in multi-agent systems
,”
J. Stat. Mech.: Theory Exp.
2006
(
06
),
P06014
.
18.
L.
Dall’Asta
,
A.
Baronchelli
,
A.
Barrat
, and
V.
Loreto
, “
Nonequilibrium dynamics of language games on complex networks
,”
Phys. Rev. E
74
(
3
),
036105
(
2006
).
19.
Q.
Lu
,
G.
Korniss
, and
B. K.
Szymanski
, “
Naming games in two-dimensional and small-world-connected random geometric networks
,”
Phys. Rev. E
77
(
1
),
016111
(
2008
).
20.
C.
Castellano
,
S.
Fortunato
, and
V.
Loreto
, “
Statistical physics of social dynamics
,”
Rev. Mod. Phys.
81
(
2
),
591
(
2009
).
21.
M. S.
Miguel
,
V. M.
Eguiluz
,
R.
Toral
, and
K.
Klemm
, “
Binary and multivariate stochastic models of consensus formation
,”
Comput. Sci. Eng.
7
(
6
),
67
73
(
2005
).
22.
F.
Vazquez
,
P. L.
Krapivsky
, and
S.
Redner
, “
Constrained opinion dynamics: Freezing and slow evolution
,”
J. Phys. A: Math. Gen.
36
(
3
),
L61
(
2003
).
23.
X.
Castelló
,
A.
Baronchelli
, and
V.
Loreto
, “
Consensus and ordering in language dynamics
,”
Eur. Phys. J. B
71
,
557
564
(
2009
).
24.
J.
Xie
,
S.
Sreenivasan
,
G.
Korniss
,
W.
Zhang
,
C.
Lim
, and
B.
Szymanski
, “
Social consensus through the influence of committed minorities
,”
Phys. Rev. E
84
,
011130
(
2011
).
25.
M.
Kearns
,
J.
Judd
,
J.
Tan
, and
J.
Wortman
, “
Behavioral experiments on biased voting in networks
,”
Proc. Natl. Acad. Sci. U.S.A.
106
,
1347
52
(
2009
).
26.
A. M.
Thompson
,
B. K.
Szymanski
, and
C. C.
Lim
, “
Propensity and stickiness in the naming game: Tipping fractions of minorities
,”
Phys. Rev. E
90
(
4
),
042809
(
2014
).
27.
I. D.
Couzin
,
C. C.
Ioannou
,
G.
Demirel
,
T.
Gross
,
C. J.
Torney
,
A.
Hartnett
,
L.
Conradt
,
S. A.
Levin
, and
N. E.
Leonard
, “
Uninformed individuals promote democratic consensus in animal groups
,”
Science
334
(
6062
),
1578
1580
(
2011
).
28.
X.
Chen
,
X.
Zhang
,
Z.
Wu
,
H.
Wang
,
G.
Wang
, and
W.
Li
, “
Opinion evolution in different social acquaintance networks
,”
Chaos
27
(
11
),
113111
(
2017
).
29.
G.
Deffuant
,
D.
Neau
,
F.
Amblard
, and
G.
Weisbuch
, “
Mixing beliefs among interacting agents
,”
Adv. Compl. Syst.
3
(
01n04
),
87
98
(
2000
).
30.
X.
Chen
,
X.
Xiong
,
M.
Zhang
, and
W.
Li
, “
Public authority control strategy for opinion evolution in social networks
,”
Chaos
26
(
8
),
083105
(
2016
).
31.
R.
Hegselmann
and
U.
Krause
, “
Opinion dynamics and bounded confidence models, analysis, and simulation
,”
J. Artif. Soc. Soc. Simul.
5
(
3
),
1–33
(
2002
).
32.
K.
Sznajd-Weron
and
J.
Sznajd
, “
Opinion evolution in closed community
,”
Int. J. Mod. Phys. C
11
(
06
),
1157
1165
(
2000
).
33.
A.
Barrat
,
M.
Barthelemy
, and
A.
Vespignani
,
Dynamical Processes on Complex Networks
(
Cambridge University Press
,
2008
).
34.
M.
Li
,
Z.
Duan
,
G.
Chen
, and
L.
Huang
, “
Consensus of multiagent systems and synchronization of complex networks: A unified viewpoint
,”
IEEE Trans. Circuits Syst. I Regul. Pap.
57
(
1
),
213
224
(
2009
).
35.
W.
Ren
, “
Multi-vehicle consensus with a time-varying reference state
,”
Syst. Control Lett.
56
(
7-8
),
474
483
(
2007
).
36.
A.
Cavagna
,
I.
Giardina
, and
T. S.
Grigera
, “
The physics of flocking: Correlation as a compass from experiments to theory
,”
Phys. Rep.
728
,
1
62
(
2018
).
37.
M.
Chamanbaz
,
D.
Mateo
,
B. M.
Zoss
,
G.
Tokić
,
E.
Wilhelm
,
R.
Bouffanais
, and
D. K.
P Yue
, “
Swarm-enabling technology for multi-robot systems
,”
Front. Robot. AI
4
,
12
(
2017
).
38.
V.
Amelkin
,
F.
Bullo
, and
A. K.
Singh
, “
Polar opinion dynamics in social networks
,”
IEEE Trans. Autom. Control
62
(
11
),
5650
5665
(
2017
).
39.
G.
De Pasquale
and
M. E.
Valcher
, “
Consensus for clusters of agents with cooperative and antagonistic relationships
,”
Automatica
135
,
110002
(
2022
).
40.
J. H.
Fowler
and
N. A.
Christakis
, “
Cooperative behavior cascades in human social networks
,”
Proc. Natl. Acad. Sci.
107
(
12
),
5334
5338
(
2010
).
41.
R.
Light
et al., “
Scientific consensus, the law, and same sex parenting outcomes
,”
Soc. Sci. Res.
53
,
300
310
(
2015
).
42.
U.
Shwed
and
P. S.
Bearman
, “
The temporal structure of scientific consensus formation
,”
Am. Sociol. Rev.
75
(
6
),
817
840
(
2010
).
43.
P.
Holme
and
J.
Saramäki
, “
Temporal networks
,”
Phys. Rep.
519
(
3
),
97
125
(
2012
).
44.
N.
Masuda
,
K.
Klemm
, and
V. M.
Eguíluz
, “
Temporal networks: Slowing down diffusion by long lasting interactions
,”
Phys. Rev. Lett.
111
(
18
),
188701
(
2013
).
45.
P.
Holme
, “
Modern temporal network theory: A colloquium
,”
Eur. Phys. J. B
88
(
9
),
1
30
(
2015
).
46.
R.
Michalski
,
B. K..
Szymanski
,
P.
Kazienko
,
C.
Lebiere
,
O.
Lizardo
, and
M.
Kulisiewicz
, “
Social networks through the prism of cognition
,”
Complexity
2021
,
4963903
(
2021
).
47.
J.
Fernández-Gracia
,
V. M.
Eguíluz
, and
M. S.
Miguel
, “Timing interactions in social simulations: The voter model,” in Temporal Networks (Springer, 2013), pp. 331–352.
48.
K.
Hoppe
and
G. J.
Rodgers
, “
Mutual selection in time-varying networks
,”
Phys. Rev. E
88
(
4
),
042804
(
2013
).
49.
D.
Li
,
D.
Han
,
J.
Ma
,
M.
Sun
,
L.
Tian
,
T.
Khouw
, and
H.
Eugene Stanley
, “
Opinion dynamics in activity-driven networks
,”
Europhys. Lett.
120
(
2
),
28002
(
2018
).
50.
M.
Li
and
H.
Dankowicz
, “
Impact of temporal network structures on the speed of consensus formation in opinion dynamics
,”
Physica A
523
,
1355
1370
(
2019
).
51.
L.
Neuhäuser
,
R.
Lambiotte
, and
M. T.
Schaub
, “
Consensus dynamics on temporal hypergraphs
,”
Phys. Rev. E
104
(
6
),
064305
(
2021
).
52.
G.
Stahl
, “Building collaborative knowing,” in What We Know About CSCL (Springer, 2004), pp. 53–85.
53.
D.
Gašević
,
S.
Joksimović
,
B. R.
Eagan
, and
D. W.
Shaffer
, “
SENS: Network analytics to combine social and cognitive perspectives of collaborative learning
,”
Comput. Hum. Behav.
92
,
562
577
(
2019
).
54.
V.
Bala
and
S.
Goyal
, “
Learning from neighbours
,”
Rev. Econ. Stud.
65
(
3
),
595
621
(
1998
).
55.
J. T.
Wixted
and
E. B.
Ebbesen
, “
On the form of forgetting
,”
Psychol. Sci.
2
(
6
),
409
415
(
1991
).
56.
J. T.
Wixted
and
E. B.
Ebbesen
, “
Genuine power curves in forgetting: A quantitative analysis of individual subject forgetting functions
,”
Mem. Cogn.
25
(
5
),
731
739
(
1997
).
57.
A.
Striegel
,
S.
Liu
,
L.
Meng
,
C.
Poellabauer
,
D.
Hachen
, and
O.
Lizardo
, “
Lessons learned from the netsense smartphone study
,”
ACM SIGCOMM Comput. Commun. Rev.
43
(
4
),
51
56
(
2013
).
58.
M.
Kulisiewicz
,
P.
Kazienko
,
B. K.
Szymanski
, and
R.
Michalski
, “
Entropy measures of human communication dynamics
,”
Sci. Rep.
8
(
1
),
1
8
(
2018
).
59.
P.
Erdös
and
A.
Rényi
, “
On the evolution of random graphs
,”
Publ. Math. Inst. Hung. Acad. Sci.
5
(
1
),
17
60
(
1960
).
60.
D. J.
Watts
and
S. H.
Strogatz
, “
Collective dynamics of ‘small-world’ networks
,”
Nature
393
(
6684
),
440
442
(
1998
).
61.
A.-L.
Barabási
and
R.
Albert
, “
Emergence of scaling in random networks
,”
Science
286
(
5439
),
509
512
(
1999
).
62.
S.
Rosenstock
,
J.
Bruner
, and
C.
O’Connor
, “
In epistemic networks, is less really more?
,”
Philos. Sci.
84
,
234
(
2017
).
63.
R.
Michalski
,
J.
Jankowski
, and
P.
Pazura
,
Entropy-Based Measure for Influence Maximization in Temporal Networks
(
Springer
,
2020
), pp.
277
290
.
64.
T.
Kurahashi-Nakamura
,
M.
Mäs
, and
J.
Lorenz
, “
Robust clustering in generalized bounded confidence models
,”
J. Artif. Soc. Soc. Simul.
19
(
4
),
7
(
2016
).
65.
R.
Michalski
,
B. K.
Szymanski
,
P.
Kazienko
,
C.
Lebiere
,
O.
Lizardo
,
M.
Kulisiewicz
, “Social Networks through the Prism of Cognition,” (2021); available at .