SCNN Encoder Design with Attention-Weighted Spatial Normalization
Summary
This article describes an encoder component for a Structured Component Neural Network, an approach that separates time series into long-term, seasonal, short-term, coupled, and residual parts. Its focus is extracting the coupled component: relationships among multiple variables at the same time point, including co-movements that may change over time. The proposed adaptive spatial normalization uses attention weights to compute weighted means and standard deviations across variables, then normalizes each input while saving statistics for later processing.
The implementation discussion covers parallel OpenCL computation, local-memory reductions, work-group limits, and chunked iteration when the variable count exceeds the available group size. It also outlines a backward pass to propagate gradients to inputs and attention weights, and describes integrating the normalization module into an encoder. The article presents the design as preparation for financial forecasting and says evaluation on real historical data will follow in a later installment. It supplies no empirical trading results here, so its claims about forecasting usefulness remain unvalidated in this excerpt.
Key ideas
- SCNN separates a series into distinct structural components and models each component independently.
- The coupled component represents contemporaneous relationships among variables, including changing co-movements.
- Attention weights determine each variable’s contribution to the spatial mean and standard deviation used for normalization.
- The OpenCL implementation processes variables in chunks to respect work-group size limits.
- The article describes gradient propagation but defers empirical evaluation on historical data to future work.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.