Manuscript Offprint

arXiv:2611.04603

SCANO: Restoring Boundary-Condition Completeness in Sampled Meshes with a Sliced-Cross-Attention Neural Operator for 3D Thermal Fields

Tianyu Li, Zhiwei Cao, Qingang Zhang, Ruihang Wang, Binyang Song, Yonggang Wen

Abstract

Training neural operators on million-cell meshes can exceed GPU memory limits. Models are therefore trained on subsamples and deployed on whole meshes or selected regions. However, subsampling can distort boundary information, degrading accuracy. We ask when boundary conditioning under sampling stays consistent with whole-mesh training, and how to aggregate and inject boundary data. Representing the solution as an integral of boundary data against type-dependent measures, we show that subsampling distorts this conditioning in three ways: incomplete boundary coverage or a sample-dependent global state, face weighting by count rather than area, and compression of boundary inputs into a low-dimensional vector. This analysis yields four measurable consistency conditions checkable before training. We satisfy them with two backbone-agnostic modules. Boundary Quadrature Attention (BQA) aggregates all boundary faces, typed and area-weighted, into slice tokens that every query point reads at every layer. Anchored Global State (AGS) estimates the global state from anchors independent of the sampled points. Adding both to a scalable message-passing and slice-attention backbone yields SCANO. We evaluate the approach on controlled and public benchmarks and a data-centre thermal simulation dataset (DCTS) containing million-cell meshes. On both benchmarks, BQA improves every backbone, reducing whole-mesh error up to 15-fold. On all three datasets, AGS aligns regional with whole-mesh predictions, cutting regional error at least tenfold for most backbones on the public benchmark. Together, the modules nearly halve the best original backbone's whole-mesh error on both benchmarks. SCANO predicts a room-scale field in under one second, over 100 times faster than whole-room anchor self-attention.

Keywords:

neural operators, surrogate modelling, boundary conditions, sampled training, quadrature consistency, large meshes, data-centre cooling

*Corresponding author Email address: qingang.zhang@ntu.edu.sg (Qingang Zhang)

1. Introduction

Neural operators learn the solution map of a family of boundary value problems. Once trained, they predict a physical field in a fraction of the time of a numerical solver [1, 2, 3]. On engineering meshes with millions of cells, however, the memory of a training step grows with the mesh. On a million-cell data-centre room, one pass over the full mesh exceeds the memory of a single GPU for a message-passing backbone. It also consumes most of that memory, or exceeds it, for the other backbones (Figure 2a). One remedy is to partition the mesh into subgraphs with halos [4]. Without domain decomposition, models are trained on subsamples of the mesh. Typical samples are random point subsets [5], random anchors [3] or local subgraphs grown from random seeds [6]. After training, the operator is deployed on the full mesh or on a local region of interest.

This sampling compromise is most damaging at the boundary. Industrial boundaries contain from a few segments to hundreds of patches. These patches differ widely in size and physical type (Section 2.1). Their prescribed values, exchange coefficients, fluxes and heat loads govern the interior solution. A neural operator therefore has to carry this boundary information to every point of the domain, and it does so in two steps. It first aggregates the data of the boundary faces into a form the network can read, such as features of the boundary nodes, one pooled summary or a set of tokens. It then injects this information into the domain points, either once at the input or in every layer. Under sampled training, both steps can go wrong. A training sample captures only a fraction of the patches, so any patch it misses is absent from the aggregation in that step. Aggregating boundary faces by count rather than by area biases the model toward finely meshed patches. Injecting the boundary as a low-dimensional vector shared by all points erases small local sources. A global state computed from the sample shifts with every draw. Together, these distortions make the prediction depend on how the mesh is sampled and discretised, not on the physics alone. The GPU memory limit thus raises two questions. How can every boundary condition reach every domain point with its proper weight in every pass? And how should the boundary information be aggregated and injected so that this holds? We therefore ask:

Which conditions does the boundary conditioning of a neural operator need to meet so that an operator trained on samples of the mesh agrees with one trained on the whole mesh, and how can these conditions be met at a cost that grows linearly with the size of the mesh, on any backbone?

Existing neural operators ingest boundary conditions through several types of encoder. Some work on whole two-dimensional meshes. Learned function extension (LFE) [7] reads the boundary nodes once at the input. It encodes their type by indicators and coefficients and weights them by count. BENO [8] averages all boundary nodes into a single vector per step. BOON [9] enforces one fixed boundary type by construction. Physics-informed graph Galerkin networks [10] impose the boundary conditions strictly on unstructured meshes. LP-FNO [11] lifts Dirichlet data into the domain. A generalised neural operator [12] maps mixed conditions onto a latent Dirichlet representation. Other models act at the level of the layers. GNOT [2] cross-attends to each normalised input function in every layer. A GNOT-based surrogate of a production data hall represents each server and cooling unit as a single record [13]. Boundary types enter these models in several forms. They appear as one-hot node features [14], global codes [15], typed nodes of a symbolic graph [16] or text embeddings [17, 18]. In our construction, the boundary type of each record selects its measure, and the face area provides its quadrature weight.

Our construction builds on operator quadrature and on estimators for sampled data. Attention discretises an integral operator [19]. Quadrature weights can therefore enter its normalisation and aggregation [20, 21, 22, 23]. Splitting a token then leaves the output unchanged [24]. Surface-quadrature acoustic operators apply the same principle and weight boundary faces by area [25]. For sampled domains, M³ [26] corrects the supervision measure under uneven sampling. Inclusion probabilities and control variates correct losses and aggregations on sampled graphs [27, 28, 29, 6]. Our boundary slice tokens also draw on inducing points, latent arrays and token merging [30, 31, 32]. They further relate to mean and sum aggregators [33, 34, 35].

Several operator backbones have been designed for large meshes. AB-UPT [3] draws anchors from the full point cloud, independently of the queried points. Transolver-3 [5] trains on random subsets and caches a whole-mesh global state at deployment. Transolver++ [36] scales slice attention to million-point geometries. GeoTransolver [37] attends to a cached geometry context in every layer. UPT [38], IPOT [39] and GINO [40] map the mesh onto a latent set or grid. AeroGTO [41] combines message passing with global tokens. Graph networks with hybrid local-global attention [42] insert global attention between message-passing layers. RIGNO [43] and GAOT [44] encode arbitrary domains on regional graphs. GINOT [45] encodes arbitrary geometries from surface point clouds. Geom-DeepONet [46] reads the mesh nodes with their signed distances. Inside-outside schemes [47, 48, 49, 50] tokenise the boundary and the interior separately on whole meshes. Multipole and hierarchical attention [51, 52, 53, 54, 55, 56, 57] compresses the far field. None of these architectures weights the boundary records by their area in every layer. For the global state, the closest precedents to AGS are the anchors of AB-UPT and the deployment cache of Transolver-3. AGS adds three elements: volume weighting, one estimator for training and deployment, and anchors that pass through the same layers as the queries.

On the application side, our work connects to learned boundary kernels and to data-centre thermal surrogates. The neural harmonic-measure operator [58] learns the harmonic-measure density of Dirichlet problems. BINO [59] learns boundary-integral kernels. Walk-on-stars [60] estimates mixed problems by random walks. We extend this measure-theoretic view to mixed conditions, convection and server coupling. We also characterise how sampled training distorts it. Existing data-centre surrogates take one of two forms. Some predict a single fixed layout from proper orthogonal decomposition modes [61]. Others rasterise the boundary conditions onto a voxel grid [62]. Our operator instead reads typed, area-weighted face records directly on the computational mesh. It handles diverse room layouts and meshes.

To our knowledge, no prior work has studied this question systematically: how should heterogeneous, patch-wise boundary conditions be represented, aggregated and injected when a neural operator is trained on samples of a large mesh? Existing boundary encoders were designed and evaluated on whole meshes. Boundary-augmented neural operators [63] are a recent example. They model the interaction between the boundary and the whole domain and target unseen geometries. Scalable backbones ingest the boundary as sampled nodes or as a count-weighted context. Studies of quadrature and of sampled estimation each address only one side of the problem.

Operator quadrature gives this question a precise form. For linear boundary-driven problems, the solution integrates the boundary data against measures. Each boundary's type fixes its measure [64, 65, 66]. Prescribed and exchange values are averaged under a probability measure. Fluxes are summed under an area-additive measure. A server couples its inlet and exhaust through a Wentzell jump condition [67]. Any boundary conditioning approximates these measures by weighting discrete boundary faces or points (boundary records). Under sampled training, this approximation can fail in three ways. We call them sampling dependence, measure mismatch and injection and compression loss. From these failure classes we derive four measurable conditions. They are information completeness, mesh consistency, sample consistency and response fidelity (Section 2). Violations of all four can be diagnosed before training. The diagnostics use the sampler, the face density and the response spectrum. After training, two metrics measure agreement with whole-mesh training. The sampling gap is the excess whole-mesh error of sampled training over whole-mesh training. The drift is the distance between a deployment's prediction and the model's own whole-mesh prediction.

To meet these conditions at linear cost, we propose SCANO (Sliced-Cross-Attention Neural Operator). SCANO is built around two plug-and-play modules. Both also attach to existing operator backbones (Figure 1). The first module is Boundary Quadrature Attention (BQA). BQA keeps every boundary face as an unsampled record. Each record is typed by its role and weighted by its area. BQA aggregates the records into GG area-consistent slice tokens. Every domain point attends to these tokens in every layer. A normalised path carries averaged quantities. An unnormalised path carries fluxes and heat loads. The second module is the Anchored Global State (AGS). AGS estimates the backbone's global summary from volume-weighted anchors. In training, the anchors are drawn over the whole mesh, independently of the sample. At deployment, every cell is an anchor. SCANO pairs BQA and AGS with a backbone that interleaves local message passing and slice attention. It is designed for million-cell meshes. The two modules also integrate into six established backbones: Transolver [1], AB-UPT [3], AeroGTO [41], GNOT [2], GeoTransolver [37] and MeshGraphNets [14].

Section 5 tests each condition against its theoretical prediction. The tests cover all seven backbones, with and without BQA and AGS, on three data sets. The first is a controlled benchmark with exact references. The second is the public benchmark of boundary encoding [7]. The third is DCTS (Data Center Thermal Simulation), an industrial suite of 500 million-cell data-centre rooms. Section 6 examines it in depth. On the two benchmarks, BQA reduces the whole-mesh error of every backbone. On all three data sets, AGS keeps regional predictions aligned with the whole-mesh predictions up to the Monte Carlo error of the anchors. With both modules, AB-UPT achieves the highest accuracy in the main comparison of each data set, and Transolver trained on room samples matches its whole-room training accuracy. SCANO gives an accurate regional and whole-room surrogate at a cost linear in the mesh size.

This work makes three contributions. First, it establishes a consistency framework for boundary conditioning under sampled training. From type-dependent boundary measures, we identify three failure classes. We then derive four measurable conditions, whose violations can be diagnosed before training (Section 2). Second, it introduces two plug-and-play modules that meet these conditions on any backbone at linear cost. BQA attends to typed, area-weighted boundary records in every layer. AGS keeps the domain summary consistent

Figure

Figure 1: Overview of SCANO and of the consistency conditions C1–C4 that it meets (Section 2.6). (a) Architecture. Boundary Quadrature Attention (BQA) takes all boundary faces as unsampled typed records ϕy=[xy,ny,τy,gy]\phi_y = [\mathbf{x}_y, \mathbf{n}_y, \tau_y, g_y] with areas aya_y (C1). It pools them into GG area-weighted slice tokens zgz_g with masses MgM_g (bar height, C2). It injects these tokens into every layer of the backbone along a normalised and an unnormalised readout path (C4). The Anchored Global State (AGS) computes the global summary of each layer from volume-weighted anchors. The anchors are drawn independently of the training sample SS (C3). (b) Deployment. A model trained on samples is deployed on subsamples (on subgraphs), on a region of interest with its message-passing halo, and on the whole mesh. The whole mesh takes one pass with all cells as anchors. The example is room 1 of Figures 16 and 17.

between training and every deployment. Paired with a message-passing and slice-attention backbone, the two modules form SCANO for million-cell meshes (Section 3). Third, it validates the framework from exact checks up to industrial scale. We test the four conditions on all three data sets (Section 5). We then evaluate the modules on DCTS with paired interventions, server inlet temperatures and end-to-end timing (Section 6). The controlled benchmark and DCTS will be released with the paper.

Section 2 derives the conditions, Section 3 presents SCANO and Section 4 describes the experimental setup. Section 5 tests the conditions, Section 6 presents the industrial case, Section 7 discusses the results and Section 8 concludes.

References (75)