# Joint Fine-Tuning of a News LLM with Market Features

> Source: <https://quantailab.substack.com/p/joint-fine-tuning-of-a-news-llm-with>
> Published: 2026-11-09 18:55:33+00:00

**Recommendation:** Fuse market features with text inside one jointly trained network rather than late fusion, and validate the gain across multiple seeds and walk-forward months before treating it as an edge.
More in the playbook "Fine-tuning and data": <https://wpnews.pro/playbooks/training-data>

*Prefer to watch? A 3-minute video version of this study:*

## 1. Introduction

News text describes an event; recent market features describe the state the stock was in when it arrived. Most combinations of the two are late fusion: one model scores the text, another scores the market features, and the scores are averaged. Late fusion cannot represent an interaction such as positive news mattering more for a stock that has been moving 3% a day than for a quiet one.

Joint training can. Here the text encoder and the market features meet inside one network and are fitted together, so the effect of the text can be conditioned on the market state. Volatility and trend make a clean test case because neither predicts direction on its own: any gain has to come through the interaction with the text.

I test this with a LoRA-fine-tuned Llama 3.2 1B and three market features over eight walk-forward months and three random seeds. The features alone carry no signal, yet adding them raises the text model's rank correlation with 2-hour returns from 0.018 to 0.024. The gain appears in every seed but in only five of eight months, so I read it as evidence for the architecture rather than a measured edge.

It builds on earlier work with news from the same source. [Prompt-Alpha](https://quantailab.substack.com/p/prompt-alpha-16-trading-signals) read trading signals from a frozen Llama, and [its second part](https://quantailab.substack.com/p/prompt-alpha-part-2-what-happens) found six models stuck near an IC of 0.04. The [fine-tuning series on Delphic Alpha](https://delphicalpha.substack.com/p/fine-tuning-llms-for-financial-sentiment) trained a sentiment model on text alone. [The LLM methods stack](https://quantailab.substack.com/p/the-llm-methods-stack-for-quant-trading) places parameter-efficient fine-tuning and multimodal fusion among the other options. All test months here fall after Llama 3.2's December 2023 knowledge cutoff, which avoids the memorisation trap measured in [AI Models Don't Predict Markets. They Remember Them](https://delphicalpha.substack.com/p/research-ai-models-dont-predict-markets).

Paid members get the complete code in Section 6: the fusion model, the seeded walk-forward pipeline, a feature builder that reproduces this study's inputs exactly, and demo data, so the pipeline runs end to end on one GPU in minutes before it ever sees your own news.

## 2. Model

Text encoder. Each news item is tokenised and passed through Llama 3.2 1B, a 16-layer open language model. The hidden state of the final token, a 2,048-dimensional vector, is the text representation. I adapt the model with LoRA (Hu et al., Low-Rank Adaptation of Large Language Models), which adds trainable low-rank matrices of rank 4 to the attention projections of the last two layers while the 1.24 billion pretrained weights stay frozen. A projection (LayerNorm, a dense layer to 256 units, SiLU, dropout) follows.

Market-feature encoder. Three features observed before the news time are used: realised volatility over the previous two hours, volatility over the previous 20 trading days, and the 20-day trend. They are standardised with the training set's mean and standard deviation and mapped to 32 units by a projection of the same form.

Fusion head and objective. The 256-dimensional text and 32-dimensional market-feature embeddings are concatenated and passed through LayerNorm, a dense layer to 256 units, SiLU, dropout and a final linear output. The target is the return's rank within the training set, scaled to [-1, 1], and the loss is Huber. The LoRA matrices (106,496 weights), both encoders' projections and the head (about 600,000 weights) are updated together by AdamW, with learning rates of 0.0001 and 0.0002.

## 3. Experimental setup

The data are news items on 51 US stocks from January 2025 to February 2026. Evaluation is walk-forward: each month from July 2025 to February 2026 is predicted by a model trained only on earlier months, with the epoch chosen on a held-out validation slice of the training window. Every configuration is trained with three random seeds.

The ablation has three arms: market features only, text only, and text plus market features. The features were fixed before the first run and never changed. Forecasts are scored by the information coefficient (IC), the monthly rank correlation between forecast and realised return, and by AUC, the probability that a rising stock is ranked above a falling one, where 0.50 is chance.

## 4. Results

The market-feature-only model scores IC -0.002 and AUC 0.50, consistent with no directional information. The text-only model scores 0.018. The joint model scores 0.024, a relative gain of about a third, and it is ahead of the text model in each of the three seeds. The market features add value only in combination with the text, which is the interaction the architecture was built to capture.

The monthly results are noisier. The joint model leads in five of eight months, and a paired test on the monthly differences is far from significant. Because all seeds share the same eight test months, the seed agreement shows the result is not a training accident, not that it would hold in other periods.

## 5. Discussion and limitations

The transferable result is the design: a parameter-efficient fine-tune of the language model, a small standardised market-feature encoder, one head and one loss, and an ablation against the same network without the market features, repeated over seeds. Longer samples, more stocks and other market features are the natural next tests. No trading costs or positions are modelled; these are forecast-quality tests, not a backtested strategy.

Subscribe to [Quant AI Lab on the annual plan](https://quantailab.substack.com/subscribe?plan=yearly200usd&onestep=true).

The [Trader plan on Delphic Alpha](https://delphicalpha.substack.com/subscribe?plan=founding&onestep=true) includes an annual subscription to all four publications: Delphic Alpha, The Microstructure Lab, Quant AI Lab and Quantum Trading Lab. Annual and founding members also get the [Delphic Alpha books](https://delphicalpha.substack.com/p/the-delphic-alpha-books) free.
