[Paper Review] Stock Market Prediction from WSJ: Text Mining via Sparse Matrix Factorization
This paper proposes a unified sparse matrix factorization model that jointly models stock price movements and Wall Street Journal news articles in a shared low-dimensional latent space, enabling accurate prediction of stock direction for all S&P 500 stocks—even those not mentioned in news—achieving 55.7% accuracy and outperforming benchmarks in backtested trading strategies with higher returns and Sharpe ratios.
We revisit the problem of predicting directional movements of stock prices based on news articles: here our algorithm uses daily articles from The Wall Street Journal to predict the closing stock prices on the same day. We propose a unified latent space model to characterize the "co-movements" between stock prices and news articles. Unlike many existing approaches, our new model is able to simultaneously leverage the correlations: (a) among stock prices, (b) among news articles, and (c) between stock prices and news articles. Thus, our model is able to make daily predictions on more than 500 stocks (most of which are not even mentioned in any news article) while having low complexity. We carry out extensive backtesting on trading strategies based on our algorithm. The result shows that our model has substantially better accuracy rate (55.7%) compared to many widely used algorithms. The return (56%) and Sharpe ratio due to a trading strategy based on our model are also much higher than baseline indices.
Motivation & Objective
- To address the challenge of predicting stock price direction using only daily WSJ news articles and closing prices, without relying on named entity recognition or sentiment analysis.
- To model the joint correlation between stock price co-movements, news article content, and their cross-correlation in a unified latent space.
- To enable accurate prediction across all 500+ stocks in major indices—even those not explicitly mentioned in news—while maintaining low model complexity.
- To develop a robust, data-efficient method that performs well despite limited training data (only ~1500 trading days over six years).
- To demonstrate that latent structure in news and price data can yield profitable trading strategies even under the efficient market hypothesis.
Proposed method
- Formulates a unified latent factor model where stock prices and news articles are embedded into a shared low-dimensional latent space using sparse matrix factorization.
- Uses Singular Value Decomposition (SVD)-inspired decomposition to extract latent factors representing common themes such as industry sectors or topics (e.g., energy, politics).
- Applies Alternating Direction Method of Multipliers (ADMM) to solve the non-convex optimization problem with matrix variables, enabling regularization and overfitting control.
- Imposes sparsity constraints on the factor matrices to handle the high dimensionality relative to the number of training days (only ~1500 days over six years).
- Avoids natural language processing (NLP) techniques like sentiment analysis or named entity recognition, relying solely on co-occurrence patterns in text and price data.
- Leverages the assumption that news articles and stock prices co-vary along shared latent topics, enabling inference on unseen stocks.
Experimental results
Research questions
- RQ1Can a unified latent space model effectively capture and exploit correlations between stock price movements, news article content, and their cross-correlation for prediction?
- RQ2To what extent can a model predict stock direction for stocks not mentioned in news articles by leveraging latent correlations across the entire market?
- RQ3Does a sparse matrix factorization approach without NLP outperform traditional text-based models in stock prediction accuracy and trading performance?
- RQ4How does the model perform under real-world constraints such as outdated or irrelevant news articles in the input?
- RQ5Can such a model generate a profitable trading strategy with higher Sharpe ratio and cumulative return than standard indices?
Key findings
- The model achieves a directional prediction accuracy of 55.7% across over 100,000 test cases, significantly outperforming textbook time series models with accuracy below 51.5%.
- The model successfully predicts stock movements for more than 500 stocks daily, including those not mentioned in any WSJ article on the same day.
- A backtested trading strategy based on the model yields a 56% cumulative return and a higher Sharpe ratio than benchmark indices over the test period.
- The model identifies market drawdowns in advance—e.g., on June 1, 2012, and November 7, 2012—by detecting latent signals in news related to the European debt crisis and fiscal cliff fears.
- The model remains robust even when a large portion of input news is outdated, as it does not require filtering for freshness, and still generates profitable signals.
- Performance is higher in 2013 than 2012, correlating with lower market volatility and better performance of baseline models, suggesting the method is particularly effective in less volatile environments.
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.