What is a Factor Graph?
A factor graph separates unknown state variables from measurement and prior constraints. Sparse connections describe which variables each observation affects, and optimization seeks agreement using associations, noise models, and an initial estimate.
The key idea
In a factor graph, variable nodes represent unknowns such as robot poses or landmark positions. Factors represent information supplied by measurements or prior knowledge and score how well proposed variables agree with it. An odometry factor connects successive poses; a landmark factor connects a pose with the observed landmark. Each factor touches only the states it constrains. An optimizer reduces combined weighted errors to obtain a more consistent estimate, supporting both SLAM and sensor fusion. The result still depends on correct data associations, suitable noise assumptions, and a useful initial estimate rather than optimization compensating for an incorrect measurement model.
What to remember
- Variables represent unknown states; factors represent information.
- Each factor connects only the states its information constrains.
- Optimization depends on associations, noise models, and initialization.
Check your understanding
What does an odometry factor typically connect?
Show the explanation
Two robot poses linked by a measured relative motion.