arXiv:2610.10038cs.CEOct 2026

Manuscript Offprint

arXiv:2610.10038

Evolve on the Host, Predict on the Edge: Deploying Online Neuroevolutionary Architecture Search for Cross-sectional Stock Return Prediction

Jonathan Chang, Zimeng Lyu

Abstract

Accurate forecasting models are usually large, expensive to update online, and fixed in architecture once trained. We apply ONE-NAS, an online neuroevolutionary architecture search that evolves a population of small recurrent networks as each window of data arrives, to daily cross-sectional stock return prediction, and pilot it on a host and endpoint pipeline: the host runs the search and ships each generation's champion genomes over TCP/IP to a Raspberry Pi 4B, which predicts online. On the Pi a single champion predicts a 50-stock window in 24.6 ms and the ensemble of 40 island champions in 556 ms, far inside the daily decision cycle. On four panels of US mid-cap equities over 2022–2024, reading the population as a rank-mean ensemble of island champions returns +27.5% net of realised transaction costs, against +11.3 to +14.8% for online LSTM, online GRU and monthly-retrained LSTM baselines and +4.5% for the single best genome used in prior ONE-NAS work.

1 Introduction

Real-world time series forecasting tasks usually face data drift: a model fitted once on historical data degrades as the generating process drifts from its training sample. Online forecasting updates the model as new observations arrive (Pham et al. 2022; Wen et al. 2023; Zhao and Shen 2025), but accurate forecasting models are usually large (Das et al. 2023; Ansari et al. 2024; Woo et al. 2024): expensive to update at the cadence of the stream, expensive to serve where the data are produced, and fixed in architecture once trained, so only their weights can adapt.

The problem is acute in stock forecasting, where daily returns have a low signal-to-noise ratio and the feature-to-return relationship shifts with market regimes, so a model fitted to one period often fails in the next (Zhao, Kong, and Shen 2023). Deep stock models (Li et al. 2024) are refitted on a schedule, and incremental learning (Zhao, Kong, and Shen 2023) updates their weights between refits, but in both cases the architecture is fixed in advance.

We address adaptation with online neural architecture search. ONE-NAS (Lyu, Ororbia, and Desell 2023) extends evolutionary architecture search (Liu et al. 2021) to the online setting: a population of recurrent neural networks, organised in islands, evolves as each window of data arrives, with offspring trained briefly from inherited parent weights and survivors selected on the most recent data. Architectures and weights both adapt, so there is no offline training phase to go stale. We apply ONE-NAS to daily cross-sectional stock return forecasting on CRSP (Center for Research in Security Prices) data, and show that the result depends on how the population is read: the single best genome of prior ONE-NAS work trails every neural baseline, while a rank-mean ensemble of the island champions outperforms them all.

An online neuroevolutionary NAS algorithm deploys as two workloads: the parallel and expensive search runs on a cloud service or a workstation, and the forecasting, cheap because the evolved networks are small, runs on an edge endpoint device (Figure 1). Each generation the host sends the champion genomes over TCP/IP to a Raspberry Pi, which forecasts as each day's features arrive and keeps forecasting from the last received genomes if the host is unavailable. The Pi is a constrained target: inference that meets the daily cadence there does so on any hardware a practitioner owns.

The contributions of this paper are:

• A deployment workflow for stock forecasting and for trading on the forecasts, with ONE-NAS running the online neuroevolutionary NAS on a host and a Raspberry Pi endpoint running the online inference (Section 3.4).

• Measurements on the Pi showing that online inference with the single champion and with the ensemble of 40 island champions runs in real time, far inside the daily decision cycle, at low compute and energy cost (Section 5.1).

• Evidence that forecasting with a rank-mean ensemble of the island champions earns a much higher net return than forecasting with the single champion used in prior ONE-NAS work (Section 5.3).

References (62)