Machine Learning with Mutual Information and Its Application in Robotics

Masashi Sugiyama, Kiyoshi Irie, Masahiro TomonoJournal of the Robotics Society of Japan 2015

Introduction

This paper presents a unified framework for machine learning centered on Mutual Information (MI). By leveraging "direct estimation" techniques, the authors circumvent the traditional, error-prone process of probability density modeling. This approach establishes MI as a foundational metric for dependency, enabling a single technical infrastructure to address diverse tasks ranging from feature selection and clustering to robust robot self-localization using standard city maps.

In contemporary machine learning, a dichotomy often exists between generative models, which attempt to capture the entire data distribution, and task-specific models (e.g., SVMs), which target a single objective. While generative models offer versatility, they struggle without sufficient prior knowledge. Conversely, task-specific models, though accurate, frequently necessitate ad-hoc engineering for each new application. The proposed MI-based framework offers a middle ground, providing a versatile yet principled approach.

Direct Density Ratio Estimation

The core technical challenge in using MI is its traditional dependence on probability densities ($p(x, y)$, etc.), which are difficult to estimate accurately from finite datasets. Errors in these estimates are often compounded when calculating ratios, leading to instability in real-world applications.

To address this, the authors advocate for Direct Density Ratio Estimation. Following "Vapnik’s Principle"—never solve a more difficult problem than necessary—they estimate the ratio $r(x, y) = \frac{p(x, y)}{p(x)p(y)}$ directly. Key algorithms include:

  • Maximum Likelihood Mutual Information (MLMI): Estimates the ratio by maximizing log-likelihood, often yielding sparse, efficient solutions.
  • Least-Squares Mutual Information (LSMI): Employs a squared-loss function, providing a computationally efficient analytical solution.
  • Relative SMI (rSMI): A robust variant that "smooths" the density ratio to better manage outliers and small sample sizes.
  • Quadratic Mutual Information (QMI): Based on $L_2$ distance, this method avoids ratios entirely, offering high robustness to noise.

These estimators can be seamlessly integrated into workflows for independence testing, feature extraction, and causal inference.

Case Study: Robot Self-Localization

The framework's efficacy is demonstrated through a robotics case study involving cross-modal matching between visual data and map information.

Dataset and Pre-processing

The study utilizes images from a monocular camera, which provides 5D features (RGB color plus edge intensity and direction). This visual data is matched against 2D city maps (e.g., Google Maps or OpenStreetMap). The map is pre-processed to assign unique IDs to distinct regions, such as roads and buildings, transforming the localization task into a cross-modal matching problem between raw pixel features and categorical map IDs.

Results and Qualitative Success

A significant advantage of this MI-based approach is its ability to relate disparate data types without a shared coordinate space or manual feature engineering. In self-localization tests, the SMI estimator produced a distinct, sharp peak corresponding to the robot's true position in terms of rotation ($\theta$) and translation ($\tau$).

Heatmap of Squared Mutual Information (SMI) showing a clear peak at the optimal rotation and translation for robot localization.

Qualitatively, the system's success is evident in its ability to project road boundaries from the map onto the camera image based on the MI-maximized position. This demonstrates that the robot accurately perceives its location relative to the physical geometry of the environment.

Qualitative result showing road boundaries projected onto the camera image after maximizing Mutual Information.

Discussion and Future Directions

The MI framework allows for systematic parameter tuning—such as in clustering—based on the principle of maximizing information, rather than relying on heuristics. However, challenges remain. "Brute-force" searches for maximum MI in high-dimensional spaces (e.g., 6-DOF localization) can be computationally intensive. Furthermore, in methods like rSMI, the smoothing parameter $\alpha$ requires careful selection to maintain sensitivity to dependencies.

Future research aims to estimate the derivatives of MI directly. This could enable more efficient gradient-based optimization, facilitating the application of these robust MI estimators to even more complex robotic control and perception tasks.

Summary updated

BibTeX
@article{sugiyama2015machine,
  author = {Masashi Sugiyama and Kiyoshi IRIE and Masahiro Tomono},
  title = {{Machine Learning with Mutual Information and Its Application in Robotics}},
  journal = {Journal of the Robotics Society of Japan},
  year = {2015},
  doi = {10.7210/jrsj.33.86},
}
Figure