Portfolio

Bloomberg LLM POC Late 2023 – early 2025

Named-entity recognition LLM POC

I co-led a proof of concept that fine-tuned an LLM to find supply-chain relationships in press releases, with people checking each one. It won funding to become a program.

3,000

Sentences processed in one month

2,000

Relationships new to the dataset

1,000

Relationships re-confirmed, their four-year clocks reset

Role
Co-lead: the data, the pipeline, the validation app and its vendor training, and the investment case; a partner on the evaluation
Team
AI Engineering, who ran the fine-tuning, and the Supply Chain data team
Timeline
About eighteen months: the build from late 2023, training, validation and review batches through Q1 2024, then the pitch, and funding by early 2025
Stack
Models: FLAN-T5, Llama 2 and 3, Mixtral and BERT, tuned with LoRA and QLoRA. Pipeline: JSON batches to an AWS-based store, uploaded to the review app every week. Review app: Java and HTML.

Before

Bloomberg’s supply-chain data shows who supplies whom: 480,000 relationships among 28,000 public and 93,000 private companies, going back to 2006. Investors use it to model a company’s revenue and costs, to find trades and to weigh risk.

Every one of those relationships was collected by hand. Companies don’t publish their suppliers in a table; they mention them in a paragraph of a 10-K or a line of a press release. So vendors read whole documents, one at a time, in an order set by a fixed list of tickers, in a collection tool that struggled with long filings.

It couldn’t keep up. By our estimate, at least 200,000 relationships sat in documents we monitored but hadn’t captured, and of 2023’s documents, only 52% were processed within a year.

Representative diagram. The sources and steps are the real ones, simplified; the shape is true.

Why it mattered

Clients had noticed, and it cost sales: of the eight clients whose feedback went into the investment case, seven didn’t buy. A quantitative researcher at a global bank found our coverage of European companies’ suppliers thin. A European private bank had spotted relationships in public filings that we’d missed. Others wanted smaller companies, or more relationships in China and the Middle East.

Competitors were doing it with AI. Altana AI used large language models to pull supply-chain data out of bills of lading, and had raised $200 million. Everstream Analytics, which predicts suppliers further down the chain with AI, raised $50 million in 2023. A dataset that grows by hand can’t keep pace with one that grows by model.

And time worked against the dataset. A relationship has to be re-verified every four years to stay active, so every document left too long in the queue risked letting a real relationship expire.

The moves

The bet was to fine-tune an open LLM to find the two companies in a sentence and say which supplies the other, and to put a person between the model and the dataset. I co-led it and coordinated the teams; AI Engineering ran the fine-tuning and the evaluation.

01

Make the sentence the unit of work.

The engineering

Representative
{
  "story_id": "PC8356942",
  "reported_by": "Boeing",
  "date": "2023-09-03",
  "passages": [
    {
      "sentence": "Honeywell will supply …",
      "supplier": "Honeywell",
      "customer": "Boeing",
      "supplies": "flight deck systems"
    },
    {
      "sentence": "Boeing will deliver …",
      "supplier": "Boeing",
      "customer": "United Airlines",
      "supplies": "737NG, 787 Dreamliner"
    },
    …
  ]
}
02

Fine-tune a model to find the pairs.

The engineering

task
  find the companies in a sentence
  decide if one supplies the other
  tell the supplier from the customer
  map each company to its identifier
trained   ~20,000 verified records
models    BERT, FLAN-T5, Mixtral,
          Llama 2, Llama 3
tuning    full, LoRA, QLoRA,
          against zero-shot
scored    precision, recall, F1,
          inference time
picked    FLAN-T5-Large, Llama3-8B
          (as of Q3 2024)
03

Have people confirm what the model found.

The engineering

Representative
Newswire
Press release wire
Story ID
PC8356942
Date
09/03/2023
Reported by
Boeing
  1. Honeywell will supply flight deck systems for Boeing aircraft under the agreement announced today.

    Customer
    Boeing
    Supplier
    Honeywell
    BBID 1
    12345
    BBID 2
    678910
    Product / service
    Flight deck systems
  2. Boeing will deliver additional 737NG and 787 Dreamliner aircraft to United Airlines through the end of the year.

    Customer
    United Airlines
    Supplier
    Boeing
    BBID 1
    54321
    BBID 2
    12345
    Product / service
    737NG, 787 Dreamliner
Recreated from my wireframe; the companies and identifiers are examples.

After

One press release, as the pipeline left it: three passages the model found, two confirmed in review and one rejected. Underneath are the records behind each one.

Honeywell will supply flight deck systems for Boeing aircraft under the agreement announced today.

New relationship

Boeing will deliver additional 737NG and 787 Dreamliner aircraft to United Airlines through the end of the year.

Boeing supplies United Airlines · 737NG, 787 Dreamliner Re-confirms existing

Boeing and Honeywell executives will both speak at next month’s aerospace conference.

story PC83569423 passages · grouped for review
p1 · supplier ORG[0:9] → customer ORG[46:52]ids 678910 → 12345confidence 0.94confirmed → insert
p2 · supplier ORG[0:6] → customer ORG[68:83]ids 12345 → 54321confidence 0.88confirmed → reset 4-yr clock
p3 · supplier ORG[11:20] → customer ORG[0:6]confidence 0.41rejected → negative examplejudgments → training data

Drag the divider, or focus it and use the arrow keys. The outlined parts open the engineering behind them.

Representative data; the confidence scores are illustrative.

What happened

In one month, we processed 3,000 sentences the model had picked out of the newswires. Of those, 2,500 held real evidence of a supply-chain relationship, and between them they named ~3,000 relationships, since one sentence can name more than one.

As of the third quarter of 2024, the evaluation pointed to FLAN-T5-Large and Llama3-8B as the open models to take to production.

3,000

Sentences processed in one month

2,000

Relationships new to the dataset

1,000

Relationships re-confirmed, their four-year clocks reset

From proof of concept to program

The proof of concept was half the work. The other half was the case for funding the real thing, which I co-wrote with supply-chain management, product and the enterprise team. It sized the gap at 200,000 relationships against a 52% timeliness baseline, set the lost deals and the funded competitors beside it, and modeled the revenue. Then it set the measures the program would be judged on: active relationships from 481,000 to 578,000, public companies reviewed in English from 23,000 to 31,000, and every document processed within a year.

We presented it to senior leadership. It won executive approval and more engineering resources to build the full system, and the engineers began building it out at scale.

Its forecast, for an English model reading press releases and filings:

+100K

New relationships forecast

15K

Monthly Terminal users of the data, from 10K forecast

$10M

Enterprise ARR, from about $4M forecast

Drawn from the write-up. Ideal state: the design the funding was for. Confident findings load straight into the data platform, and the rest go to people, a sentence at a time. The dashed step was outside the funding ask.
The investment case, redacted PDF, 8 pages

What I’d carry forward

Build the review into the design. The reviewer wasn’t a safety net under the model; the review was also where the training data came from, so every judgment counted twice.

Measuring the model was the easy half. Precision and recall picked the model; making its output reviewable, one sentence and two marked companies at a time, is what earned people’s trust.

Sell the program, not the model. The case that won funding sized the gap, set the lost deals and funded competitors beside it, and named the measures the program would answer to.