NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Modeling Scattering Coefficients using Self-Attentive Complex Polynomials with Image-based Representation

Andrew Cohen, Weiping Dou, Jiang Zhu, Slawomir Koziel, Peter Renner, Jan-Ove Mattsson, Xiaomeng Yang, Beidi Chen, Kevin Stone, Yuandong TianarXiv 2023

Abstract

Designing electromagnetic hardware like antennas requires solving computationally intensive linear Partial Differential Equations (PDEs). While machine learning surrogate models offer a faster alternative, they often lack physical consistency and data efficiency. We present the Constant-Zeros-Poles (CZP) framework, a physics-inspired surrogate model that predicts frequency responses by outputting the coefficients of rational complex polynomials. Combined with a novel boundary-aware image representation and a Transformer architecture, the CZP framework achieves a 10–25% improvement in accuracy and a 33% higher success rate in automated antenna design compared to standard deep learning baselines.

Introduction

The design of modern hardware, such as antennas for mobile devices or augmented reality glasses, relies on solving complex linear PDEs. Traditional "full-wave" simulators (e.g., CST or XFD) provide high accuracy but are computationally expensive, often requiring minutes to weeks for a single iteration. Machine learning surrogate models aim to accelerate this process; however, they frequently struggle with data efficiency and physical consistency, often producing non-smooth responses that fail to adhere to physical laws.

Methodology

The proposed approach integrates physics-based inductive biases into a deep learning architecture through two primary innovations: the CZP framework and a boundary-aware image representation.

The CZP Framework

The frequency response of systems governed by linear PDEs can be analytically expressed as a rational function of complex polynomials—specifically, a ratio of zeros and poles. Rather than predicting raw frequency curves, the model is trained to predict the coefficients (constants, zeros, and poles) of this mathematical form. This ensures that the predicted output is inherently smooth and physically plausible.

Boundary-Aware Image Representation

To better capture the geometric nuances of antenna designs, we introduce a three-channel image representation. The first two channels represent floating-point distances to the nearest boundary in the x and y directions, while the third channel is a binary mask of the antenna's interior. This representation mimics adaptive meshing in traditional simulators, focusing the model's attention on critical regions like corners and edges.

Three-channel image representation for boundary-aware antenna encoding.

Architecture

A Vision Transformer (ViT) with a specialized filter-based tokenizer processes these images to output the complex parameters for the CZP formula.

Experimental Setup

The study utilized a "Five Patch" antenna design dataset consisting of 48,000 samples simulated using CST Microwave Studio. Each simulation took approximately 90–120 seconds, totaling over 1,200 hours of compute. The frequency range covered 0.2 GHz to 7.0 GHz, encompassing major WiFi bands. Benchmarks included Multi-Layer Perceptrons (MLP), Convolutional Neural Networks (CNN), and Fourier Neural Operators (FNO).

Results

The CZP framework significantly outperformed standard "raw" prediction models, reducing test loss by 10% to 25%. In automated optimization tasks using Reinforcement Learning (Soft Actor-Critic), the CZP model achieved a 33% higher success rate in identifying functional designs verified by commercial simulators.

CZP model prediction vs. simulation ground truth.

The model also demonstrated superior sample efficiency, outperforming baselines even when trained on only 25% of the data. Learned attention maps confirmed that the Transformer naturally focuses on junctions and corners, validating the boundary-distance representation.

Conclusion

The CZP framework represents a significant step toward integrating physical principles into deep learning for hardware design. While currently focused on 2D antenna topologies, the underlying theory is applicable to any system governed by linear PDEs, including acoustics and heat diffusion. Future work will explore 3D structures, variable topologies, and more efficient tokenization schemes.

Summary updated

BibTeX
@misc{cohen2023modeling,
  author = {Andrew Cohen and Weiping Dou and Jiang Zhu and Slawomir Koziel and Peter Renner and Jan-Ove Mattsson and Xiaomeng Yang and Beidi Chen and Kevin Stone and Yuandong Tian},
  title = {{Modeling Scattering Coefficients using Self-Attentive Complex Polynomials with Image-based Representation}},
  year = {2023},
  url = {https://openreview.net/forum?id=hEp_SFmxM7},
}
Figure