[Paper Review] Stock Embeddings: Learning Distributed Representations for Financial Assets
This paper proposes a neural network-based method to learn distributed vector representations (embeddings) of financial assets using only historical daily returns, leveraging principles from natural language processing. The approach outperforms traditional correlation-based methods in reducing portfolio volatility, achieving a 21.3% average realized volatility in hedging tasks—significantly lower than the 23.8% baseline using Pearson correlation.
Identifying meaningful relationships between the price movements of financial assets is a challenging but important problem in a variety of financial applications. However with recent research, particularly those using machine learning and deep learning techniques, focused mostly on price forecasting, the literature investigating the modelling of asset correlations has lagged somewhat. To address this, inspired by recent successes in natural language processing, we propose a neural model for training stock embeddings, which harnesses the dynamics of historical returns data in order to learn the nuanced relationships that exist between financial assets. We describe our approach in detail and discuss a number of ways that it can be used in the financial domain. Furthermore, we present the evaluation results to demonstrate the utility of this approach, compared to several important benchmarks, in two real-world financial analytics tasks.
Motivation & Objective
- To address the gap in machine learning research focused on modeling asset relationships rather than just price forecasting.
- To develop a method for learning dense, distributed representations of financial assets using only historical return data.
- To evaluate whether these embeddings can outperform traditional correlation-based similarity measures in practical financial tasks.
- To demonstrate the utility of embeddings in real-world applications such as portfolio hedging and sector classification.
Proposed method
- The model uses a neural network architecture inspired by Word2Vec to learn embeddings from time-series returns of financial assets.
- It applies a negative sampling strategy during training to optimize for semantic similarity in return patterns across assets.
- Context windows are defined over historical return sequences, where each asset is predicted based on its neighboring assets in time.
- The model learns low-dimensional dense vectors that encode nuanced relationships between assets based on distributional similarities in returns.
- Noise reduction techniques such as Interquartile Range (IQR) filtering are applied to improve robustness and generalization.
- Cosine similarity between learned embeddings is used as a similarity measure, replacing or supplementing traditional Pearson correlation.
Experimental results
Research questions
- RQ1Can distributed representations of stocks learned from historical returns capture meaningful relationships between assets better than traditional correlation?
- RQ2How do stock embeddings compare to Pearson and Spearman correlation in identifying similar or dissimilar assets for portfolio construction?
- RQ3Can embedding-based similarity improve the performance of a two-asset hedging strategy in terms of realized volatility?
- RQ4What impact do hyperparameters like context size and embedding dimension have on the quality of learned representations?
- RQ5Can lagged or causal relationships (e.g., supplier effects) be captured through modified context window designs?
Key findings
- The proposed embedding method achieved an average realized volatility of 21.3% in a two-asset hedging task, significantly lower than the 23.8% baseline using Pearson correlation.
- Embedding-based approaches showed statistically significant improvements in volatility reduction compared to the Pearson baseline at α = 0.01.
- The best-performing variant, combining embeddings with IQR noise reduction and weight normalization, achieved the lowest average volatility across 100 random trials.
- The distribution of portfolio volatilities from embedding-based methods was more concentrated toward lower values, indicating greater robustness and consistency.
- Post-hoc Tukey HSD tests confirmed that all embedding-based methods produced significantly lower mean volatility than the Pearson correlation baseline.
- The results suggest that embedding-based similarity measures can outperform standard correlation in practical portfolio risk management tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.