Inferensys

Glossary

Unmodeled Dynamics

Unmodeled dynamics are physical phenomena or system behaviors not captured by a mathematical model, leading to prediction errors and performance degradation in simulation and control.
ML engineer managing model versions on laptop, version history visible, technical Git-like workflow.
SIMULATION FIDELITY AND SYSTEM ID

What is Unmodeled Dynamics?

Unmodeled dynamics are the physical phenomena or system behaviors not captured by a mathematical model, leading to prediction errors in simulation and control.

Unmodeled dynamics are the components of a physical system's true behavior that are absent from its governing mathematical model, whether due to intentional simplification, unknown physics, or computational intractability. In robotics and control, common examples include complex friction stiction, aerodynamic effects, structural flexure, and high-frequency actuator dynamics. These omissions create a reality gap, causing policies trained in simulation to fail when deployed on real hardware, as the controller encounters forces and responses it was not designed to handle.

Addressing unmodeled dynamics is central to sim-to-real transfer. Techniques include system identification to refine models, residual modeling where a neural network learns the discrepancy, and domain randomization which exposes the policy to a wide range of randomized physics parameters to foster robustness. The goal is to either minimize these dynamics through better modeling or develop controllers that are invariant to them, ensuring reliable physical deployment.

SIMULATION FIDELITY AND SYSTEM ID

Key Characteristics of Unmodeled Dynamics

Unmodeled dynamics are physical phenomena or system behaviors not captured by a mathematical model, leading to prediction errors. These characteristics define their nature, impact, and the challenges they pose in simulation and control.

01

Definition and Core Nature

Unmodeled dynamics are discrepancies between a system's true physical behavior and the predictions of its mathematical model. They represent phenomena deliberately omitted for simplicity or unknowingly excluded due to incomplete knowledge.

  • Inherent to All Models: All models are approximations; unmodeled dynamics are the residual error between this approximation and reality.
  • Distinct from Parameter Error: Unlike inaccurate physics parameters (e.g., wrong mass value), unmodeled dynamics involve missing terms or structures from the model's equations entirely.
  • Source of the Reality Gap: They are a primary contributor to the reality gap, causing policies trained in simulation to fail when deployed on physical hardware.
02

Common Physical Sources

Unmodeled dynamics arise from specific, often complex, physical effects that are difficult to model precisely or are computationally prohibitive to simulate in real-time.

  • Nonlinear Friction & Stiction: Static friction (stiction), viscous damping, and nonlinear stick-slip effects in joints and actuators.
  • Actuator Dynamics: Delays, saturation, backlash, and non-ideal torque-speed curves in motors and gearboxes.
  • Structural Flexibility: Bending and vibration in links, cables, or frames assumed to be perfectly rigid.
  • Aerodynamic & Hydrodynamic Forces: Air resistance, lift, and turbulent flows on moving parts.
  • Contact Dynamics: Complex, multi-point contact, rolling friction, and deformation during collisions.
  • Thermal Effects: Expansion, contraction, and performance changes in electronics and materials.
03

Impact on Control and Simulation

The presence of unmodeled dynamics directly degrades the performance and reliability of both simulated training and real-world control systems.

  • Degraded Controller Performance: Causes steady-state error, oscillations, or instability in feedback control loops, as the controller's internal model is incorrect.
  • Poor Sim-to-Real Transfer: Policies optimized in an inaccurate simulation exploit its simplified dynamics, leading to failure on real hardware where those assumptions break down. This manifests as high transfer error.
  • Challenges for System Identification: Complicates parameter estimation and grey-box identification, as the model structure itself is insufficient to fit the observed data.
  • Increased Model Uncertainty: Contributes directly to overall model uncertainty, making robust or adaptive control strategies necessary.
04

Relationship to Model Fidelity

Unmodeled dynamics are the inverse of model fidelity. A high-fidelity model has minimal unmodeled dynamics, while a low-fidelity model has significant omissions.

  • Fidelity Spectrum: Models exist on a spectrum from low-fidelity (fast, simple) to high-fidelity (slow, complex). The choice involves a trade-off between computational cost and unmodeled dynamics.
  • Quantitative Validation: Fidelity metrics (e.g., trajectory MSE) measure the aggregate effect of unmodeled dynamics by comparing simulation outputs to ground truth alignment data.
  • Simulation Bias: Unmodeled dynamics introduce a simulation bias—a consistent, non-random deviation from reality—which is more problematic than simple noise for policy transfer.
05

Mitigation Strategies

Engineers use specific techniques to manage the risk posed by unmodeled dynamics, focusing on robustness, adaptation, and residual learning.

  • Domain Randomization: Deliberately varying simulated physics parameters (e.g., friction ranges) during training to force the policy to become robust to a wide variety of dynamics, including unmodeled ones.
  • Robust Control Design: Using control theories like H-infinity or sliding mode control that are inherently tolerant to bounded model errors.
  • Residual Modeling: Training a secondary data-driven model (e.g., a neural network) to predict the discrepancy between the physics model and real sensor data, then compensating for it.
  • Online Adaptation: Employing adaptive control or Bayesian calibration techniques that allow the system to estimate and compensate for dynamic errors in real-time.
  • Excitation for Identification: Using excitation trajectories with persistent excitation during a system ID pipeline to illuminate and help characterize dynamic behaviors that simpler motions might miss.
06

Examples in Robotic Systems

Concrete instances highlight how unmodeled dynamics manifest in real engineering challenges.

  • Quadrotor Drones: Unmodeled aerodynamic ground effect (cushion of air) causes instability during autonomous landing.
  • Robotic Arms: Unmodeled cable dynamics (swinging power/encoder cables) introduce oscillatory disturbances not present in rigid-body forward dynamics simulations.
  • Legged Robots: Unmodeled compliance and damping in foot pads or joints lead to inaccurate contact dynamics, causing slips or falls.
  • Autonomous Vehicles: Unmodeled tire relaxation dynamics (the lag between slip angle and lateral force generation) degrade the accuracy of path-following controllers.
  • Industrial Manipulators: Actuator dynamics like brushless DC motor commutation ripple create high-frequency torque vibrations not captured in standard models.
IMPACT AND CONSEQUENCES IN SIM-TO-REAL TRANSFER

Unmodeled Dynamics

Unmodeled dynamics are physical phenomena or system behaviors absent from a simulation's mathematical formulation, creating a primary source of the reality gap that degrades policy performance upon physical deployment.

Unmodeled dynamics are physical forces, nonlinearities, or complex interactions not captured by a simulator's governing equations, leading to simulation bias and transfer error. These omissions arise from necessary simplifications—like ignoring joint flexure, complex friction models, or aerodynamic effects—to make real-time simulation tractable. When a reinforcement learning policy trained in this incomplete environment encounters the true physics, its actions are based on incorrect predictions, causing failures or unsafe behavior. This discrepancy is a core challenge in Sim-to-Real Transfer for robotics and embodied AI.

The consequences of unmodeled dynamics are mitigated through techniques like residual modeling, where a secondary data-driven network learns the simulator's error, and domain randomization, which exposes the policy to a wide range of randomized physics parameters to improve robustness. System identification and parameter calibration aim to reduce this gap by tuning known model parameters, but cannot capture truly unmodeled effects. Ultimately, managing unmodeled dynamics is essential for building digital twins and achieving reliable policy transfer from virtual training to physical deployment.

UNMODELED DYNAMICS

Common Examples in Robotic Systems

Unmodeled dynamics are physical phenomena or system behaviors absent from a robot's mathematical model, leading to prediction errors. These examples illustrate where these gaps most commonly occur in real-world systems.

01

Joint Friction and Stiction

Joint friction is the resistance to motion in a robot's actuators and transmissions, often modeled simplistically as viscous friction. The more complex stiction (static friction) and Coulomb friction are frequently unmodeled. This leads to:

  • Stick-slip motion during slow, precise movements.
  • Torque prediction errors when the joint changes direction.
  • Positional drift in gravity-compensated holds, as the controller underestimates the force needed to overcome initial stiction.
02

Actuator Saturation and Backlash

Actuator saturation occurs when a motor's torque, velocity, or current limits are reached, causing non-linear clipping not captured in linear models. Gearbox backlash is the dead zone between gear teeth when direction reverses.

Real-world impact: A controller commanding an acceleration based on an ideal model will not account for the delayed response from backlash or the reduced torque available at saturation, causing overshoot and oscillation, especially in high-speed, high-precision tasks like pick-and-place.

03

Flexibility and Structural Resonance

Many control models assume robot links and joints are perfectly rigid. In reality, structural flexibility in long links, harmonic drives, or cables introduces bending and torsional vibrations.

Key effects include:

  • Low-frequency resonances that destabilize high-gain controllers.
  • Oscillatory end-effector error after a rapid move.
  • Non-collocation problems where the actuator sensor and end-effector are on different sides of a flexible element, making accurate state estimation difficult. This is critical in lightweight cobots and space manipulators.
04

Uncertain Payload Dynamics

While a robot's base dynamics may be identified, the inertia, center of mass, and grip stiffness of a payload are often unknown and variable. An unmodeled payload causes significant error in the required joint torques via the inverse dynamics calculation.

Consequences:

  • Trajectory tracking error and vibration when moving an uncharacterized object.
  • Degraded force control during insertion or assembly tasks.
  • The need for rapid online adaptation in applications like warehouse logistics where items change constantly.
05

Aerodynamic and Hydrodynamic Forces

For robots operating in fluid environments—such as drones, underwater vehicles, or even high-speed arms—drag, lift, and vortex shedding forces are complex functions of velocity, shape, and fluid density. These are rarely included in standard rigid-body dynamics models.

Operational impact:

  • Quadrotors experience unmodeled lateral drag during fast forward flight, causing positional error.
  • Underwater manipulators have highly non-linear, velocity-dependent damping, leading to poor trajectory tracking if ignored.
  • Energy consumption predictions become highly inaccurate.
06

Thermal and Electrical Effects

Motor winding resistance increases with temperature, reducing available torque for the same current command. Battery voltage sag under high load reduces motor speed constants. Encoder quantization and electrical noise in sensor readings create unmodeled disturbances in the feedback loop.

These effects cause time-varying performance degradation:

  • A robot may perform precisely when cold but become sluggish or inaccurate after extended operation as motors heat up.
  • Battery state-of-charge effectively changes the plant model, a major concern for mobile robots and electric vehicles.
SIMULATION FIDELITY

Comparison of Mitigation Strategies for Unmodeled Dynamics

A comparison of primary technical approaches for addressing the performance degradation caused by unmodeled dynamics during sim-to-real transfer.

Mitigation Feature / MetricResidual Modeling (Data-Driven)Domain Randomization (Robustness)Online System ID & AdaptationPhysics Parameter Calibration (Grey-Box)

Core Mechanism

Trains a secondary model (e.g., NN) to predict simulation error

Randomizes simulation parameters during training to increase policy robustness

Continuously estimates system parameters or states online and adapts the controller

Adjusts physics constants (mass, friction) to minimize sim-real discrepancy

Primary Data Requirement

Paired sim-real state-action trajectories

None for training; requires diverse parameter ranges

Real-time sensor stream from the physical system

Paired input-output data for calibration

Handles Time-Varying Dynamics

Computational Overhead at Runtime

Medium (NN forward pass)

None

High (real-time estimation/optimization)

None (applied pre-deployment)

Typical Reduction in Transfer Error

40-60%

30-50%

50-70%

20-40%

Interpretability of Solution

Low (black-box correction)

Medium (understood via robustness)

High (explicit parameter estimates)

High (adjusted physical constants)

Integration Complexity

Medium

Low

High

Medium

Best For

Complex, non-linear residuals (e.g., fluid effects, flex)

Tasks where precise modeling is intractable

Systems with wear, payload changes, or environmental drift

Systems with well-understood but poorly parameterized physics

UNMODELED DYNAMICS

Frequently Asked Questions

Unmodeled dynamics are a primary source of the reality gap in robotics and simulation. This FAQ addresses common questions about their nature, impact, and mitigation strategies within sim-to-real transfer pipelines.

Unmodeled dynamics are physical phenomena, forces, or system behaviors that are not captured by the mathematical model used for simulation, control, or system identification, leading to a discrepancy between predicted and actual system behavior.

These dynamics arise because all models are simplifications of reality. Common examples in robotics include:

  • Stiction and complex, velocity-dependent friction not captured by a simple viscous model.
  • Flexibility in links, gears, or cables that introduce vibrations and compliance.
  • Aerodynamic effects like drag or ground effect on drones or legged robots.
  • Electrical dynamics of motors and drives, such as current saturation or inductance.
  • Thermal effects causing expansion or changes in material properties.
  • Non-linearities in actuators beyond their specified torque-speed curves.

Unmodeled dynamics are a key contributor to simulation bias and the reality gap, as policies trained in an idealized simulation will encounter these unanticipated forces when deployed on physical hardware.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.