Temporal Point Processes (TPPs) are the mathematical backbone for modeling sequences of events that happen in continuous time—think of heartbeats, high-frequency stock trades, or the sudden flurry of retweets. Traditionally, we’ve relied on Maximum Likelihood Estimation (MLE) to train these models. But MLE has a "rigid" problem: you usually have to guess the shape of the math (the intensity function) beforehand. If your guess is wrong, your model fails.
In this paper, researchers propose a shift in perspective. Instead of treating event modeling as a density estimation problem, they treat it as a Reinforcement Learning (RL) problem.
TL;DR
The authors introduce RLPP, a framework that treats the generation of events as actions taken by an AI agent. By using Inverse Reinforcement Learning with a clever mathematical shortcut (RKHS kernels), they create a model that learns complex event patterns faster and more accurately than traditional methods, without needing to hand-craft complex equations.
What Problem Does This Paper Address?
Modeling "event streams" is hard because the timing of the next event often depends on the entire history of what happened before.
Traditional MLE-based models require an explicit "intensity function." If the real-world data is more complex than the function you chose, the model won't fit. Furthermore, neural network versions of these models often run into "intractable integrals"—math problems so complex they require slow, messy approximations.
Recent Generative Adversarial Network (GAN) approaches tried to fix this by having two networks compete (a generator and a discriminator). While flexible, GANs are notoriously unstable and computationally expensive to train. The authors wanted a method that was as flexible as a GAN but as stable and efficient as a standard optimizer.
Methods: Reframing TPPs as Reinforcement Learning
The authors reframe the problem into three core components:
- The Policy: They use a Recurrent Neural Network (RNN) with stochastic neurons as the "policy." This agent looks at the history of events and "acts" by choosing the time for the next event.
- The Reward: In RL, you need a reward to tell the agent if it's doing a good job. Since we don't know the "true" reward for a sequence of events, they use Inverse Reinforcement Learning (IRL) to find a reward function that makes the "expert" (the real data) look better than the "learner" (the model).
- The Secret Sauce (RKHS): Usually, IRL is incredibly slow because you have to solve a full RL problem in every training loop. The authors bypass this by restricting the reward function to a specific mathematical space called a Reproducing Kernel Hilbert Space (RKHS).
Choosing this space allows them to derive an analytical, closed-form solution for the optimal reward. Instead of training a second "discriminator" network (like a GAN), they can calculate the best reward directly from the data.
Key Insights and Ideas
- Intensity as Policy: The paper proves a fundamental link: the "intensity function" in TPPs is mathematically equivalent to a stochastic policy in RL.
- No Discriminator Needed: By using the RKHS kernel trick, they get the benefits of adversarial training (learning by comparison) without the headache of balancing two competing neural networks.
- Bypassing the Integral: Because the policy gradient doesn't require calculating the "survival function" (the probability that no event happens), they avoid the difficult integrals that plague MLE-based neural TPPs.
Key Results
The model was tested on synthetic data (to recover known patterns like Hawkes processes) and four diverse real-world datasets: 911 Call records, Microsoft Academic Search (MAS) citations, MIMIC-III clinical visits, and NYSE high-frequency trading records.
- Speed: RLPP is significantly faster than GAN-based alternatives. In their tests, it was 40x faster than WGANTPP (80 minutes vs. 1560 minutes).
- Accuracy: On both synthetic and real data, RLPP consistently outperformed RMTPP (a state-of-the-art MLE model) and matched or beat GAN-based models in capturing the true "intensity" of events.
- Robustness: The model excelled in "misspecified" scenarios—where the underlying data followed a pattern that standard parametric models simply couldn't describe.
Limitations and Future Work
While powerful, the model currently assumes a specific distribution (like exponential or Rayleigh) for the inter-event times within the policy. The authors suggest that future work could involve using the RNN to define a more general transformation of a simple random variable (like a unit rate Poisson process) into the target event sequence. This would remove even the small amount of parametric "guessing" currently left in the model, making it truly nonparametric.
Summary updated