Relational Event Model

Machine Learning
Introduced by
Carter T. Butts
Year
2008
Type
Event-history model for time-stamped relational events
Family
Continuous-time network event modeling

What does it do?

The relational event model (REM), introduced by Carter Butts in 2008, analyzes streams of time-stamped interactions, such as messages or radio calls, as a continuous-time event-history process.

Instead of treating a network as a static set of ties, it models the rate at which a sender directs an action at a receiver as a function of past events, so researchers can test how earlier interaction shapes later interaction.

The intuition behind the method

Many datasets record not only who interacted with whom but when, such as a log of timestamped emails. At each point in such a stream, REM asks why this sender contacted this receiver at this moment rather than some other pair. Every possible sender–receiver pair is assigned a rate of occurrence that rises or falls with what has already happened: whether the receiver recently contacted the sender (reciprocity), whether the pair shares contacts (transitivity), or whether either party is unusually active or popular. Fitting the model estimates how strongly each of these historical patterns is associated with the next interaction.

History

Carter Butts introduced the relational event framework in a 2008 paper in Sociological Methodology, presenting it as a likelihood-based way to model discrete social actions with complex dependence. The paper gives examples of parameterizing base activity, recency, persistence, preferential attachment and transitive interaction, and applies the framework to responder radio communications during the early hours of the World Trade Center disaster.

When to use it

Choose a relational event model when your data are a time-ordered stream of discrete interactions and your question concerns how past interaction drives later interaction, for example reciprocation or turn-taking. Typical data include communication logs, animal-interaction sequences and emergency-response radio traffic; Butts used the last of these as an illustration. Do not use it when you only have cross-sectional or panel tie data, where ERGM or SAOM are more suitable, or when events have no meaningful order. Very large candidate sets can make computing the statistics at every event impractical without sampling. The estimation assumes that events are conditionally independent given the history and the chosen statistics.

Limitations and considerations

  • Requires fine-grained, correctly ordered event data; aggregated or coarsely timed interactions discard the sequence information the model relies on.
  • Evaluating the risk set at every event is costly for large actor sets, which often makes sampling of non-events necessary.
  • History statistics such as recency and persistence depend on how far back past events are allowed to count. This decay or window specification is a substantive modeling choice that affects the estimates.
  • The conditional-independence assumption can be violated by bursts of activity or external shocks that the included statistics do not capture.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Uses the order of interactions directly, so dynamic mechanisms such as reciprocity or recency can be tested on the event stream rather than inferred from aggregated ties.
  • Supports both exact event histories and event sequences alone, a distinction that Butts's framework explicitly addresses.
  • Expresses effects as multiplicative changes in the event rate, exp(β_k), with the baseline rate removed by the partial likelihood, which keeps coefficients interpretable in the manner of Cox event-history models.
  • Specifies each hypothesized mechanism as an explicit statistic of the event history and estimates it with likelihood-based inference, so that mechanisms can be tested as parameters.

Applications

  • Analyzing responder radio communications during emergencies, the application Butts presented.
  • Potentially applicable to email and instant-messaging logs within organizations.
  • Potentially applicable to turn-taking and interaction order in face-to-face groups and animal behavior.
  • Potentially applicable to citation or patent-reference streams, where the ordering of references is meaningful.
  • Potentially applicable to interaction sequences on online forums and social media platforms.

How it works

How it works

1

The data are an ordered sequence of relational events, each recording a sender, a receiver and a time. Butts's framework covers two situations: an exact history of events is available, or only the sequence of events is known. The order of interactions is therefore the core unit of analysis, and exact times are used when they are recorded. The formal notation assumes distinct timestamps; when two events share a time, a tie-handling rule is required (see pitfalls).

Formula
E = \bigl((s_1,r_1,t_1),\dots,(s_M,r_M,t_M)\bigr),\ t_1<\dots<t_M
2

Each directed pair (s, r) has a hazard rate, the instantaneous propensity for that pair to be the next event. The rate is a baseline rate λ0(t) multiplied by the exponential of a weighted sum of statistics computed from the event history A_t. A positive coefficient means that the corresponding pattern raises the rate for pairs exhibiting it.

Formula
\lambda_{sr}(t) = \lambda_0(t)\,\exp\!\bigl(\beta^\top g_{sr}(A_t)\bigr)
3

The statistics g are functions of past events that encode hypothesized mechanisms. Butts's examples include base activity levels, recency, persistence, preferential attachment, transitive or cyclic interaction, and shifts in participation. Reciprocity is the simplest case, in which the receiver has recently acted toward the sender. Because these statistics depend on the history, they change after each event and the model is path-dependent.

Formula
g_{sr}(A_t) = \bigl(\text{reciprocity},\ \text{transitivity},\ \text{degree},\ \text{recency},\dots\bigr)
4

Estimation uses a Cox-style partial likelihood. At each observed event, the realized sender–receiver pair is compared with the set of pairs that could have acted at that moment, the risk set. Parameter values that make the observed pair relatively more probable increase the likelihood, and the baseline rate cancels out of this comparison.

Formula
\mathcal{L}(\beta) = \prod_{m=1}^{M} \frac{\exp\bigl(\beta^\top g_{s_m r_m}(A_{t_m})\bigr)}{\sum_{(s,r)\in\mathcal{R}_m}\exp\bigl(\beta^\top g_{sr}(A_{t_m})\bigr)}
5

The coefficients β are estimated by maximizing the log of the partial likelihood. Each coefficient β_k is a change in the log event rate for a one-unit increase in the corresponding statistic g_k, holding the other statistics fixed. Its multiplicative effect on the rate is exp(β_k): a positive β_k gives exp(β_k) > 1 and raises the rate, while a negative β_k gives exp(β_k) < 1 and lowers it. These rate ratios are interpreted in a way analogous to hazard ratios in survival analysis. Butts's framework covers estimation with an exact event history and with event sequences only; the timing information used depends on which of these is available. Standard errors follow from standard likelihood theory.

Formula
\hat{\beta} = \arg\max_{\beta}\ \log \mathcal{L}(\beta)

Common pitfalls

  • Omitting recency or decay terms, so that recent and distant events are weighted alike and dynamic effects may be misrepresented.
  • Building the risk set incorrectly, for example by including self-loops or actors not present at the time, which changes the partial likelihood.
  • Treating tied or simultaneous timestamps as strictly ordered, which introduces an arbitrary sequence; ties need an explicit tie-handling rule in the likelihood.
  • Aggregating events into a static network and then drawing dynamic conclusions that the aggregated data cannot support.

Frequently asked questions

How does a relational event model differ from a stochastic actor-oriented model?

Both model network dynamics in continuous time, but SAOM (Snijders, van de Bunt & Steglich, 2010) is designed for panel observations of a tie network and reconstructs the unobserved change between waves through actor-driven tie changes. REM is designed for an observed stream of discrete, time-stamped events and models the rate of each next event given the full history. When the timing and order of interactions are observed, REM uses that information directly; SAOM is suited to cases where only periodic network snapshots are available.

Do I need exact event times, or is the order enough?

REM can be applied when exact event times are recorded, in which case estimation uses the timing information, or when only the sequence of events is known, in which case estimation relies on the order of events alone. Butts's framework addresses both situations. Choose the version that matches what the data actually record.

How are very large risk sets handled?

When the number of possible sender–receiver pairs is large, evaluating the full denominator at each event becomes costly. The framework's source does not prescribe a particular reduction. If the full risk set is too expensive, one option is to use a subset of non-events in place of all pairs; any such approximation should be checked against the full specification on the data at hand before its estimates are trusted.

Related methods

Sources

  1. Butts, C. T. (2008). A relational event framework for social action. Sociological Methodology, 38(1), 155–200.

    Open DOI reference
  2. Snijders, T. A. B., van de Bunt, G. G., & Steglich, C. E. G. (2010). Introduction to stochastic actor-based models for network dynamics. Social Networks, 32(1), 44–60.

    Open DOI reference