- Advertisement -

The Hidden Beta in LLM Recommendations

By Victor Brassart and Dan Edelstein at Hafnium: As LLMs become useful in coding, copywriting, and even mathematics, it is natural to ask whether they can also produce useful market recommendations. In this article, we take a step back, briefly go into what an LLM does, and see if market recommendations are consistent under small perturbations of the prompt. Some of the results are surprising and shed light on some of the current challenges of LLM applications in finance.

Changing one word in a prompt or swapping the order in which two assets are presented might seem to be trivial changes that should not affect the outputs of a frontier LLM. In practice, we show these can have drastic outcomes through a small synthetic experiment using a matched-pair design that crosses numerical and narrative signals.

We go through why an LLM output is conditional – not only on its inputs – but on the geometry of how those inputs are presented.

The Three Betas of LLMs

With careful prompting and data ingestion it is the expectation of many that LLMs are able to provide stock recommendations, or function in a feature pipeline to improve Sharpe. We wanted to test this assumption using synthetic data as to better understand the variance and possible biases of the recommendations.

The way we think about LLMs is that they act on three main sensitivities and therefore we should consider any response of the LLM as conditional on those:

Where β_L is language beta, β_P is prompt beta, and β_C is context beta.

The way we define them is as follows:

  • Language beta describes learned associations from the training set of the LLM. Depending on the training set, some associations will be considered more likely.
  • Prompt beta describes sensitivity to wording, order, task frame and answer vocabulary. Depending on your prompt, you won’t access the same parts of the LLM.
  • Context beta describes sensitivity to retrieved or supplied text.

To uncover sensitivities to the abovementioned betas, we propose then to compare a set of assets (SPX, TY, USD, Copper, MSCI EM): two at a time.

By modifying the prompt, we will mostly be able to perturb the prompt beta. It is clear however that these perturbations uncover some qualitative truths of the training sets and built-in biases of the model. Prompting an LLM to increase the weight of prior knowledge does seem to have an effect on how the model weighs its prior training dataset conditioned on the new prompt data.

The Synthetic Panel

The goal is to get the LLM to generate recommendations between two assets, each provided with separate numerical evidence and narrative parts. The cell below shows the prompt structure; only the bracketed parts were switched with a total of 480 possible combinations.

The perturbations moved the output in ways that are hard to reconcile with the model reading the evidence.

  • Order mattered. Prompting with “SPX or Copper” vs. “Copper or SPX”, the model favored the first asset in 15% of the cases. Signal was stronger for GPT 5.5 and drops to 5% with Opus 4.7; all asset pairings replicate this finding.
  • Frame mattered. With the same inputs, if you write a committee-note or risk-memo frame. The weighting between narrative and numeric completely changes. In the committee-note, Sharpe was followed in 90% of the cases, whereas the risk-memo narrative was favored 63.5% of the cases, giving a ~30% delta. Signal was equivalent across providers and all asset pairings replicate this finding with similar strength.
  • Prior permission mattered. The model anchors SPX when asked to use previous experience. If you flip the narrative and Sharpe [+2.0 and -1.0] between the two assets the LLM will still pick SPX in 1/4 of the cases. The bias is directional: the popular asset wins even when supplied evidence says otherwise. This directional anchoring is not idiosyncratic to our setup. Chon, et al. (2025) report LLMs consistently favoring specific tickers across unrelated scenarios. Stronger for Opus 4.7 by 5%, with one exception: this prompting strategy does not provide a delta between SPX and MSCI EM recommendations, which may point to similar weighting of these markets in the β_C prior.

The instinct is to treat this as a prompt-engineering problem: use a better template, fix the wording, and the issue is contained. But these results suggest something harder. The problem is not only that one prompt was poorly written; it is that nearby prompts can behave as if they are not nearby at all. A committee note, a risk memo, an order swap, and a prior-knowledge sentence are small changes to a human reader. To the model, they can activate different regions of its learned representation space. 

We are not claiming to recover the model’s internal geometry. The point is operational. If two prompts are economically equivalent to a human reader but produce different recommendations, then the recommendation function is locally irregular in the space that matters to an investor. Whether the source is token geometry, learned priors, instruction-following heuristics, or decoding dynamics, the portfolio implication is the same: the prompt carries exposure.

That is the constructive point. The prompt’s hidden beta is not obvious, but it is testable. A prompt is not a neutral container for information; it is part of the model specification. Before the output becomes a feature, the local prompt response surface has to be explored, to gain at least an intuition on its expected behavior, and therefore be “hedged” on a posteriori trading decisions.

At Hafnium, this is exactly the reason we go beyond the surface output of models and study the internal sensitivities that drive them: prompt dependence, contextual bias, latent factor exposures, and the stability of recommendations across architectures and regimes.


References

Chon, S., Kim, J., Kim, J., 2025. Multifaceted Variability in LLM-Driven Stock Recommendations.

Robinson, M., Dey, S., Chiang, T., 2025. Token Embeddings Violate the Manifold Hypothesis.

Sun, Y., Kok, S., 2025. Cognitive Biases in Prompts on LLM Outputs.

Turpin, M. et al., 2023. Language Models Don’t Always Say What They Think.

Vaswani, A. et al., 2017. Attention Is All You Need.

Subscribe to HedgeBrev, HedgeNordic’s weekly newsletter, and never miss the latest news!

Our newsletter is sent once a week, every Friday.

Guest Contributor
Guest Contributor
This article was written by a third party as a guest contribution. The content represents the views of the author(s). It was submitted and edited under HedgeNordic’s guidelines, but is not a product of HedgeNordic’s regular editorial team. The opinions expressed in this article are solely those of the author(s) and do not necessarily reflect the views or positions of HedgeNordic. This contribution may include paid content or promotional material.
Previous article
Next article

Latest Articles

BlackRock Unveils Tactical Opportunities Plus for Macro Alpha

BlackRock has launched the BSF Tactical Opportunities Plus Fund, a new liquid alternatives UCITS strategy designed to meet growing investor demand for macro strategies...

Stronger Dollar Offsets Challenging Trend-Following Environment

The NHX CTA Index, tracking Nordic managers employing managed futures, trend-following, and systematic macro strategies, gained 0.6 percent in June, lifting its return for...

Meriti Launches Smart Ränta as Alternative to Bank Savings

A year after fixed-income boutique Carlsson Norén Asset Management and its investment team joined Meriti Capital, the Swedish asset manager is expanding its fixed-income...

Simplicity to Acquire Norron’s Fund Management Business

Varberg-headquartered asset manager Simplicity AB has agreed to acquire Norron’s fund management business, taking over the management of the five UCITS funds that comprise...

Nordea’s Alpha 15 Marks 15 Years with Renewed Momentum

Nordea’s Alpha 15 MA Fund, the highest-risk, highest-return strategy within Nordea’s three-fund Alpha range of risk premia solutions, celebrates its 15-year anniversary following a...

Alfakraft Builds Global Macro Strategy Around John Ricciardi’s Macro Insight

When macro manager Nils Brobacke stepped down from managing Brobacke Global Allokering in late 2025, the team at Alfakraft Fonder faced a choice: wind...

Private Markets

A Rebound with a Bottleneck

By Alexandra Voss, CFA at SEB: Private markets are no longer in retreat, but the rebound is selective and unevenly distributed. Returns were positive...

Litigation Finance Emerges as an Uncorrelated Corner of Private Markets

Private markets have expanded far beyond traditional private equity, private credit, and infrastructure investing. Among the more specialized corners of the alternatives universe sits...

More Unknowns, More Dispersion in Private Equity

Private credit managers with exposure to software companies recently faced investor withdrawals as concerns mounted over how artificial intelligence could disrupt parts of the...

Private Markets Are Not the Problem

Formue is the largest privately owned wealth management firm in the Nordics, overseeing and advising on a total of NOK 250 billion with 425...

A Decade of Thematic Private Equity: Summa Equity Sees Stronger Tailwinds Than Ever

While parts of the private equity industry have faced a challenging dealmaking environment in recent years, Nordic mid-market buyout manager Summa Equity has navigated...

Beyond Traditional Fixed Income: Why Aegon AM Sees Opportunity Across ABS and CLO Markets

Every day, households borrow money to buy homes, finance cars, pay for education, or fund everyday consumption. These mortgages, auto loans, consumer loans, and...

Private Equity No Longer Optional as Value Creation Moves Behind Closed Doors

As businesses stay private for longer, an increasing share of value creation now happens away from public exchanges, forcing investors to rethink where they...

Financing the Energy Buildout: The Growing Role of Infrastructure Credit

Infrastructure has traditionally been viewed as one of the more defensive corners of private markets, characterized by essential services, stable cash flows, and hard-asset...

Latest Articles

BlackRock Unveils Tactical Opportunities Plus for Macro Alpha

BlackRock has launched the BSF Tactical Opportunities Plus Fund, a new liquid alternatives UCITS strategy designed to meet growing investor demand for macro strategies...

Stronger Dollar Offsets Challenging Trend-Following Environment

The NHX CTA Index, tracking Nordic managers employing managed futures, trend-following, and systematic macro strategies, gained 0.6 percent in June, lifting its return for...

Meriti Launches Smart Ränta as Alternative to Bank Savings

A year after fixed-income boutique Carlsson Norén Asset Management and its investment team joined Meriti Capital, the Swedish asset manager is expanding its fixed-income...

Simplicity to Acquire Norron’s Fund Management Business

Varberg-headquartered asset manager Simplicity AB has agreed to acquire Norron’s fund management business, taking over the management of the five UCITS funds that comprise...

Nordea’s Alpha 15 Marks 15 Years with Renewed Momentum

Nordea’s Alpha 15 MA Fund, the highest-risk, highest-return strategy within Nordea’s three-fund Alpha range of risk premia solutions, celebrates its 15-year anniversary following a...

Alfakraft Builds Global Macro Strategy Around John Ricciardi’s Macro Insight

When macro manager Nils Brobacke stepped down from managing Brobacke Global Allokering in late 2025, the team at Alfakraft Fonder faced a choice: wind...
- Advertisement -