arXiv:2610.31192eess.SYOct 2026

Manuscript Offprint

arXiv:2610.31192

Large Language Models Meet Bayesian Optimization: Towards Self-evolving Wireless Digital Twins

Yingzhuo Sun, Haoyun Li, Ming Xiao, Francisco J. Ferrao, Berna Ozbek

Yingzhuo Sun, Student Member, IEEE, Haoyun Li, Student Member, IEEE, Ming Xiao, Senior Member, IEEE, Francisco J. Ferrão, and Berna Özbek, Senior Member, IEEE

Abstract—Wireless digital twins (DTs) are increasingly integrated with artificial intelligence to support online modeling, prediction, and network optimization. However, most existing approaches perform adaptation within predefined learning or optimization structures, which may become unsuitable when wireless tasks and operating conditions change. In this article, we investigate the integration of large language models (LLMs) and Bayesian optimization (BO) to extend wireless DTs from online adaptation towards algorithm-level self-evolution. We introduce an LLM-assisted BO framework in which BO provides a stable and sample-efficient optimization backbone, while the LLM determines whether selected BO components should be retained or adapted based on the current task and accumulated optimization experience. In simulations, we apply the framework to Gaussian process (GP) kernel discovery for a multi-user wireless beam-selection problem. Simulation results show that the LLM-discovered kernel improves the final BO performance by 19.7% on the training tasks compared with the strongest standard kernel baseline. The results demonstrate the potential of combining LLM flexibility with structured BO for self-evolving wireless DTs.

Index Terms—Wireless digital twin, large language models, Bayesian optimization, algorithm adaptation.

I. INTRODUCTION

Digital twins (DTs) have emerged as a promising approach for modeling, monitoring, and controlling complex wireless networks. By maintaining a digital representation of the physical system, a wireless DT can support network-state estimation, performance prediction, resource optimization, and virtual testing of candidate decisions. As wireless systems grow more complex, these capabilities are becoming increasingly important for network management and autonomous operation. However, conventional model-driven DTs usually rely on predefined models. The accuracy and adaptability may degrade when the wireless environment becomes highly dynamic or difficult to model. To improve modeling and adaptation, recent studies have introduced data-driven methods such as deep learning and reinforcement learning. These artificial intelligence (AI)-driven DTs can support online model updating, adaptive control, and closed-loop interaction between the digital and physical domains [1]. Despite these advances, an important limitation remains. Most existing AI-driven wireless DTs perform adaptation within predefined learning and optimization structures. Model parameters, network configurations, or control policies can be updated online, while the underlying learning model, optimization strategy, or decision mechanism is usually designed in advance. This approach works well when operating conditions remain close to those considered during algorithm design or training. However, future wireless networks may involve heterogeneous tasks, changing objectives, and varying network scales. In such cases, a fixed optimization strategy may no longer be effective. Therefore, the next step is not only to adapt the network state or policy, but also to adapt how the optimization itself is performed. Bayesian optimization (BO) is well suited to this DT setting. BO uses observations from the physical system to update its surrogate model and generate optimization decisions. This iterative process naturally supports the closed-loop operation of wireless DTs. BO has therefore been applied to several wireless problems, including radio resource management, power control, beam alignment, and meta-optimization [2]–[5]. However, the BO framework itself is still usually predefined, including initialization, surrogate model, kernel, and acquisition function. When the wireless task or operating scenario changes, the same BO configuration may no longer be suitable. Large language models (LLMs) offer a complementary way to address this limitation. LLMs can understand task descriptions, reason over previous experience, and generate new algorithmic structures or executable code. These capabilities make them suitable for adapting the BO framework to new wireless tasks. Recent studies have already shown the use of LLMs for wireless-network reasoning, configuration, optimization, and agent-based control [6]–[8]. LLMs have also been used to generate and refine heuristics and algorithmic structures [9], [10], and more recent studies have introduced LLMs into BO for reasoning-guided optimization and BO-component generation [11]–[14]. These developments suggest that LLMs can complement BO by adapting its components when wireless tasks and environments change, thereby extending the DT from online model and policy adaptation toward algorithm-level self-evolution. Motivated by these observations, we investigate the integration of LLMs and BO for wireless DTs. The main idea is to combine the sample-efficient black-box optimization of BO with the reasoning and algorithm-generation capabilities of LLM. Instead of using a fixed BO pipeline for all wireless tasks, the proposed framework allows the system to collect previous task, algorithm, and performance information, and use this experience to determine whether the current BO configuration should be retained or adapted. When adaptation is required, the LLM can generate new BO components and

Y. Sun, H. Li, and M. Xiao are with the Division of Information Science and Engineering, KTH Royal Institute of Technology, 100 44 Stockholm, Sweden (e-mail: {yingzhuo, haoyunl, mingx}@kth.se).

F. J. Ferrão is with Data Machine Elite, 2580-654 Lisbon, Portugal (e-mail: francisco.ferrao@datamachineelite.com).

B. Özbek with the Department of Electrical and Electronics Engineering, İzmir Institute of Technology, 35430 İzmir, Türkiye (e-mail: bernaozbek@iyte.edu.tr).

Figure

Fig. 1. Connections of LLMs, Bayesian optimization, and wireless systems towards self-evolving wireless digital twins.

return them to the optimization loop. In this way, the DT can extend conventional online adaptation from the state or policy level to the optimization-mechanism level. The main contributions are summarized as follows.

• We discuss the complementary roles of LLMs, BO, and wireless intelligence, and introduce the concept of algorithm-level self-evolution for wireless DTs. Different from conventional online adaptation, the focus is on adapting the optimization mechanism itself when wireless tasks and operating conditions change.

• We propose an LLM-assisted BO framework for self-evolving wireless DTs. The framework integrates wireless-task interaction, BO execution, experience storage, prompt construction, LLM-based adaptation decisions, and BO-component generation into a closed loop.

• We provide a proof-of-concept study on LLM-assisted BO component discovery. Kernel discovery is considered a representative example to evaluate whether LLM-generated BO components can improve optimization performance across wireless tasks.

The remainder of this article is organized as follows. Section II discusses the motivation for combining LLMs and BO in wireless DTs. Section III introduces the proposed framework. Section IV presents the simulation study. Section V discusses open challenges. Section VI concludes the article.