Random feature neural networks (RFNNs) sample their hidden parameters once and train only the output layer. We analyze RFNNs as feedback policies for finite-horizon stochastic control with trajectory-dependent objectives. A policy change alters later states, so the error that matters is the objective error of the induced trajectory rather than a pointwise regression error. We extend the quantitative random-feature approximation theory for PDE solutions and nonlinear regression to feedback control. We investigate the objective error of an RFNN policy through two sources, approximation of the policy by random features and estimation of the objective from finitely many paths. A stability estimate for the controlled trajectory turns a policy error into an objective error. Under bounded actions, a regular benchmark policy and exact empirical minimization, the expected objective gap to the benchmark policy is at most of order N−1/2+N(1+logN)/n, with N the feature width per output coordinate and n the number of paths. At fixed sample size the two terms trade off in N, and balancing them gives N≍n/logn. Across a wide range of examples, estimated gaps generally decrease with width and sample size, and RFNNs show an advantage when simulated paths are limited. We also study Parsimonious Random Feature Learning (PRFL), which grows and prunes the random dictionary during training while training only the output coefficients. At matched retained width and training budget, PRFL improves on a fixed RFNN in the LQ and Heston comparisons, while the fully trained network remains best in those examples.
Introduction
In finite-horizon stochastic control problems, optimal policies are often unavailable in closed form. A common approach is to parameterize the policy and optimize its objective using simulated trajectories. The choice of policy representation is central to this approach, because a richer representation can express better policies but is also more prone to overfitting when training data are limited. Neural networks provide flexible policy representations for high-dimensional and path-dependent problems [1, 8], but understanding their approximation and statistical properties remains important for assessing the quality of learned policies.
In this paper, we study random feature neural networks (RFNNs), which fix the hidden parameters at random values and train only the output layer. This structure reduces the number of trainable parameters and makes the policy linear in the output weights. The current literature on random feature models mainly provides quantitative approximation and learning results on regression and PDE problems [23] [13]. In feedback control, a policy change alters subsequent states and decisions, so its effect on the objective accumulates over the trajectory.
We study these questions in a common framework for Markovian control and history-dependent policy optimization. The state Xt evolves under a transition that combines the current state, the action and a fresh innovation, and a feedback policy maps the state and the decision date to the action. The state may contain the observed history or an appropriate problem-specific summary, including quantities determined by previous actions. The problem is to choose a feedback policy H to minimize
J(H)=β∈BinfEpath[L(β,XH,αH)],(1)
where XH is the full state trajectory induced by H, αtH=H(XtH,t), L is the trajectory loss, and β is an auxiliary optimization variable. This form includes standard expected costs and risk objectives with an optimized certainty equivalent representation. Together with the flexible state representation, this provides a common formulation for both Markovian control and path-dependent problems such as hedging with transaction costs.
We investigate the objective error by splitting it into an approximation error and a statistical error. The first is the approximation error of the RFNN class itself. Gonon’s scalar uniform bound controls the policy approximation error at order O(N−1/2) in expectation over the features [13, Theorem 1], where N is the feature width per output coordinate. A stability estimate for the controlled trajectory propagates this to the overall performance, so the objective retains the N−1/2 rate, with a constant that grows polynomially in the dimension whenever the benchmark-policy constants do. The second is the statistical error, the discrepancy between the empirical and population objectives computed from n independent simulated paths. A uniform empirical-process bound over the policy class gives order N(1+logN)/n, which vanishes as n grows but increases with N. Combining the two yields
ErfEpath[J(H)−J(H⋆)]≤O(N1+nN(1+logN)).(2)
At fixed sample size, a larger width lowers the approximation error but raises the statistical one, and balancing them gives N≍n/logn and an upper bound of order ((logn)/n)1/4.
We evaluate the analysis on a wide range of examples. The Markovian control examples, linear-quadratic and semilinear, follow [1], and the Heston deep hedging example follows [8]. We estimate the approximation error and the statistical error, which decrease in N and n respectively as expected. At fixed sample size, a wider representation lowers the approximation error but raises the statistical contribution, showing the trade-off between the two errors. In the comparison between RFNN and fully trained neural networks (FTNNs), RFNNs show an advantage when simulated paths are limited.
We also investigate adaptive feature selection through Parsimonious Random Feature Learning (PRFL). Drawing on parsimonious kernel and random-feature methods [22, 24], PRFL starts from a small random dictionary and repeatedly trains the output layer, removes features with small squared output weights and adds a fresh block of features. This keeps the output-layer optimization problem of the RFNN analysis while allowing the policy to draw on a larger feature pool. The trajectory-stability estimate bounds the objective change caused by each pruning step in terms of the squared-weight pruning budget. At matched retained width and training budget, PRFL improves on the fixed RFNN in the LQ and Heston comparisons, while the fully trained network remains best in the LQ and Heston examples.
Related Work
Neural networks and backward dynamic programming. Neural-network methods for stochastic control often retain the backward structure of dynamic programming. An overview of neural-network algorithms for stochastic control and PDEs in finance is given in [12]. In [1], performance-iteration methods learn feedback controls backward in time, while hybrid methods combine control learning with neural regression of the value function. Several classes of examples in that study, including semilinear PDEs and linear-quadratic control, are also covered by our analysis. The companion analysis in [19] bounds the value-function errors of these backward schemes in terms of neural-network approximation and statistical estimation errors. It traces how both errors accumulate over the remaining decision dates.
The work of [11] also studies approximation inside dynamic programming but replaces neural regression with kernel ridge regression. Its empirical Bellman operators introduce regression and Monte Carlo errors in addition to the error inherited from later decision dates. The resulting analysis describes how these errors propagate backward through time under stability conditions on the Bellman operator, with American option pricing used as the principal application. These works study the accumulation of local errors in backward dynamic programming. By contrast, our stability analysis traces the effect of policy approximation forward through the controlled trajectory and transfers the resulting state and action errors to the final objective.
Direct policy optimization and deep hedging. Direct policy methods parameterize the control itself and optimize it using complete simulated or observed trajectories. Deep Learning Approximation for Stochastic Control Problems [15] connects time-dependent control networks through the system dynamics and jointly trains them against the total trajectory cost using simulated noise paths. Deep Hedging [8] applies this approach to financial trading under market frictions, constraints, and convex risk measures. The policy may depend on current market information and previous positions, allowing the strategy to account for the cost of rebalancing.
The direct policy approach has also been developed along several other directions. For mean-field control and games, [9] analyzes neural-network methods for McKean–Vlasov dynamics and proves an error rate for a computable surrogate of the original control problem. In deep hedging with a single underlying asset and proportional transaction costs, the optimal strategy has a no-trade band under the assumptions of [20]. That paper builds the band into the network architecture to speed up training. Second-order optimization has also been used to accelerate the training of hedging policies [27]. Robust deep hedging studies strategies that remain effective under model uncertainty [25], and distributional adversarial training studies how the training procedure responds to perturbations of the market distribution [16].
Backward dynamic programming has also been applied to deep hedging when the risk criterion admits a recursive representation. The actor–critic formulation of [28] relies on a Bellman recursion for the exponential-utility certainty equivalent. At each decision date, this recursion evaluates the current reward together with a learned continuation value under the same risk criterion. The actor and critic updates rely on this recursion, so changing the risk criterion may require a new dynamic formulation. Our objective (1) is instead specified through the loss of the complete controlled trajectory, with auxiliary optimization variables included so that the risk objectives above are covered.
Randomized neural-network approximation. Randomized neural networks have been well-studied in nonlinear regression and PDE approximation. Extreme learning machines use randomly selected hidden nodes and analytically determined output weights [18]. Earlier, [3] established approximation bounds for sigmoidal networks under a Fourier first-moment condition and compared them with lower bounds for fixed-basis expansions. Random features were introduced for the approximation of kernel machines at large scale [31], and random bases were shown to approximate functions uniformly [32]. Quantitative bounds of this type cover functions, functionals and reservoir systems [14], and models with Banach-space-valued targets have their own universal approximation results [29]. For nondegenerate Black–Scholes type PDEs, [13] obtains uniform bounds of order N−1/2 in the width, with constants growing at most polynomially in dimension, under specified Fourier, sampling, and regularity assumptions. Derivative estimates extend these bounds to higher-order Sobolev norms for physics-informed extreme learning machines [10] and to time-dependent mixed-Sobolev norms for nonlinear PDE examples [26]. Random neural networks have also been used in numerical schemes for nonlinear PDEs and PIDEs. The random deep splitting method of [30] comes with a convergence analysis, while [21] uses a reservoir-type network and least-squares regression for path-dependent equations arising in rough volatility. For optimal stopping, [17] uses fixed random features and linear readouts to approximate continuation values on exogenous market paths and proves convergence of the resulting methods. In our setting the networks represent feedback controls that affect subsequent states, so we apply Gonon’s scalar uniform bound [13, Theorem 1] coordinatewise, and our stability analysis transfers the N−1/2 rate to the control objective, with a constant that grows polynomially in the dimension and in the benchmark-policy constants.
Statistical learning and error decomposition. Our analysis of policies trained on simulated paths follows the approximation–estimation framework of statistical learning [7]. For an exact empirical minimizer, this framework bounds the excess population objective by a best-in-class approximation term and a uniform discrepancy between empirical and population objectives. Rademacher-complexity bounds control this discrepancy over the candidate class [4].
In random-feature learning, this decomposition links representation size to sample size. For ridge regression, order nlogn random features suffice for an O(n−1/2) excess prediction-risk bound under the assumptions of [34]. Randomized constructions of the output weights have also been studied as an alternative to optimizing them [33]. Related approximation and generalization bounds cover vector-valued outputs [23]. In these prediction problems, the input distribution is prescribed and does not change with the fitted coefficients.
For feedback policies, the states at which the policy is evaluated can depend on earlier decisions. Using dynamic programming and a mean-field formulation of single-hidden-layer networks, [2] establishes generalization bounds for regularized controls learned from finitely many observations. A related pathwise approach is used for optimal stopping under model uncertainty in [5], where finite-sample bounds for a variance-penalized martingale-dual criterion depend on the covering complexity of the martingale class.
Parsimonious online learning with kernels and random features. Parsimonious Online Learning with Random Features (POLRF) [24] shares the RFNN architecture of sampled hidden features and a trainable linear readout, but grows and sparsifies the feature set during learning. It adapts the stochastic-gradient and sparse-projection approach of Parsimonious Online Learning with Kernels (POLK) [22] to online regularized regression. In its stochastic-control applications, these regressions approximate value or continuation functions within backward dynamic programs. It also provides convergence results for online regularized regression under specified learning-rate and sparsification-budget schedules.
Inspired by POLRF, our Parsimonious Random Feature Learning (PRFL) method adapts feature growth and sparsification to direct policy optimization. It trains an enlarged random-feature policy under the full trajectory loss and prunes features according to their cumulative squared output weights.
Setup
Finite Horizon Stochastic Control Problem
In this section we consider the general form of the problem investigated in this paper. Let 1,…,T+1 be the dates at which the state is observed, with decisions made at dates 1,…,T. The state is Xt=(Yt,Zt)∈Y×Z, where Yt collects the exogenous coordinates, whose evolution does not depend on the policy, and Zt the coordinates that the actions drive.
Let the action set be the box A=∏i=1r[ai,bi]⊆Rr. The policy input space is Xin=X×{1,…,T}⊆Rm, where m=dX+1 and dX is the dimension of the full state Xt=(Yt,Zt). The policy is evaluated at the decision dates 1,…,T. For measurable maps Φt:Y×E→Y and Ψt:Y×Z×A×E→Z, and a measurable feedback policy H:Xin→A, the state and the action satisfy
for t=1,…,T, with the initial state fixed at (Y1,Z1)=X1. The policy enters only through the action, and we write (XH,αH) for the trajectory induced by H. The innovation sequence ω=(η1,…,ηT) has i.i.d. entries in E.
The trajectory loss L(β,X,α) assigns a real-valued loss to the complete state trajectory X=(Xt)t=1T+1 and action trajectory α=(αt)t=1T, with an optional auxiliary variable β∈B. The objective of a policy H is
J(H)=β∈BinfEpath[L(β,XH,αH)].(4)
The policy class H consists of the measurable feedback maps H:Xin→A, and the control problem is to choose H∈H that minimizes (3.2). The loss L is specified by the application. Standard expected running and terminal costs are included by taking B to be a singleton and L to be their sum. For path-dependent problems, this formulation includes deep-hedging risk objectives with an optimized certainty equivalent (OCE) representation [6, 8].
Random Feature Neural Network Policies
We now introduce the RFNN policy class with which we approximate the feedback policies of Section 3.1. An RFNN policy evaluates random features on the policy input x∈Xin and trains only the output layer. A single random feature is defined as
ϕA,b(x)=σ(A⊤x+b),(5)
where A∈Rm, b∈R, and σ(z)=max{z,0} is the ReLU activation used throughout the paper. We sample the hidden weight vectors (Ak)k=1N and hidden biases (bk)k=1N iid within each collection and independently of each other. We write ΘN for the sampled hidden parameters (Ak,bk)k=1N and HNΘ for the resulting policy. Two sources of randomness enter the problem, the path randomness generated by the innovations, and the sampled hidden parameters that define the features. To distinguish them, we write Epath for the path expectation and Erf for the expectation over the independent RFNN feature draw. The RFNN policy has r output coordinates, so we write HNΘ(x)=(HN,1Θ(x),…,HN,rΘ(x)). In the shared-feature architecture, all output coordinates use the same collection of random features RN={ϕ1,…,ϕN}:
HN,jΘ(x)=bjout+k=1∑Nwk,jϕk(x),j=1,…,r.(6)
Here bjout and wk,j are trainable output parameters. This architecture is equivalent to a single hidden layer neural network in which only the last layer is trainable. coordinate-specific architecture, each output coordinate has its own sampled feature set RN,j={ϕ1,j,…,ϕN,j}:
HN,jΘ(x)=bjout+k=1∑Nwk,jϕk,j(x),j=1,…,r.(7)
The trainable output parameters bjout and wk,j have the same role as in the shared-feature case. In both architectures the readout is projected onto A by coordinatewise clipping. The two architectures differ only in whether those features are shared across output coordinates and the appropriate choice depends on the task.
Both architectures have the same trainable output parameters. In the rest of the paper, we do not require independence between features generated for each coordinate, so all results apply to both structures.
Assumptions
Before moving to the main results, we summarize the assumptions needed for the analysis. We begin with the following assumptions in the approximation framework of [13].
Assumption 3.1. The policy input space satisfies Xin⊆[−M,M]m. The domain of the RFNN policy is bounded, including both the initial state and every state visited by the admissible coupled trajectories.
References
[1]A. Bachouch, C. Huré, N. Langrené, and H. Pham, Deep neural networks algorithms
for stochastic control problems on finite horizon: numerical applications, Methodology
and Computing in Applied Probability, 24 (2022), pp. 143–178, https://doi.org/10.1007/
s11009-019-09767-9.
[2]B. Baros, S. N. Cohen, and C. Reisinger, Mean-field generalization bounds for learning controls in stochastic environments, 2025, https://arxiv.org/abs/2508.16001.
[3]A. R. Barron, Universal approximation bounds for superpositions of a sigmoidal function, IEEE Transactions on Information Theory, 39 (1993), pp. 930–945, https://doi.org/10.1109/18.256500.
[4]P. L. Bartlett and S. Mendelson, Rademacher and Gaussian complexities: Risk bounds and structural results, Journal of Machine Learning Research, 3 (2002), pp. 463–482, https://doi.org/10.1162/153244303321897690.
[5]D. Belomestny, T. Hübner, and V. Krätschmer, Solving optimal stopping problems under model uncertainty via empirical dual optimisation, Finance and Stochastics, 26 (2022), pp. 461–503, https://doi.org/10.1007/s00780-022-00480-z.
[6]A. Ben-Tal and M. Teboulle, An old-new concept of convex risk measures: The optimized certainty equivalent, Mathematical Finance, 17 (2007), pp. 449–476, https://doi.org/10.1111/j.1467-9965.2007.00311.x.
[7]L. Bottou and O. Bousquet, The tradeoffs of large scale learning, in Advances in Neural Information Processing Systems 20, J. C. Platt, D. Koller, Y. Singer, and S. Roweis, eds., Curran Associates, 2007, pp. 161–168, https://leon.bottou.org/papers/bottou-bousquet-2008.
[9]R. Carmona and M. Laurière, Convergence analysis of machine learning algorithms for the numerical solution of mean field control and games: II—the finite horizon case, The Annals of Applied Probability, 32 (2022), pp. 4065–4105, https://doi.org/10.1214/21-AAP1715.
[10]T. De Ryck, S. Mishra, Y. Shen, and F. Wang, Approximation theory and applications of randomized neural networks for solving high-dimensional PDEs, 2025, https://arxiv.org/abs/2501.12145.
[11]A. Della Vecchia and D. Filipović, Error propagation in dynamic programming: From stochastic control to American option pricing, in Proceedings of the 43rd International Conference on Machine Learning, vol. 306 of Proceedings of Machine Learning Research, PMLR, 2026, pp. 23637–23652, https://arxiv.org/abs/2509.20239.
[12]M. Germain, H. Pham, and X. Warin, Neural networks-based algorithms for stochastic control and PDEs in finance, in Machine Learning and Data Sciences for Financial Mar- L. Gonon, Learn feature neural networks learn Black–Scholes type PDEs without curse of dimensionality, Journal of Machine Learning Research, 24 (2023), pp. 1–51.
[14]L. Gonon, L. Grigoryeva, and J.-P. Ortega, Approximation bounds for random neural networks and reservoir systems, The Annals of Applied Probability, 33 (2023), pp. 28–69, https://doi.org/10.1214/22-AAP1806.
[16]G. He, T. Sutter, and L. Gonon, Distributional adversarial attacks and training in deep hedging, in Advances in Neural Information Processing Systems 38 (NeurIPS 2025), 2025, pp. 146168–146200, https://doi.org/10.52202/085713-4392.
[17]C. Herrera, F. Krach, P. Ruyssen, and J. Teichmann, Optimal stopping via randomized neural networks, Frontiers of Mathematical Finance, 3 (2024), pp. 31–77, https://doi.org/10.3934/fmf.2023022.
[18]G.-B. Huang, Q.-Y. Zhu, and C.-K. Siew, Extreme learning machine: Theory and applications, Neurocomputing, 70 (2006), pp. 489–501, https://doi.org/10.1016/j.neucom.2005.12.126.
[19]C. Huré, H. Pham, A. Bachouch, and N. Langrené, Deep neural networks algorithms for stochastic control problems on finite horizon: Convergence analysis, SIAM Journal on Numerical Analysis, 59 (2021), pp. 525–557, https://doi.org/10.1137/20M1316640.
[20]S. Imaki, K. Imajo, K. Ito, K. Minami, and K. Nakagawa, No-transaction band network: A neural network architecture for efficient deep hedging, The Journal of Financial Data Science, 5 (2023), pp. 84–99, https://doi.org/10.3905/jfds.2023.1.125.
[21]A. Jacquier and Ž. Žurić, Random neural networks for rough volatility, Applied Mathematics & Optimization, 93 (2026), p. 48, https://doi.org/10.1007/s00245-026-10392-5.
[22]A. Koppel, G. Warnell, E. Stump, and A. Ribeiro, Parsimonious online learning with kernels via sparse projections in function space, Journal of Machine Learning Research, 20 (2019), pp. 1–44, https://jmlr.org/papers/v20/16-585.html.
[23]S. Lanthaler and N. H. Nelsen, Error bounds for learning with vector-valued random features, in Advances in Neural Information Processing Systems, vol. 36, 2023, pp. 71834–71861, https://doi.org/10.52202/075280-3144.
[24]Q. S. Le Moal, Parsimonious Online Learning with Kernels and Random Features with Applications to Stochastic Optimal Control, PhD thesis, École Polytechnique Fédérale de Lausanne, 2025, https://doi.org/10.5075/epfl-thesis-10474, https://infoscience.epfl.ch/entities/publication/6a6aa203-4b79-41ba-a62b-24ba4c71308a.
[26]M. A. Mehmoob and L. Gonon, Random neural network expressivity for non-linear partial differential equations, in Advances in Neural Information Processing Systems, vol. 39, 2026, https://arxiv.org/abs/2605.25057. Accepted for publication.
[27]K. Mueller, A. Akkari, L. Gonon, and B. Wood, Fast deep hedging with second-order optimization, in Proceedings of the 5th ACM International Conference on AI in Finance (ICAIF ’24), 2024, pp. 319–327, https://doi.org/10.1145/3677052.3698604.
[28]P. Murray, B. Wood, H. Buehler, M. Wies, and M. S. Pakkar, Deep hedging: Continuous reinforcement learning for hedging of general portfolios across multiple risk aversions, in Proceedings of the 3rd ACM International Conference on AI in Finance, ICAIF ’22, Association for Computing Machinery, 2022, pp. 361–368, https://doi.org/10.1145/3533271.3561731.
[29]A. Neufeld and P. Schmocker, Universal approximation property of Banach space-valued random feature models including random neural networks, The Annals of Applied Probability, (2026), https://arxiv.org/abs/2312.08410. Accepted for publication.
[30]A. Neufeld, P. Schmocker, and S. Wu, Full error analysis of the random deep splitting method for nonlinear parabolic PDEs and PIDEs, Communications in Nonlinear Science and Numerical Simulation, 143 (2025), p. 108556, https://doi.org/10.1016/j.cnsns.2024.108556.
[31]A. Rahimi and B. Recht, Random features for large-scale kernel machines, in Advances in Neural Information Processing Systems 20, Curran Associates, 2007, pp. 1177–1184.
[32]A. Rahimi and B. Recht, Uniform approximation of functions with random bases, in 2008 46th Annual Allerton Conference on Communication, Control, and Computing, IEEE, 2008, pp. 555–561, https://doi.org/10.1109/ALLERTON.2008.4797607.
[33]A. Rahimi and B. Recht, Weighted sums of random kitchen sinks: Replacing minimization with randomization in learning, in Advances in Neural Information Processing Systems 21, 2008, pp. 1313–1320.
[34]A. Rudi and L. Rosasco, Generalization properties of learning with random features, in Advances in Neural Information Processing Systems, vol. 30, 2017, https://proceedings.neurips.cc/paper/2017/hash/61b1fbf3f59e28c67f3925f3c79be81a1-Abstract.html.arxiv.org/abs/1602.04474
[35]M. J. Wainwright, High-Dimensional Statistics: A Non-Asymptotic Viewpoint, vol. 48 of Cambridge Series in Statistical and Probabilistic Mathematics, Cambridge University Press, 2019, https://doi.org/10.1017/9781108627771.