Martingale
A martingale is a stochastic process that represents a “fair game” - the expected future value, given all past information, equals the current value. Martingales are fundamental in stochastic calculus, financial mathematics, and the theory of [[Stochastic Differential Equation (SDE)|Stochastic Differential Equations]].
1. Intuitive Understanding
1.1 Fair Game Analogy
Imagine a fair coin toss game:
- You win $1 if heads, lose $1 if tails
- Your expected wealth after the next toss equals your current wealth
- No matter what happened in the past, the game remains “fair”
This is the essence of a martingale: the best prediction of tomorrow’s value is today’s value.
[!NOTE] Key Intuition
A martingale has no predictable trend or drift. All changes are purely random with zero expected value.
2. Formal Definition
2.1 Discrete-Time Martingale
A stochastic process
- Integrability:
for all - Adaptedness:
is -measurable - Martingale Property:
2.2 Continuous-Time Martingale
A stochastic process
- Integrability:
for all - Adaptedness:
is -measurable - Martingale Property:
for all
[!QUOTE] Martingale Property
Given all information up to time
, the expected value at time is exactly the current value .
3. Related Processes
3.1 Submartingale and Supermartingale
| Type | Definition | Intuition |
|---|---|---|
| Martingale |
|
Fair game |
| Submartingale |
|
Favorable game (upward drift) |
| Supermartingale |
|
Unfavorable game (downward drift) |
3.2 Local Martingale
A process
[!WARNING] Important Distinction
Not all local martingales are true martingales. Local martingales may have “explosive” behavior that violates integrability conditions.
4. Key Examples
4.1 [[Wiener Process|Wiener Process]]
The [[Wiener Process|Wiener Process]]
Proof: Since
4.2 Exponential Martingale
For [[Wiener Process|Wiener Process]]
is a martingale for any constant
4.3 Stochastic Integral
If
is a local martingale (and a true martingale under appropriate conditions on
4.4 Geometric [[Wiener Process|Brownian Motion]] (Adjusted)
While
is a martingale under the risk-neutral measure when
5. Fundamental Properties
5.1 Optional Stopping Theorem
Theorem: If
Applications:
- Gambling strategies cannot beat a fair game
- Pricing of American options
- Exit time analysis
5.2 Doob’s Inequality
For a martingale
This provides bounds on the maximum value of a martingale.
5.3 Martingale Convergence Theorem
Theorem: If
5.4 Quadratic Variation
For a continuous martingale
For [[Wiener Process|Wiener Process]]:
6. Martingales in SDEs
6.1 Drift Condition
An Itô process:
is a martingale if and only if
[!TIP] Key Insight
Martingales have zero drift. The deterministic component must vanish.
6.2 Itô Integral as Martingale
The [[Itô Integral|Itô integral]]:
is a martingale (under square-integrability conditions).
6.3 Martingale Representation Theorem
Theorem: Any martingale
for some adapted process
7. Applications
7.1 Financial Mathematics
| Application | Description |
|---|---|
| Risk-Neutral Pricing | Asset prices are martingales under risk-neutral measure |
| Fundamental Theorem | No arbitrage
|
| Option Pricing | Black-Scholes formula derived using martingale methods |
| Hedging | Construct replicating portfolios via martingale representation |
7.2 Optimal Stopping
Problems of the form:
where
7.3 Statistical Inference
- Likelihood ratio tests: Likelihood ratios form martingales
- Sequential analysis: Wald’s sequential probability ratio test
- Bootstrap methods: Martingale-based resampling
7.4 Diffusion Models
In [[Diffusion Model|Diffusion Models]]:
- The noise process
is a martingale - [[Score Function|Score matching]] objectives relate to martingale estimating functions
- Reverse-time processes involve martingale decompositions
Martingale Role in Training:
-
Forward process as martingale: The forward [[Stochastic Differential Equation (SDE)|SDE]]
has a martingale component -
Score matching as martingale estimating equation: The score matching loss can be interpreted as a martingale estimating function, ensuring unbiased gradient estimates
-
ELBO decomposition: The variational bound in [[Diffusion Model|DDPM]] decomposes into KL divergences, each involving martingale properties of the forward process
-
Reverse-time martingales: Under time reversal, certain processes become martingales, enabling tractable reverse sampling
[!NOTE] Why Martingale Matters for Diffusion
The martingale property ofensures that the noise injection in the forward process has no predictable drift — it’s purely random. This is what makes the reverse process learnable: the model only needs to predict the deterministic drift, not the random component.
8. Testing for Martingale Property
8.1 Practical Checklist
To verify if a process
- ✓ Check integrability:
- ✓ Verify adaptedness:
depends only on information up to time - ✓ Compute conditional expectation:
- ✓ For Itô processes: Check if drift term is zero
8.2 Common Pitfalls
| Process | Martingale? | Reason |
|---|---|---|
|
|
✓ Yes | Zero drift |
|
|
✗ No |
|
|
|
✓ Yes | Compensated quadratic variation |
|
|
✗ No |
|
|
|
✓ Yes | Exponential martingale |
9. Core Formula Cards
[!QUOTE] Martingale Property
[!QUOTE] Optional Stopping Theorem
[!QUOTE] Exponential Martingale
[!QUOTE] Itô Integral Martingale
[!QUOTE] Quadratic Variation Martingale
Related Concepts
- [[Stochastic Process]]
- [[Wiener Process|Wiener Process]]
- [[Stochastic Differential Equation (SDE)]]
- [[Itô Integral]]
- [[Itô’s Lemma]]
- [[Markov Process]]
- [[Brownian Motion]]
- [[Filtration]]
- [[Stopping Time]]
- [[Doob’s Decomposition]]
- [[Diffusion Model]]
- [[Score Function]]
Dataview Query
1 | LIST |
References
- Book: [[Wiener Process|Brownian Motion]] and Stochastic Calculus - Karatzas & Shreve
- Book: Stochastic Differential Equations - Bernt Øksendal
- Book: Probability with Martingales - David Williams
- Course: MIT 18.S096 Topics in Mathematics with Applications in Finance
- Paper: Martingale Methods in Financial Modelling - Musiela & Rutkowski