# Probabilistic Querying of Continuous-Time Event Sequences

arXiv: https://arxiv.org/abs/2211.08499 · HTML: https://mlsanity.com/paper/2211.08499/

## Key facts

- Cited by 5 papers in the map (data through 14 Oct 2026).
- Builds on 13 of its 35 references that are in the map.
- First posted on arXiv 15 Nov 2022.

## Builds on (most cited first, 13 of 13)

- [Adam: A Method for Stochastic Optimization](https://mlsanity.com/paper/1412.6980/) (2014)
- [Predicting Dynamic Embedding Trajectory in Temporal Interaction Networks](https://mlsanity.com/paper/1908.01207/) (2019)
- [Transformer Hawkes Process](https://mlsanity.com/paper/2002.09291/) (2020)
- [Intensity-Free Learning of Temporal Point Processes](https://mlsanity.com/paper/1909.12127/) (2019)
- [Learning Tree-based Deep Model for Recommender Systems](https://mlsanity.com/paper/1801.02294/) (2018)
- [Imputing Missing Events in Continuous-Time Event Streams](https://mlsanity.com/paper/1905.05570/) (2019)
- [Neural Temporal Point Processes For Modelling Electronic Health Records](https://mlsanity.com/paper/2007.13794/) (2020)
- [Uncertainty on Asynchronous Time Event Prediction](https://mlsanity.com/paper/1911.05503/) (2019)
- [Expecting to be HIP: Hawkes Intensity Processes for Social Media Popularity](https://mlsanity.com/paper/1602.06033/) (2016)
- [Long Horizon Forecasting With Temporal Point Processes](https://mlsanity.com/paper/2101.02815/) (2021)
- [Feature Driven and Point Process Approaches for Popularity Prediction](https://mlsanity.com/paper/1608.04862/) (2016)
- [User-Dependent Neural Sequence Models for Continuous-Time Event Data](https://mlsanity.com/paper/2011.03231/) (2020)
- [Predictive Querying for Autoregressive Neural Sequence Models](https://mlsanity.com/paper/2210.06464/) (2022)

## Built on by (most cited first, 5 of 5)

- [Estimating Tail Risks in Language Model Output Distributions](https://mlsanity.com/paper/2604.22167/) (2026)
- [EventFlow: Forecasting Temporal Point Processes with Flow Matching](https://mlsanity.com/paper/2410.07430/) (2024)
- [Probabilistic Modeling for Sequences of Sets in Continuous-Time](https://mlsanity.com/paper/2312.15045/) (2023)
- [On the Efficient Marginalization of Probabilistic Sequence Models](https://mlsanity.com/paper/2403.04005/) (2024)
- [Latent Block-Diffusion Temporal Point Processes: A Semi-Autoregressive Framework for Asynchronous Event Sequence Generation](https://mlsanity.com/paper/2606.24982/) (2026)

## Abstract (arXiv)

Continuous-time event sequences, i.e., sequences consisting of continuous time stamps and associated event types ("marks"), are an important type of sequential data with many applications, e.g., in clinical medicine or user behavior modeling. Since these data are typically modeled autoregressively (e.g., using neural Hawkes processes or their classical counterparts), it is natural to ask questions about future scenarios such as "what kind of event will occur next" or "will an event of type A occur before one of type B". Unfortunately, some of these queries are notoriously hard to address since current methods are limited to naive simulation, which can be highly inefficient. This paper introduces a new typology of query types and a framework for addressing them using importance sampling. Example queries include predicting the nth event type in a sequence and the hitting time distribution of one or more event types. We also leverage these findings further to be applicable for estimating general "A before B" type of queries. We prove theoretically that our estimation method is effectively always better than naive simulation and show empirically based on three real-world datasets that it is on average 1,000 times more efficient than existing approaches.
