Manuscript Offprint
arXiv:2608.28060A Compact Selective State-Space Model for Cross-Sectional Stock Return Ranking from Raw Intraday Bars
Abstract
We present STRATA (Staggered-Timescale Residual Architecture), a 244,633-parameter sequence model that maps five trading days of raw five-minute bar and order-book data directly to a next-day cross-sectional return ranking, with no hand-crafted features. The raw-input setting has a structural obstacle: price series are non-stationary and differ across stocks by orders of magnitude, so a model easily latches onto price level rather than dynamics. STRATA addresses it with a stem of five branches—four learnable causal depthwise convolutions whose effective kernels are initialised to sum to zero, plus one cross-field linear contrast—followed by four selective state-space blocks whose decay biases are staggered across the stack and a four-path readout. Because a score that merely tilts toward common style factors scores well on raw rank correlations, every model's scores are residualised against eight price-volume style factors before any metric is computed. Trained on four years of data covering roughly one thousand mid-capitalisation Chinese A-shares and evaluated once on a held-out year, STRATA reaches a style-residualised rank information coefficient of 0.0728 (information ratio 1.128, signal long-short Sharpe 12.85), ahead of six parameter-matched sequence baselines on all four reported metrics; on rank IC the day-level paired gap against every baseline is significant at p < 0.001, and among the arms competitive on predictive power STRATA's scores are the least explained by the controls. The close-to-close target opens before the score exists: measured instead from the first executable price, the decile spread is indistinguishable from zero, while the ordering of the seven architectures is unchanged and STRATA's margin widens.
1 Introduction
Ranking a cross-section of stocks by their next-day return is the elementary prediction problem behind systematic equity investing. On any trading day t a model observes recent market data for each of stocks and must emit one score per stock; only the ordering of those scores matters, because positions are formed by sorting.
The dominant practice is to solve this problem in two stages. A library of hand-designed features—formulaic alphas [14], rolling technical statistics, and fundamental ratios—is computed first, and a learned model consumes that feature table [21]. The two-stage design is a strong engineering default, but it fixes in advance which functions of the raw data the model may see. A model reading raw bars is free to form its own; the cost is that it must solve, internally, the problems that feature engineering solves externally.
Two such problems dominate. The first is scale and level heterogeneity. Prices differ across stocks by orders of magnitude and drift within a stock over years, so the raw input is dominated by a component—the price level—that is nearly constant within a sample and almost uninformative about next-day returns. Hand-built features avoid this by construction: returns, ratios and z-scores are all level-free. The second is style confounding. A score that is a monotone function of, say, market capitalisation or realised volatility will exhibit a substantial cross-sectional rank correlation with returns during any period in which that style is rewarded, without containing information specific to individual stocks. Raw correlations may therefore reflect rewarded style exposures rather than stock-level predictive information.
This paper describes STRATA, a model designed for the raw-input setting under a deployment-realistic constraint set, and evaluates it under a protocol that removes exposure to eight price-volume style factors before any metric is computed. Timescales are staggered in two places, across the three receptive fields of the stem and across the decay biases of the state-space stack, and four of the stem's five branches are residuals—deviations of a channel from its own recent history—rather than the channel itself. The experiments impose three input constraints: (i) every input channel is a raw field supplied by the data source—no cross-field algebra, no rolling statistics, no factor synthesis, no dimensionality reduction; (ii) input preprocessing is restricted to per-field constant rescaling, a per-field logarithmic transform, per-field standardisation, and missing-value filling; and (iii) every preprocessing statistic is estimated on the training split alone.
Our contributions are:
• An architecture for level-robust representation of raw bars. The stem of STRATA replaces hand-built differencing and rolling statistics with four fully trainable causal depthwise convolution branches, initialised so that each branch's effective kernel sums to zero, alongside a single cross-field linear contrast that mixes fields within a time step. Zero-sum-constrained convolution as a learnable high-pass front-end is due to Bayar and Stamm [2, 3]; our variant is causal, applied along time in one dimension, and paired with learnable smoothing kernels at three receptive fields, so that a single stem produces deviations from the channel's own recent history at several horizons (Section 3.3).
• A compact selective state-space backbone with staggered timescales. Four selective state-space blocks are stacked with decay biases spread linearly across the stack, and the sequence recursion is evaluated by a log-depth associative scan [11] rather than a time loop. A four-path readout summarises the sequence at several effective horizons (Sections 3.4 and 3.5).
• A controlled comparison under style-residualised evaluation. STRATA is compared against six standard sequence architectures matched to within of its parameter count, sharing the same data, loss, optimiser, epoch budget and evaluator. All reported metrics are computed after residualising scores against eight style factors, and two robustness analyses accompany the comparison: a style-exposure analysis showing that the lead is not explained by greater exposure to the controls, and a timing decomposition separating the prediction benchmark from the executable return (Section 4).
Sequence architectures. Recurrent networks [4, 12], dilated causal convolutions [1] and self-attention [19] are the standard encoders for time series, and patch-based transformers such as PatchTST [18] adapt attention to long horizons; simple linear maps remain a strong baseline for forecasting [22]. Structured state-space models [10] and their selective variant, Mamba [9], obtain long effective memory at linear cost in sequence length, and have been applied to financial series [17]. Unlike forecasting, the present task maps each input sequence to a scalar that must be comparable across stocks on the same day.
Learnable decomposition front-ends. Constraining the first convolutional layer to zero-sum kernels—forcing a high-pass, prediction-residual filter—was introduced for image forensics by Bayar and Stamm [2, 3], following a longer line of hand-designed residual filter banks in steganalysis [7]; the motivation transfers directly to raw price sequences, where the “direct current” component is the price level. Decomposing a series into a smoothed trend and a residual is likewise a recurring theme in forecasting: Autoformer [20] and FEDformer [23] build moving-average blocks into the encoder, and DLinear [22] shows that a simple decomposition followed by a linear map is a strong model. The stem of STRATA sits at the meeting point of the two lines: a causal, depthwise, fully learnable front-end whose zero-sum-initialised kernels at three receptive fields produce deviations from the channel’s own recent history at several horizons at once. RevIN [15] attacks the level problem from the normalisation side with per-instance statistics, which the preprocessing constraint of Section 3.2 excludes.
3 Model
Figure 1 provides a compact overview of the complete forward path. Each stock is first represented by five days of raw five-minute fields; the self-referential stem then forms level-robust, multi-scale residual channels before the selective state-space backbone mixes information over staggered timescales. A four-path readout, followed by per-stock normalisation and the shared ranking head, produces the scalar score used for cross-sectional ordering. The following subsections define these stages precisely and state the temporal and preprocessing conventions that make the diagram causal.
STRATA: Staggered-Timescale Residual Architecture
Raw 5-minute bars → level-robust sequence encoding → cross-sectional ranking score

Figure 1: Overview of STRATA. Raw five-minute bars are transformed by a self-referential stem (trainable causal differences, a cross-field contrast, and three multi-scale deviations), processed by four selective state-space blocks with staggered decay initialisations, and summarised by four temporal paths before per-stock normalisation and the shared MLP ranking head. The tensor widths shown in the diagram correspond to the default configuration (, , ).
3.1 Problem setup
Temporal protocol. Fix a stock and a signal day . Let
where are the intraday bars of day , so that . In all experiments , (five-minute bars), and . Three properties of Equation (1) are worth naming:
-
The window is , , , , : five complete trading days ending on, and including, the signal day itself, not the five days before .
-
The last element of the window is the final five-minute bar of day , which covers the closing minutes of that session. The score is therefore produced only after the final five-minute bar of the signal day becomes available.
-
The learning and evaluation target is the next-day adjusted close-to-close return
whose starting price is the close of the last bar already contained in . The superscript marks the only place in the problem where corporate-action adjustment appears; the inputs themselves are unadjusted, and the convention is stated in full in Section 3.2.
The quantity of interest is the cross-sectional Spearman correlation between and on each day .
input window : five-minute bars, T = 240

Figure 2: Temporal protocol. The input window includes the signal day t and ends with its final five-minute bar; the score is produced only after that bar is available. The label spans measured close-to-close, so its first segment—the overnight move from the day-t close to the day-t+1 open—lies before the earliest moment at which the score could be traded. No input price postdates the score, so there is no look-ahead bias; but the label is not an executable return.
No look-ahead bias is not the same as a directly tradable backtest. Equation (2) introduces no look-ahead information: every price in precedes the start of the target span, and enters only as a label, never as an input. But the score exists only after the day-t close at which the target opens, so the overnight segment inside the label cannot be captured by any strategy acting on the score; the close-to-close target is a prediction benchmark, not an exactly replicable trading return. Figure 2 summarises the ordering; Section 4.7 measures how much of the reported performance that segment accounts for, and Section 4.8 states the consequences.
3.2 Input preprocessing
Preprocessing is deliberately minimal and identical at training and inference time. Each field is multiplied by a fixed per-field constant that fixes its unit; price and size fields then receive a transform; every field is standardised by its own mean and standard deviation; remaining missing entries are set to zero after standardisation. The means and standard deviations are accumulated over the training split only and stored with the weights. No statistic used here is computed per sample or per stock, and no channel is a function of more than one raw field.
Adjustment convention. Inputs are unadjusted: every channel enters the network exactly as printed by the exchange, and the adjustment factor is not among the F = 25 fields. Corporate-action adjustment enters only through the label of Equation (2), whose adjusted closes multiply the raw close by the day's cumulative backward adjustment factor—a quantity determined by actions with ex-dates on or before that day and never revised by later ones. Two properties follow: no corporate-action information can reach an input retroactively, and an ex-date inside the five-day window leaves its mechanical gap in the raw series for the model to absorb. Appendix A states the convention in full and derives both.
For price fields large relative to one, the logarithmic transform followed by the initial difference kernel approximates a log return. The kernel remains trainable, and the cross-field contrast branch reads the standardised channel values directly, retaining level information alongside the four residual branches.
3.3 Self-referential stem
Write for the preprocessed input with channels first. The stem forms branches, all of them depthwise (groups = F: one kernel per field, no field mixing) except one, and concatenates them along the channel axis.
Causal difference. A depthwise kernel with left padding of one step,
The kernel is a free parameter; only its initialisation is the first difference.
Cross-field contrast. A single bias-free linear map applied at each time step, . This is the one branch that mixes fields, and it mixes them only within a time step; which combinations are useful is left to the gradient.
Multi-scale deviation from self. For each scale a depthwise kernel , initialised uniformly to , is convolved causally with , and the branch output is the residual, gated by a per-scale per-field positive gain with initialised to zero:
Equation (4) is algebraically a single depthwise causal convolution with kernel , every tap of which is learned. At initialisation that kernel sums to zero, which is exactly the constrained high-pass form of Bayar and Stamm [2]; unlike that work we do not re-impose the constraint after each update, so the branch may drift away from being strictly zero-sum if the data prefer it. We use bars, i.e. 15, 60 and 240 minutes, the last of which is one trading session.
The concatenated channels are projected to width by Linear LayerNorm GELU Dropout. With , and the projection reads .
3.4 Selective state-space blocks
The backbone is residual blocks. Block maps to
followed by the first-order recursion and the residual output
Both the decay and the drive depend on the input at time t, which makes the block selective in the sense of Gu and Dao [9].
The recursion is evaluated with a Hillis–Steele associative scan [11] over the pair under the composition , giving sequential steps instead of . For this is 8 passes; the total work is and the critical-path depth is .
The per-channel bias is the only quantity that differs across blocks: it is initialised to values spread linearly from 1.0 down to -1.5, so the stack begins with fast-forgetting blocks at the bottom and slow-forgetting blocks at the top. With the initial half-lives are 0.53, 0.89, 1.67 and 3.44 bars—between roughly two and seventeen minutes, a spread. Because is clipped below 1 rather than fixed, the trained half-lives are free to move far beyond their initial values.
3.5 Readout
Let be the final block output after a LayerNorm. Four summaries are concatenated: the mean over time; the last step, scaled by a learnable gate with initialised to -1 so that the model does not begin by relying on a single bar; and two exponentially weighted averages with for two learnable decays initialised to 0.5 and 0.88. The concatenated vector is then divided by its own root-mean-square,
passed through a LayerNorm, and mapped to a scalar by a three-layer MLP . The division in Equation (8) is redundant given the LayerNorm that follows it.
3.6 Objective
Batches are formed by trading day, so a batch is a cross-section and a within-batch correlation is an estimate of the daily information coefficient. Labels are clipped to the [0.75, 99.25] percentile range of the training split and then standardised within each day. Writing p for predictions and y for labels within a batch of size n, and c for a weight ramped along a cosine schedule from 0.03 to 0.30 over the first epochs,
where is a differentiable rank obtained from pairwise sigmoids, is the standardised prediction, and is the positive part. The four active terms are a point-prediction anchor, a soft Spearman surrogate, a Pearson term and a one-sided excess-kurtosis penalty. The pairwise rank is computed on a subsample of at most 1300 names per batch to bound its cost, and only during training.
For monitoring we additionally report the label spread between the predicted top and bottom deciles, , where the bars denote labels selected by an argsort of p. This selection is non-differentiable, so is a logged diagnostic and is not part of the optimised objective.
4 Experiments
4.1 Data
We use five-minute bars for a universe of mid-capitalisation Chinese A-shares—the historical constituents of the CSI 1000 index—covering 2019-01-02 through 2024-12-31, 1,456 trading days.
LayerNorm is invariant to positive rescaling, for ; the division is retained only to document the trained implementation.
Table 1: Parameter breakdown of STRATA at , , , .
| Component | Parameters | Share |
|---|---|---|
| Self-referential stem | 14,613 | 5.97% |
| Selective SSM blocks () | 187,392 | 76.60% |
| LayerNorms (final, feature) | 960 | 0.39% |
| MLP head | 41,665 | 17.03% |
| Readout scalars (, two decays) | 3 | <0.01% |
| Total | 244,633 | 100% |
The universe is defined by the data source on each day and contains close to one thousand names per day (995–999 median across splits, minimum 878); membership is point-in-time, so a stock enters and leaves the panel on the dates it actually entered and left the index, and no survivorship filter is applied. Each stock-day is exactly 48 bars. The fields per bar are open, high, low, close, volume, turnover, trade count, and three levels of ask and bid price, volume and order count. Labels are the next-day adjusted close-to-close returns of Equation (2); inputs remain unadjusted, as specified in Section 3.2 and Appendix A.
Splits. The nominal training window is 2019-01-02 to 2022-12-30 (972 trading days). The validation year 2023 (242 days, 240,204 samples) is used for model and protocol selection; the 2024 test year (241 evaluable days) is not used for training or checkpoint selection. All post-hoc analyses reuse the stored test-year scores. The training window is truncated so that no training label uses a price observed on or after the first validation day: with a one-day horizon and a two-day embargo, the last training day is 2022-12-27, three trading days before validation begins, leaving 955,061 training samples.
4.2 Evaluation protocol
Raw model scores are never scored directly. On each trading day the scores of that day's cross-section pass through the following pipeline before any metric is computed:
-
non-finite scores are dropped;
-
scores are winsorised to the cross-sectional mean standard deviations, and the eight style regressors of step 4 are winsorised by the same rule;
-
scores are standardised cross-sectionally;
-
scores are regressed by ordinary least squares on eight style factors and the residual replaces the score.
The eight styles are computed from the same bars, causally, and are deliberately simple. SIZE is the log of 20-day mean turnover (a proxy for market capitalisation; direct float data are not available in this dataset), SIZENL is the cube of the cross-sectional -score of SIZE, LIQUIDITY (log 5-day mean turnover minus log 60-day mean), RESVOL (20-day standard deviation of past log returns), MOMENTUM (the sum of past log returns over the 120-day window ending at minus the sum over the most recent 20 days, i.e. a 100-day sum ending 20 days back), BETA (rolling 60-day regression slope on the equal-weight market return), STREV (5-day sum of past log returns), and INTRAVOL (the mean, over the day's five-minute bars, of each bar's high-low range divided by its close, then averaged over 20 days). Coverage is 93.1%–98.2% per style on the test year.
Several controls have non-zero rank IC on this universe, so residualisation removes variance that predicts returns. Residualised ICs reported here are therefore not directly comparable with raw ICs reported elsewhere.
Scores and regressors are clipped symmetrically. Positive-control checks in Appendix C.1 shows that clipping only the score leaves a residual tail artefact; all residualised results use the symmetric protocol.
Four metrics are reported on the residualised scores: Rank IC, the mean over days of the cross-sectional Spearman correlation with the labels of Equation (2); IC_IR, that mean divided by its standard deviation across days; Signal LS Sharpe, the annualised Sharpe ratio obtained by applying equal-weight long and short decile portfolios, formed on the residualised score, to the same next-day close-to-close returns that serve as prediction labels; and Stress IC_IR, the IC_IR restricted to stress days. Signal LS Sharpe is a frictionless diagnostic against the prediction target, not an executable strategy return (Section 4.7). Stress days are selected by a validation-stage rule based only on market returns; its full specification and non-causal partitioning convention are given in Appendix B. The test year contains 55 stress days in four segments.
4.3 Baselines
Six standard encoders are compared, each wrapped in the same mean-and-last pooling head rather than the four-path readout of Section 3.5. MLP flattens the whole window; LSTM and GRU are two-layer recurrent networks over the raw field vector at each step [4, 12]; TCN is a stack of four dilated causal convolution blocks [1]; Transformer is a two-layer pre-norm encoder with learned positional embeddings [19]; and Mamba is a selective state-space stack with a linear stem, a single decay initialisation and mean-and-last pooling, i.e. the backbone of STRATA with each of the components of Section 3 removed [9].
Each baseline’s hidden width is fitted by bisection so that its parameter count lands within of 244,633; the realised counts span 244,317 to 247,873 ( to ). Table 2 records each arm’s implementation and configuration. Data, preprocessing, loss (Equation (9)), optimiser, epoch budget, early-stopping rule and evaluator are shared by all seven arms. Two components differ: the encoder, and the readout—the six baselines use the mean-and-last pooling head described above, while STRATA uses the four-path readout of Section 3.5. The two are not separated by this table, so the reported comparison is between complete encoder-plus-readout designs.
The structural hyper-parameters in Table 2 were fixed before the reported runs; only hidden width was fitted, using parameter count rather than accuracy. The shared loss and optimiser settings were developed with STRATA, so the comparison represents standard configurations under one shared recipe rather than per-architecture tuning.
4.4 Training setup
All arms are trained with AdamW [16] at learning rate , weight decay , gradient clipping at 0.8, two warm-up epochs, an exponential moving average of the weights with decay 0.9985 used for validation and checkpointing, mixup with applied to 30% of batches, at
Table 2: Implementation and configuration of each arm. Baseline widths are set by parameter count; all six use dropout 0.12 and a shared mean-and-last pooling head followed by a 64-unit MLP.
| Arm | Implementation | Fixed configuration | Params |
|---|---|---|---|
| MLP | torch.nn linear stack | two hidden layers (, ), Layer-Norm, GELU | 246,984 |
| LSTM | nn.LSTM | 2 layers, inter-layer dropout | 245,381 |
| GRU | nn.GRU | 2 layers, inter-layer dropout | 244,317 |
| TCN | ours, after Bai et al. [1] | 4 residual blocks, kernel 3, dilations 1, 2, 4, 8, GroupNorm, causal left-padding | 245,201 |
| Transformer | nn.TransformerEncoder | 2 pre-norm layers, 4 heads, feed-forward , learned positional embedding | 247,873 |
| Mamba (S6) | the selective-scan block implementation of STRATA's own backbone | 4 blocks, single decay initialisation, linear stem | 245,413 |
| STRATA | frozen implementation of Section 3 | , , (Table 1) | 244,633 |
most 60 epochs, and early stopping with patience 10. The selection criterion is not any single metric but the equal-weight combination of the percentile ranks of all four metrics of Section 4.2 within the run's own epoch pool. Every arm is trained with three seeds (42, 43, 44); reported uncertainties are sample standard deviations across seeds. Training runs on a single NVIDIA A800; STRATA takes 2.91 minutes per epoch. Determinism is enforced for all arms except TCN, for which the deterministic backward kernel for dilated convolution is roughly two orders of magnitude slower; that arm fixes seeds but does not guarantee bit-level reproducibility.
4.5 Main results
Table 3 reports the test year. STRATA leads on all four metrics. Its rank IC of 0.0728 is 14.9% above the strongest baseline (GRU, 0.0634), its signal long-short Sharpe of 12.85 is 17.7% above the best baseline Sharpe (10.92, GRU), and its stress IC_IR of 1.030 is 13.4% above GRU's 0.909.
The seed-level test pairs the three seeds of each arm and gives on rank IC against every baseline, although inference over optimisation randomness is necessarily coarse with three seeds. Separately, pairing the 241 daily cross-sectional ICs on the same days and cross-sections yields Newey–West statistics (Bartlett, lag 5) between 4.40 and 6.29, with against every baseline (Table 4). Seed dispersion and HAC standard errors quantify optimisation and temporal sampling uncertainty, respectively.
Two comparisons in the table carry more information than the overall ordering. The first is Mamba, which shares STRATA's selective state-space backbone but replaces the stem with a linear map, uses a single decay initialisation, and pools with mean-and-last: it reaches 0.0615 against 0.0728. The 18.5% gap measures the joint contribution of the bundled stem, decay-initialisation and readout changes over the common state-space backbone. The second is MLP, the only arm with no temporal inductive bias, which trails every sequence model by a wide margin (0.0485). The spread among the five sequence baselines (0.0586 to 0.0634) is far narrower than the gap between them and MLP, so on this task having a temporal structure matters more
Table 3: Test year (2024, 241 trading days) after residualisation against eight style factors. Values are mean ± sample standard deviation over three seeds; is the two-sided paired seed-level test against STRATA.
| Model | Params | Rank IC | IC_IR | Signal LS Sharpe | Stress IC_IR |
|---|---|---|---|---|---|
| STRATA (ours) | 244,633 | ||||
| MLP | 246,984 | ||||
| LSTM | 245,381 | ||||
| GRU | 244,317 | ||||
| TCN | 245,201 | ||||
| Transformer | 247,873 | ||||
| Mamba (S6) | 245,413 | ||||
| vs. STRATA |
Table 4: Day-level paired comparison on the test year (241 trading days, residualised scores, seeds pooled). IC is the mean same-day difference between STRATA and each baseline; standard errors are Newey–West (Bartlett, lag 5). The right block reports seed dispersion and temporal HAC uncertainty.
| Model | paired against STRATA | uncertainty in annual IC | ||||
|---|---|---|---|---|---|---|
| IC | seed SD | HAC SE | ratio | |||
| STRATA | — | — | — | |||
| GRU | ||||||
| Mamba | ||||||
| LSTM | ||||||
| TCN | ||||||
| Transformer | ||||||
| MLP | ||||||
than which one is chosen. The degree to which STRATA's margin comes from the stem and readout rather than from other design choices remains to be isolated by ablation.
The IC_IR differences from GRU, Mamba and LSTM are not significant across three seeds (, and , respectively).
4.6 Style exposure of model scores
For STRATA, residualisation lowers mean daily rank IC from 0.0893 to 0.0728 and its standard deviation from 0.0973 to 0.0649, raising IC_IR from 0.919 to 1.128. The same direction holds for every arm (Appendix C.2). We measure style exposure directly with the per-day coefficient of determination of the residualising regression,
which is the fraction of that day's cross-sectional score variance explained by the eight controls. Positive controls and a synthetic loading sweep validate this measure and show why the ratio of residualised to raw IC is unsuitable for the same purpose (Appendix C).
Table 5: Share of score variance explained by the eight styles in the daily cross-sectional regression, averaged over test-year trading days and three seeds. Lower values indicate less style-explained score variance.
| Model | ±seed | |
|---|---|---|
| MLP | ||
| STRATA (ours) | ||
| LSTM | ||
| GRU | ||
| TCN | ||
| Mamba (S6) | ||
| Transformer |
A low must be interpreted jointly with predictive performance. MLP has the lowest value (0.157) but is also the weakest predictor, with a residualised rank IC of 0.049. By contrast, STRATA combines the highest residualised rank IC (0.073) with a lower (0.172) than all five sequence baselines (0.180–0.220). Its predictive advantage is therefore not explained by greater exposure to the eight controls. This conclusion is limited to the price–volume factors considered here; omitted industry, valuation, profitability, growth and leverage exposures may explain additional score variation (Section 4.8).
4.7 Where the predictive power sits in the day
The close-to-close label contains an overnight segment that precedes the score. To quantify its contribution, we split the label into the overnight gap and the following session,
and rescore the stored predictions against each factor. The residualisation pipeline of Section 4.2 is applied identically in each case. The open of day is taken from that day's first five-minute bar, and the intraday factor needs no adjustment because the adjustment factor is constant within a trading day (Section 4.1), so it cancels from any same-session price ratio. The split is available for 100.0% of test-year samples (239,591 observations over 241 days).
Two conclusions follow, and they point in opposite directions.
The reported Sharpe ratio is concentrated overnight. For all seven architectures, the decile spread earned over the overnight gap alone is larger than the spread over the full close-to-close label (+75.6 against +73.9 bp per day for STRATA), and the spread over the executable session is negative. Over that session, STRATA's top decile returns +6.0 bp per day and its bottom decile +7.5 bp—both positive, with the short leg the stronger of the two. Stocks that gap down at the open rebound during the session more than stocks that gap up continue, so the decile spread reverses even though the cross-sectional ordering does not: the rank IC over the executable session remains positive at 0.0215.
Table 6: Stored scores under three return conventions (test year 2024, after style residualisation, three seeds). Panel A decomposes STRATA's label; Panel B compares all architectures over the executable session. is a Newey–West statistic (Bartlett, lag 5) on the daily long-short spread.
| Rank IC | IC_IR | LS spread (bp/day) | Signal LS Sharpe | ||
|---|---|---|---|---|---|
| mean | |||||
| Panel A: STRATA, one score, three targets | |||||
| (label) | 0.0728 | 1.128 | +73.9 | 10.97 | 12.85 |
| (overnight) | 0.1275 | 2.431 | +75.6 | 14.26 | 24.13 |
| (executable) | 0.0215 | 0.358 | -1.6 | -0.37 | -0.32 |
| Panel B: all arms under | |||||
| STRATA | 0.0215 | 0.358 | -1.6 | -0.37 | -0.32 |
| MLP | 0.0059 | 0.100 | -11.8 | -2.99 | -2.67 |
| LSTM | 0.0149 | 0.260 | -6.1 | -1.52 | -1.38 |
| GRU | 0.0162 | 0.282 | -4.5 | -1.06 | -0.98 |
| TCN | 0.0132 | 0.217 | -8.3 | -1.94 | -1.67 |
| Transformer | 0.0111 | 0.172 | -10.5 | -2.75 | -2.38 |
| Mamba | 0.0157 | 0.272 | -7.6 | -2.11 | -1.75 |
Point-estimate ordering under the executable target. Under the executable session the ordering of the seven arms is unchanged and STRATA is still first. Its residualised rank IC of 0.0215 exceeds the best baseline's by twice the relative margin it enjoys under the close-to-close label—+32.7% over the strongest baseline (GRU, 0.0162) against +14.9% under the label—and its long-short spread of -1.6 bp per day is the smallest in magnitude of the seven, with a Newey–West statistic of -0.37 that cannot be separated from zero, whereas the weakest arms are significantly negative (MLP , Transformer ). The point-estimate ordering is preserved under the executable target, although none of the resulting long-short spreads supports a profitable strategy interpretation.
4.8 Limitations
One market, one horizon, one frequency. All evidence comes from a single national equity market, a one-day prediction horizon and five-minute bars. The stem's scale set {3, 12, 48} is expressed in bars and its largest member coincides with one trading session; whether the architecture transfers to markets with different session structures is untested.
The style set is a proxy. The eight factors of Section 4.2 are computed from price and volume alone. They contain no valuation, profitability, growth or leverage factor, and no industry dummies. Residualising against them therefore removes less than a full commercial risk model would, and the residualised metrics below should be read as upper bounds on what would survive a stricter control.
Shared rather than per-arm tuning. The loss and optimiser settings were developed with STRATA and then applied to all architectures. Dedicated per-arm tuning could narrow the reported gaps (Section 4.3).
Execution constraints. Section 4.7 shows that the close-to-close long-short spread is not executable from the signal timestamp. The reported diagnostics also charge no transaction costs, slippage or market impact, assume unconstrained daily rebalancing, ignore the daily price limits that bind exactly on the days the signal is strongest, and assume short availability that much of this universe lacks. A deployable strategy would require an executable return convention, costs and borrowing constraints.
5 Conclusion
STRATA maps raw five-minute bars to next-day cross-sectional rankings with 244,633 parameters and no hand-built input features. Its multi-scale zero-sum-initialised stem and staggered selective state-space backbone lead six parameter-matched alternatives on all four metrics of a held-out year. For rank IC, every day-level paired comparison has , and among the five sequence baselines STRATA has the lowest style-explained score variance. The Mamba comparison attributes an 18.5% rank-IC gap to the bundled design changes; component-level contributions require ablation.
The close-to-close target includes an overnight move that precedes the score. From the first executable price, the architecture ordering is preserved and STRATA's relative rank-IC margin widens, but its long-short spread is indistinguishable from zero. The results therefore support a prediction-model comparison rather than a deployable trading strategy, and the style analysis is limited to the eight price-volume controls used here.
References
[1] Shaojie Bai, J. Zico Kolter, and Vladlen Koltun. An empirical evaluation of generic convolutional and recurrent networks for sequence modeling. arXiv preprint arXiv:1803.01271, 2018.
[2] Belhassen Bayar and Matthew C. Stamm. A deep learning approach to universal image manipulation detection using a new convolutional layer. In ACM Workshop on Information Hiding and Multimedia Security, pages 5–10, 2016.
[3] Belhassen Bayar and Matthew C. Stamm. Constrained convolutional neural networks: A new approach towards general purpose image manipulation detection. IEEE Transactions on Information Forensics and Security, 13(11):2691–2706, 2018.
[4] Kyunghyun Cho, Bart van Merriënboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. Learning phrase representations using RNN encoder-decoder for statistical machine translation. In Conference on Empirical Methods in Natural Language Processing (EMNLP), 2014.
[5] Yitong Duan, Lei Wang, Qizhong Zhang, and Jian Li. Factorvae: A probabilistic dynamic factor model based on variational autoencoder for predicting cross-sectional stock returns. Proceedings of the AAAI Conference on Artificial Intelligence, 36(4):4468–4476, June 2022. ISSN 2159-5399. doi: 10.1609/aaai.v36i4.20369. URL http://dx.doi.org/10.1609/aaai.v36i4.20369.
[6] Eugene F. Fama and Kenneth R. French. Common risk factors in the returns on stocks and bonds. Journal of Financial Economics, 33(1):3–56, February 1993. ISSN 0304-405X. doi: 10.1016/0304-405x(93)90023-5. URL http://dx.doi.org/10.1016/0304-405x(93)90023-5.
[7] Jessica Fridrich and Jan Kodovsky. Rich models for steganalysis of digital images. IEEE Transactions on Information Forensics and Security, 7(3):868–882, June 2012. ISSN 1556-6021. doi: 10.1109/tifs.2012.2190402. URL http://dx.doi.org/10.1109/tifs.2012.2190402.
[8] Richard C. Grinold. The fundamental law of active management. The Journal of Portfolio Management, 15(3):30–37, April 1989. ISSN 2168-8656. doi: 10.3905/jpm.1989.409211. URL http://dx.doi.org/10.3905/jpm.1989.409211.
[9] Albert Gu and Tri Dao. Mamba: Linear-time sequence modeling with selective state spaces. arXiv preprint arXiv:2312.00752, 2023.
[10] Albert Gu, Karan Goel, and Christopher Ré. Efficiently modeling long sequences with structured state spaces. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id=uYLFoz1vlAC.
[11] W. Daniel Hillis and Guy L. Steele. Data parallel algorithms. Communications of the ACM, 29(12):1170–1183, December 1986. ISSN 1557-7317. doi: 10.1145/7902.7903. URL http://dx.doi.org/10.1145/7902.7903.
[12] Sepp Hochreiter and Jürgen Schmidhuber. Long short-term memory. Neural Computation, 9(8):1735–1780, 1997.
[13] NARASIMHAN JEGADEESH and SHERIDAN TITMAN. Returns to buying winners and selling losers: Implications for stock market efficiency. The Journal of Finance, 48(1):65–91, March 1993. ISSN 1540-6261. doi: 10.1111/j.1540-6261.1993.tb04702.x. URL http://dx.doi.org/10.1111/j.1540-6261.1993.tb04702.x.
[14] Zura Kakushadze. 101 formulaic alphas. Wilmott, 2016(84):72–81, July 2016. ISSN 1540-6962. doi: 10.1002/wilm.10525. URL http://dx.doi.org/10.1002/wilm.10525.
[15] Taesung Kim, Jinhee Kim, Yunwon Tae, Cheonbok Park, Jang-Ho Choi, and Jaegul Choo. Reversible instance normalization for accurate time-series forecasting against distribution shift. In International Conference on Learning Representations (ICLR), 2022.
[16] Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In International Conference on Learning Representations (ICLR), 2019.
[17] Ali Mehrabian, Ehsan Hoseinzade, Mahdi Mazloum, and Xiaohong Chen. Mamba meets financial markets: A graph-mamba approach for stock price prediction. In IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 2025. doi: 10.1109/ICASSP49660.2025.10888749.
[18] Yuqi Nie, Nam H. Nguyen, Phanwadee Sinthong, and Jayant Kalagnanam. A time series is worth 64 words: Long-term forecasting with transformers. In International Conference on Learning Representations (ICLR), 2023.
[19] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in Neural Information Processing Systems (NeurIPS), 2017.
[20] Haixu Wu, Jiehui Xu, Jianmin Wang, and Mingsheng Long. Autoformer: Decomposition transformers with auto-correlation for long-term series forecasting. In Advances in Neural Information Processing Systems (NeurIPS), 2021.
[21] Xiao Yang, Weiqing Liu, Dong Zhou, Jiang Bian, and Tie-Yan Liu. Qlib: An ai-oriented quantitative investment platform. arXiv preprint arXiv:2009.11189, 2020.
[22] Ailing Zeng, Muxi Chen, Lei Zhang, and Qiang Xu. Are transformers effective for time series forecasting? In AAAI Conference on Artificial Intelligence, pages 11121–11128, 2023.
[23] Tian Zhou, Ziqing Ma, Qingsong Wen, Xue Wang, Liang Sun, and Rong Jin. FEDformer: Frequency enhanced decomposed transformer for long-term series forecasting. In International Conference on Machine Learning (ICML), 2022.
A Corporate actions and the adjustment convention
Inputs are raw exchange quantities; adjustment is applied only to the target. Let denote the multiplicative backward-adjustment contribution of a corporate action for stock i with ex-date e (including split and dividend terms supplied by the data vendor). Define
The product is over ex-dates on or before d and is never revised by a later action, so
No appears among the F = 25 input fields: prices, volumes and order-book quantities enter exactly as printed. An ex-date inside the input window therefore remains a raw mechanical jump for the network to observe, while an action first entering through affects only the next-day total-return label and cannot leak into .
B Stress-day detector: full specification
Let be the ordered evaluation dates and let be the equal-weight market return for day , computed from the same raw next-day returns used for the long-short diagnostic. With , form
using the available suffix when at least finite returns are present. For any series , standardise over its finite entries:
The stress strength and threshold are
A day is hot iff ; ties at the threshold are included and non-finite strengths are cold. Hot positions are split into maximal runs. Two runs are merged when the number of intervening cold positions is at most (equivalently, the next start minus the previous end is at most ). Only merged segments of length at least days are retained. This order (merge, then length filter) and the position-based rule apply even when missing days occur; missing days are never silently treated as hot.
The stress mask is the union of retained segments. Daily cross-sectional ICs inside this mask are concatenated, and Stress IC_IR is their mean divided by their sample standard deviation; it is reported only when at least 20 finite ICs remain. The detector uses whole-window means, standard deviations and the empirical percentile, so it is intentionally non-causal; it is computed from returns only, identically for every arm, and never supplied to the model. With , the 2024 test window yields 55 days in four retained segments.
Table 7: Positive controls on the 2024 test year (241 days). Residual IC is the daily mean after the indicated clipping convention; SE is its sample standard error across days; Survival uses the unmarked residual IC divided by raw IC. Symmetric clipping is the main protocol.
| Signal | Raw IC | Resid. IC | Resid. IC (sym.) | SE (sym.) | Survival | |
|---|---|---|---|---|---|---|
| REV5 = -STREV | +0.00653 | +0.01522 | -0.00085 | 0.00210 | 1.000 | +2.33 |
| MOM = MOMENTUM | +0.00604 | +0.01257 | +0.00196 | 0.00200 | 1.000 | +2.08 |
Table 8: Controlled loading sweep with fixed true alpha content (). Survival is non-monotone in the loaded style; style is monotone.
| loading on STREV | loading on -RESVOL | |||
|---|---|---|---|---|
| Survival | Survival | |||
| 0.00 | 0.824 | 0.011 | 0.824 | 0.011 |
| 0.15 | 0.852 | 0.034 | 0.763 | 0.035 |
| 0.30 | 0.908 | 0.099 | 0.733 | 0.102 |
| 0.45 | 0.990 | 0.205 | 0.732 | 0.212 |
| 0.60 | 1.113 | 0.348 | 0.767 | 0.363 |
C Validation and interpretation of style residualisation
C.1 Positive controls
We pass two signals lying in the span of the controls through exactly the pipeline of Section 4.2: REV5 = -STREV and MOM=MOMENTUM. The symmetric protocol clips scores and regressors at mean before the cross-sectional OLS residual.
Both symmetric residual ICs are within one SE of zero and have . Under asymmetric clipping, the same controls retain +0.0152 and +0.0126; symmetric clipping is therefore necessary to prevent tail-induced residual artefacts.
C.2 Why the survival ratio is not identified
The ratio of residualised to raw rank IC (“survival”) is not a style-exposure measure. Write a score as , with standardised return , style , independent noise , and fixed . Sweeping only on the test panel gives Table 8: residualisation removes the style term, but survival rises when loading on STREV (own IC -0.006) and falls when loading on -RESVOL (own IC -0.060). The same alpha content therefore produces opposite survival readings, whereas changes monotonically with .
Table 9: Raw and residualised rank IC over the test year (three seeds). The survival ratio is shown for context, not used as a style-dependence metric.
| Model | Raw IC | Residualised IC | Survival | Δ IC_IR |
|---|---|---|---|---|
| STRATA (ours) | 0.08931 | 0.07284 | 0.816 | +22.8% |
| GRU | 0.08244 | 0.06337 | 0.769 | +24.6% |
| Transformer | 0.07650 | 0.05863 | 0.766 | +31.7% |
| LSTM | 0.07947 | 0.06038 | 0.760 | +32.3% |
| TCN | 0.07823 | 0.05933 | 0.758 | +26.5% |
| Mamba (S6) | 0.08324 | 0.06145 | 0.738 | +39.3% |
| MLP | 0.06917 | 0.04851 | 0.701 | +24.5% |