Abstract
Locally weighted learning techniques, in particular LWPR [Vijayakumar et al., 2002], have successfully been used for high-dimensional regression problems. Their robustness and efficient online versions are crucial in robotic domains where, for instance, an inverse model of an articulated dynamic robot has to be learned in real-time. While typically such mappings are assumed to be smooth, in real world scenarios, there are many interesting cases where the functions of interest are truly discontinuous. Some examples include contacts with other objects, with other parts of the body, or with “joint limits”. In this paper, we show how discontinuous switching between local regression models can be learned. We propose a model of the responsibility index $i$ which is itself a composition of local classifiers. Multiple pairwise classifiers are concatenated to construct a complete model in the form of a product-of-sigmoids, which is capable of learning complex, sharply bounded domains for each local model in lieu of the typical Gaussian kernels.
The Challenge of "Crunchy" Robotics
In robotics, we often use locally weighted learning to map high-dimensional states—such as joint angles and velocities—to motor torques in real-time. Most of these techniques assume that the underlying functions are smooth. However, the physical world is often discontinuous. When a robot foot hits the ground or a joint reaches its mechanical limit, sensorimotor data undergoes a sharp jump.
Standard local learning methods typically use Gaussian kernels (smooth, bell-shaped curves) to define where a local model is valid. These kernels are inherently smooth and struggle to represent the crisp, hard boundaries found in physical interactions. This paper aims to bridge that gap by learning how to switch between local models at these exact points of discontinuity.
Methods: Product-of-Sigmoids
The authors propose a two-level learning architecture to handle these sharp boundaries:
- Learning the Family of Models: The algorithm identifies a set of local regression models. It uses a "locality constraint" based on "betweenness": a model is only considered eligible for an input if no other model's center lies directly between that model and the input. New models are initialized using a RANSAC-like heuristic when existing models fail to explain new data.
- The Product-of-Sigmoids Switching: This is the core innovation. Instead of using smooth Gaussian kernels, the authors learn pairwise boundaries between neighboring models. For every pair of models that "touch," they learn a sigmoidal function that decides which model is more likely. By multiplying these sigmoids together for a specific model, they create a "product-of-sigmoids" that defines a sharply bounded, polyhedral-like region where that model is dominant.
Partial Least Squares (PLS) regression is used to learn both the local regression models and the boundary classifiers, ensuring efficiency in high-dimensional spaces.
Experimental Results
The approach was evaluated using synthetic, piecewise linear, discontinuous test functions in 1D and 10D input spaces, with Gaussian noise added to simulate sensor jitter.
As shown in Figure 2, the proposed model successfully captures sharp jumps that traditional LWPR models would have smoothed over. In high-dimensional tests (10D), the "family error" (the accuracy of the local experts) reached the theoretical noise floor.
Quantitatively, the switching mechanism (the product-of-sigmoids) correctly identified the responsible local model with high precision, as seen in the error convergence in Figure 4. In 10D spaces, the model converged to a ~4% error rate, while in 5D spaces, it achieved near-perfect classification.
Conclusion
By replacing traditional "blurry" Gaussian kernels with a product-of-sigmoids architecture, this method enables models to learn complex, sharply bounded regions for switching between local experts. While currently demonstrated on linear experts, the framework is extensible to non-linear learners. Future work will focus on applying this to actual sensorimotor data from robots performing contact-rich tasks where physical discontinuities are prevalent.
Summary updated