Skip to main content
QUICK REVIEW

[Paper Review] Visual Attention Model for Cross-sectional Stock Return Prediction and End-to-End Multimodal Market Representation Learning

Ran Zhao, Yuntian Deng|arXiv (Cornell University)|Sep 11, 2018
Stock Market Forecasting MethodsDecision Sciences8 citations
TL;DR

This paper proposes a visual attention model that represents the stock market as a 'market image'—a 2D matrix of stocks (rows) and financial indicators (columns)—to enable end-to-end learning of multimodal market representations. Using convolutional and recurrent networks with attention, it improves cross-sectional stock return prediction and learns compact, reconstructable market embeddings that outperform PCA in reconstruction accuracy.

ABSTRACT

Technical and fundamental analysis are traditional tools used to analyze individual stocks; however, the finance literature has shown that the price movement of each individual stock correlates heavily with other stocks, especially those within the same sector. In this paper we propose a general purpose market representation that incorporates fundamental and technical indicators and relationships between individual stocks. We treat the daily stock market as a "market image" where rows (grouped by market sector) represent individual stocks and columns represent indicators. We apply a convolutional neural network over this market image to build market features in a hierarchical way. We use a recurrent neural network, with an attention mechanism over the market feature maps, to model temporal dynamics in the market. We show that our proposed model outperforms strong baselines in both short-term and long-term stock return prediction tasks. We also show another use for our market image: to construct concise and dense market embeddings suitable for downstream prediction tasks.

Motivation & Objective

  • To develop a general-purpose market representation that integrates fundamental, technical, and market structure information for improved stock return prediction.
  • To model temporal dynamics in financial markets using a recurrent neural network with attention over hierarchical market feature maps.
  • To learn generic, dense, and compact market embeddings via a convolutional autoencoder that preserve input market image fidelity.
  • To demonstrate that end-to-end learning from raw market images outperforms traditional hand-crafted features and PCA in both prediction and representation tasks.

Proposed method

  • Construct a 'market image' as an m×n matrix where rows represent stocks grouped by sector and columns represent fundamental, technical, and price-volume indicators.
  • Apply a convolutional neural network (CNN) to extract hierarchical spatial features from the market image, capturing relationships between stocks in the same sector.
  • Use a recurrent neural network (RNN) with an attention mechanism over the CNN feature maps to model temporal dynamics across stacked market images over time.
  • Implement a fully convolutional autoencoder (MarketSegNet) with encoder-decoder architecture to learn compact, dense market embeddings that reconstruct the original market image pixel-wise.
  • Train the autoencoder using pixel-wise regression loss to ensure high-fidelity reconstruction of input market images.
  • Compare the reconstruction performance of MarketSegNet against PCA across varying embedding dimensions (16 to 128).

Experimental results

Research questions

  • RQ1Can a visual attention model that treats the market as an image improve cross-sectional stock return prediction compared to baseline models?
  • RQ2How effective is the integration of fundamental, technical, and market structure information in a unified multimodal representation for stock prediction?
  • RQ3Can a convolutional autoencoder learn a generic and compact market embedding that preserves more information than PCA?
  • RQ4Does attention over hierarchical market features enhance temporal modeling of stock returns?
  • RQ5To what extent can the learned market embeddings reconstruct the original market image with high fidelity?

Key findings

  • The proposed market-aware model with attention-based RNN outperforms strong baselines in both short-term and long-term stock return prediction tasks.
  • The MarketSegNet autoencoder achieves lower reconstruction error than PCA across all tested embedding sizes (16 to 128), indicating superior information retention.
  • MarketSegNet’s learned embeddings preserve spatial and temporal patterns in the market image, enabling high-fidelity pixel-wise reconstruction.
  • The hierarchical feature learning via CNN captures sector-level trends and inter-stock relationships effectively.
  • The attention mechanism in the RNN improves temporal modeling by dynamically weighting important market features across time.
  • The model demonstrates that end-to-end learning from raw market images yields better predictive and representational performance than traditional dimensionality reduction like PCA.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.