Back to search

A Bayesian Semi-Parametric Approach for Modeling Memory Decay in Dynamic Social Networks

DSEID
DSEID-001-2229065
DOI
10.1177/00491241221113875
Journal
Sociological Methods & Research
Publisher
SAGE Publications
Published
2024-8
Status
available

Abstract

In relational event networks, the tendency for actors to interact with each other depends greatly on the past interactions between the actors in a social network. Both the volume of past interactions and the time that has elapsed since the past interactions affect the actors’ decision-making to interact with other actors in the network. Recently occurred events may have a stronger influence on current interaction behavior than past events that occurred a long time ago–a phenomenon known as “memory decay”. Previous studies either predefined a short-run and long-run memory or fixed a parametric exponential memory decay using a predefined half-life period. In real-life relational event networks, however, it is generally unknown how the influence of past events fades as time goes by. For this reason, it is not recommendable to fix memory decay in an ad-hoc manner, but instead we should learn the shape of memory decay from the observed data. In this paper, a novel semi-parametric approach based on Bayesian Model Averaging is proposed for learning the shape of the memory decay without requiring any parametric assumptions. The method is applied to relational event history data among socio-political actors in India and a comparison with other relational event models based on predefined memory decays is provided.

PDF

? pages Loading PDF.js reader.

GROBID Extracted text; discontinued.

This text is generated from TEI extraction for accessibility, search, and TTS. Formulas, tables, figures, page layout, and references may not perfectly match the original PDF.

Extraction warning: A DOI found in the document differs from the requested DOI.

Extracted abstract

In relational event networks, the tendency for actors to interact with each other depends greatly on the past interactions between the actors in a social network. Both the quantity of past interactions and the time that elapsed since the past interactions occurred affect the actors' decision-making to interact with other actors in the network. Recently occurred events generally have a stronger influence on current interaction behavior than past events that occurred a long time ago-a phenomenon known as "memory decay". Previous studies either predefined a short-run and long-run memory or fixed a parametric exponential memory using a predefined half-life period. In real-life relational event networks however it is generally unknown how the memory of actors about the past events fades as time goes by. For this reason it is not recommendable to fix this in an ad hoc manner, but instead we should learn the shape of memory decay from the observed data. In this paper, a novel semi-parametric approach based on Bayesian Model Averaging is proposed for learning the shape of the memory decay without requiring any parametric assumptions. The method is applied to relational event history data among socio-political actors in India.

Introduction

As a result of the growing automated collection of information, fine-grained longitudinal network data are increasingly available in many disciplines, such as sociology, psychology, and biology. These data have the potential to revolutionize our understanding about complex social network dynamics as we can learn how the past affects the future, how interaction behavior changes in continuous time, and how the actors' memory about past social interactions fades away as time progresses. This has stimulated social network scientists to develop network models that suit the inherent dynamic nature of these so-called relational event data. A relational event is defined as an action initiated by a sender and targeted to one or more receivers at a specific point in time. The relational event modeling framework aims to model the event rate, that is the speed at which relational events occur over a period of time between the actors in the model. The event rate can be expressed as a function of characteristics that quantify endogenous network patterns or exogenous information which determine how the network unfolds at some point in time (Butts, 2008) . In sociological and psychological research, the application of these relational event models aims to find behavioral patterns and to shed light on the emergence of a global structure from network dynamics occurring at a local level (Leenders, Contractor, & DeChurch, 2016) .

Of particular interest is to understand what triggers actors to interact with each other. Actors might decide which mutual recipient to target their actions to depending on various aspects such as homophily, norms of reciprocity, the volume of past social interactions, et cetera. Past relational events influence future events in different ways. First, this influence depends on qualitative aspects of the past events, such as whether the interaction was positive or a negative or who was the sender of the past event. For example, receiving a message from the company's president might have a greater effect than a message from another colleague. Events with a negative connotation have been argued to have a greater effect than events with a positive connotation. For instance a rebuke by the teacher may have a stronger effect than a praise by the teacher towards a child (Brass & Labianca, 1999) . Second, more recently past events generally have a greater influence on the present than events that occurred a long time ago (Butts, 2008) . In a school setting a rebuke might have a longer lasting effect on future interactions than a praise and a rebuke coming from the teacher may have a longer-lasting effect than a rebuke coming from a classmate. This variability lays the foundation for the presence of an underlying memory process that shapes actors' decisions over time. The probability of remembering previously stored information has already been discussed in past studies where the memory retention concept was conceived as a stochastic psychological process. There, memory retention was studied by examining the dynamics of the hazard function corresponding to this stochastic process (Chechile, 2003 (Chechile, , 2006 (Chechile, , 2009)) .

In the relational event modeling literature, on the other hand, little attention has been paid to the possibility that recently occurred events may have a larger impact on the event rate than those events happened long ago. This is an important limitation as memory plays a crucial role in our understanding of social interaction between actors in a network. There are some noteworthy exceptions however. One approach has been to quantify a specific pattern of interactions according to two predefined different time interval definitions as in a 2-step approach: a short-term expression (calculated by considering recently passed events) and a long-term expression (considering only long passed events in the computation) (Quintane, Pattison, Robins, & Mol, 2013) . The estimated effects of the two definitions describe how different the impact of the specific pattern is on the event rate according to different recency of events constituting the pattern itself. Another approach consists of estimating the model while using a moving time window of a specific memory length. The result is a discrete trend of the effects over the windows (J. Mulder & Leenders, 2019) . An alternative to time-intervals-based methods weighs events by means of an exponentially decreasing function with a given half-life parameter that describes the elapsed time beyond which the weight of an event in the calculation of the statistic is halved (Brandes, Lerner, & Snijders, 2009) . A similar approach was suggested by (Butts, 2008) . In all these cases we need to predefine the memory lengths both when defining short and long-term statistics and when choosing the memory length in the time window, or to a particular steepness of decay in the case of the half-life. The problem of the 2-step approach is that (i) it is unlikely that memory decays in a discrete step-wise manner, and (ii) the time points of the steps need to be chosen a priori (which is done in an ad hoc manner). The exponential decay on the other hand is modeled as a smooth function, which seems more natural. However the the half-life parameter which determines the steepness of the decay is arbitrarily chosen by the researcher a priori. The steepness of the decay however is generally unknown in practice.

The purpose of this work is to present a semi-parametric method for learning the shape of memory decay in relational event models. The method is semi-parametric in the sense that it does not make assumptions about a specific functional form for memory decay. Indeed, parameters that potentially govern the memory process and, in turn, determine its shape over time are often unknown and our intent is to minimize the risk of mistakes that a parametric misspecification could induce. Our method can be used for finding any functional form of memory decay which could be an exponentially decreasing trend, a smoothed stepwise function, or other, possibly more (or less) complex, functional trends. In the case of event history data with combinations of positive and negative events, the proposed method will not only allow us to learn how much longer (or shorter) negative events are stored in the actor's memory than positive events but also whether the memory decay of these different sentiments follow different functional shapes. Furthermore, this semi-parametric method combines the application of Bayesian inference in the context of a model selection problem (Bayesian Model Averaging) (Volinsky, Raftery, Madigan, & Hoeting, 1999) with the use of the relational event modeling framework as in (Butts, 2008) .

The work is structured such that in Section 2 the relational modeling framework is introduced with a first insight over the concept of memory decay. In Section 3 a stepwise memory decay model is formulated. In Section 4 a continuous memory decay model is presented as well as the potential use of stepwise models in approximating the continuous shape of the decay. In Section 5 the semi-parametric method based on a Bayesian Model Averaging is presented along with two weighting systems used for generating random draws from the posterior memory decay. Finally, in Section 6 the method is applied to empirical data and findings are discussed, thus concluding with Section 7 where a few final considerations are taken around the methodology and its potential developments.

Relational event models that capture memory decay

In the relational event framework (Butts, 2008) , a relational event e m is characterized by the 3-tuple (s em , r em , t m ), respectively sender, receiver and time of occurrence of the event. The joint probability of the realized ordered sequence of M relational events, E t M = (e 1 , . . . , e M ), can be modeled as

p(E t M ; β) = M m=1 λ(s em , r em , X em , E tm-1 , β) e ∈R exp -λ(s e , r e , X e , E tm-1 , β) (t m -t m-1 ) (1)

where t 0 (at m = 1) is assumed equal to zero or to the starting time point of the case study, λ(s em , r em , X em , E tm-1 , β) is the rate of the event e m occurred at time t m and λ(s e , r e , X e , E tm-1 , β) represents the event rate of any event e that could have happened at time t m (including e m ). Indeed, e belongs to R which is the risk set consisting of all sender/receiver combinations, such as S × R: where S and R are respectively sets of all possible senders and receivers for the entire event sequence. Where all actors can be senders as well as receivers in an interaction, then S ≡ R and the set of actors is simply indicated with S. Equation ( 1 ) can be viewed as the well-known survival model with time-varying covariates, where hazard and survival components form the likelihood in the same way (Lawless, 2002) .

The rate of the specific dyadic event e ∈ R at a generic time t m is modeled as a log-linear function of statistics and it can be written as follows λ(s e , r e , X e , E tm-1 , β) = exp P p=1 β p u p (s e , r e , X e , E tm-1 )

(2)

where:

• β p with p = 1, . . . , P , are parameters describing the effects of statistics on the logarithm of the event rate;

• X e is the set of covariates (exogenous attributes, possibly time-varying) associated with event e ;

• E tm-1 refers to the collection of all of those events occurred before t m ;

• u p (s e , r e , X e , E tm-1 ) with p = 1, . . . , P , are the statistics of interest and each one can depend either on transpired events (endogenous statistics calculated at each time point, given E tm-1 , and for either all dyads or all actors) or on exogenous attributes (X e ).

In the standard specification of the model, endogenous statistics describe patterns of interactions occurring in the network which are quantified at each time point by considering the whole history of events happened from the initial state of the network (first observed relational event) until the time point before the current one (that is t m-1 in (2)). For instance, consider the standard formulation of the inertia statistic, which is a dyadic endogenous statistic that quantifies the volume of interactions of a specific dyad occurred until the current time point. Inertia quantifies the extent to which specific relational events keep repeating in the network over time. The corresponding formula at a generic time point t m with history E tm-1 will be the following,

inertia(i, j, t m ) = e∈Et m-1 I e (i, j) (3)

where I e (i, j) is the indicator variable that assumes value 1 if the event e ∈ E tm-1 has s e = i and r e = j, 0 otherwise. The event rate for any possible event e ∈ R at time t m with only the inertia in the linear predictor can be written as

λ(s e , r e , E tm-1 , β) = exp β inertia inertia(s e , r e , E tm-1 ) (4)

A positive estimate for β inertia means that actors interact at higher rates with those actors who were often receivers of their past interactions. This is a sign of social routinization: what happened in the past is bound to be repeated over and over into the future, For instance, consider Figure 1 where a sequence of events from t 1 to t 14 is represented on a time line. In order to calculate the inertia at time t 15 for the specific dyad (i, j) we need to count the number of past events in the history E t14 where i targeted an action to j, which is 6 in the example. Although this approach would give insights about how previous interactions between actors have influence on the event rate, we would be assuming long passed events (such as those that happened 14 and 11 events ago, over two hours ago) to be

E t14 t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 (i, j) (j, i) (l, j) (i, j) (i, l) (j, i) (i, j) (j, i) (i, j) (j, l) (i, j) (l, j) (j, i) (i, j) E t14,3 E t14,2 E t14,1 0secs 30mins 2hrs ∞ Figure 1:

Example of inertia calculation relative to the dyadic event (i, j) and given a sequence of events t 1 , . . . , t 14 with the corresponding history E t14 .The event of interest in the calculation of the statistic is written in black, gray is otherwise. Without considering intervals, the value of inertia at time t 15 is 6. Whereas, when considering the interval definition (intervals delimited by upwards arrows) the value of inertia across the three intervals will become inertia 1 = 1, inertia 2 = 3 and inertia 3 = 2.

equally influential as recently passed ones (such as the ones that are only 1 or 4 events or 45 minutes or so old) in the computation of the statistics as well as on the event rate itself. This assumption may not be realistic for relational event data in practice as indicated earlier.

Hence, the need of specifying a model that would be capable of accounting for this mutable effect by past events on dyadic event rate.

A stepwise memory decay model

Stepwise decay for first order endogenous effects

We model the changing importance of past events as a function of the transpired time since the event was observed and do this through a stepwise memory decay model (Perry & Wolfe, 2013) . First, the event history at each time point is divided into fixed intervals, then endogenous statistics are computed for each interval, and finally the corresponding endogenous effects are estimated. These effects quantify the relative importance of past events in predicting future events. For instance, considering the event sequence in Figure 1 , we observe that at t 15 more than 2 hours transpired since the starting time point and we divide the history of events E t14 in three sub-histories according to a set γ of increasing time lengths, for example, γ = (0secs, 30mins, 2hrs, ∞)

E t14,1 = {e ∈ E t14 : (t 15 -t e ) ∈ (0secs, 30mins]} E t14,2 = {e ∈ E t14 : (t 15 -t e ) ∈ (30mins, 2hrs]} E t14,3 = {e ∈ E t14 : (t 15 -t e ) ∈ (2hrs, ∞)} (5)

Where the first sub-history E t14,1 contains all events transpired until 30 minutes before t 15 ; the second, E t14,2 , includes those events happened between 30 minutes and 2 hours before t 15 ; lastly, the third sub-history, E t14,3 , includes all events happened more than 2 hours before t 15 (the right bound is left undefined here). In Figure 1 , the partition into sub-histories is shown by the upwards arrows corresponding to the time lengths γ. Therefore, three values of inertia can be calculated at any time point t m in the observed sequence by considering the three different partitions of the event history according to the increasing time lengths (γ).

inertia k (i, j, t m ) = e∈E t m-1 ,k I e (i, j) with k = 1, 2, 3 (6)

Following the example, corresponding values of inertia according to intervals at time point t 15 are: inertia 1 = 1, inertia 2 = 3 and inertia 3 = 2. We may expect that events occurred in E t14,1 have a larger impact on the event rate than those occurred in E t14,2 and E t14,3 . Although we do not make this assumption (as the goal is to learn from the data), the estimated effects relative to the three statistics will generally decrease in actual data, making the regression coefficient for inertia based on the most recent sub-history higher than that of inertia based on the most distant events, that is

β inertia1 > β inertia2 > β inertia3 .

In a more general case where K partitions of the current event history are defined according to increasing time lengths, such as

γ = (γ 0 , γ 1 , . . . , γ K ) with 0 = γ 0 < γ 1 < . . . < γ K = ∞ (7)

we can partition the event history E tm-1 at time t m into subsets as

E tm-1,1 = e ∈ E tm-1 : γ e (t m ) ∈ (0, γ 1 ] E tm-1,2 = e ∈ E tm-1 : γ e (t m ) ∈ (γ 1 , γ 2 ] . . . E tm-1,K = e ∈ E tm-1 : γ e (t m ) ∈ (γ K-1 , ∞) (8)

where γ e (t m ) = t m -t e represents the elapsed time at t m since the past event e ∈ E tm-1 .

The general formula for inertia relative to the dyadic event e with (s e = i, r e = j) in the k -th partition of the

E tm-1 at time t m is inertia k (i, j, t m ) = e∈E t m-1 ,k I e (i, j) with k = 1, . . . , K (9)

The event rate for any possible event e ∈ R at time t m where inertia is defined in K partitions will assume the form below,

λ(s e , r e , E tm-1 , β) = exp K k=1 β inertia k inertia k (s e , r e , t m ) (10)

Once statistics are calculated across the K partitions their corresponding parameters β inertia,k , with k = 1, . . . , K, can be estimated using the likelihood function in (1) . In the interval case for the inertia, parameters express how the propensity of actors in targeting their actions to the same past receivers changes as a function of the recency of past events themselves. The use of interval statistics according to K partitions of the event history, directly relates to the dynamic of the estimated effects and their evolution will follow a step function as in Figure 2 with a mathematical function as in ( 11 ), that is based on the time lengths γ used to create the partitions.

β inertia (γ) =            β inertia1 if γ ∈ (γ 0 , γ 1 ] . . . β inertia K if γ ∈ (γ K-1 , γ K ] 0 otherwise (11)

Stepwise memory effects can also be modeled for other first order endogenous statistics such as reciprocity, sender/receiver-in/out-degree whose formulas can be found in Appendix A.1.

Stepwise decay for higher order endogenous effects

Besides statistics that are based only on past interaction within a given dyad, the effects of higher order statistics involving more than two actors, can be used as well within this approach. Higher order endogenous statistics are characterized by more than one dyadic relational event in their formula. As such, the behavioral pattern of interest is more complex substantively as well as its computation. Indeed, in the case of triadic statistics, as with transitivity, the computation consists in the quantification of the number of times a dyad could potentially close a particular triangular structure if it occurred as next interaction after a specific sequence of past events.

Figure 3 describes the pattern of the transitivity closure in the context of relational event data where interactions are time-ordered. The search for specific behavioral patterns can be improved by introducing such time ordering in the calculation of the statistics. Specifically for the transitivity closure, we designed the following formula that computes the statistic for the dyad (i, j)

at time t m , transitivity closure(i, j, t m ) = l∈S\{i,j} e∈Et m-1 e * ∈Et m-1 : t e * ∈[te-γe(tm),te) I e (l, j)I e * (i, l) (12)

where:

• I e (l, j) is the indicator variable that assumes value 1 if the event e ∈ E tm-1 has s e = l and r e = j, 0 otherwise (the same reasoning applies to the other indicator variables in ( 12 ));

i l j t m -δ 1 (a) relational event (i, l) ∈ Et m-1 observed at time tm -δ 1 . i l j t m -δ 2 (b) relational event (l, j) ∈ Et m-1 observed at time tm -δ 2 . i l j t m

(c) relational event (i, j) that can potentially happen at time tm closing then the triangular structure.

Figure 3 : Figures from left to right describe the pattern of the transitivity closure in three steps. Given the event history E tm-1 , the possible event (i, j) occurring at t m (3c) can close a triad already opened with a third actor (l in the example) that acts as a broker in the process of information sharing/mediation. Events (i, l) (3a) and (l, j) (3b) occur by following the order in the example, where δ 1 and δ 2 at time t m are the transpired times since the two events (i, l) and (l, j), such that 0 ≤ δ 2 < δ 1 < t m . Therefore, the order of their occurrence is taken into account. Gray nodes and dashed gray arrows indicate respectively inactive actors and events already occurred, whereas active actors and the occurring dyadic event are in black.

(j, k) (i, l) (k, l) (j, k) (i, l) (l, k) (l, j) (i, l) (j, k) (i, l) (l, i) (l, j) (l, k) (k, l) t a t e t m-1 t m E tm-1 e * : t e -γ e (t m ) ≤ t e * < t e a * : t a -γ a (t m ) ≤ t a * < t a i l j

Figure 4 : Example of calculation of transitivity at t m for the dyad (i, j) and information mediator l: the event history E tm-1 counts only two events (l, j), at time t e and t a . In order to quantify the contribute of l to the transitivity(i, j, t m ) we consider the intervals [t a -γ a (t m ), t a ) and [t e -γ e (t m ), t e )] to seek for the first event in the pattern, that is (i, l).

The contribute of events a and e to the statistic are respectively 2 and 1. Then the value of transitivity for (i, j) at t m with mediator l is 3, meaning that if (i, j) is the next event to occur it is going to close three potential triads where the information mediator was l.

• e and e * are any pair of events belonging to the event history E tm-1 and such that t e * < t e ;

• γ e (t m ) = t m -t e is the time transpired at t m since the event e ∈ E tm-1 . Figure 4 shows an example of the formula in ( 12 ) for just one l ∈ S \ {i, j} at time t m , with a history of events E tm-1 . In the example, two dyadic events (l, j), noted as e and a, occurred at t e and t a before t m . For each of them we seek backward for those events e * and a * that occurred within intervals based on the transpired time of e (γ e (t m ) = t m -t e ) and a (γ a (t m ) = t m -t a ) which are respectively [t e -γ e (t m ), t e ) and [t a (t m ) -γ a , t a ). Hence, if any event e * or a * in these intervals has sender i and receiver l then the product of the two indicator variables in (12) will be one and so will be contribute to the sum, 0 otherwise. In the specific example, as to event a we observe two dyadic events (i, l) happened in [t a -γ a (t m ), t a ), whereas for e we find just one event (i, l) occurred in [t e -γ e (t m ), t e ). Therefore, if the dyad (i, j) is going to occur at t m it would close at least three potential triangular structures of the type in Figure 3 where the actor l is the information mediator.

The new formula for transitivity closure accounts for the time order of events in the triadic behavioral pattern and assumes that those events (i, l) happened earlier than an event (l, j) will count in the formula if and only if they transpired within the same time span of the specific (l, j).

The event rate for any possible event e ∈ R at time t m with only the transitivity in the linear predictor would then be written as

λ(s e , r e , E tm-1 , β) = exp β transitivity transitivity(s e , r e , E tm-1 ) (13)

A positive β transitivity means that the more partners s e and r e had in common in the past the more likely s e will chose r e as receiver of its coming interaction. Vice versa, when β transitivity < 0, the rate of the event e lowers, meaning that there is a tendency by actors in discouraging closure and thus, in fewer interactions with those actors they shared a partner with. However, the statistic in (12) refers to the event history E tm-1 , that is the entire sequence of events since the onset until t m-1 (including e tm-1 ). Whereas the effect β transitivity may not be constant, depending on how recently the event (l, j) occurred. Thus, transitivity can be re-defined in intervals in the same way as inertia in Section 3.1.

Consider the more general case of K partitions of the current event history (as in ( 8 ))

according to K + 1 increasing time lengths γ (as in ( 7 )). The transitivity as regards the k-th interval, for the dyad (i, j) at time t m will be,

transitivity k (i, j, t m ) = l∈S\{i,j} e∈E t m-1 ,k e * ∈Et m-1 : t e * ∈[te-γe(tm),te) I e (l, j)I e * (i, l) (14)

where the quantification of potential triads is divided through the K intervals of the history E tm-1 = E tm-1,1 , . . . , E tm-1,K according to the time transpired at t m since the event e, that is γ e (t m ). However, the seeking of the event e * still considers the time interval as in (12). By using the interval formulation we are interested in understanding whether there exists an evolution of the transitivity effect on the event rate that depends on the recency of events constituting the triadic pattern. According to the stepwise formulation of the transitivity, we can rewrite the rate in (13) as follows,

λ(s e , r e , E tm-1 , β) = exp K k=1 β transitivity k transitivity k (s e , r e , t m ) (15)

The effect of transitivity across intervals conveys more information than in the case without intervals. Although, the interpretation of positive and negative effects remains the same (i.e. positive effects still promote the closure of triads as well as negative effects keep discouraging it) the intensity of such behaviors that promote/discourage triadic closure can change over time and this one is the additional information we are after. For instance, if the effects from the first to the last interval are positive and decreasing, that is β transitivity 1 > . . . > β transitivity K , this means that the estimated effects are encouraging the closure of triadic structures in such a way that the closer in time the events in the triad are to each other the faster the third event in the pattern is likely to happen.

The function in (11) can be written also in the case of triadic statistics and it will be,

β transitivity (γ) =            β transitivity 1 if γ ∈ (γ 0 , γ 1 ] . . . β transitivity K if γ ∈ (γ K-1 , γ K ] 0 otherwise (16)

A simple example of stepwise effects as to the transitivity closure is shown in Figure 5 : if we only consider the transitivity closure in the model we can state that the more the events characterizing the triad occurred in the recent times the more the third event in the triadic pattern is likely to happen. Formulas of further second order statistics can be found in Appendix A.1.

Estimation of a relational event model with a stepwise memory decay

The relational event model with stepwise memory decay of endogenous effects has the advantage that it can be easily estimated using existing software as relevent (Butts, 2008) , goldfish (Stadtfeld & Hollway, 2020) , rem (Brandenberger, 2018) , remverse (J. e. a. Mulder, 2020) . This can be done as follows. First the transpired time needs to be divided in disjoint intervals with bounds γ 0 , . . . , γ K . The bounds should be determined such that the stepwise function will be able to capture the expected memory. Thus for periods where a fast (slow) decay is expected narrow (wide) intervals should be chosen. Next, each endogenous statistic (e.g., inertia, transitivity) is split in K separate statistics, which capture the volume of past interactions in the K different intervals of the transpired time. The final set of relational event statistics can then be plugged into existing functions for fitting relational event models.

Despite the computational advantage, the stepwise memory decay in (11) and in ( 16 ) has two potential issues: a substantive issue is that it is unrealistic that memory decay occurs in a stepwise fashion in real life; a methodological issue is that it is unclear how many intervals (K) should be chosen and where the boundaries γ = (γ 0 , . . . , γ K ) should be placed. Even though we could increase the number of intervals, we would still be constraining results to pre-specified boundaries and effects estimates would lose accuracy as this would greatly increase the number of free parameters in the model to be estimated and reduce the number of events per interval.

The continuous nature of memory decay

Since memory decays in a smooth continuous trend by nature, we propose a more realistic form of the memory decay in ( 11 ) and ( 16 ) where, instead of constraining effects to be constant within intervals of γ, their change can be conceived as continuous over it and depend on a vector of parameters θ which define the resulting shape of their decay. Therefore, the continuous effect for statistic u can be written as

β u (γ, θ) (17)

where β u is now conceived as a continuous function on γ, describing the trend of the effect of u such that β u : D → R and D = R + \ {γ > γ K }, with γ K being a time length limit either due to the empirical data or simply justified by the researcher. The set of parameters θ ∈ S(θ) defines the shape of the decay, where S(θ) is their support. We propose here several monotonous decreasing functions β u (γ, θ) that might reflect the actual underlying memory decay. The continuous trends below assume effects to be positive and decreasing towards zero as the time transpired since the event increases.

• linear decrease (Figure 6a ):

β u (γ, θ 1 , θ 2 ) = θ 2 -θ2 θ1 γ for γ < θ 1 0 otherwise ( 18
)

where θ = {θ 1 , θ 2 }, θ 2 > 0 is the maximum value assumed by the function and -θ2 θ1 (with θ 1 > 0) is the slope of the line which describes the steepness of the decrease;

• exponential and one-smooth-step decrease (Figure 6b and Figure 6c ):

β u (γ, θ 1 , θ 2 , θ 3 ) = θ 3 exp - γ θ 1 θ2 (19)

where the set of parameters θ = {θ 1 , θ 2 , θ 3 } consists of: θ 1 > 0 and θ 3 > 0 which are scale parameters (θ 3 corresponds to the maximum value assumed by the function), θ 2 > 0 is a shape parameter. The survival function of a Weibull distribution is a specific case of the function ( 19 ) where the maximum value is θ 3 = 1. Moreover, where θ 2 = 1, θ 3 = 1 θ1 , the (19) reduces to the exponential decreasing weight in (Brandes et al., 2009) and the halflife parameter is then calculated as T 1/2 = θ 1 log 2. The trend in most of the cases (except for the exponential one) starts evolving at an initial constant value (one-smooth-step trend) that is the maximum value θ 3 and then decreases to zero as γ increases;

• smoothed multiple steps (Figure 6d ): it is a combination of two or more smoothed one-step trends.

The relative influence of past events on the dyadic event rate can follow other more complex shapes than those presented in Figure 6 . As a result of this continuous definition of effects, inertia as well as other endogenous statistics are no longer computed as the accumulated number of past events but now consist of a sum of weights, where each weight changes according to the transpired time γ of each event; this reflects the relative importance of past events updated at t m . Therefore, the event rate in (10) where only inertia effect is considered and inertia is divided in K intervals becomes:

λ(s e , r e , E tm-1 , θ) = exp    e∈Et m-1 I e (i, j)β inertia (γ e (t m ), θ)    (20)

Figure 7 : Examples of approximation of three different decays (red lines) by means of three types of stepwise functions (black lines). From the top to bottom: exponential decay, one-smooth-step decay and linear decay. From left to right: increasing sizes, decreasing sizes and equal sizes intervals. The maximum time width is γ K = 7.5.

where β(γ e (t m ), θ) is a continuous function that returns the relative effect as to the event e contributing to the inertia statistics, γ e (t m ) = t m -t e is the time transpired at t m since t e and it increases over time, θ is the set of parameters that describe the shape of the decay. A formal mathematical procedure about moving from a stepwise effect function to a continuous effect function can be found in the Appendix A.2.

However, the process of estimation of the set of parameters θ governing the memory evolution results in a computationally complex maximization of the likelihood in (1) . The more realistic scenario that the influence of past events changes as a continuous function of their elapsed time since the current time, comes at the expense of constantly changing values of the network statistics, which increases the complexity of their estimation. By having stated and presented the continuous nature of the decay we also acknowledged the need of a less burdensome method to estimate parameters that govern memory. With such purpose, in the next subsection the use of a stepwise approach is revalued and presented in a Bayesian approach by which the posterior memory decay of effects is estimated.

A semi-parametric approach to estimate a smooth memory decay

We introduce here a statistical approach based on the Bayesian Model Averaging (BMA) (Volinsky et al., 1999) which: (i) takes the computational advantage of the stepwise model introduced in Section (3.1), (ii) avoids the issue of arbitrarily choosing intervals and (iii) results in a semi-continuous estimate of memory decay.

Defining a bag of stepwise relational event models

The stepwise model we defined in the previous section pays off in the approximation of the memory decay, since the estimated effect β k represents the most likely relative effect that is assumed to be constant within the k-th interval and given the sequence of γ. The level of approximation may depend both on the size and on the number of intervals. Therefore, a trade off between these two aspects can often result in a potentially satisfying approximation of the decay. If on one side the stepwise memory decay appears to be the least suitable model, on the other side we can take advantage of the approximation obtained by a set of different stepwise models and perform a Bayesian model averaging over the posterior trend of the effects. Such semi-parametric approach is introduced in the next section. At this stage, is necessary to describe a method for generating the sequences of time widths for each stepwise model that takes part in the final averaging. The sequences of time widths may be generated according to three features reflecting three possible changes of the decay over time (a few examples are shown in Figure 7 ):

(i) when memory change is likely to be stronger for the more recent events and to change less for events that already are in the farther past (where it is approximately constant) (e.g. exponential decay), then intervals with increasing sizes will better catch this behavior and their widths will follow the inequality:

γ k -γ k-1 < γ k+1 -γ k for k = 1, . . . , K -1.

In other words, here memory is short such that events are "forgotten" fairly fast and the most recent events carry a much higher weight than somewhat less recent events, and fairly distant events have as little effect on the future as events from the far past.

(ii) if the decay occurs in the long term memory (close to γ K ) whereas it is steady around a constant value during the more recent past (e.g. one-smoothed step decay), then intervals with decreasing sizes will be capable of catching this behavior and their widths will satisfy the inequality:

γ k -γ k-1 > γ k+1 -γ k for k = 1, . . . , K -1;

This type of widths could be generated by simply inverting the increasing widths in (i). This represents the situation where the effect of events decays only slowly for a while, until they are far enough back in time, which is when they lose there effect fast (e.g., where events from the past week matter, but anything beyond that is quickly forgotten).

(iii) if the decay is decreasing with a constant pace (e.g. linear decreasing function), intervals with the same size will better emulate this behavior.

Increasing sizes intervals (i) are generated by means of an algorithm based on the Dirichlet distribution and its pseudocode can be found in Appendix A.3. Decreasing sizes intervals (ii) are generated by first drawing random intervals of the type (i) and then inverting the order of the widths.

Bayesian model averaging for approximating smooth decay functions

We can take advantage of the information provided by a set of Q stepwise models where each model M q , with q = 1, . . . , Q, will be based on predefined intervals of the elapsed time whose number and time lengths are different across models and are respectively noted as K q and γ q = (γ 0 , γ 1 , . . . , γ Kq ) with q = 1, . . . , Q. By means of BMA one can elicit a posterior estimate of a quantity of interest as well as its average posterior predictive distribution by finding the optimal linear combination of a set of models, and accounting, in turn, for their uncertainty. A crucial aspect in BMA is the use of model weights which quantify the relative importance of models according to their posterior probability. The challenging aspect here is that the true model M * , which may have a smooth shape for memory decay, is not a stepwise model. In the literature this scenario is called an M-open problem (Yao, Vehtari, Simpson, & Gelman, 2018; Bernardo & Smith, 2000) . The idea however is that the true smooth model can be found by using a linear combination of stepwise models using appropriate weights w q using Bayesian model averaging, where w q represents the weight of the q-th stepwise model.

Weighting systems for the posterior probabilities of stepwise models can be calculated using a measure that quantifies the goodness of fit (via the likelihood) or the goodness of prediction (via the prediction of future observations based on past observations). The former type comprises all of those measures that are functions of some Information Criterion, such as BIC (Bayesian Information Criterion). The latter refers to those measures which quantify predictive performance of the models, such as ELPD (Expected Log-pointwise Predictive Density). Therefore, in light of this distinction, we considered two weighting systems which can be employed in the estimation of the posterior trend: one that is the most common choice in BMA (and is based on the BIC) and one that is specifically recommended forM-open problems in other types of model selection problems (and is based on an approximation of the ELPD (Watanabe, 2013; Vehtari, Gelman, & Gabry, 2017; Yao et al., 2018) ). Thereby we will explore which type of weighting system can best be used for this challenging model averaging problem.

In BMA, the posterior estimate of the parameter of interest ψ can be calculated as the weighted mean of the posterior estimates provided by each model in the averaging,

p(ψ|E t M ) = Q q=1 p(ψ|M q , E t M )w q (21)

Considering ( 21 ), it becomes easy to generate a posterior draw by first randomly selecting a model in the set and then generating a value from the posterior distribution of the selected model. In order to approximate the posterior distribution of β over γ we first need to find the posterior distribution of β (without conditioning on any γ) and each draw is obtained with the three steps below:

1. Draw a value from q ∼ Multinomial(w). This step consists in randomly choosing one of the Q models according to the normalized vector of weights w = (w 1 , . . . , w Q ) (weighting systems are discussed in 5.3.1 and 5.3.2); 2. Generate a vector of posterior effects from β|M q , E t M ∼ M V N ( βq , Σq ). The posterior distribution for the stepwise model q (the model drawn at the first step) is approximated by a multivariate normal distribution with parameters given by maximum likelihood estimates of model q;

3. Repeat steps 1 and 2 a sufficient number of times.

After these three steps, the resulting posterior distribution of β over γ looks like the one in Figure 8a . Afterwards, the posterior decay of the effect over γ is estimated as follows: (i) a (dense) grid is defined with evenly spaced γ ∈ [0, γ max ], where γ max is usually based on the data (Figure 8b ); (ii) for each γ the corresponding interval effect in each posterior draw is selected (as it is shown by stepwise functions in ( 11 ) and ( 16 )), therefore this selection will result in a posterior density at a given γ (Figure 8c ); (iii) the posterior mode of these densities is calculated at each γ, resulting in a semi-continuous effect decay (Figure 8d ). As a consequence of this, the posterior estimate of those statistics that are not defined in intervals (e.g, baseline effect) is simply obtained with the draws generated after the three initial steps.

Weighting systems for Bayesian model averaging

BIC weights

When performing BMA, each model in the set M is considered as a generative model and it is weighted according to its posterior probability.

p(M q |E t M ) = p(E t M |M q )p(M q ) Q q=1 p(E t M |M q )p(M q ) (22)

Weights, in turn, depend on the marginal likelihood under each model, that is

p(E t M |M q ) = • • • p(E t M |β q , M q )p(β q |M q )dβ q (23)

The marginal likelihood p(E t M |M q ) is sensitive to the prior assumption p(β q |M q ) of each model where, for instance, parameters β q can be assumed mutually independent.

The marginal likelihoods of models can be approximated by means of a function of the Bayesian Information Criterion (BIC). The formula to calculate the unnormalized weight of a model in the set is,

p(M q |E t M ) ∝ p(E t M |M q )p(M q ) ≈ exp {-BIC q /2}p(M q ) ( 24
)

where the prior distribution for each model is assumed to be non-informative p(M q ) = 1/Q, with q = 1, . . . , Q, because time lengths and number of intervals characterizing each stepwise model were randomly generated. Moreover, the marginal likelihood p(E t M |M q ) is approximated (with error O(1)) by a function of the BIC of the q-th model (S. & Kitagawa, 2008).

Thus, the normalized BIC weight for the q-th model will be,

w BIC q = exp {-BIC q /2} Q r=1 exp {-BIC r /2} (25)

Resulting weights are based on a fitting measure and the model that best fits the data will have the highest influence in estimating posterior distribution of interest, resulting in a poor approximation of the posterior trend β(γ). Furthermore, in the M-open case the use of posterior model probabilities is no longer suitable since the true model is out of the set of models.

WAIC weights

The calculation of the ELPD requires that each stepwise model is estimated as many times as the number of time points ahead at which the predictive log-density must be calculated. This, in turn, increases the overall computational load and can be avoided using a faster, yet reliable, approximation of the ELPD, which is the Watanabe-Akaike Information Criterion.

With the WAIC the estimated effective number of parameters (p waic q

) is subtracted to the approximation of the Log-pointwise Predictive Density ( lpd q ). elpd

waic q = lpd q -pwaic q (26)

The lpd q is approximated by using draws from the posterior distribution computed with the whole event sequence and it represents an overestimate of the ELPD,

lpd q = M -A i=L log 1 B B b=1

p(e i+1 , . . . , e i+A |E ti ,

β (b) q ) (27)

where:

• M is the number of observed relational events in the sequence;

• L is a predefined minimum number of relational events from the ordered sequence that will be required to make predictions for future events in the WAIC;

• p(e i+1 , . . . , e i+A |E ti , β

q ) is the posterior predictive density of the model M q for A steps ahead predictions, that are A future events occurring after the i-th event and given the past history (E ti ) of events until t i , with i = L, . . . , (M -A); β (b) q is the b-th vector of posterior draws for the q-th stepwise model and it is generated from a multivariate normal distribution β q ∼ M V N ( βq , Σq ) with parameters equal to the maximum likelihood estimates obtained by estimating the model over the whole sequence of events;

• B is the number of posterior draws for each stepwise model.

The effective number of parameters pwaic q is calculated by using the same draws for the approximation of the lpd q and it consists in the sum of the sample variances of each prediction point,

pwaic q = M -A i=L B b=1 1 B -1 log p(e i+1 , . . . , e i+A |E ti , β (b) q ) - 1 B B b=1 log p(e i+1 , . . . , e i+A |E ti , β (b) q ) 2 (28)

Hence, WAIC weights will be computed as

w WAIC q = exp elpd waic q Q q=1 exp elpd waic q , q = 1, . . . , Q (29)

6 Case study: investigating the presence of memory decay in the sequence of demands sent among Indian socio-political actors

We have now introduced our modeling approach, starting from a purely stepwise decay model to a continuous decay model based on model averaging of a set of stepwise models. In this section we illustrate the method by applying it to empirical data to provide insights about memory decay in contiuous time in a real-life social network. First, the empirical application and data are described. Next, the analyses are presented using different prespecified step-wise decay functions, followed by an application of the Bayesian model averaging estimated to obtain approximate smooth decay functions.

Relational events between socio-political actors

Data are retrieved from the ICEWS (Integrated Crisis Early Warning System) (Boschee et al., 2015) , which are available in the Harvard Dataverse repository. In ICEWS, relational events consist of interactions between socio-political actors which were extracted from news articles. Information as to the source actor, target actor and event type of the relational event are recorded along with geographical and temporal data that are available within the same article. Furthermore, event types are coded according to the CAMEO (Conflict and Mediation Event Observations) ontology. In this analysis, we focus on the sequence of relational events within the country of India. Each event represented a request generated from an actor and targeted to another actor. Such requests range from humanitarian ones to military or economic ones and in this analysis this distinction isn't made. The specific relational event sequence used in our analysis is available upon request.

The event sequence includes M = 7567 dyadic events between June 2012 and April 2020 among the ten most active actor types: citizens, government, police, member of the Judiciary, India, Indian National Congress Party, Bharatiya Janata Party, ministry, education sector, and "other authorities". Since the time variable is recorded at a daily level, those events that occurred on the same day are considered evenly spaced throughout a day.

The network dynamics of interest are inertia, reciprocity, and transitivity closure which are included in the loglinear predictor of the dyadic event rates. Given a generic stepwise model with K steps, the log-rate at any time t ∈ [t

1 , t M ] and for any request e in the risk set R (with |R| = N (N -1) = 90, i.e. all the possible dyads are included in the risk set) is: log λ(s e , r e , E t , β) = β 0 + K k=1 β inertia k inertia k (s e , r e , t) + K k=1 β reciprocity k reciprocity k (s e , r e , t)+ + K k=1 β transitivity closure k transitivity closure k (s e , r e , t)

where β 0 represents the logarithm of the baseline rate of requests and the remaining effects describe the estimated stepwise trends for the three network dynamics. Inertia quantifies the persistence of the sender in targeting its requests to the same receiver, for instance because the receiver is an actor with some socio-political relevance like a legal figure or authority.

Reciprocity describes the level of reciprocation of the sender towards the receiver based on the past volume of interactions that the receiver addressed to the sender. Transitivity closure quantifies the level of information mediation by means of the volume of triads that can be potentially closed by the occurrence of event e .

Predefined stepwise decay models

As the maximum time (γ K ) that past events may affect current relational events we consider 180 days (roughly half an year). Furthermore three different predefined stepwise memory decay functions are considered by dividing the past in K = 4 intervals with either increasing widths, equal widths, or decreasing widths, as described in Section 5.1. Figure 9 shows the estimated stepwise decay functions for inertia, reciprocity, and transitivity given the three different interval configurations.

As expected all three models result in different estimated (discretized) shapes of memory decay. For instance, by comparing the estimates of the Transitivity Closure, we see that decreasing intervals and increasing intervals produces two contrasting decays where, not only both decays follow different shapes, but also the magnitude of the effect lies on different levels, lower for the decreasing intervals. One more comparison over the effect magnitude can be made between equal and decreasing intervals where trends evolve around the same magnitude, whereas for increasing intervals the maximum for the magnitude results to be more than twofold (Inertia and Reciprocity) if not tenfold (Transitivity Closure) the equal and the decreasing type. This discrepancy is not only given by the type of the intervals but is also generated by the time widths that characterize the stepwise models.

In sum, stepwise models having predefined interval configurations provide us with a very rough idea how fast memory decays in a given relational event network. On the other hand, predefined step-wise memory decay models do not provide insights about the shape of memory decay over the transpired time, or, for example, whether an approximated exponential decay is more likely than a approximated smooth one-step decrease. To learn this from an observed relational event network, we need the proposed weighting system for a bag of step-wise models together with a Bayesian model averaging approach.

Approximately smooth memory decay models

For our bag of stepwise models (Section 5), three sets of 501 intervals were generated for K = {3, 4, 5} steps (250 intervals with increasing sizes, 250 intervals with decreasing sizes, 1 with equal sizes). Thus in total, 1503 step-wise models were considered which will be used for the BMA stage where the posterior trend was estimated using the weighting systems presented in Section 5.3.1 and in Section 5.3.2. Figure 10 shows the posterior trends resulting from two Bayesian Model Averaging approaches: one with BIC weights (left panels) and the other one with WAIC weights (right panels). Because most of the decay occurs in the first 20 days, only this period is plotted in the figure. The intercept β 0 is the only parameter without a decay by definition and the posterior point estimate of the baseline event rate is exp β0 ≈ 0.0129 (similar for both BIC and WAIC weights; upper panels).

Focusing on the results using the WAIC weights in Figure 10 , all the three trends show a clear approximately exponential memory decay (right panels). This drastic decrease near zero suggests that the most recent requests have a much higher impact on the event rate than the less recent ones. Therefore, the trend observed for inertia suggests the presence of a persistence in actors that tend to keep sending requests to the same recipient of their more recent requests, showing inertia based on the requests that happened in a fairly recent past, rather than inertia based on requests over a longer period of time.

For reciprocity, we see that the effect drops a bit faster than inertia and stabilizes around a low value that decreases further, indicating that actors reciprocate on requests received in the very recent past, but requests that were not responded to quickly are soon forgotten and are unlikely to be followed up. Norms of reciprocity are clearly not strong and non-reciprocated requests disappear from social memory very quickly. Finally, transitivity effect vanishes similarly fast. This can be explained as follows. Considering that dyadic requests only briefly trigger the tendency to respond, it makes sense that common communication partners also have only very short-lived influence on future interaction between two parties.

The resulting trends obtained by using the BIC weights approximately follow the same decays as found with WAIC. However, we see an approximate stepwise trend using BIC weights. This can be explained by the fact that the BIC becomes increasingly large for the stepwise model that is closest to the true (smooth) model (in terms of Kullback-Leibler distance (Grünwald & van Ommen, 2017) ). Thus the weight of the stepwise model that is closest to the true smooth model dominates over the weights of all other stepwise models. This illustrates that the BIC is useful for finding the best fitting stepwise model, which, in this case, has increasing interval widths over the transpired time having a roughly exponential decay. On the other hand, the BIC is not useful for finding an approximate smooth decay trend. For this purpose the WAIC is recommended.

Discussion

In this paper we presented different methods for learning how past interactions between social actors affect future interactions in the network. First a K-stepwise model was considered where memory decay about past interactions was approximated using a discrete stepwise trend. This model can be estimated using existing software functions for relational event analysis. The proposed Bayesian model averaged memory decay estimator will be made available in a new R package in the coming month.

As memory naturally decays in a smooth continuous trend, the next key contribution was a novel Bayesian model averaging approach to estimate the memory decay in a relational modeling framework where events are assumed to continuously change their influence on the network dynamics (and, in turn, on the event rate) according to their recency. The promising aspect of this semi-parametric approach lies on its ability to learn the shape of the memory decay without making any parametric assumption about it. Furthermore by building on the stepwise model, the proposed method is computationally feasible. Two different weighting systems were considered for Bayesian model averaging of a bag of stepwise models: The BIC and the WAIC. As was illustrated the BIC is useful for finding the best fitting stepwise model for a given empirical relational event history. The BIC however is not suitable for finding an approximate smooth trend of memory decay, as all the weights are placed on the single stepwise model that is closest to the true smooth decay model. This issue is not present when using the WAIC as the Bayesian model average of many stepwise models results in a smooth trend of the decay of the actors' memory about past events in social networks.

Two advancements of the method will consist in extending it to different event types (sentiments) and to other endogenous statistics that measure specific network dynamics. The former will be helpful for the understanding of the differences in memory decays given different sentiments characterizing the interactions. For instance, one expects negative events (e.g., a country threatening another country, a pupil insulting a peer, a teacher rebuking a student) to have a memory decay that is slower and more persistent than the one observed for positive events (e.g., a teacher praising a student, a country cooperating with another country). This difference may apply as well to other event type settings where possible different memory shapes can emerge. The other advancement will consist in first formulating new endogenous statistics that measure specific behavioral patterns in the network, then in estimating and interpreting the decay of their effect.

Finally, future investigations could also focus on formulating and estimating key characteristics that describe the memory decay as well as on testing differences of such features across either sentiments of events or groups of actors. We expect that the acquired ability of both estimating and testing on parameters that describe this memory process is a crucial step towards a more accurate understanding of network dynamics developing at a local as well as at a global level.

A Appendix

A.1 Endogenous statistics

In Table 1 the indicator variable for any event e where (s e = i, r e = j) follows the short notation I e (i, j) and the same applies to any other dyad. Given each statistic, the formula in the first row shows the interval definition of the statistic as regards dyad (i, j) in the k-th interval; whereas, the formula in the second row shows the continuous definition where β(γ, θ) is the trend function that follows one of the decays discussed in Section 4 or another more complex evolution. Note how in the continuous formulas the event history at t m , that is E -t m-1 , doesn't depend on any interval.

A.2 From stepwise to continuous effects

Consider an increasing sequence of K + 1 time widths γ = (γ 0 , γ 1 , . . . , γ K ), such that γ k -γ k-1 = ∆ for k = 1, . . . , K (i.e. evenly spaced intervals). A graphical representation of intervals at t m is presented in Figure 11 . In the context of endogenous statistics that are defined on intervals (see Section 3.1), one could already apply the formulas in Appendix A.1 and then estimate the stepwise trend for each network statistic of interest. In general, when intervals are evenly spaced, we could write γ k = k • γ K K for k = 0, . . . , K, where γ K is the largest observable width (it can be the length of the study itself). If the number of intervals (K) increases, their size (∆), in turn, shrinks. Indeed, considering the size of an interval that is calculated as the difference between two adjacent widths, ∆ = (γ k -γ k-1 ). lim

t m tm -γ0 tm -γ1 tm -γK tm -γK-1 • • • I 1 ∆ = γ 1 -γ 0 I K ∆ = γ K -γ K-1
K→∞ (γ k -γ k-1 ) = lim K→∞ k • γ max K -(k -1) • γ max K = lim K→∞ γ max K = 0

This result holds for k = 1, . . . , K. Therefore, an extreme scenario consists in a large number of intervals whose sizes are so small that at t m each of them contains only one or no relational event. As a consequence of this, one would estimate a stepwise trend where each step is defined approximately on a value of the transpired time and it represents the relative effect based on those events that assumed that specific value throughout the event histories (E t , with t = t 1 , . . . , t M ). Indeed, any event since its occurrence assumes a value reflecting its recency which is updated at every time point onward and, thus, it increases over time (from t 1 to t M if considering the time points where events were observed). Every value of transpired time calculated at each time point can be observed at least once in the network and when it is observed multiple times this happens at different time points. For instance, two different Table 1 : First and second order endogenous statistics: the formula in the first row is the interval definition of the statistic, whereas the formula in the second row represents the continuous definition of the statistic where the function β(γ, θ) describes the decay of the effect. events could both occur 33 minutes earlier than the present time point but with the condition that the present time point they refer to is different for both of them (because events are assumed not to occur at the same time point). Finally, the estimation of the effects over such a large number of intervals is impractical and it serves only to convey insights about the possibility of continuously changing effects in contrast to stepwise decays. Continuous effects imply a more realistic view of the effect dynamics in which events do not assume a constant effect but this changes with their recency, whereas stepwise effects suppose the less realistic scenario where effects are assumed to be constant within intervals and this also entails that estimates significantly depend both on the number and on the size of the intervals.

Figure 2 :

2
Figure 2: Stepwise effect of Inertia on the event rate.

Figure 5 :

5
Figure 5: Stepwise effect of Transitivity on the event rate.
two-smooth-steps decrease.

Figure 6 :

6
Figure 6: Possible evolution over γ for the relative effect (β) of the past event constituting the endogenous statistic of interest. In these specific examples, trends decrease towards zero with different shapes depending on a set of parameters θ: (a) linear, (b) exponential, (c) an initial step with a smoothed decrease, (d) two smoothed and decreasing steps.
(a) posterior draws from the collection of (stepwise) models.(b) grid of γ's.(c) posterior densities of β at selected γ's.(d) resulting posterior trend of β over a denser grid of γ's.

Figure 8 :

8
Figure 8: (a) result from repeating step 1. and 2. in the approximation of the posterior distribution of β over γ by means of stepwise models; (b) selecting a grid of γ's (vertical dashed lines); (c) posterior conditional densities at given γ's; (d) example of the posterior trend of β over a denser grid of γ's (the grey region represents the highest posterior density interval at 95%).

Figure 9 :

9
Figure 9: MLE estimates (by column) of three stepwise models (with K = 4), that are randomly chosen from the bag of the estimated models and each following one of the three interval types (increasing, equal and decreasing). The bold black line represents the stepwise function for each endogenous effect in the model and the vertical dashed lines indicate the time bounds characterizing the intervals. Therefore, each model follows different time widths.

Figure 10 :

10
Figure 10: Posterior estimates resulting from the BMA with BIC (left) and WAIC (right) weights: posterior distribution for the intercept (β 0 ), posterior trends for inertia, reciprocity and transitivity closure. The gray area (dashed lines for the intercept) is generated by the posterior highest density intervals calculated until 20 days.

Figure 11 :

11
Figure 11: K evenly spaced intervals, with time widths γ = (γ 0 , γ 1 , . . . , γ K ) such that γ k -γ k-1 = ∆ for k = 1, . . . , K.
k (i, j, t m ) = e∈Et m-1 ,k I e (i, j) inertia(i, j, t m , β(γ, θ)) = e∈Et m-1 I e (i, j)β(γ e (t m ), θ)Reciprocity i j reciprocity k (i, j, t m ) = e∈Et m-1 ,k I e (j, i) reciprocity(i, j, t m , β(γ, θ)) = e∈Et m-1 I e (j, i)β(γ e (t m ), θ) j, t m ) = l∈S\{i} e∈Et m-1 ,k I e (l, i) indegree snd (i, j, t m , β(γ, θ)) = l∈S\{i} e∈Et m-1 I e (l, i)β(γ e (t m ), θ) k (i, j, t m ) = l∈S\{i} e∈Et m-1 ,k I e (i, l) outdegree snd (i, j, t m , β(γ, θ)) = l∈S\{i} e∈Et m-1 I e (i, l)β(γ e (t m ), θ) j, t m ) = l∈S\{j} e∈Et m-1 ,k I e (l, j) indegree rec (i, j, t m , β(γ, θ)) = l∈S\{j} e∈Et m-1 I e (l, j)β(γ e (t m ), θ) j, t m ) = l∈S\{j} e∈Et m-1 ,k I e (j, l)outdegree rec (i, j, t m , β(γ, θ)) = l∈S\{j} e∈Et m-1 I e (j, l)β(γ e (t m ), θ)k (i, j, t m ) = l∈S\{i,j} e∈Et m-1 ,k e * ∈Et m-1 : t e * ∈[te-γe(tm),te) I e (l, j)I e * (i, l) transitivity closure(i, j, t m , β(γ, θ)) = l∈S\{i,j} e∈Et m-1 e * ∈Et m-1 : t e * ∈[te-γe(tm),te) I e (l, j)I e * (i, l)β(γ e (t m ), θ) k (i, j, t m ) = l∈S\{i,j} e∈Et m-1 ,k e * ∈Et m-1 : t e * ∈[te-γe(tm),te) I e (l, i)I e * (j, l) cyclic closure(i, j, t m , β(γ, θ)) =l∈S\{i,j} e∈Et m-1 e * ∈Et m-1 : t e * ∈[te-γe(tm),te) I e (l, i)I e * (j, l)β(γ e (t m ), θ)

References

  1. Bayesian Theory José M Bernardo Adrian F M Smith 10.1002/9780470316870 Bayesian theory Wiley 2000
  2. ICEWS Coded Event Data E Boschee J Lautenschlager S O'brien S Shellman J Starz M Ward 10.7910/DVN/28075 doi: 10.7910/DVN/28075 2015
  3. rem: Relational event models L Brandenberger 2018 Computer software manual R package version 1.3.
  4. Networks Evolving Step by Step: Statistical Analysis of Dyadic Event Data Ulrik Brandes Jürgen Lerner Tom A B Snijders 10.1109/asonam.2009.28 2009 International Conference on Advances in Social Network Analysis and Mining IEEE 2009. 2009
  5. Social capital, social liabilities, and social resources management D J Brass G Labianca Corporate social capital and liability R T Leenders S M Gabbay Springer 1999
  6. A Relational Event Model for Social Action C Butts 10.2307/20451153 Sociological Methodology 38 1 2008
  7. Mathematical tools for hazard function analysis R A Chechile 10.1016/S0022-2496(03)00063-4 Journal of Mathematical Psychology 2003
  8. Memory hazard functions: A vehicle for theory development and test R A Chechile 10.1037/0033-295X.113.1.31 Psychological Review 113 1 2006
  9. Mathematical tools for hazard function analysis R A Chechile 10.1016/s0022-2496(03)00063-4 doi: 10.1016/j.jmp.2009.04.006 Journal of Mathematical Psychology Journal of Mathematical Psychology 0022-2496 47 5-6 2009. 2003 Elsevier BV Corrigendum to
  10. Inconsistency of bayesian inference for misspecified linear models, and a proposal for repairing it P Grünwald T Van Ommen 10.1214/17-BA1085 doi: 10.1214/17- BA1085 Bayesian Analysis 12 4 2017, 12
  11. J F Lawless 10.1002/9781118033005 Statistical models and methods for lifetime data John Wiley & Sons 2002
  12. Once upon a time: Understanding team processes as relational event networks R T A Leenders N S Contractor L A Dechurch 10.1177/2041386615578312 Organizational Psychology Review 6 1 2016
  13. Modeling the evolution of interaction behavior in social networks: A dynamic relational event approach for real-time analysis Joris Mulder Roger Th. A J Leenders 10.1016/j.chaos.2018.11.027 Chaos, Solitons & Fractals Chaos, Solitons & Fractals 0960-0779 119 2019 Elsevier BV
  14. remverse: A Meta-Package for Relational Event History Analysis Joris Mulder Giuseppe Arena Roger Leenders Marlyne Meijerink-Bosman Rumana Lakdawala Fabio Generoso Vieira 10.32614/cran.package.remverse 2020 The R Foundation remverse Computer software manual
  15. Point process modelling for directed interaction networks P O Perry P J Wolfe 10.1111/rssb.12013 Journal of the Royal Statistical Society. Series B: Statistical Methodology 75 5 2013
  16. Short- and long-term stability in organizational networks: Temporal structures of project teams Eric Quintane Philippa E Pattison Garry L Robins Joeri M Mol 10.1016/j.socnet.2013.07.001 Social Networks Social Networks 0378-8733 35 4 2013 Elsevier BV
  17. S K Kitagawa G 10.1007/978-0-387-71887-3 Information Criteria and Statistical Modeling New York Springer 2008
  18. goldfish: Goldfish -statistical network models for dynamic network data C Stadtfeld J Hollway 2020 Computer software manual R package version
  19. Practical Bayesian model evaluation using leave-one-out cross-validation and WAIC A Vehtari A Gelman J Gabry 10.1007/s11222-016-9696-4 Statistics and Computing 27 5 2017
  20. David Draper and E. I. George, and a rejoinder by the authors C T Volinsky A E Raftery D Madigan J A Hoeting 10.1214/ss/1009212519 Statistical Science 14 4 1999
  21. A widely applicable bayesian information criterion S Watanabe Journal of Machine Learning Research 14 1 2013
  22. Using Stacking to Average Bayesian Predictive Distributions Y Yao A Vehtari D Simpson A Gelman Bayesian Analysis 13 3 2018 with Discussion

Metadata

Title
A Bayesian Semi-Parametric Approach for Modeling Memory Decay in Dynamic Social Networks
Delta ID
DSEID-001-2229065
Authors
Giuseppe Arena, Joris Mulder, Roger Th. A.J. Leenders
Abstract source
crossref
Source URL
https://arxiv.org/pdf/2109.01881
Access
open_repository
Licence
https://creativecommons.org/licenses/by/4.0/
PDF SHA-256
3c5911937c50472ac9df454f525a82333b6ca3b8cb7581b91ea33ad6d8010741
TEI SHA-256
8e62becd271e15eec5f52a1b310dcca19246cda835d62a0f5a1d318d511d8d2d
GROBID
{"version":"0.8.2","revision":"a91ee48"}

Issues

No public issues have been filed for this DOI.

Submit an issue

Record history

WhenEventFieldOldNew
2026-06-18 19:37:53.011249+00:00identifier_assignedDSEIDDSEID-001-2229065
2026-06-18 18:34:26.256983+00:00pdf_processedpdf_sha2563c5911937c50472ac9df454f525a82333b6ca3b8cb7581b91ea33ad6d8010741