Discussing the article: "Neural Networks in Trading: A Unified View of Space and Time (Extralonger)"

 

Check out the new article: Neural Networks in Trading: A Unified View of Space and Time (Extralonger).

The Extralonger framework demonstrates an approach to integrating spatial and temporal factors into a single model, which makes it possible to account for both local patterns and long-term cycles simultaneously. This architecture makes time series forecasting more resilient to market noise and enables data analysis across different time horizons. The article takes a detailed look at how these ideas are put into practice using OpenCL and MQL5.

In transportation research, the data are represented as a network in which the nodes are monitoring stations and the edges reflect the relationships between them. In the financial world, assets, exchanges, brokers, and trading platforms play a similar role, with information and capital constantly circulating among them. If, in a road network the signal is traffic flows of cars, then in financial systems the analogous signals are prices, volumes, liquidity, and the behavior of market participants. In both cases, the task is to study historical data, identify patterns in spatial-temporal dynamics, and build a forecast for the future.

Traditional approaches to solving such problems were based on considering the spatial and temporal components separately. In transportation research, this meant analyzing traffic time series independently of the road network topology. In finance, similar methods focused either on the temporal dynamics of price series or on structural correlations between assets. Such a gap between space and time creates serious limitations: algorithms become excessively resource-intensive, and their ability to make long-term predictions declines sharply.

The main challenge is that processing temporal features requires repeated iterations over spatial relationships. At the same time, analyzing the structural dependencies between nodes requires multiple passes along the time axis. As a result, the computational complexity becomes an order of magnitude higher than in pure time-series forecasting problems. If we add to this the rapidly growing volumes of data characteristic of transportation systems and financial markets, it becomes clear that without a fundamentally new approach, it is practically impossible to move beyond a horizon of a few hours or a few steps.

One possible solution to this problem was proposed by the authors of the paper "Extralonger: Toward a Unified Perspective of Spatial-Temporal Factors for Extra-Long-Term Traffic Forecasting". The authors draw inspiration from Albert Einstein's ideas about the inseparability of space and time, arguing that spatial and temporal factors must be considered inseparably and simultaneously. This idea is embodied in the concept of Unified Spatial-Temporal Representation — a unified spatial-temporal representation that eliminates the need to artificially separate data into temporal and spatial components. Spatial information is included in each time step, and temporal information is included at each network node.


Author: Dmitriy Gizlyk