Guillermo Trinidad Barnech Instituto de Computación · Universidad de la República
ICDL 2026 · Kyoto, Japan · 15–18 September 2026

Embodied internal models for exploration and control via hierarchical self-organizing maps

  • 1Facultad de Ingeniería, Universidad de la República, Montevideo, Uruguay
  • 2Facultad de Ciencias, Universidad de la República, Montevideo, Uruguay
  • 3IIMAS, Universidad Nacional Autónoma de México, México
  • 4Centro de Investigación en Ciencias, Universidad Autónoma del Estado de Morelos, México

Inference uses the whole map, not a single winning unit.

I

Abstract

This work presents an embodied internal model based on self-organizing maps (SOMs), hierarchically connected through Hebbian weights. The model is trained to capture sensorimotor contingencies — that is, how motor commands affect the perceptual state of the robot. Once trained, it serves both as an inverse and a forward model.

One of the main contributions is the Full Activation method for propagating activation through the architecture. This propagation relies on the activation of the whole map, contrary to traditional methods relying on Best Matching Units. The system is tested in a fovealization task and a pre-grasping task with high rates of success. The use of distributed representations across the maps allows the model to maintain high success rates even under significant stochastic perturbations, effectively buffering against sensor inaccuracies and actuator uncertainty.

Finally, the model could serve as a curiosity-driven guide, encouraging the robot to explore regions of its sensory space where it has less experience, or as a baseline controller refined in real time through continuous learning.

II

Zero-shot sim-to-real transfer

The model is trained entirely in simulation using PyBullet and deployed directly onto a physical robot arm — no fine-tuning, no additional real-world data. The video below shows the real robot performing the pre-grasping task zero-shot.

Real robot performing zero-shot sim-to-real grasping. Trained only on synthetic data, with no real-world fine-tuning. Playback at 10×.
III

Architecture

The architecture is built on the SOIMA framework and extends it with the Full Activation method. Instead of selecting a single Best Matching Unit (BMU) to propagate information, every neuron in the map contributes to the output, weighted by its activation level. This distributes computation across the entire representational space, granting the system emergent generalization capabilities that BMU-based methods cannot achieve.

Hierarchical architecture: two visual SOMs feed a stereoscopic SOM, which combines with a motor SOM in the multimodal representation layer.
Figure 1. Implemented architecture for visuo-motor coordination. Visual signals from left and right cameras are encoded in independent SOMs, fused stereoscopically, and combined with motor information in the Multimodal Representation (MMR) SOM via Hebbian weights.

The Full Activation propagation for the inverse model proceeds in three steps: stereo activation is computed via element-wise intersection of the two visual streams; both current and goal stereo activations are propagated to the MMR and intersected; and the motor output is obtained by projecting the MMR activation onto the motor SOM.

Activation maps propagating from the visual SOMs through the stereo and MMR layers to the motor SOM, for both the current and the goal bounding boxes.
Figure 2. Activation propagation using the Full Activation method (inverse model). Current and target bounding boxes activate the visual SOMs; activation propagates through the stereoscopic and multimodal maps via learned Hebbian connections, and the motor command is read out as the weighted average of the active neurons in the motor SOM.
IV

Training data

The robotic arm is initialized in front of a table with an object of interest (a 5 × 5 cm cube), and synthetic image rendering simulates visual input. The arm then performs a series of completely random movements and records the sensory consequences — motor babbling. If the object leaves the robot's visual field, the arm is reset.

To sample the visual experience space as thoroughly as possible, the reset position is not fixed. Two reference configurations are defined, one close to the object and one farther away, and at each reset the arm is placed at a position interpolated between them. The object itself stays in the same place throughout. This intentionally limits the variability of the dataset, so that generalization can be evaluated under controlled conditions. The final dataset contains 80k sensorimotor contingencies, corresponding to 80k random motor commands.

Data generation. The robot performs motor babbling and records the object's bounding boxes at each time step.
V

Results

The model is evaluated on 125 object positions arranged in a 5 × 5 × 5 cuboid within the workspace. All of them are unseen: training used a single fixed object position.

The robot arm beside 125 cube positions arranged in a cuboid, coloured by distance from the single training position.
Figure 3. Generalization test setup. The robot is shown in its home position alongside the 125 test cube positions. Colour indicates the Euclidean distance of each test position from the single cube position seen during training (the dark purple region).
Final position of the robotic arm for each of the 125 cube positions in the evaluation.
Success across 125 unseen object positions. A trial succeeds when IoU between the current and goal bounding boxes exceeds 0.5 within 75 steps.
TaskFull ActivationBest Match
Fovealization 89.6% (112/125) 89.6% (112/125)
Pre-grasping 100% (125/125) 0% (0/125)

Both strategies solve fovealization, where initial states sit close to the target configuration. The pre-grasping task separates them completely. Best Match commits to the single MMR neuron whose stored triplet most closely matches the query, so the motor command it returns is always one that was actually experienced during training — with the object at one fixed position, no stored triplet corresponds to the displaced goals, and the strategy cannot interpolate towards them. Full Activation instead reads out a weighted average over the whole motor map, which lets a combination of stored contingencies produce commands that were never individually learned.

Robustness to noise

Visual and motor noise were swept independently, not jointly. Under visual noise the success rate stays above 80% up to σ = 0.8; under multiplicative motor noise it stays above 80% up to σ = 0.5, where each joint command is perturbed by up to 50% of its intended magnitude.

Success rate declining gradually as bounding box noise increases.
Figure 4. Success rate under increasing bounding box noise (σ).
Success rate declining gradually as motor noise increases.
Figure 5. Success rate under increasing multiplicative motor noise (σ).
VI

Fault detection through prediction error

Because the architecture encodes both a forward and an inverse model in the same neural substrate, it can predict the sensory consequences of its own actions before executing them. The discrepancy between predicted and actual sensory state yields a prediction error that grows significantly under injected noise, suggesting it could serve as an online detector for hardware failures or environmental interference.

Box plots of prediction error rising steadily across nine increasing bounding box noise levels.
Figure 6. Distribution of prediction errors under increasing visual noise. Error is the mean Euclidean distance between predicted and observed winning-neuron coordinates, measured in SOM lattice units. Differences from the nominal baseline are significant under a Kruskal–Wallis test with Dunn's post-hoc comparisons (Holm-corrected). ** p < 0.01, *** p < 0.001.
VII

Where the architecture is now

The architecture keeps evolving. Below is a more recent zero-shot sim-to-real transfer, with two changes over the version described above:

Current version, zero-shot on the real robot. Trained only on synthetic data, with no real-world fine-tuning. Playback at 5×.
VIII

Limitations

IX

Citation

@inproceedings{trinidad2026embodied,
  author    = {Trinidad Barnech, Guillermo and Valle Lisboa, Juan and
               Tejera, Gonzalo and Ciria, Alejandra and Lara, Bruno},
  title     = {Embodied Internal Models for Exploration and Control
               via Hierarchical Self-Organizing Maps},
  booktitle = {IEEE International Conference on Development
               and Learning (ICDL)},
  address   = {Kyoto, Japan},
  year      = {2026},
}