arXiv:2610.21077math.NAOct 2026

Manuscript Offprint

arXiv:2610.21077

Adaptive Randomized Neural Networks for PDEs: Structure-Aware Feature Redistribution and Residual-Driven Block Enrichment

You Yang, Fei Wang

You Yang 1^{1} and Fei Wang 2^{2}

Abstract. Randomized neural networks retain an output-linear least-squares solve, but globally sampled random features may fail to capture the spatial and scale structure of PDE solutions. We propose SFRBE–RaNN, a two-stage adaptive trial-space construction. SFR redistributes a fixed feature budget according to regional indicator masses and adapts regional weight scales through low-dimensional residual-based optimization. RBE constructs nonredundant enrichments by screening multiple activation families, removing represented response directions, and selecting the smallest admissible prefix. For solution-dependent operators, candidates are screened with a frozen operator and accepted only after nonlinear residual verification. For fixed linear problems, we establish an exact discrete residual-reduction identity and a conditional solution-error estimate. Building on this identity, we combine safeguarded SFR with RBE capture factors to derive a finite-horizon error bound involving baseline best approximation and empirical consistency, together with a conditional random-search success-probability bound. Numerical experiments on localized, multiscale, and nonlinear space-time problems demonstrate the method's effectiveness.

Keywords. Randomized neural networks, adaptive trial spaces, feature redistribution, residual-informed enrichment, activation-family selection

Mathematics Subject Classification. 68T07, 68T05, 65N35, 65F20, 65M22

1 Introduction

Classical numerical methods, including finite difference, finite element, discontinuous Galerkin, and spectral methods, remain central to PDE computation. Nevertheless, localized peaks, oscillations, layers, and evolving interfaces often require adaptive approximation spaces whose resolution follows the underlying solution structure.

Neural PDE solvers offer flexible trial spaces, including Deep Ritz, DGM, PINNs, and Galerkin neural methods [10,19,16,1][10, 19, 16, 1]. Their performance, however, can depend heavily on architecture, sampling, and nonlinear training.

In contrast to fully trained neural PDE solvers, randomized neural networks (RaNNs) generate and freeze the hidden representation and determine only the output coefficients from the governing equations. For a shallow representation,

uh(x)=∑j=1mcjρ(wj⊤x+bj),(1.1)u_{h}(\boldsymbol{x})=\sum_{j=1}^{m}c_{j}\rho\big(\boldsymbol{w}_{j}^{\top}\boldsymbol{x}+b_{j}\big), \tag{1.1}

where the hidden parameters are fixed during each solve and the coefficients are obtained from a linear or linearized least-squares system. This linear output structure avoids nonlinear optimization of all network parameters and is compatible with a range of discretizations [6, 2, 18, 17, 20, 21, 13, 14, 23].

The quality of a RaNN trial space depends on how its finite feature budget is configured: the distribution of hidden weights controls the characteristic length scales and directional variation of the features, feature anchors

1^{1}School of Mathematics and Statistics, Xi'an Jiaotong University, Xi'an, Shaanxi 710049, China. Email: yangyou@stu.xjtu.edu.cn

2^{2}School of Mathematics and Statistics & State Key Laboratory of Multiphase Flow in Power Engineering, Xi'an Jiaotong University, Xi'an, Shaanxi 710049, China. The work of this author was partially supported by the National Natural Science Foundation of China (Grant No. 92470115). Email: feiwang.xjtu@xjtu.edu.cn determine spatial placement, and the activation family determines the local response profile. A common scale model is

wj∼U(−r,r)=∏k=1dU(−rk,rk),r=(r1,…,rd),(1.2)\boldsymbol{w}_{j}\sim\mathcal{U}(-\boldsymbol{r},\boldsymbol{r})=\prod_{k=1}^{d}\mathcal{U}(-r_{k},r_{k}),\qquad\boldsymbol{r}=(r_{1},\ldots,r_{d}), \tag{1.2}

where r\boldsymbol{r} controls characteristic scales and directional variation. Feature anchors aj∈Ω\boldsymbol{a}_j \in \Omega are introduced by setting bj=−wj⊤ajb_j = -\boldsymbol{w}_j^\top \boldsymbol{a}_j, so that the preactivation vanishes at aj\boldsymbol{a}_j. Thus, a randomized trial space depends not only on its width, but also on its feature configuration and response span. The activation family controls the feature profile: tanh produces smooth transitions, Gaussian features produce localized responses, and trigonometric features produce oscillatory variation.

Prior work has adapted several components of neural trial spaces. Global scales and low-dimensional feature distributions have been adjusted to control the overall randomized representation [7, 28]; adaptive activation functions have been used to modify neural PDE responses [12]; local trial spaces have been constructed using residual indicators [21]; residual-guided neural basis construction has been used to progressively expand approximation spaces [5, 25]; and randomized greedy methods have used randomly discretized dictionaries for weak-greedy enrichment [27]. Related residual-driven mechanisms in PINN methods guide sampling, weighting, or network updates [15, 26, 11]. These approaches operate at different levels of adaptation. Adaptive activation methods generally learn slopes or shape parameters together with the network parameters, whereas a strict RaNN solve keeps the hidden representation fixed and determines only the output coefficients from a linear or linearized least-squares system. Methods that adapt global feature distributions or local trial spaces do not, by themselves, specify how a fixed feature budget should be redistributed or how features aligned with missing residual directions should be added. This motivates a progressive two-stage approach to adaptive trial-space design: first adapting the existing trial space, and then expanding it with features better suited to the problem at hand.

We propose SFRBE–RaNN as a two-stage adaptive trial-space construction tailored to this setting. SFR reconfigures the existing feature budget using residual, derivative, geometric, or problem-specific indicators to identify structure and background regions, reposition feature anchors, and refresh regional scales without increasing the total width. RBE then adaptively constructs residual-informed feature blocks: candidate families are residualized against the current response space, ranked by a common capture score, and truncated at the smallest admissible nonredundant prefix. Fixed residual operators use block-incremental updates, whereas solution-dependent operators use frozen-operator screening followed by safeguarded reassembly.

The main contributions of this paper are as follows:

• Structure-aware feature redistribution. We introduce SFR to identify localized or physics-defined structures, redistribute a fixed feature budget among the detected structure regions and the background according to their relative indicator masses, and adapt region-specific random weight scales through low-dimensional residual-based optimization.

• Residual-informed feature-block construction. RBE compares candidate blocks from different activation families, residualizes their responses against the current response space, ranks them by residual capture, and retains the smallest admissible nonredundant prefix.

• Residual reduction and finite-horizon error control. For frozen linear least-squares subproblems, we derive an exact residual-reduction identity for the residual-orthogonal RBE update and a conditional PDE-error estimate. For fixed linear problems, we further combine safeguarded SFR with the cumulative RBE capture factors to establish a finite-horizon error bound, together with a success-probability bound under a conditional coverage assumption for the complete random candidate search. We also provide a separate local one-step safeguard estimate for Picard or Newton updates.

The remainder is organized as follows. Sections 2–4 present the randomized residual formulation and develop the SFR and RBE modules. Section 5 gives the analysis; Section 6 reports the experiments; and the conclusion and appendices summarize the findings and implementation details.

References (24)