Introduction
In many real-world scenarios—such as medical histories, competitive gaming, or user interface logs—we only observe a fraction of the events that actually occur. For example, a patient might forget to log a meal in a health app, or a player in a strategy game might not see an opponent's hidden move.
To make sense of these incomplete streams, we must impute the missing events (z) given the observed ones (x). This is mathematically challenging because real-world events happen in continuous time and often follow complex, self-exciting patterns where one event triggers another. While simple models like the Hawkes process have known solutions, they lack the flexibility needed for complex data. Modern "Neural Hawkes Processes" are powerful but make calculating the probability of missing events computationally difficult. Standard techniques like Markov Chain Monte Carlo (MCMC) are often too slow or get "stuck" when navigating these complex probability landscapes.
This paper introduces a novel method for "filling in the blanks" in incomplete continuous-time event streams. By combining a bidirectional continuous-time LSTM with Sequential Monte Carlo (SMC) methods, the authors develop a "particle smoothing" approach that leverages both past and future observations to accurately impute missing events, significantly outperforming traditional filtering techniques.
Methodology: Particle Smoothing
The authors propose a framework called Particle Smoothing for neural point processes. Their approach rests on three main pillars:
1. Bidirectional Continuous-Time LSTM
Unlike standard particle filtering, which only looks at the past to guess the next event, this method uses a "smoothing" approach. It employs two LSTMs: one that reads the history from left-to-right (forward state) and another that reads future observations from right-to-left (backward state). This allows the model to make educated guesses about missing events based on upcoming context.
2. Sequential Monte Carlo (SMC)
The system generates multiple "particles"—essentially different versions of what the complete event stream might look like. By using the bidirectional LSTM to guide the proposal of these particles, the algorithm focuses its computational effort on sequences that are actually likely to happen, rather than blindly guessing.
3. Consensus Decoding
Because SMC produces an ensemble of possible sequences, the authors needed a way to pick the single "best" reconstruction. They developed a Consensus Decoder that uses a novel loss function based on Optimal Transport (Edit Distance). This treats the problem like a string-matching task, finding a sequence that minimizes the "cost" (in terms of time shifts, insertions, and deletions) relative to the ensemble of particles.
Key Insights
- The Power of Hindsight: The critical insight is that looking at the future is essential for imputation. In a standard "filtering" approach, guessing a missing event that contradicts a future observation means throwing away that entire guess. By "smoothing"—incorporating future context into the proposal—the model avoids making bad guesses in the first place.
- Handling MNAR Data: Most imputation methods assume data is "Missing At Random" (MAR). However, event streams are often "Missing Not At Random" (MNAR). For instance, a user might be more likely to forget to log a meal if they are busy eating a large one. This paper explicitly accounts for these complex missingness mechanisms.
- MBR over MAP: Instead of just picking the single most likely sequence (Maximum A Posteriori), the authors use Minimum Bayes Risk (MBR) decoding. By finding a "consensus" sequence that is "close" to many high-probability particles, the result is much more robust to noise.
Datasets and Results
The authors evaluated their method on a mix of synthetic and real-world data, including 10 synthetic datasets generated from various Neural Hawkes Processes, an Elevator System Dataset (a cooperative multi-agent scenario), and a NYC Taxi Dataset (reconstructing hidden pick-ups based on drop-offs).
Key Results: * Superior Accuracy: In every dataset tested, particle smoothing significantly outperformed particle filtering. The smoothing approach consistently assigned much higher probability to the actual ground-truth missing events. * Robustness: The method proved effective across different missingness rates, ranging from 10% to 90% missing data. * Efficiency: By using a smarter proposal distribution, the model requires fewer particles to reach a high-quality reconstruction compared to standard filtering, making it computationally viable for complex neural models.
Limitations and Future Work
While highly effective, the approach has limitations. SMC still scales with the number of particles and the number of observed events, meaning further optimization may be needed for extremely long sequences or real-time applications. Additionally, the current work assumes the "missingness mechanism" is known; while the authors suggest using Expectation-Maximization (EM) to learn this, it remains an area for future exploration. Finally, scaling the system to handle thousands of different event types remains an open challenge.
Summary updated