Predicting Stock Moves by Viewing Market Data in 4D
Original paper: TensorLOB: Structure-Preserving Tensor Learning for Limit Order Book Forecasting
"Imagine compressing a 50-instrument orchestral recording into a single, flattened mono audio file; you lose the ability to tweak or analyze individual instruments. Standard financial AI models do exactly this by flattening complex market data into a 2D grid, blurring together price levels, trade attributes, and timing. TensorLOB acts like an advanced studio mixing console, keeping every instrument track distinct so it can analyze how all market dimensions harmonize without losing crucial detail."
High-frequency trading and financial stability depend on split-second forecasts of supply and demand. By preserving the natural multi-dimensional shape of market data, this model reduces information loss and sets a new standard for trading accuracy. Beyond Wall Street, this same tensor-based approach can improve complex multi-stream predictions in climate modeling, medical imaging, and traffic flow.
- Standard models flatten market data, destroying valuable hidden relationships between dimensions.
- TensorLOB analyzes order books as multi-dimensional blocks without flattening them.
- Preserving data geometry sets new accuracy benchmarks for stock price forecasting.
📑 Original arXiv Technical Abstract
The limit order book (LOB) records outstanding buy and sell orders across multiple price levels. Its state evolves over time across market side, price level, and order attribute, naturally forming a multiway structure. However, existing LOB models typically flatten these dimensions into a matrix model, thus obscuring the existing structural relationships. Starting from first principles and the market-microstructure intuition of the LOB, we design TensorLOB to operate entirely in the tensor domain. TensorLOB uses mode-wise tensor contractions for feature extraction and directly contracts the learned representation with low-rank class-weight tensors for prediction, retaining the distinct roles of time, side, level, and attribute modes. Experiments on the FI-2010 benchmark show that TensorLOB achieves the highest accuracy, recall, and F1 score across all four evaluated horizons. This proof of concept highlights the potential of high-dimensional modelling of multi-way latent information intrinsic to financial markets, which has so far been largely overlooked.
✍️ Are you an author of this paper? Add code/demo links or a note
Help readers explore your work — share your official GitHub repo, Hugging Face weights, affiliation, or a clarification note for our editorial review queue.