Mechanical systems learn and adapt through active inference loops
Cognitive behavior emerging in mechanical systems through reservoir encoding and active inference
Computational Engineering, Finance, and Science
Summary
Mechanical systems are usually built to do fixed tasks, with sensing and control handled separately. This paper presents a new approach where machines can learn and adapt by actively sensing their environment and updating their internal understanding continuously. The method uses a special neural network that helps the system interpret sensor data and decide what actions to take to achieve goals. Through trial and error, the system improves itself without needing detailed models or offline training. The result is adaptive behavior emerging from machines that interact intelligently with their surroundings.
What this means in practice
- •For robotics engineers: Enable robots to autonomously adapt their behavior by continually sensing and updating internal models during real-world interactions.
- •For structural health monitoring teams: Use adaptive inference to improve vibration mitigation and deformation management in mechanical structures based on online sensor data.
Authors
Matteo Torzoni, Domenico Maisto, Andrea Manzoni, Francesco Donnarumma, Giovanni Pezzulo, Alberto Corigliano
Abstract
Mechanical systems are traditionally designed as passive assets, where sensing, analysis, and control are treated as decoupled and externally prescribed processes. Reliance on predefined mechanistic models and supervised learning with offline optimization further limits their adaptability in changing environments. Drawing inspiration from biological cognition, we introduce a computational framework enabling mechanical systems to learn, adapt, and make decisions through interactions with partially observable environments. Perception, action, and learning are integrated through active inference within a perception-action loop. Sensor data are assimilated through a neural reservoir to support continual belief updating, while actions actively probe and influence the physical system, becoming an integral part of the inference process. Through self-directed interaction, adaptive behavior emerges from the continual refinement of internal representations to explain varying observation patterns while pursuing mechanical objectives. Across simulated case studies involving multiple mechanical systems, static and dynamic sensing, and objectives ranging from deformation maximization to vibration mitigation, we demonstrate the potential of the proposed framework as enabling paradigm for autonomous mechanical systems.