Unscented Transform
Unscented Transform
Given in dimensions and a non-linear , estimate the mean and covariance of .
Recipe
- Choose sigma points — a small deterministic set with the same mean and covariance as .
- Propagate each one through (the real non-linear function, no linearisation).
- Recombine with weights to get and (and the cross-covariance if needed).
Sigma points
Let be any matrix square root, , with columns :
Recombine:
The mean and covariance come out correct to 2nd order of the Taylor expansion (EKF: 1st order).
Kraft's version (this project)
→ no centre point, 2n points with equal weights . For : 12 sigma points.
Spread factor
With equal weights the sample covariance of the points is . To reproduce you need :
| Option | Points represent | Where it comes from | |
|---|---|---|---|
standard |
✅ | unscented transform with κ = 0 | |
kraft |
as printed in Kraft (2003) | ||
legacy |
original estimate_rot.py |
Verified numerically in ukf_core (kraft → exactly 2.000 × P, legacy → 0.408 × P). → bug #3
Scaled UT (for reference)
Wan & van der Merwe parameterise with (spread, ~1e-3…1), (prior knowledge, 2 for Gaussian), (often 0 or 3−n):
Small α keeps points local (good for strongly non-linear functions); with small α, becomes large and negative.
Picture
flowchart LR G["Gaussian N(μ, P)"] --> S["2n sigma points<br/>μ ± columns of √(nP)"] S --> F["f(·) applied to each point"] F --> R["weighted mean & covariance"] R --> Y["≈ N(ȳ, P_y)"]
Next: Unscented Kalman Filter
Connections
Linked from