Manuscript Offprint
arXiv:2610.35813World Model for Energy Efficiency Maximization in Dynamic Metasurface Antennas
Abdolrasoul Sakhaei Gharagezlou, Mehdi Monemi, Matti Latva-aho, and Mehdi Rasti
Centre for Wireless Communications (CWC), University of Oulu, Oulu, Finland
Emails: {abdolrasoul.sakhaeigharagezlou; mehdi.monemi; matti.latva-aho; mehdi.rasti}@oulu.fi
Abstract—Dynamic metasurface antennas (DMAs) have emerged as a promising technology for realizing large-scale antenna arrays in next-generation wireless networks owing to their ability to enable dense and energy-efficient antenna architectures. However, jointly optimizing digital beamforming and DMA element weights under time-varying channel conditions remains challenging due to their coupled effects on the received signal and interference powers. We formulate this problem to maximize time-averaged energy efficiency (EE) under time-varying channel conditions, subject to transmit power constraints, Lorentzian phase limitations, and minimum rate requirements. To enable long-term planning and improve sample efficiency compared with model-free reinforcement learning, we develop a world model framework that learns latent system dynamics from interactions with the environment and jointly optimizes digital beamforming and DMA element weights through imagined trajectories. Furthermore, we incorporate feasibility-preserving action mappings and safety cost signals to ensure constraint satisfaction during policy learning. Simulation results demonstrate that the proposed framework improves the time-averaged EE by approximately 20% compared with the deep Q-network baseline, while achieving higher sample efficiency and more reliable constraint satisfaction.
Index Terms—Dynamic metasurface antenna (DMA), reinforcement learning (RL), world model.
I. INTRODUCTION
Next-generation wireless networks are expected to rely on large antenna arrays at base stations (BSs) to achieve higher beamforming gains and improved connectivity. Dynamic metasurface antennas (DMAs) have emerged as a promising technology for implementing such arrays with reduced hardware cost and power consumption. In DMA architectures, multiple radiating metamaterial elements are arranged along microstrip waveguides, with each microstrip fed by a dedicated radio-frequency chain. However, jointly optimizing digital beamforming and DMA element weights remains challenging, particularly under time-varying channel conditions [1], [2].
Extensive research has focused on DMA-based antenna architectures to enhance wireless communication performance [1]–[4]. For example, the authors in [1] investigated near-field beam focusing for sum-rate maximization in multi-user downlink systems considering three antenna architectures, namely fully digital, phase-shifter-based hybrid, and DMA. The authors in [2] proposed a novel algorithm for maximizing the user's signal-to-noise ratio and derived a closed-form expression for the DMA weights. The authors in [3] investigated spectral efficiency maximization in DMA-based systems under a realistic transmit-power constraint that accounts for the actual radiated power. The authors in [4] investigated rate-splitting multiple access for DMA-based wideband communications, considering the frequency-selective Lorentzian response of the metasurface elements to maximize the minimum sum rate across subcarriers. However, the effectiveness of the optimization-based methods employed in these studies largely depends on accurate mathematical models of the wireless network, which are often difficult to obtain in practice due to time-varying channel conditions and incomplete system information. Furthermore, these methods typically require iterative solutions to non-convex optimization problems at each time slot, imposing substantial computational complexity that limits their applicability to real-time operation [5]. Although heuristic algorithms offer alternative approaches to addressing non-convex optimization problems, they often exhibit limited scalability and robustness in large-scale and highly dynamic wireless networks [6].
To address these challenges, recent studies have explored reinforcement learning (RL) approaches, including model-based RL (MBRL) and model-free RL (MFRL), to optimize wireless network performance under time-varying channel conditions without requiring complete knowledge of the underlying system dynamics [7], [8]. For example, the authors in [9] developed a deep RL framework to optimize frequency-selective DMA weights for maximizing the average beamforming gain across subcarriers in near-field uplink communications. However, existing RL-based approaches still face several challenges, including data inefficiency, which requires extensive environment interactions to explore high-dimensional action spaces, and limited long-term planning capabilities, which may hinder the joint optimization of digital beamforming and DMA element weights under time-varying channel conditions.
World-model-based RL (WMBRL) offers a promising approach to addressing these challenges by learning compact representations of system dynamics and optimizing policies through imagined trajectories. This enables sample-efficient policy optimization by leveraging predicted future states to jointly optimize digital beamforming and DMA element weights under time-varying channel conditions. Such long-term planning is particularly important for maximizing time-averaged energy efficiency (EE) under time-varying channel conditions [10], as it enables the joint optimization of digital beamforming and DMA element weights across multiple time slots rather than independently optimizing them for each channel realization. Nevertheless, jointly optimizing digital beamforming and DMA element weights through long-term planning and safety-aware learning under time-varying channel conditions remains largely unexplored.
Contributions: Motivated by the above research gap, the primary contributions of this paper are outlined as follows:
• We develop a unified optimization framework for jointly optimizing digital beamforming and DMA element weights to maximize time-averaged EE under time-varying channel conditions, subject to transmit power constraints, Lorentzian phase limitations, and minimum rate requirements.
• We propose a constraint-handling approach that enforces transmit power constraints and Lorentzian phase limitations through feasibility-preserving action mappings, while addressing minimum rate requirements through a safety-cost mechanism. This approach reduces the learning complexity while enabling explicit control over constraint satisfaction during policy optimization.
• We develop a WMBRL framework that learns system dynamics from collected experience and leverages imagined trajectories to jointly optimize digital beamforming and DMA element weights, enabling long-term planning while reducing the need for extensive interactions during policy learning.
• We demonstrate through simulations that the proposed framework achieves an average improvement of approximately 20% in time-averaged EE over the deep Q-network (DQN) baseline in the considered system, while exhibiting higher sample efficiency and more reliable constraint satisfaction.
Notation: Throughout this paper, boldface lowercase and uppercase letters denote vectors and matrices, respectively. The superscript represents the conjugate transpose, while denotes the Euclidean norm. The operators and denote the statistical expectation and the indicator function, respectively. The operators and denote the real and imaginary parts, respectively. Furthermore, denotes the space of complex-valued matrices, represents the circularly symmetric complex Gaussian distribution with mean and variance , and denotes the identity matrix.
A. Time-Varying Channel Model
The channel vector between the BS and the k-th user at the t-th time slot is expressed as , where denotes the free-space channel power gain, is the speed of light, indicates the carrier frequency, and is the distance between the BS and k-th user. Furthermore, represents the small-scale fading vector. To capture the time-varying nature of the wireless channels, the small-scale fading components are modeled using a first-order complex Gauss–Markov process following the Jakes fading model, expressed as follows [10], [11]:
where denotes the initial small-scale fading vector, and represents an independent innovation process. Furthermore, denotes the temporal correlation coefficient between consecutive small-scale fading realizations.
B. DMA Architecture and Signal Model
The frequency response of each element at the t-th time slot is formulated as follows [2]:
where and . Furthermore, signal propagation along each microstrip is characterized by attenuation and phase shift, where attenuation depends on the physical properties and geometry of the microstrip, while the phase shift is determined by the propagation wavenumber and the position along the waveguide. Accordingly, the signal propagation along each microstrip is modeled as , , where represents the position of the -th radiating element along the -th microstrip, while and denote the corresponding attenuation coefficient and propagation wavenumber, respectively [1]. We assume that all microstrips are of the same type; and . The equivalent signal transmitted by DMA radiating elements at the -th time slot is expressed as , where denotes a diagonal matrix with diagonal entries defined as . Furthermore, represents the configurable DMA weight matrix at the -th time slot, with its elements defined as follows [1]:
Finally, represents the input signal vector to the DMA microstrips at the -th time slot, expressed as , where is the digital precoding vector for at time slot . The transmitted symbols are assumed to be normalized and mutually uncorrelated, satisfying , , and
0, . Therefore, the received signal at user k during the t-th time slot is expressed as follows:
(4)
where is the additive white Gaussian noise at user during the -th time slot, with zero mean and variance . Based on (4), the achievable rate of user at the -th time slot is expressed as , where denotes the signal-to-interference-plus-noise ratio of user at time slot . The EE of the system at the -th time slot is expressed as follows:
where represents the total radiated power of the DMA elements at time slot , while is the fixed circuit power [3].
C. Problem Formulation
The objective of this paper is to maximize the time-averaged EE over T time slots by jointly optimizing the digital beamforming vectors and DMA weight matrix under time-varying channel conditions, subject to transmit power constraints, Lorentzian phase limitations, and minimum rate requirements for each user at each time slot. The resulting optimization problem is formulated as follows:
In problem P1, constraint (6b) limits the total power consumption, including the radiated and circuit powers, to the maximum power budget . Constraint (6c) ensures that the DMA weights satisfy the Lorentzian phase response of the metamaterial elements, while constraint (6d) guarantees that the achievable rate of each user meets its minimum requirement at each time slot.
III. PROPOSED SOLUTION
Problem P1 is a non-convex stochastic optimization problem due to time-varying channel conditions and the coupling between digital beamforming and DMA element weight variables. To address these challenges, we develop a WMBRL framework that learns latent system dynamics from collected experience and jointly optimizes digital beamforming and DMA element weights through imagined trajectories, enabling long-term planning while reducing the need for extensive environment interactions. Furthermore, the proposed framework handles operational constraints through feasibility-preserving action mappings and safety cost signals during policy learning.
A. Observation, Action, and Reward Formulation
To apply the WMBRL framework to problem P1, we characterize the interactions between the agent and the wireless environment using observation, action, and reward representations, which are defined as follows:
- Observation Space: At the beginning of each time slot t, the agent observes the wireless environment through the following observation vector:
(7)
where represents the channel power of the -th user. The observation-space dimension is .
- Action Space: At each time slot t, the action vector is defined as follows:
where controls the DMA element weights, controls the transmit power allocated to user , controls the total radiated power, and is the action-space dimension. The corresponding digital beamforming vector is constructed as , where denotes transmit power allocated to user and denotes the unit-norm regularized zero-forcing beamforming direction of user , given by , in which is the -th column of , with , , and denoting a small regularization parameter. This normalization ensures , yielding .
- Reward Function: The reward function aims to maximize the time-averaged EE, with the immediate reward at time slot t defined as . Accordingly, the expected discounted cumulative reward over T time slots is expressed as follows:
where denotes the discount factor and represents the policy. Maximizing this objective encourages long-term EE improvement through the joint optimization of digital beamforming and DMA element weights over the transmission horizon.
B. Constraint Handling
The constraints in problem P1 are handled using different approaches based on their characteristics. Specifically, the transmit power and Lorentzian phase constraints are enforced through feasibility-preserving action mappings, while the minimum rate requirements are addressed using a safety-cost function during policy learning. These mechanisms are detailed as follows.
-
Transmit Power Constraint: To satisfy the transmit-power constraint, the actor determines the total radiated power and its allocation among users. Specifically, the power allocated to each user is obtained through the softmax function as , where denotes the total allocated radiated power, with is the minimum radiated power. This transformation ensures that and . Consequently, the transmit-power constraint in (6b) is satisfied at each time slot.
-
Lorentzian Phase Constraint: For each DMA element, the actor generates a normalized phase-control action , which is mapped to the feasible phase interval as . This mapping guarantees that . The corresponding DMA element weights are then obtained from the Lorentzian response in (2) and arranged into the DMA weight matrix according to (3).
-
Minimum Rate Requirements Constraint: To incorporate the minimum-rate requirements into policy learning, we define a safety-cost function that quantifies rate constraint violations at each time slot as . The expected discounted cumulative safety cost is defined as . Accordingly, the constrained policy optimization problem is formulated as follows:
where b denotes the predefined safety-cost budget. This formulation encourages the agent to maximize time-averaged EE while reducing violations of the minimum-rate constraints. To solve the constrained policy optimization problem P2, we develop a WMBRL framework, as detailed in the following subsections.
C. Learning Method
The proposed WMBRL framework comprises three key components: (i) a world model that learns latent representations of the system dynamics from observations and predicts future states, rewards, and safety costs; (ii) reward and cost critics that evaluate the expected long-term rewards and safety costs associated with the learned policy; and (iii) a safe actor that optimizes the policy to maximize the expected cumulative reward while satisfying safety constraints. The details of each component are presented in the following subsections.
- World Model Learning: The world model incorporates an observation encoder, a recurrent state-space model (RSSM) to learn latent system dynamics, and prediction heads for reconstructing observations and predicting rewards and safety-cost signals. The observation encoder maps the observation into a compact latent representation, while the RSSM captures the temporal evolution of the system through deterministic and stochastic latent states. Specifically, the deterministic state is updated using the previous deterministic state , stochastic state , and action . The stochastic state is then inferred from the current observation features and deterministic state. The RSSM employs a transition prior to predict future latent states, enabling imagined trajectory generation without further environment interactions. The learned latent states enable observation reconstruction and the prediction of rewards and safety-cost signals. The corresponding world-model components are expressed as follows:
RSSM
Reward predictor: ,
Cost predictor: ,
Decoder: ,
where represents the trainable parameters of the world model, denotes the predicted latent state, and , , and represent the predicted reward, safety cost signal, and reconstructed observation, respectively. Furthermore, the functions and denote the posterior and predictive distributions, while represents the deterministic state-transition function. The overall loss function of the world model is formulated as follows [12]:
where
with corresponding weighting coefficients , , and , while denotes the Kullback–Leibler (KL) divergence between two probability distributions and is the stop-gradient operator. The prediction loss jointly optimizes the observation decoder and the reward and safety-cost predictors. The transition loss minimizes the KL divergence between the predicted prior and posterior latent distributions, while the representation loss minimizes the KL divergence between the posterior and predicted prior distributions to train the posterior encoder. These loss functions enable the world model to learn compact latent representations of system dynamics and predict future states, rewards, and safety costs to support policy optimization through imagined trajectories.
- Critic Learning: The proposed framework incorporates two critic networks to estimate the expected long-term EE and safety costs of the learned policy using imagined trajectories predicted by the world model. Specifically, the reward critic estimates the expected cumulative reward, whereas the cost critic predicts the expected cumulative safety cost arising from constraint violations. Both critics are trained using temporal-difference TD(λ) returns, which combine predicted immediate rewards or costs with estimates of future returns. Accordingly, the reward TD(λ) return is recursively defined as follows [13]:
where denotes the reward critic with trainable parameters , represents the imagination horizon, and is the TD() parameter. Similarly, the cost TD() return is formulated as follows:
where denotes the cost critic, parameterized by the trainable parameters . Both critics are trained to approximate their respective TD() targets using Dreamer-style two-hot categorical representations in the symlog domain. Accordingly, the reward-critic loss is expressed as follows:
while the cost-critic loss is expressed as follows:
where [13].
- Actor Learning: The actor is optimized to maximize time-averaged EE while reducing minimum-rate constraint violations by leveraging imagined trajectories generated by the world model and future return estimates provided by the reward and cost critics. Based on these estimates, the reward and cost advantages are computed to evaluate the effects of the selected actions on EE and constraint satisfaction, respectively. The reward and cost advantages are respectively defined as , , where and denote the reward and cost return-normalization scales, respectively. To balance EE maximization and minimum-rate constraint satisfaction, the combined advantage is formulated as where denotes the effective Lagrange multiplier, which controls the relative importance of safety during actor optimization. The effective Lagrange multiplier is updated as , where denotes the penalty coefficient and is the Lagrange multiplier iteratively updated based on the observed safety cost, with representing the dual step size, and specifying the maximum allowable multiplier. Furthermore, denotes the clipping operation. Accordingly, the actor loss is expressed as [13]:
where denotes the stochastic actor policy parameterized by , represents the policy entropy, and is the entropy regularization coefficient. This formulation encourages the actor to maximize long-term EE while penalizing minimum-rate constraint violations.
TABLE I: Simulation Parameters
| Parameter | Value |
|---|---|
| System Parameters | |
| Number of DMA microstrips | |
| Elements per microstrip | |
| Number of users | |
| Carrier frequency | |
| Time slots per episode | |
| Maximum power budget | |
| Circuit power consumption | |
| Minimum radiated power | |
| Noise power | |
| Minimum rate requirement | |
| Channel correlation | |
| Waveguide attenuation coefficient | |
| Propagation wavenumber | |
| Minimum user distance | |
| WMBRL Parameters | |
| RSSM deterministic-state dimension | 256 |
| RSSM hidden dimension | 256 |
| Stochastic latent state | |
| Imagination horizon | |
| Discount factor | |
| TD(λ) parameter | |
| Batch size | 16 |
| World-model learning rate | |
| Actor learning rate | |
| Critic learning rate | |
| Two-hot bins | 255 |
| Entropy coefficient | |
| Maximum Lagrange multiplier | |
| Safety-cost budget | |
IV. SIMULATION RESULTS
In this section, we evaluate the performance of the proposed WMBRL framework through numerical simulations. The system and learning parameters used in the simulations are summarized in Table I. The maximum user distance is set to m in Figs. 1a–1c, while it is varied from 50 to 200 m in Figs. 1d and 1e. To demonstrate the effectiveness of the proposed framework, we compare its performance with the DQN baseline that uses Lagrangian-based constraint handling.
Fig. 1a illustrates the training reward, defined as the objective function of problem P1 in (6a), of the proposed WMBRL framework and the DQN baseline versus training steps. After convergence, the proposed framework achieves higher training rewards than DQN, demonstrating its effectiveness in improving long-term performance. Fig. 1b presents the violation rate versus training steps. The proposed framework reduces the violation rate below the prescribed safety-cost budget within approximately steps and maintains it near the budget thereafter, whereas DQN requires approximately steps to reach this level and exhibits greater fluctuations. These results demonstrate that the proposed framework achieves faster constraint satisfaction and more stable safety performance than DQN.

(a)

(b)

(c)

(d)

(e)
Fig. 1: Performance evaluation: (a) training reward versus steps, (b) violation rate versus steps, (c) world-model and critic losses versus steps, (d) time-averaged EE versus maximum user distance, and (e) violation rate versus maximum user distance.
Fig. 1c illustrates the convergence behavior of the world-model and critic losses. The total world-model loss decreases rapidly and stabilizes around 4.3, while the observation, reward, and cost prediction losses converge to relatively stable values. Similarly, both critic losses decrease substantially during the initial training stages and subsequently exhibit moderate fluctuations, indicating stable learning behavior.
Fig. 1d illustrates the impact of the maximum user distance on time-averaged EE. As the maximum distance increases from 50 to 200 m, the EE of both schemes decreases due to increased path loss and reduced channel gains. Nevertheless, the proposed WMBRL framework consistently outperforms DQN across all considered distances, achieving an average improvement of approximately 20% in time-averaged EE. These results demonstrate the effectiveness of the proposed framework in maintaining superior EE performance under varying user distances.
Fig. 1e illustrates the impact of the maximum user distance on violation rate. As the maximum user distance increases from 50 to 200 m, both schemes exhibit a higher violation rate due to increased path loss and reduced achievable rates. Nevertheless, WMBRL consistently achieves a lower violation rate across all considered distances, remaining below the prescribed safety budget, whereas DQN exceeds this threshold at 200 m. These results demonstrate that the proposed framework keeps the violation rate below the prescribed safety-cost budget across all considered user distances.
V. CONCLUSION
In this paper, we proposed a WMBRL framework for jointly optimizing digital beamforming and DMA element weights to maximize time-averaged EE under time-varying channel conditions. The framework leveraged learned latent dynamics and imagined trajectories for sample-efficient long-term policy optimization, while employing feasibility-preserving action mappings and a safety-cost mechanism to handle operational constraints. Simulation results demonstrated that the WMBRL achieved an average improvement of approximately 20% in time-averaged EE over DQN, while exhibiting faster convergence and more reliable constraint satisfaction.
REFERENCES
[1] H. Zhang et al., “Beam focusing for near-field multiuser MIMO communications,” IEEE Trans. Wireless Commun., vol. 21, no. 9, pp. 7476–7490, Sep. 2022.
[2] S. F. Kimaryo et al., “Downlink beamforming for dynamic metasurface antennas,” IEEE Trans. Wireless Commun., vol. 22, no. 7, pp. 4745–4755, Jul. 2023.
[3] A. S. Gharagezlou et al., “Enhancing spectral efficiency with dynamic metasurface antennas under realistic power constraint,” in Proc. IEEE Globecom Workshops (GC Wkshps), pp. 1622–1627, Dec. 2025.
[4] —, “RSMA design for DMA under frequency-selective wideband Lorentzian-constrained model,” IEEE Trans. Commun., vol. 74, pp. 13733–13747, Aug. 2026.
[5] H. Li et al., “Coordinating communication and computing for wireless VR in open radio access networks,” IEEE Trans. Mobile Comput., vol. 24, no. 7, pp. 6075–6089, Jul. 2025.
[6] H. Zhou et al., “A survey on model-based, heuristic, and machine learning optimization approaches in ris-aided wireless networks,” IEEE Commun. Surveys Tuts., vol. 26, no. 2, pp. 781–823, 2nd Quart. 2024.
[7] W. Jin et al., “Joint beamforming in RIS-assisted multi-user transmission design: A model-driven deep reinforcement learning framework,” IEEE Trans. Commun., vol. 73, no. 5, pp. 3184–3198, May 2025.
[8] L. Wang et al., “Adaptive resource allocation for semantic communication networks,” IEEE Trans. Commun., vol. 72, no. 11, pp. 6900–6916, Nov. 2024.
[9] F. Sheng et al., “Deep learning-enabled near-field beam focusing for dynamic metasurface antenna systems,” Intell. Converg. Netw., vol. 7, no. 2, pp. 194–205, Jun. 2026.
[10] G. Liu et al., “DWM-RO: Decentralized world models with reasoning offloading for SWIPT-enabled satellite-terrestrial hetnets,” arXiv:2511.05972, Nov. 2025.
[11] C. Xiao et al., “Second-order statistical properties of the WSS Jakes’ fading channel simulator,” IEEE Trans. Commun., vol. 50, no. 6, pp. 888–891, Jun. 2002.
[12] W. Huang et al., “SafeDreamer: Safe reinforcement learning with world models,” in 12th Int. Conf. Learn. Represent. (ICLR), 2024.
[13] D. Hafner et al., “Mastering diverse control tasks through world models,” Nature, vol. 640, p. 647–653, Apr. 2025.