Variable Elimination in Hybrid Factor Graphs for Discrete-Continuous Inference & Estimation

arXiv cs.RO / 4/30/2026

💬 OpinionModels & Research

Key Points

  • The paper addresses robotics estimation problems that combine continuous and discrete variables by developing an exact inference framework for hybrid factor graphs.
  • It introduces new hybrid Gaussian factors and hybrid conditional representations that connect discrete and continuous variables and support multiple continuous hypotheses conditioned on discrete states.
  • A novel variable elimination algorithm converts the hybrid factor graph into a hybrid Bayes network, enabling exact MAP estimation and marginalization over both variable types under a Conditional Linear Gaussian scheme.
  • To keep computation tractable, the method uses a tree-structured factor representation plus pruning and probabilistic assignment to bound the number of discrete hypotheses.
  • Experiments on large-scale SLAM data and a real-world pose-graph optimization problem with ambiguous measurements demonstrate strong accuracy and generality.

Abstract

Many problems in robotics involve both continuous and discrete components, and modeling them together for estimation tasks has been a long standing and difficult problem. Hybrid Factor Graphs give us a mathematical framework to model these types of problems, however existing approaches for solving them are based on approximations. In this work, we propose a new framework for hybrid factor graphs along with a novel variable elimination algorithm to produce a hybrid Bayes network, which can be used for exact Maximum A Posteriori estimation and marginalization over both sets of variables. Our approach first develops a novel hybrid Gaussian factor which can connect to both discrete and continuous variables, and a hybrid conditional which can represent multiple continuous hypotheses conditioned on the discrete variables. Using these representations, we derive the process of hybrid variable elimination under the Conditional Linear Gaussian scheme, giving us exact posteriors as a hybrid Bayes network. To bound the number of discrete hypotheses, we use a tree-structured representation of the factors coupled with a simple pruning and probabilistic assignment scheme, which allows for tractable inference. We demonstrate the applicability of our framework on a large scale SLAM dataset and a real world pose graph optimization problem, both with ambiguous measurements which require discrete choices to be made for the most likely measurements. Our demonstrated results showcase the accuracy, generality, and simplicity of our hybrid factor graph framework.