Unleashing Expert Opinion from Social Media for Stock Prediction

Wanyun Zhou, Saizhuo Wang, Xiang Li, Yiyan Qi, Jian Guo, Xiaowen Chu

This paper tackles one of the most persistent "holy grails" of quantitative finance: extracting actionable alpha from the chaotic noise of social media. By identifying reliable contributors and leveraging market relationships, the researchers demonstrate a significant leap in predictive performance.

TL;DR

The authors present a framework that identifies "true" and "inverse" experts on StockTwits to filter out social media noise, then uses a Dual Graph Attention Network (DualGAT) to propagate these sparse expert signals across the entire market. By treating consistently wrong users as valuable contrary indicators and leveraging inter-stock relationships, the model significantly outperforms traditional price-volume and sentiment-based baselines.

What Problem Does This Paper Address?

While social media platforms like StockTwits offer real-time investor sentiment, they are notoriously noisy. The authors demonstrate that "the wisdom of the crowd" is often a myth in finance: simple aggregated sentiment (the "mob") predicts next-day stock movements with only ~47% accuracy—worse than a coin flip.

The challenge is twofold:

  1. Expert Identification: Distinguishing genuine experts from "lucky" users, bots, or scammers in a sea of high-frequency spam.
  2. Signal Sparsity: Even if experts are identified, they only post about a tiny fraction of stocks. In the authors' dataset, expert signals covered only 4% of stock-day combinations, making it impossible to build a diversified cross-sectional strategy without further processing.

Methods

The researchers proposed a multi-stage pipeline to transform social media noise into predictive signals:

Overview of the expert identification and signal propagation pipeline.
  • Dynamic Expert Tracing: Instead of just looking at recent wins, the algorithm evaluates users over a two-year window across different market regimes. It identifies True Experts (consistently right) and Inverse Experts (consistently wrong). The latter are treated as "contrary indicators"—if an inverse expert is bullish, the model takes a short position.
  • Trend-to-Return Transformation: Binary "Bullish/Bearish" labels are converted into continuous expected return ratios based on the stock's historical performance during similar sentiment phases.
  • DualGAT (The Core Innovation): To solve the sparsity problem, the authors built a Dual Graph Attention Network. It uses two distinct graphs to "spread" the 4% of expert knowledge to the other 96% of stocks:
  • Industry Graph: Connects stocks within the same GICS sectors (static).
  • Correlation Graph: Connects stocks based on 30-day price movement correlations (dynamic).
  • Message Passing: Using a two-hop attention mechanism, the model learns how much weight to give to an expert signal from a related stock (e.g., an expert opinion on Nvidia might propagate to AMD via the correlation graph).

Datasets

  • StockTwits: A massive, curated dataset of posts from 2010 to 2023. Unlike Twitter, StockTwits allows users to self-label posts as "Bullish" or "Bearish," removing the ambiguity of algorithmic sentiment analysis.
  • Market Data: Price-volume and fundamental data for the Nasdaq 100, S&P 500, and the "Updated StockNet" dataset.
  • External Sources: Price data from Polygon.io and fundamental indicators from EODHD.

Key Insights and Ideas

  • The Value of Being Consistently Wrong: One of the most interesting findings is the formalization of the "Inverse Expert." Behavioral biases lead many retail traders to lose money systematically; identifying these users provides a reliable signal for what not to do.
  • Sparsity is a Graph Problem: By leveraging the high dependency between asset returns, a few high-quality "anchor" signals can be propagated through the market network to inform predictions for stocks with zero social media coverage.
  • The Mob is Noisy, Not Random: The 47% accuracy of the "mob" suggests that retail sentiment isn't just random; it's often a lagging indicator or driven by emotional reactions to price changes rather than predictive insight.

Key Results

The results are striking across several quantitative metrics:

Prediction accuracy comparison across different horizons.
  • Expert Accuracy: The tracing algorithm identified experts with a predictive accuracy of 72.8%, far higher than the 47% baseline.
  • Portfolio Performance: On the Nasdaq 100, the DualGAT model achieved an Annualized Return (AR) of 32.91% and a Sharpe Ratio (SR) of 2.69. For context, the best-performing baseline (SAMBA) hit an SR of only 0.73.
  • Coverage Expansion: Through two-hop propagation, the model increased signal coverage from the initial 4% to approximately 90% of the stock universe.
  • Synergy: The model performed better when combining expert signals with traditional financial features than when using either in isolation, proving that social media "alpha" is complementary to price-volume data.

Limitations and Future Work

  • Horizon: The study focuses on daily prediction. The authors acknowledge that social media signals are most relevant at this timescale and might lose efficacy for long-term strategies.
  • LLM Integration: Currently, the model relies on self-labeled sentiment tags. Future work could use Large Language Models (LLMs) to extract deeper nuances from the text of expert tweets.
  • Social Influence: The current model doesn't weigh "experts" by their follower count or social reach, which could be an additional dimension for future research into market-moving potential.

The Code: The authors have made their implementation available at https://github.com/wanyunzh/DualGAT.

Summary updated

BibTeX
@misc{zhou2025unleashing,
  author = {Wanyun Zhou and Saizhuo Wang and Xiang Li and Yiyan Qi and Jian Guo and Xiaowen Chu},
  title = {{Unleashing Expert Opinion from Social Media for Stock Prediction}},
  year = {2025},
  eprint = {2504.10078},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.10078},
}
Figure