Practical Localization Algorithms
From CRB to Code
Sections 14.1-14.3 established the theoretical framework (FIM, CRB, multi-panel fusion). Section 14.4 bridges to practical algorithms: how to actually compute from observed signals. The two dominant approaches are maximum likelihood estimation (MLE) and gradient-based optimization. Each has its tradeoffs.
Definition: Maximum Likelihood Position Estimator
Maximum Likelihood Position Estimator
For observation with known RIS configuration and known pilot, the log-likelihood of is
The MLE is
For multi-RIS (multiple observations), the MLE minimizes the total squared error across all panels.
The MLE is consistent (converges to true position as SNR → ∞) and asymptotically efficient (achieves the CRB). In practice, it is the gold standard — all practical algorithms are approximations of it.
Newton Method for MLE Position Estimation
Complexity: for -dim position; typical - iterationsNewton converges quadratically near the optimum — dramatic acceleration over gradient descent. Total compute: ~1-10 ms per position update on modern hardware. For Kalman-style tracking, each iteration is incremental and cheap.
Gradient Descent Position Estimator
Complexity: ; slower convergence than Newton but simplerGradient descent is the fallback when Newton is ill-conditioned (low SNR, degenerate geometry). More robust to bad initializations but slower.
The Initialization Problem
Both MLE algorithms require a good initial guess . Poor initialization can converge to a local minimum (especially when the log-likelihood is non-convex globally). Strategies:
- Coarse grid search: evaluate log-likelihood on a grid of candidate positions; pick the best as initial guess.
- Single-panel far-field: one panel gives AOA; the UE is on a cone. Multiple panels intersect cones → rough position.
- Previous estimate (Kalman tracking): use previous position
- motion model as initial guess.
- Machine learning: train a neural network to estimate position from raw observations; use as initial guess for MLE refinement.
A well-initialized MLE converges in a few iterations; a poorly- initialized one can fail entirely.
MLE Convergence: Newton vs. Gradient Descent
Compare convergence trajectories of Newton and gradient-descent position estimators. Newton takes - iterations; gradient descent takes -. At low SNR, gradient descent is more robust.
Parameters
RIS Positioning Deployment
Practical RIS localization deployment:
- Panel geometry calibration: one-time precise measurement of RIS element positions at deployment. Errors mm in panel geometry give clean positioning.
- Pilot protocol: known pilot signal transmitted by UE; BS correlates through the RIS. Typical pilot length: 10-100 symbols per position update.
- Update rate: depends on UE mobility. Stationary: Hz (every 1 s). Pedestrian: Hz. Robotic manipulation: - Hz (challenging).
- Multi-user: each UE gets its own pilot slot. users × symbols each = total pilot overhead.
- Fallback: if positioning fails (insufficient SNR, geometry degeneracy), fall back to GPS or visual odometry. Don't rely solely on RIS positioning in safety-critical applications.
- •
Position accuracy target: cm (indoor), cm (outdoor mmWave), mm (sub-THz).
- •
Update rate: - Hz typical; Hz for robotic applications.
- •
Pilot overhead: - of coherence block for continuous tracking.
- •
Initial position ambiguity: resolve via grid search or multi-panel triangulation.
Common Mistake: Calibration Is Everything
Mistake:
"Install the RIS panel; start positioning with default parameters."
Correction:
Panel geometry calibration is foundational. Errors in element positions (sub-mm accuracy required at mmWave) directly propagate to positioning errors. A 1-mm element-position error produces a -mm UE positioning error. Phase calibration is equally important: per-element phase offsets must be characterized (usually via a known reference transmitter). Skipping calibration results in positioning accuracies that are 10-100x worse than predicted. Budget time and instrumentation for calibration at deployment.
Near-Field RIS Positioning
Fisher Information Matrix (FIM)
The matrix quantifying how much information an observation carries about the parameter . Its inverse lower-bounds the covariance of any unbiased estimator (Cramér-Rao bound).
Related: CRB Scaling with , Newton Method for MLE Position Estimation
Near-Field Localization
Position estimation exploiting wavefront curvature. When the UE is within the Fraunhofer distance of a large aperture, the per-element phase contains a quadratic term in distance, enabling 3D position estimation from a single panel.
Related: Fraunhofer Distance, Xl Mimo
Quick Check
With a single near-field RIS panel of elements, the position Cramér-Rao bound scales with as:
is independent of
Each added element contributes coherent phase information; the FIM grows as (aperture scaling) so , giving .
Why This Matters: RIS-Positioning for 6G
6G targets sub-meter indoor positioning as a native capability. Industrial automation, XR, and vehicular-x demand continuous location tracking even in GPS-denied NLoS environments. RIS makes this achievable cheaply: a single RIS-aided anchor plus a UE provides cm-level localization via near-field curvature (no multiple anchors required). ETSI GR RIS 002 already mentions positioning as a priority application. The CommIT multi-RIS fusion algorithm (Caire-Atzeni 2023) is a candidate for standardization.