atlas

Research map / Large language models / Retrieval and knowledge

Continuously Updating Digital Twins using Large Language Models

ICML 2025 · Large language models › Retrieval and knowledge · approach: Domain-specific QA datasets · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Frames digital twinning as in-context learning with LLMs and proposes CALM-DT, which retrieves related trajectories via fine-tuned ModernBERT bi-encoders and adapts context mid-simulation, enabling updates without retraining.

Problem

Digital twins with fixed architectures cannot adapt to new state/action variables, new data, or new knowledge without costly redesign and retraining, which limits their use in dynamic real-world settings.

Approach

Use a frozen LLM as a hybrid digital twin that simulates via in-context learning, with a context-adaptive strategy that re-retrieves knowledge and related trajectories during generation. Retrieval encoders are fine-tuned once using contrastive InfoNCE loss with LLM-simulation performance as labels, and trajectory inputs are augmented with LLM-generated trend summaries.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use CALM-DT instead of the strongest baselineCF simulation · CFMSE: 65.1 \pm 0 -> 55.3 \pm 0.811Helped
use CALM-DT instead of HDTwinNSCLC simulation · NSCLCMSE: 80.6 \pm 11.8 -> 79.4\pm8.57Helped
use CALM-DT instead of HDTwinNSCLC simulation · NSCLCMAE: 3.42 \pm 0.717 -> 4.28\pm0.157Hurt
add encoder fine-tuning and natural-language trajectory summaries (ablation)CALM-DT sample retrieval · CFMSE: 76.3 \pm 1.61 -> 55.3 \pm 0.811Helped
fine-tune the encoders (ablation)CALM-DT sample retrieval with summaries · CFMSE: 66.6 \pm 0.387 -> 55.3 \pm 0.811Helped
append natural-language trajectory summaries (ablation)CALM-DT sample retrieval with fine-tuned encoders · CFMSE: 67.1 \pm 0.894 -> 55.3 \pm 0.811Helped
use GPT-4o instead of GPT-4o Mini as the base LLM (ablation)CALM-DT · CFMSE: 64.179 $\pm$ 0.637 -> 55.336 $\pm$ 0.811Helped
use GPT-4o Mini instead of GPT-3.5 Turbo as the base LLM (ablation)CALM-DT · CFMSE: 162.203 $\pm$ 5.367 -> 64.179 $\pm$ 0.637Helped
increase the context set size from c=0 to c=5 (ablation)CALM-DT · CFMSE: 74.816 $\pm$ 0.411 -> 55.336 $\pm$ 0.811Helped
increase the context set size from c=5 to c=10 (ablation)CALM-DT · CFMSE: 55.336 $\pm$ 0.811 -> 59.717 $\pm$ 0.529Hurt
add a description of the new action's effects to the knowledge base (ablation)CALM-DT with the new CF action · CF post-IvacaftorMSE: 59.7 \pm 0.472 -> 54.4 \pm 0.472Helped
add post-Ivacaftor patient samples to the dataset (ablation)CALM-DT with the new CF action and knowledge · CF post-IvacaftorMSE: 54.4 \pm 0.472 -> 50.4 \pm 0.477Helped

Surprising findings

Limitations

Experimental setup

Datasets: UK Cystic Fibrosis Registry (2008-2013) NSCLC pharmacokinetic-pharmacodynamic simulator data (500 training patients)

Benchmarks: UK CF registry simulation (CF) NSCLC tumour growth simulation

Metrics: MSE MAE CRPS RMSE

Baselines: 1-NN K-NN Constant RNN Transformer DyNODE SINDy HDTwin

Builds on: HDTwinGen InfoNCE ModernBERT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy