Modeling event sequences with millions of unique "markers" (such as individual users in a massive social network) is notoriously difficult. The underlying relationship network is usually unknown, and the search space for potential interactions is massive. This paper introduces LANTERN, a framework that leverages adversarial imitation learning and an efficient random-walk-based generator to uncover hidden networks and predict future events with linear scalability.
The Challenge of High-Dimensional Sequences
In many real-world scenarios—like social media retweets, urban mobility tracking, or financial transactions—data arrives as a sequence of "marked events" (a timestamp paired with a type or marker). Researchers face three massive hurdles when trying to model these sequences:
- High Dimensionality: When there are millions of markers, modeling every possible interaction leads to an $O(n^2)$ parameter explosion.
- Implicit Dependencies: A single sequence might concurrently contain multiple independent "chains" of events, making it hard to untangle which past event caused a current one.
- The Distance Dilemma: There is no standard way to measure how "close" two high-dimensional event sequences are, making traditional loss functions (like Mean Squared Error) difficult to apply directly to the generative process.
The LANTERN Framework
To overcome these challenges, the authors propose LANTERN (Learning Latent Process in High-Dimension Marked Event Sequences). Instead of trying to define a perfect distance metric, LANTERN treats the problem as an Adversarial Imitation Learning task. A generator is trained to "mimic" real sequences, while a discriminator learns to tell them apart.
The framework consists of three main components:
- Latent Structural Intensity Model: Instead of relying on scalar values, this model represents markers as $D$-dimensional embeddings. It uses Multi-Head Attention to capture how the history of events influences the "intensity" (likelihood) of future events within a latent semantic space.
- Random Walk Based Generator: To handle the massive number of markers, the model uses a "bottom-up" approach. It performs a random walk on a local relation network to sample the next event's marker and time. This avoids calculating probabilities for every single marker in the system at every step.
- Seq2Seq Discriminator: Based on the Generative Adversarial Imitation Learning (GAIL) framework, this component evaluates generated sequences and provides a "reward" signal to the generator, guiding it to produce more realistic event patterns.
Key Insights
- Embeddings Solve the $O(n^2)$ Problem: By representing markers as vectors in a latent space, the model captures "structural proximity." Markers that behave similarly will have similar embeddings, allowing the model to generalize effectively even for markers with few observations.
- Bottom-Up Generation: Most models try to predict the next event by looking at the entire history globally. LANTERN’s random walk approach looks at the "descendants" of existing markers. This is computationally efficient and mirrors how information actually diffuses in the real world (e.g., a retweet comes from a follower of someone who already posted).
- Detouring the Distance Metric: Using a discriminator to provide rewards bypasses the need for a manually defined distance function between sequences, which is often the weakest link in high-dimensional temporal modeling.
Key Results and Scalability
The model was evaluated on synthetic networks (up to 100,000 nodes) and large-scale real-world datasets, including MemeTracker (news hyperlinks) and Weibo (1.7 million users, scaled to a $10^5$ subset for evaluation).
- Superior Network Reconstruction: LANTERN achieved a significantly higher F1 score for detecting hidden relationships compared to baselines like NETRATE and KernelCascade, showing up to a 14.9% improvement over the next best method.
- Better Predictions: The model consistently outperformed others in predicting both the time and the type of the next event, especially when only a small portion of the sequence was observed.
- Linear Scalability: Perhaps the most significant practical result is LANTERN's efficiency. While traditional methods hit a computational "wall" as the number of markers increases (scaling exponentially or quadratically), LANTERN’s running time scales linearly. This makes it uniquely viable for million-node networks where previous methods fail.
Limitations and Future Work
While highly effective, LANTERN assumes an event is caused by exactly one "true parent" from the history. In reality, some events might result from the cumulative influence of multiple prior events. Additionally, while the intensity function is dynamic, the marker embeddings themselves are static. Future work could explore dynamic embeddings that evolve as a user's role in a network changes over time. Finally, while the sampling is efficient, training adversarial networks requires careful hyperparameter tuning compared to simpler maximum likelihood estimation methods.
Summary updated