Blog / 30 Nov 2026
Discovering Hidden Company Relationships in Latent Space
Why LLMs miss non-obvious links between companies, how working inside their ‘latent space’ fixes it, and what this means for the future of equity research.

Ask a veteran PM why they made their best call of the last 5 years and the answer rarely sounds like a formulaic, textbook answer.
Yes, they knew the company’s direct competitors, customers and suppliers. Every good analyst knows those (and their economic transmission) for the 15-20 stocks they follow closely.
What separates investors who have lived through a few market cycles is something much harder to write down: heuristics.
Pattern recognition built over thousands of meetings and dozens of quarters. The instinct that tells you a medical device distributor is going through the exact same channel-destocking squeeze you saw in semis two years ago.
Not a single AI tool in finance today touches this part of investing at all.
In our new paper, Discovering Hidden Company Relationships in Latent Space, we tested what we think is the first real step towards scaling the heuristic side of investing across thousands of companies.

Why existing AI hits a wall on non-obvious connections between companies
A great human investor can hold a rich mental map for 20 stocks (maybe more for some), but nobody can hold one for 4,000 stocks which could be roughly 8 million pairs...
When you try to build that map for 1000s of companies autonomously, three obvious approaches break down:
- Scraping all ‘named’ peers, suppliers, customers from public filings: Across 441 US and EU public companies, we scanned every public document through to the end of 2024. Only 0.61% of company pairs ever mentioned each other by name.
- Pure quantitative correlation breaks down very easily: as you would expect, correlation ≠ causation and these break down very quickly out of sample.
- Asking a frontier LLM directly for a list of the peers, suppliers, customers: We asked Claude Opus 5.5 point-blank to list every competitor, supplier, customer and supply chain partner for our 441 companies. It was very good at obvious same sector competitors, but on its 1,006 cross-sector supply chain links, the signal completely vanished out of sample.
We saw the same failure in our earlier forecasting work (Improving Forecasting with Language Models). When we handed a strong language model structurally similar companies facing a similar situation but there wasn’t an understood commercial ‘link’, the LLM repeatedly dismissed them as indirect.
Why does this happen?
There is a deeper reason that this happens, and it comes down to how language models actually generate answers.
What a language model understands internally is not the same as what it writes out loud. When a model reads an earnings call, its internal layers build a rich picture of the business.
The moment you ask the model to answer in text, however, it has to squeeze all of that through a very narrow straw: predicting the next word, one token at a time. Next token generation is trained to produce smooth, plausible, well-supported prose that resembles what humans write in reports and articles. That naturally pulls the model toward well understood relationships between companies from its training data. Anything subtle, hard to articulate, or lacking a clean commercial link gets filtered out before a single word has hit the screen.
In other words, language models working in text default to what they can neatly defend in a sentence. If there is no textbook sentence connecting Company A to Company B, they look away, even when their internal reading of both transcripts picked up the same underlying dynamics.
The idea: step one layer beneath the words
That gap between what a model represents internally and what it outputs through next-token generation pointed to a simpler approach: stop forcing the model to explain company links in words, and work directly inside its internal map (its latent space) before text generation compresses the nuance away.
So we ran a clean test.
We took a small, frozen language model (Qwen2.5-3B, released in September 2024) and let it read earnings releases, prepared remarks, and analyst Q&A across 441 companies through the end of 2024. We never asked it to write a peer list. We never gave it a single sector, industry, or country label.
Instead, we trained one tiny layer on top of its internal readings with a single rule: put two companies close together on the map when both what management is talking about and their quarterly revenue surprises repeatedly move together over time.
Then we froze the entire map on December 31, 2024, and tested it untouched on 3,154 brand-new quarters in 2025 and 2026.
What we found
Even after we stripped out every obvious peer from the map (every same-sector pair, every company that ever named another on a call, and every competitor or supply-chain link named by Claude Opus 5.5), the latent map still surfaced thousands of non-obvious cross-sector connections across 441 companies.
When we tested those links live on untouched 2025–2026 quarters, two things stood out:
- The non-obvious links carried a real, statistically significant early earnings signal. When linked peers reported earlier in the quarter, their revenue surprises pointed in the right direction for the upcoming print, nearly matching Opus 5.5’s entire list of obvious direct peers while Opus 5.5’s own cross-sector links produced no useful signal.

- The map held up on a multi-year basis. Unlike pure quantitative correlation, which largely scrambles itself once a new period begins, the latent map kept nearly half of each company’s closest peers intact from 2022–2024 into 2025–2026. It also placed brand-new, unseen companies onto the map from their call transcripts alone, and naturally ignored unrelated placebo stocks without ever seeing a sector label.

What this actually means for equity research?
The chart numbers are encouraging, but the real story is not a single earnings-season signal. It’s what this unlocks for how equity research gets done.
A first step toward solving the heuristic element of investing
Good investing has always had two halves.
The first half is explicit analysis: building a segment-by-segment model, checking customer contracts, tracking pricing, verifying a thesis line by line. Language models are already getting remarkably good at this half, as we showed in Improving Forecasting with Language Models and Identifying Regime Shifts with Language Models.
The second half is heuristic judgment: knowing where to look before the story is obvious. Recognising that something happening in industrial distribution, staffing, or European tech acquirers rhymes with a company sitting three sectors away.
Until now, AI has struggled badly with that second half because we kept judging models only by their text output. Next-token generation rewards clean, textbook prose and filters out the subtler parallels that are hard to justify in a single sentence.
Working inside latent space flips that around. It gives a language model a way to develop something closer to structured intuition: compressing what management actually says and matching it against what actually happened to the numbers across hundreds of businesses.
Learning deeply across thousands of cases and every sector
A human analyst has a hard biological cap. Over a twenty-year career, you might cover 100-150 companies deeply and live through three or four genuine regime shifts. Your heuristics are valuable precisely because they are hard-won, and limited precisely because one person can only watch and learn from so many businesses at once.
A latent map trained across sectors does not have that ceiling.
In this first test, the model learned from 441 companies and roughly 2,700 historical quarters across all 11 GICS sectors. That is already enough for it to rediscover real-world groupings without ever being told what sector or country a company belongs to. Scale that same idea across 4,000 global companies, multiple business cycles, and segment-level results, and the model is absorbing tens of thousands of real business episodes across every corner of the market.
That is how you start building cross-sector pattern recognition that no single desk can replicate manually.
Why it belongs inside a broader research system, not as a black box
We want to be clear-eyed about what this map is not.
- It does not replace GICS or an analyst’s knowledge of direct peers. Inside the same sub-industry, direct competitors still have the strongest read-across. The latent map is for everything outside those walls.
- It does not replace deep single-company research. On big revenue surprises (more than 10% beats or misses), deep single-company document work still beats a small cross-company model by a wide margin.
- You cannot blindly dump latent peers into a forecasting prompt. When we tried handing unverified latent peers straight to a forecasting model, it applied the read-across cleanly whenever the link had a clear operating story (like industrial distributor Fastenal pointing to industrial staffing firm ManpowerGroup), and explicitly rejected subtler structural peers as too indirect.
That is exactly why we think of this as Stage 00 of a broader research system (what we lay out in Mosaic Theory at Scale).
The architecture splits cleanly into two jobs:
- Discovery (Latent Space): Scan millions of company pairs across every sector and surface the handful of non-obvious companies whose language and fundamentals are moving together.
- Verification (Analysts & Deep Research Agents): Take that shortlist, read the underlying filings and calls, check whether a real economic mechanism explains the link (or whether it is just a broad macro factor), and decide how it fits into a forecast or thesis.
Discovery solves the “where do I even look?” bottleneck. Verification makes sure you never trade on a plausible story or a hidden macro coincidence.
What comes next?
This paper is a starting line, not the finished product.
If the first wave of AI in equity research was about reading one company faster, we think the next wave is about connecting the dots across all of them, giving analysts and AI systems the kind of cross-sector heuristics that used to take a career to build.