SecondOrderInteractionNetwork

Promote each timed interaction to a node and link interactions that follow each other through a shared participant

Infrastructure · Data Structures · brainference 1.0.0

Mechanism

Start from a sequence of binary interaction matrices A_t, one per time step, where [A_t]_ij = 1 when agents i and j interact at t (for example, centroid distance at most r_p). Within a window of w steps starting at tau, every interaction event becomes a node v = (t, i, j). Add a directed edge from (t, a, b) to (t+1, c, d) whenever {a, b} and {c, d} share at least one agent. The result is a directed graph of event successions: it keeps who-then-whom, i.e. first-order Markov memory between consecutive interactions, which a time-aggregated network discards. Its out-degree counts how many next interactions an interaction can hand on to, so DegreeEntropy on it measures the diversity (unpredictability) of next steps, and SpectralEntropy via L = B B^T measures the complexity of temporal pathways. Bridge short gaps where an interaction vanishes and reappears through tracking dropout, and repair chains broken by identity switches, or they register as false breaks.

Invariants

Preconditions

Failure modes

Where this came from

Builds on

Used by

Identity