Inferensys

Glossary

Measurement Model

A measurement model is a mathematical function that predicts the data a sensor will produce given the true state of a system, accounting for sensor geometry and noise.
Data scientist building training data pipeline on laptop, data preprocessing visible, technical workspace.
SENSOR FUSION AND STATE ESTIMATION

What is a Measurement Model?

A core mathematical component in probabilistic state estimation, defining the relationship between a system's true state and its sensor observations.

A measurement model (or observation model) is a mathematical function that describes the probabilistic relationship between a system's true state vector and the noisy data generated by its sensors. It formally defines how a sensor observation ( z_t ) is produced from the true state ( x_t ), incorporating both the sensor's inherent geometry and its characteristic noise or uncertainty. This model is the foundational 'sensing' equation in recursive Bayesian filters like the Kalman Filter and Particle Filter, enabling the algorithm to update its state belief by comparing predicted measurements to actual sensor data.

In practice, a measurement model is often expressed as ( z_t = h(x_t) + v_t ), where ( h(\cdot) ) is the (potentially nonlinear) observation function and ( v_t ) is additive measurement noise, typically modeled as zero-mean Gaussian. For example, a camera's model ( h(\cdot) ) would project a 3D landmark into 2D pixel coordinates. An accurate model is critical for sensor fusion; errors here directly corrupt the state estimate. It works in tandem with a process model (which predicts state evolution) to form a complete probabilistic framework for localization, tracking, and mapping.

SENSOR FUSION AND STATE ESTIMATION

Key Components of a Measurement Model

A measurement model is a probabilistic function that maps a system's true state to the sensor data you observe. It is defined by two core elements: a deterministic observation function and a stochastic noise model.

01

Observation Function

The observation function (often denoted h(x)) is the deterministic, mathematical core of the model. It describes the ideal, noise-free sensor reading given a perfect knowledge of the system's state x. Its form is dictated by sensor physics and geometry.

  • For a camera: It projects 3D world points onto the 2D image plane using a pinhole model.
  • For a LiDAR: It calculates the expected range and bearing to a surface given the robot's pose and a map.
  • For a GPS receiver: It converts the estimated global position into an expected latitude, longitude, and altitude.
02

Noise Model

The noise model accounts for the stochastic uncertainty in every real sensor measurement. It defines the probability distribution of the discrepancy between the ideal observation h(x) and the actual sensor reading z. This is typically modeled as additive Gaussian noise with zero mean and a covariance matrix R.

  • Covariance Matrix R: This matrix quantifies the magnitude of noise (diagonal elements) and correlations between different measurement dimensions (off-diagonal elements). A high value in R tells the estimator to trust that particular measurement less.
  • Non-Gaussian Noise: For sensors with outliers or heavy-tailed distributions (e.g., vision-based feature matching), more robust models like a Huber or Cauchy distribution may be used.
03

Linear vs. Nonlinear Models

Measurement models are classified by the linearity of their observation function h(x).

  • Linear Models: h(x) is a linear matrix operation (z = Hx + noise). These are optimal for filters like the Kalman Filter. Example: measuring position with a perfect linear encoder.
  • Nonlinear Models: h(x) is nonlinear. This is the norm in robotics (e.g., camera projection, ranging sensors). They require approximations:
    • Extended Kalman Filter (EKF): Linearizes h(x) around the current state estimate using the Jacobian matrix.
    • Unscented Kalman Filter (UKF): Propagates carefully chosen sample points through the nonlinear function.
    • Particle Filter: Evaluates the full nonlinear function for each particle.
04

Jacobian Matrix (H)

For nonlinear models used in an EKF, the Jacobian matrix H is the linear approximation of the observation function. It is the matrix of partial derivatives H = ∂h/∂x, evaluated at the current state estimate.

  • Role: It maps a small change in the state δx to the predicted change in the measurement δz. It is critical for the filter's update step, telling it how sensitive the measurement is to each state variable.
  • Example: For a bearing-and-range sensor to a landmark, the Jacobian relates changes in the robot's (x, y) position to changes in the measured range and angle. An incorrect Jacobian leads to filter inconsistency and divergence.
05

Data Association

Data association is the process of determining which part of the observed sensor data corresponds to which known feature or object in the state estimate. It is a prerequisite for applying the measurement model.

  • Challenge: In cluttered environments, a sensor may see many unlabeled features (e.g., visual keypoints, LiDAR clusters).
  • Methods:
    • Nearest Neighbor with Mahalanobis distance (accounts for uncertainty).
    • Joint Probabilistic Data Association (JPDA) for multiple hypotheses.
    • Scan Matching algorithms like Iterative Closest Point (ICP) for dense point clouds.
  • Incorrect association is a primary source of catastrophic filter failure.
06

Relation to Process Model

The measurement model works in tandem with the process model (or motion model) within the Bayesian filtering cycle.

  1. Prediction: The process model f(x) predicts the state forward in time using control inputs.
  2. Update: The measurement model h(x) predicts what the sensors should see given the predicted state. The difference between this prediction and the actual sensor data—the innovation—is used to correct the state estimate.

This cycle forms the core of estimators like the Kalman filter, where the measurement model's accuracy directly determines the precision of the final state correction. A well-specified measurement model with realistic noise parameters is essential for optimal fusion.

MEASUREMENT MODEL

Frequently Asked Questions

A measurement model is a core mathematical component of state estimation and sensor fusion. It defines the expected relationship between a system's true internal state and the noisy, indirect observations produced by its sensors.

A measurement model (or observation model) is a mathematical function, typically probabilistic, that describes how sensor measurements are generated from the true, hidden state of a dynamic system, accounting for sensor geometry, noise, and potential biases.

In formal terms, it defines the likelihood function ( p(z_t | x_t) ), which is the probability of receiving measurement ( z_t ) given that the system is in state ( x_t ). This model is the critical link that allows estimation algorithms like the Kalman filter or particle filter to update their belief about the state when new sensor data arrives. Without an accurate measurement model, a robot cannot correctly interpret what its sensors are telling it about the world.

Prasad Kumkar

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.