[Paper Review] Automatically Learning Hybrid Digital Twins of Dynamical Systems
This paper proposes HDTwinGen, an evolutionary framework that uses large language models (LLMs) to automatically generate, evaluate, and optimize hybrid digital twins (HDTwins) — models combining mechanistic equations and neural networks — for improved generalization and sample efficiency in data-scarce dynamical systems. The method achieves superior out-of-distribution generalization and evolvability compared to baseline models, demonstrating strong performance with limited data.
Digital Twins (DTs) are computational models that simulate the states and temporal dynamics of real-world systems, playing a crucial role in prediction, understanding, and decision-making across diverse domains. However, existing approaches to DTs often struggle to generalize to unseen conditions in data-scarce settings, a crucial requirement for such models. To address these limitations, our work begins by establishing the essential desiderata for effective DTs. Hybrid Digital Twins ($ extbf{HDTwins}$) represent a promising approach to address these requirements, modeling systems using a composition of both mechanistic and neural components. This hybrid architecture simultaneously leverages (partial) domain knowledge and neural network expressiveness to enhance generalization, with its modular design facilitating improved evolvability. While existing hybrid models rely on expert-specified architectures with only parameters optimized on data, $ extit{automatically}$ specifying and optimizing HDTwins remains intractable due to the complex search space and the need for flexible integration of domain priors. To overcome this complexity, we propose an evolutionary algorithm ($ extbf{HDTwinGen}$) that employs Large Language Models (LLMs) to autonomously propose, evaluate, and optimize HDTwins. Specifically, LLMs iteratively generate novel model specifications, while offline tools are employed to optimize emitted parameters. Correspondingly, proposed models are evaluated and evolved based on targeted feedback, enabling the discovery of increasingly effective hybrid models. Our empirical results reveal that HDTwinGen produces generalizable, sample-efficient, and evolvable models, significantly advancing DTs' efficacy in real-world applications.
Motivation & Objective
- To address the limitations of existing digital twin approaches in data-scarce environments, particularly poor out-of-distribution generalization and low evolvability.
- To enable automated, expert-free design of hybrid digital twins (HDTwins) that integrate domain knowledge and neural expressiveness.
- To develop a scalable, evolutionary framework that searches the complex space of hybrid model architectures and parameters with minimal human intervention.
- To improve sample efficiency and robustness in modeling dynamical systems where domain knowledge is partial and data is limited.
- To enhance model evolvability by enabling efficient adaptation to changing system dynamics without full retraining.
Proposed method
- HDTwinGen employs a neuro-symbolic evolutionary framework where LLMs generate symbolic model specifications representing hybrid architectures of mechanistic and neural components.
- Each proposed model is encoded in code form and evaluated using offline optimization tools to tune its parameters.
- The framework uses targeted feedback from evaluation metrics to iteratively evolve and refine model proposals through multiple generations.
- LLMs are prompted with domain knowledge and contextual understanding to guide the generation of structurally diverse and plausible hybrid models.
- The method supports flexible integration of domain priors by embedding them symbolically within the mechanistic components of the HDTwins.
- Model evolution is driven by a fitness function based on generalization performance, sample efficiency, and evolvability metrics on unseen data distributions.

Experimental results
Research questions
- RQ1Can an automated framework generate hybrid digital twins that generalize effectively to out-of-distribution state-action distributions in data-scarce settings?
- RQ2How does the performance of LLM-driven model search compare to expert-designed or random search in discovering effective hybrid architectures?
- RQ3To what extent can the proposed method achieve sample-efficient learning while maintaining robustness to distributional shift?
- RQ4Can the generated HDTwins be efficiently adapted to new system dynamics, demonstrating strong evolvability?
- RQ5How well does the integration of domain knowledge via symbolic mechanistic components enhance model interpretability and generalization?
Key findings
- HDTwinGen discovers hybrid digital twin architectures that generalize significantly better than purely neural or mechanistic baselines on unseen state-action distributions.
- The method achieves high sample efficiency, outperforming standard neural models in low-data regimes due to the inductive bias from mechanistic components.
- The evolved HDTwins demonstrate strong evolvability, enabling efficient adaptation to new dynamics with minimal retraining and data.
- LLM-guided model search successfully explores complex hybrid architectures, discovering configurations that outperform expert-designed baselines in generalization and robustness.
- The integration of domain priors through symbolic mechanistic components enhances model interpretability and reduces the data burden for training.
- Empirical results confirm that HDTwinGen produces models that are both generalizable and evolvable, meeting the core desiderata for real-world digital twin deployment.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.