Portfolio

Bloomberg Web app Late 2023 – early 2024

Annotation validator

I designed and built a web app where vendors checked each relationship an LLM found, one news story at a time. Every yes or no went back into the model as training data.

3,000

Sentences judged in one month

2,500

Confirmed, each a positive example

500

Rejected, each a negative example

Role
Designer and builder: the app’s IA, UX and UI, the review flow, the weekly pipeline, the training-data format and the vendors’ training
Team
AI Engineering, who ran the model over each batch of newswires; the vendor team, who reviewed what it found; the supply-chain data owner, who pressure-tested the design with me; and my team, who reviewed the pairs only the vendors had tagged
Timeline
Built in late 2023; weekly batches through Q1 2024, the first month with the identifiers hidden
Stack
Java and HTML, on the vendors’ work platform; JSON; an AWS-based store; a weekly scheduled upload

Before

The vendor team collected Bloomberg’s supply-chain relationships by hand, in the collection tool, and a work item was a whole document. The tool handed out the next one in the order of a static, tiered list of tickers, and a vendor read it end to end for the line or two that named a supplier or a customer. Its keyword highlighting timed out on long documents, so vendors searched with Ctrl+F outside it, came back to find the passage again, and tagged each field by hand.

The proof of concept turned that around. The model would find the sentences, and people would check them: the right two companies, the right way round, the right identifiers. That needed somewhere to check them, quick enough to keep up with the model and careful enough to trust.

Representative diagram. The steps are the real ones; the document is drawn short.

Why it mattered

Everything waited on the reviewers. Fine-tuning waited on their judgments, the investment case on the results, and the production system on the case. In the vendors’ live workflow, every sentence the model found also waited on a yes or no before it reached the dataset, so the order of the work decided which relationships got there first.

Two requirements followed. Each judgment had to be clean: the reviewer’s own call, not an echo of the model’s answer. And the screen had to be fast and uncluttered, because any friction cost time on every finding.

The moves

The bet was to put a person between the model and the dataset, and to make their time count twice: once as the check on what went in, and once as training data for the next round. I designed and built the app on the platform the vendors already worked in, built the pipeline that filled it every week, and trained the vendors to use it.

01

Bring the work to the reviewers, one story at a time.

The engineering

Representative
newswires, compliance-approved
     │
     ▼
extract    AI Engineering runs
           the model: a sentence,
           two companies, who
           supplies whom
     │
     ▼
transform  JSON, grouped by story:
           one story, one sitting
     │
     ▼
load       an AWS-based store
     │     uploaded weekly, on a
     │     schedule
     ▼
vendors’ work platform
     └─► the review screen
02

Put the most valuable stories first.

The engineering

Representative
-- each week’s batch, by story
SELECT story_id
FROM findings
GROUP BY story_id
ORDER BY
  -- 1 a company the team models
  bool_or(in_universe) DESC,
  -- 2 active, publicly traded
  bool_or(active) DESC,
  -- 3 its largest company
  max(mkt_cap) DESC NULLS LAST;
   story      univ  actv  cap
1  PC8356942  ●     ●     ████
2  PC8357310  ●     ●     ██
3  PC8357026  ●     ○     █████
4  PC8357181  ○     ●     ██████
03

Ask for a yes or a no, and route the rest.

The engineering

Representative
verdict ∧ where the story stood
  → what happens next

REJECTED
  → nothing more
CONFIRMED ∧ not in the tool yet
  → a new work item
CONFIRMED ∧ already processed
  → nothing more
CONFIRMED ∧ classifier rejected it
  → a new work item, processed
    like any other story
04

Make every judgment training data.

The engineering

Representative
{"story": "PC8356942",
 "passage": 1,
 "text": "Honeywell will supply …",
 "supplier": {"span": [0, 9],
              "bbid": "678910"},
 "customer": {"span": [46, 52],
              "bbid": "12345"},
 "product": "flight deck systems",
 "verdict": "CONFIRMED",
 "example": "positive"}

{"story": "PC8356942",
 "passage": 3,
 "text": "Boeing and Honeywell …",
 "verdict": "REJECTED",
 "reason": "NOT_SUPPLY_CHAIN",
 "note": "conference co-mention",
 "example": "negative"}

→ the next fine-tuning round

After

The same press release as on the NER page, as a reviewer saw it once the identifiers were showing: three findings, each with its yes or no. Underneath is what the app did with each one.

Annotation validator

· highest priority first

Newswire
Press release wire
Story ID
PC8356942
Published
Sep 3, 2023 · 09:14
Reported by
Boeing
Confirmed

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

CustomerBoeing
SupplierHoneywellBBID 678910
Product / serviceFlight deck systems
Confirmed

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

CustomerUnited AirlinesBBID 54321
SupplierBoeingBBID 12345
Product / service737NG, 787 Dreamliner
Rejected

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

CustomerBoeingBBID 12345
SupplierHoneywellBBID 678910
Product / serviceNone found

2 confirmed · 1 rejected

Next story

batch saved to an AWS-based store→ the vendors’ platform, weekly
story PC8356942 · 3 passages, grouped#1 · in universe · active · largest Boeingcollection tool · no work item yet
one row per passage the model returnedbbid_1 customer · bbid_2 supplier
p1 · supplier ORG[0:9] → customer ORG[46:52]ids 678910 → 12345 · SUPPLIESCONFIRMED → positive examplenot in the tool yet → new work item
p2 · supplier ORG[0:6] → customer ORG[68:83]ids 12345 → 54321 · SUPPLIESCONFIRMED → positive examplesame story → same work item
p3 · supplier ORG[11:20] → customer ORG[0:6]REJECTED · NOT_SUPPLY_CHAINnote: conference co-mentionnegative example · nothing to route
3 judgments → 3 training records→ the next fine-tuning round

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

Representative data. The story, the companies and the identifiers are my wireframe’s examples, as on the NER page; the time of day is invented.

How I measured it

A judgment measures the model only if it’s the reviewer’s own.

So for the first month, the app hid the model’s identifiers for the two companies, and reviewers judged each relationship from the passage alone. After that, each identifier showed under its company’s name, and reviewers checked those too: whether each name the model found had been matched to the right company. That measured the name-to-identifier mapping, and helped improve it.

On the weekly newswire batches, the model’s precision, recall and F-score came from the review itself. Reviewers confirmed or rejected each finding, and searched each story for any relationship the model had missed.

The blind monthOne finding · two companies

The first month

Customer
Boeing
Supplier
Honeywell

After it

Customer
BoeingBBID 12345
Supplier
HoneywellBBID 678910
Representative. For the first month the app hid the model’s identifiers; after it, each showed under its company, for reviewers to check.

I measured the old workflow, too. Every story the document classifier had auto-rejected that held a confirmed relationship was a whole-story miss: the vendors never saw it.

A small share of the model’s stories had passed the classifier, so vendors had tagged them by hand before the model ran. Those tags were blind to the model, which made them an independent benchmark. I matched them against the model’s confirmed findings, pair by pair, and my team reviewed every pair only the vendors had tagged: valid ones were the model’s misses, and invalid ones were vendor errors. Confirmed pairs only the model had found were the old workflow’s misses. The comparison covered only the overlap, but it gave a first read on the old workflow’s precision and recall alongside the model’s.

The comparisonRepresentative

-- stories both had seen: each
-- pair, and what it tells us
SELECT story_id, pair,
  CASE
    WHEN f.pair IS NULL AND r.valid
      THEN 'model miss'
    WHEN f.pair IS NULL
      THEN 'vendor error'
    WHEN v.pair IS NULL
      THEN 'workflow miss'
    ELSE 'both caught it'
  END AS outcome
FROM vendor_tags v
FULL JOIN confirmed_findings f
  USING (story_id, pair)
LEFT JOIN pair_reviews r
  USING (story_id, pair)
WHERE story_id IN
  (SELECT story_id FROM both_saw);

What happened

In January 2024, reviewers judged 3,000 sentences the model had found and confirmed 2,500 of them. Every judgment went back to the model in a round of fine-tuning during the proof of concept.

3,000

Sentences judged in one month

2,500

Confirmed, each a positive example

500

Rejected, each a negative example

What it led to

The proof of concept won funding to build the full system, and that design kept people in the loop: confident findings load straight into the data platform, and the rest go to people.

The app’s unit of work became the plan too. The investment case asked to move work items from the document to the sentence, the unit reviewers had worked in here. The model, the relationships it added and the funding are on the NER LLM POC page.

What I’d carry forward

Make the review a data source. Keep every no, and its reason: counted, the reasons showed which failures to fix first.

Hide the answer while you measure it. For the first month, reviewers couldn’t see the model’s identifiers, so their judgments were their own.

Keep the decision small. A yes or a no is quick, and everything after it can be automatic.