Frozen MiniLM Topics Raise Coherence; Combined Narrative Sharpe Hits 1.03, Unproven

From Word Counts to Context: Topic Models for Asset Pricing

Kevin Foley, Jonathan Hartadi, Shivesh Prakash, Swapnil Vatsal

cs.CE, q-fin.PM, q-fin.ST

2026-09-28

Frozen MiniLM topics on 394k FNSPID articles lift NPMI 0.29→0.35 and Sharpe -0.08→0.31 vs LDA; spherical multi-horizon IPCA hits excess Sharpe 1.03, unproven.

What problem this solves

Bybee et al. (2023) compress financial news into daily narrative attention, how much copy that day is talking about a given theme, treat surprises versus a five-day trailing mean as shocks, estimate rolling stock covariances with those shocks, and pull a few latent factors with Sparse IPCA. Sparse IPCA writes each stock's factor loading as a function of observable characteristics and sparsifies groups of those characteristics. The text layer in that pipeline is LDA: a document is a bag of words, so word order never enters the likelihood.

Bag-of-words misses paraphrases. Two employment stories, one on layoffs and one on hiring, can land in different mixtures because the counts differ. Passages that mean the same thing in different words stay far apart. A sentence encoder maps a passage to one vector, so similar meanings can sit nearby. The test is narrow. Keep the pricing pipeline from shocks onward unchanged, swap only the text layer, and ask whether topic lists get more coherent and whether OOS portfolios move.

Method

The comparison is locked to the same materials. Both branches read 394,661 FNSPID articles from 2015 to 2023, emit 60 topics, and share the same daily attention, shocks, 252-trading-day covariance lookback, K=3 Sparse IPCA, and 41-month OOS window. The panel has 95,071 stock-month observations. The first 61 months initialize estimation; September 2020 to January 2024 is the reported window; the financial model is refit every 12 months on an expanding sample.

LDA reads the cleaned full article. A 15,000-term vocabulary (7,467 words, 7,533 pairs) is fixed before fitting. Estimation is collapsed Gibbs sampling for 800 iterations with seed 0. The transformer branch uses frozen paraphrase-MiniLM-L3-v2. Each article contributes at most three opening chunks, truncated to about 110 words, yielding 1,183,874 unit vectors of size 384. The encoder stays frozen so realized returns never enter the text layer, and so the comparison stays fair to LDA. Mini-batch k-means clusters the passages. Soft assignment uses cosine similarity at temperature 0.07, then word-count pooling produces article weights. Class-based TF-IDF only labels clusters and scores NPMI. It does not enter pricing.

The inputs are not matched. LDA sees the full article; ST sees lead chunks. Term-ranking rules differ. The paper reads the observed gap as representation plus text span.

Two extensions are reported separately. Spherical k-means keeps cluster centers on the unit sphere and updates by angle. Multi-horizon IPCA estimates covariances of the same shocks at exponential half-lives of 20, 60, and 120 trading days, expanding the instrument vector from 61 to 181. A group penalty turns a narrative on or off at all three horizons. K stays 3. Returns switch to excess.

Results

Table 1 is a development sequence, not a component-wise ablation. The OOS window is 41 months.

SpecReturnsHalf-livesMean NPMIOOS Sharpe
LDA, single-horizonTotal600.2875-0.0810
Frozen ST, single-horizonTotal600.34690.3059
Frozen ST, multi-horizonExcess20/60/1200.34690.6605
Spherical ST + sparse-soft term head, multi-horizonExcess20/60/1200.46911.0334

In the controlled comparison ST raises mean NPMI by 0.0594 and OOS Sharpe by 0.3869 versus LDA. An equal-weight market book posts a total-return Sharpe of 0.8166 on the same window, above both single-horizon narrative books. Multi-horizon ST moves Sharpe from 0.3059 to 0.6605, while also switching to excess returns and a different penalty grid. The spherical spec then reaches 1.0334.

The tests do not establish a win. The paired test of ST versus LDA has p=0.22. Spherical versus the prior multi-horizon ST run has paired p=0.493. A six-month block bootstrap 95% interval for the Sharpe difference is [-0.903, 1.682] and includes zero. The spherical book has 81.68% annualized volatility and a 62.23% max drawdown. Charts at 10% volatility are ex-post rescales.

Coherence and returns come apart. The sparse-soft term head lifts NPMI from 0.3702 to 0.4691 while daily attention series agree to 1-6e-14. Later refits of the spherical model keep all 60 narratives. Group sparsity does not shrink the topic set.

Why it matters

What transfers is the back half of the Bybee pipeline: shocks, covariance characteristics, Sparse IPCA, OOS tangency weights. The text layer can be swapped for a frozen MiniLM plus clustering without rewriting the pricing code. The encoder never sees returns. Code and derived weights are public; news comes from public FNSPID.

This is an incremental swap plus a cleaner same-pipeline comparison. It saves LDA bag-of-words tuning and adds chunking, clustering, and soft assignment. A 41-month window, specs chosen after inspecting that window, 81.68% volatility and a 62.23% drawdown do not make a tradable book. The observed gap is a reason to freeze the text layer on the training window and retest on a later holdout.

Limitations

LDA and ST see different amounts of each article. Topic count is locked at 60 and seeds are not swept. Vocabulary and clusters use the full 2015-2023 news sample. Instrument column scales use the full panel, including OOS months. The OOS label covers the financial refit schedule only. The pretrained encoder's training text overlaps the evaluation period. Missing intraday timestamps block any check that news arrived before the trade.

Available tests do not establish a Sharpe gain. The 1.03 row stacks excess returns, a different penalty grid, and a clustering change. Bybee et al. used Wall Street Journal copy from 1984 to 2017 and 180 topics. Those Sharpes are not a same-window benchmark.

Terms

Source

What people are saying

Related papers

All paper explainers