A Temporal Point Process (TPP) is a stochastic model that treats the timing of discrete events as random variables in continuous time, defined by a conditional intensity function λ(t) that represents the instantaneous rate of event occurrence given the history. Unlike discrete-time sequence models, TPPs naturally handle irregularly spaced observations, making them ideal for modeling the asynchronous nature of financial transactions where the inter-arrival time between events carries critical fraud signals.
Glossary
Temporal Point Process (TPP)

What is Temporal Point Process (TPP)?
A probabilistic framework for modeling sequences of discrete events occurring in continuous time, used to characterize transaction timing patterns and detect deviations from normal inter-arrival behavior.
In fraud detection, TPPs establish a probabilistic baseline for normal transaction cadence, flagging deviations such as sudden bursts of activity or unusual gaps. The Hawkes Process, a self-exciting variant, captures contagion effects where one event temporarily elevates the probability of subsequent events—useful for detecting coordinated attacks or rapid account draining. TPPs are often integrated with neural architectures like Recurrent Marked Temporal Point Processes to jointly model event timing and transaction metadata.
Key Features of Temporal Point Processes
Temporal Point Processes (TPPs) provide the mathematical framework for modeling the stochastic timing of discrete events in continuous time. Unlike discrete-time sequence models, TPPs directly parameterize the instantaneous rate of event occurrence, making them uniquely suited for capturing the irregular inter-arrival patterns characteristic of fraudulent transaction streams.
Conditional Intensity Function λ*(t)
The conditional intensity function is the fundamental building block of any TPP. It represents the instantaneous expected rate of events at time t, given the entire history of past events up to, but not including, t.
- Core Insight: It models the 'excitation' or 'inhibition' caused by past events. A high λ*(t) after a transaction signals bursty, potentially fraudulent behavior.
- Mathematical Form: λ*(t) = lim Δt→0 E[N(t+Δt) - N(t) | H(t)] / Δt, where H(t) is the event history.
- Fraud Application: A sudden spike in λ*(t) for high-value transfers immediately following a login from a new device is a strong anomaly signal that a simple velocity counter might miss.
Hawkes Process: Self-Excitation
The Hawkes process is a specific TPP where past events increase the probability of future events in the near term, a phenomenon called self-excitation. This makes it exceptionally good at modeling clustered, bursty behavior.
- Mechanism: The intensity λ*(t) = μ + Σ g(t - ti), where μ is a baseline rate and g(t) is a decaying kernel function (e.g., exponential decay) that sums the influence of all past events ti.
- Fraud Application: A fraud ring executing a coordinated attack will generate a cascade of transactions. A Hawkes process captures this self-exciting cascade, distinguishing it from a random, Poisson-distributed background of legitimate transactions.
- Key Parameter: The branching ratio n indicates the expected number of events directly triggered by a single event. A ratio near 1 indicates a highly contagious, potentially fraudulent cascade.
Neural Temporal Point Processes
Traditional TPPs rely on parametric forms for the intensity function, which can be too rigid for complex fraud patterns. Neural TPPs use deep learning (RNNs, Transformers) to learn a flexible, non-linear representation of the event history H(t) and parameterize λ*(t).
- Architecture: A recurrent neural network encodes the sequence of past events (timing and marks like transaction amount) into a hidden state h(t). A feed-forward network then maps h(t) to the parameters of the intensity function.
- Advantage: They can learn complex, non-linear excitation and inhibition patterns without manual feature engineering, capturing interactions between event timing and event type.
- Example: A Neural TPP can learn that a small transaction followed by a long pause is inhibitory, while a large transaction followed immediately by another large one is highly excitatory for fraud risk.
Marked Temporal Point Processes
A marked TPP extends the basic model by associating a 'mark' (a random variable) with each event. In finance, the mark is typically the transaction amount, merchant category, or transaction type.
- Joint Modeling: The model learns the joint distribution of event times and marks, P(time, mark | history). This captures the crucial relationship between when a transaction occurs and what it is.
- Fraud Application: A marked TPP can learn that a high-value wire transfer (mark) is normal during business hours but highly anomalous at 3:00 AM (time). The anomaly score is derived from the low conditional probability of observing that specific mark at that specific time.
- Mark-Specific Intensity: The intensity function can be decomposed into a ground intensity for any event and a conditional distribution over the mark space, λ*(t, m) = λ*(t) * f*(m | t).
Log-Likelihood for Anomaly Scoring
The primary method for using a TPP in anomaly detection is to compute the log-likelihood of an observed sequence of events under a model trained on normal behavior. A low likelihood indicates an anomalous sequence.
- Calculation: The log-likelihood of a sequence of events {t1, t2, ..., tn} up to time T is Σ log λ*(ti) - ∫ λ*(τ) dτ. The first term rewards high intensity at actual event times; the integral penalizes high intensity everywhere else.
- Anomaly Score: The negative log-likelihood per event serves as a normalized anomaly score, allowing comparison between sequences of different lengths.
- Real-Time Use: The log-likelihood can be updated incrementally with each new event, providing a continuously updating risk score for a user session without waiting for the session to end.
Inter-Arrival Time Modeling
At its core, a TPP models the probability distribution of the inter-arrival time τ = ti - ti-1 between consecutive events, conditional on history. This is a direct alternative to modeling event counts in fixed time bins.
- Poisson Process Baseline: The simplest TPP is the homogeneous Poisson process, where inter-arrival times are independent and identically distributed (i.i.d.) from an exponential distribution. Any deviation from this memoryless property is a signal of patterned behavior.
- Fraud Insight: Legitimate user transactions often follow a quasi-periodic or slowly varying pattern. Fraudulent scripts or bots generate inter-arrival times with a distinct statistical signature (e.g., extremely regular or bursty) that a TPP can capture.
- Goodness-of-Fit: Statistical tests like the Kolmogorov-Smirnov test on the transformed inter-arrival times can validate if a trained TPP correctly captures the normal timing dynamics.
Frequently Asked Questions
Clear, technically precise answers to the most common questions about modeling transaction timing with temporal point processes for fraud detection.
A Temporal Point Process (TPP) is a probabilistic model for a sequence of discrete events occurring in continuous time. Unlike discrete-time models that bin events into fixed intervals, a TPP models the exact timing of each event. It is fully characterized by its conditional intensity function λ(t|H_t), which represents the instantaneous rate of event occurrence at time t given the entire history H_t of past events. For fraud detection, this means the model learns the expected rhythm of a user's transactions—the inter-arrival times between purchases, logins, or transfers—and flags deviations from this learned temporal pattern as suspicious. The intensity function can capture self-exciting behavior (where one event triggers more), self-correcting behavior, or complex non-linear dependencies on past event timing.
TPP vs. Other Temporal Modeling Techniques
A feature-level comparison of Temporal Point Processes against alternative sequence and time-series modeling approaches for financial fraud detection.
| Feature | Temporal Point Process | LSTM / GRU | Transformer / Self-Attention |
|---|---|---|---|
Models event timing explicitly | |||
Handles irregularly spaced events | |||
Captures self-exciting (bursty) behavior | |||
Parallelizable training | |||
Interpretable intensity function | |||
Native continuous-time support | |||
Long-range dependency modeling | |||
Computational complexity | O(N^2) for likelihood | O(N) per step | O(N^2) for attention |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Explore the foundational concepts and complementary models that form the temporal sequence modeling toolkit for financial fraud detection, from self-exciting processes to sequence embedding techniques.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us