Physics-guided AI helps 6G networks train models and serve users on the same airwaves
What happens when the radio channel that carries your video call is also asked to train an artificial intelligence model? That question sounds like science fiction, but it is a serious design problem for sixth-generation (6G) mobile networks. In a recent study published in the IEEE Internet of Thing

edited by Lisa Lock, reviewed by Robert Egan
This article has been reviewed according to Science X's editorial process and policies. Editors have highlighted the following attributes while ensuring the content's credibility:
Add to Preferred Sources A beyond-diagonal reconfigurable intelligent surface reshapes radio waves so that federated-learning devices and ordinary users can share the same channel. A physics-guided transformer proposes candidate surface settings, which are projected onto physically realizable configurations before use. Credit: Md.
Jalil Piran What happens when the radio channel that carries your video call is also asked to train an artificial intelligence model? That question sounds like science fiction, but it is a serious design problem for sixth-generation (6G) mobile networks. In a recent study published in the IEEE Internet of Things Journal, my colleagues and I looked at how a new kind of smart surface could let a network do both jobs at once and how a carefully constrained AI could control that surface fast enough to be useful.
The AI side of the story is federated learning. Instead of sending private data to a central server, phones, sensors and vehicles train a shared model locally and send only their model updates. The server then averages those updates. Normally, each device sends its update separately, which takes time and spectrum. Over-the-air federated learning takes a shortcut. All devices transmit at the same moment, and because radio waves add up physically, the receiver picks up the sum of the updates directly. The channel itself does the arithmetic.
I find this idea elegant, but it comes with a catch. Fading and noise distort the sum, and the model learns from a corrupted average. We measure that distortion as the aggregation mean-squared error, and keeping it small is the main goal. At the same time, ordinary users share the same frequencies and still expect reliable service. The network therefore has two masters: an accurate learning signal for the AI and a guaranteed quality of service for everyone else.
This is where reconfigurable intelligent surfaces come in. Picture a thin panel covered with hundreds of small elements, each able to change how it reflects incoming radio waves. By tuning these elements, a network can steer signals around obstacles and toward the receivers that need them. In conventional designs, each element acts on its own. The beyond-diagonal version connects elements in groups through tunable circuits, so a wave that arrives at one element can leave through another. That extra freedom gives much finer control over the wireless environment.
More freedom also makes the control problem much harder. The surface configuration, the transmit settings of every device and the receivers' processing all depend on each other. The surface must also obey strict physical rules: it cannot amplify signals, and its connected structure limits which configurations are possible. Mathematically, the result is a non-convex optimization problem. As a benchmark, we built a classical iterative solver that handles one group of variables at a time and approximates the hard parts step by step. It finds good solutions, but it is slow, and wireless channels can change within milliseconds.
An obvious response is to train a neural network to output the whole configuration in one pass. I believe this pure end-to-end approach is fragile in wireless systems. The network can produce settings that violate power limits or hardware rules, and nobody can easily say why a given output is trustworthy. Our design principle was different: let the AI propose, and let physics decide what is allowed.
The method we developed, a physics-guided stochastic transformer, follows that principle in five steps. A transformer model reads the current channel conditions and generates several candidate configurations instead of a single guess. Each candidate is then projected onto the set of settings the hardware can physically realize. The receiver settings are computed with exact closed-form formulas rather than learned. The system then keeps the best candidate and polishes it with a lightweight, physics-based refinement. Because the projection happens inside the method, power and hardware constraints hold by construction.
In simulations, this approach beat purely neural and random-search alternatives. Its aggregation error was competitive with the strongest iterative optimizers we tested, and on a standard processor it needed substantially less computation time than our classical benchmark. I want to be precise about the limits. These are simulation results. The quality-of-service targets for ordinary users were checked empirically rather than guaranteed mathematically, and lower computation time on our setup is not yet a real-time guarantee for a specific deployment.
Even so, I think the broader lesson matters more than any single number. Many of the hardest problems in future networks combine strict physics with very large search spaces. Pure optimization is too slow for them, and pure learning is too unreliable. Hybrid designs, in which learning explores and physics enforces the rules, seem to me the most realistic path toward networks that run AI natively without breaking the guarantees that operators and users depend on.
The next steps are to test the method on measured channels, with moving users and on prototype surfaces. If it holds up there, the same radio waves that deliver a phone call could also help train the next generation of AI models, safely and efficiently.
This work was a collaboration with researchers at Sharif University of Technology, the University of Mohaghegh Ardabili, King Abdulaziz University and Nanyang Technological University.
This story is part of Science X Dialog, where researchers can report findings from their published research articles. Visit this page for information about Science X Dialog and how to participate.
Masood Rahimi et al., Physics-Guided Stochastic Transformer Optimization for BD-RIS Enabled Integrated Communication and Edge AI, IEEE Internet of Things Journal (2026). DOI: 10.1109/jiot.2026.3756940 Journal information: IEEE Internet of Things Journal, IEEE Transactions on Intelligent Transportation Systems
BA art history, MA material culture. Former museum editor, paramedic, and transplant coordinator. Editing for Science X since 2021. Full profile →
Bachelor's in mathematical biology, Master's in creative writing. Well-traveled with unique perspectives on science and language. Full profile →
Md. Jalil Piran is an Associate Professor of Computer Science and Engineering at Sejong University in Seoul, South Korea. He received his Ph.D. from Kyung Hee University in 2016. His research focuses on AI-driven wireless networking for 5G and 6G, vehicular, UAV and Internet of Things systems, including deep reinforcement learning, federated learning and physical-layer security. He serves as an editor of IEEE Transactions on Intelligent Transportation Systems and Engineering Applications of Artificial Intelligence, and as Vice-Chair of the IEEE Consumer Technology Society Technical Committee on Machine Learning, Deep Learning and Artificial Intelligence. He received Sejong University's Research Excellence Professor Award in 2025.