All benchmarks

  Customer-reported

A fine-tuned 7B model beat GPT-4 on Checkr’s messiest background checks

Checkr runs more than 1.5 million background checks a month. On the messy 2% of records, a fine-tuned Llama-2 7B was more accurate than GPT-4, and answered in half a second instead of 15.

The result

  • Quality

    Accuracy on the 2% ‘difficult’ records (messy charges, 230 categories). Small model: Llama-2-7b, fine-tuned. Large model: GPT-4 (charge, instructions and the 230 categories in the prompt).

    85.0%vs 81.8%

    Ahead by 3.2 points

    Llama-2 7B, fine-tuned85.0%
    GPT-481.8%

    Accuracy, messy 2% of records · higher is better

  • Latency

    Round-trip time per request from the post’s table (GPT-4 with retrieval: 7 s); the post says the fine-tune typically answered in under half a second. How it was timed, and on what hardware, isn’t stated. The later production model (llama-3-8b-instruct on Predibase) is reported at 0.15 s, which belongs to that model, not to this comparison.

    30×faster

    Llama-2 7B, fine-tuned0.5 s
    GPT-415 s

    Hardware: not stated by the source.

    s per answer · lower is better

The story

The hardest 2% of background checks

Checkr runs background checks for employers. Each report lists the criminal or civil charges found for a candidate, and each charge has to be put into one of about 230 categories, such as disorderly conduct, so employers can apply their hiring policies automatically. Checkr says it processes more than 1.5 million checks a month.

A tuned logistic-regression model handles about 98% of the records. The rest are noisy, unstructured charge descriptions. A deep neural network built for them classified only half with decent accuracy, leaving 1% of all records for customers to review by hand. That 2% is what Vlad Bukhin, a staff ML engineer at Checkr, set out to fix with language models.

First try: GPT-4

Large model

GPT-4

Size not disclosed · OpenAI

Used as released, prompted with the charge, instructions and all 230 categories; a second setup added 6 retrieved training examples (RAG)

Base
General model; snapshot not stated

Bukhin first used GPT-4 as a general ‘expert’ model, prompted with the charge, instructions and the full list of categories. It reached 87.8% accuracy on the easier records and 81.8% on the difficult ones. Retrieval, six similar examples from the training set added to each prompt, lifted the easier set to 95.8% but dropped the difficult one to 79.3%. In a Computerworld interview he explains why: the messy records don’t appear in the training set, so there was little useful to retrieve.

Then: a small model trained on Checkr’s own labels

Data

Checkr’s labelled charge records

150,000 rows

Checkr’s own background-check data, annotated in-house since before LLMs

The test sets’ size, sampling and labelling aren’t described.

Small model

Llama-2-7b

7B · Meta

Fine-tuned by Checkr on its labelled records; given only the charge text, with no instructions or examples

Base
Llama-2-7b (base or chat checkpoint not stated)

Next he fine-tuned Llama-2-7b, an open model from Meta, on Checkr’s labelled data: 150,000 rows, annotated in-house over years. The fine-tuned model was given only the charge text, with no instructions or examples. It reached 97.2% on the easier records and 85.0% on the difficult ones, ahead of both GPT-4 setups. Pairing a fine-tuned Llama-2-chat with GPT-4 added nothing.

Training

Fine-tuning

LoRA or full fine-tune not stated for this run

Not stated: hardware, time and cost.

How this run was trained isn’t described: not the platform, the GPU, the epochs or the learning rate. Bukhin writes that he tried several fine-tuning and inference platforms, that LoRA matched a full fine-tune at lower training cost and time, and that his fine-tunes were not very sensitive to hyperparameters.

Evaluation

Test set
Two record sets: the 98% ‘easier’ and the 2% ‘difficult’ records
Metric
Accuracy: share of records put in the right category
How it was compared
Same two sets for every model. GPT-4 got the charge, instructions and all 230 categories (with RAG, 6 examples); the fine-tune got only the charge. GPT-4’s snapshot and temperature aren’t stated.

Not reported: the number of test items.

Speed and cost

The same table gives speed and cost. A GPT-4 answer took about 15 seconds round trip, 7 with retrieval; the fine-tuned model took about half a second. In the interview Bukhin puts the cost at about US$12,000 a month for GPT-4, about US$7,000 with retrieval and about US$800 for the small model. Neither source says how these were measured, on what hardware, or for how many requests.

Checkr later moved production to a fine-tuned llama-3-8b-instruct on Predibase, whose blog carried Bukhin’s post. He reports about 90% on the difficult records and 0.15-second responses for it, and his slides say it runs on half an NVIDIA A100. Those numbers belong to the later model, not to the comparison above.

All the numbers

Show all numbersHide all numbersEvery model · Cost, latency and energy · The full table · The vendor’s version

Every model on the headline test

Cost, latency and energy, as reported

Cost · monthly bill
≈ US$ 800 / monthhardware and platform not stated for this run
US$ 12,000 / monthOpenAI API, hardware not disclosed
As reported. Volume wasn’t broken down, so there is no per-1,000 figure. The one NVIDIA A100 on Predibase’s cloud (Computerworld) serves the model Checkr runs today, a fine-tuned Llama-3 8B, not this Llama-2 7B.
Latency · per answer
≈ 0.5 s
≈ 15 s
Energy
Not reported

The full table

ModelMessy 2%BulkPer answerMonthly cost
Llama-2 7B, fine-tuned85%97%≈ 0.5 s≈ US$ 800
GPT-482%88%≈ 15 sUS$ 12,000
GPT-4 + RAG79%96%≈ 7 s≈ US$ 7,000

The vendor’s version

Later, in production, Checkr moved to a fine-tuned Llama-3-8B-Instruct. Bukhin’s post reports it at 90% on the hard cases and about 0.15 s per answer; Predibase’s case study (summarised by ZenML) reports 90% vs 80–82% and about 5× lower cost, from 150,000 training examples. This card leads with the 85% result, which has GPT-4 in the same table.

Worth knowing

  • These are interview and blog figures from the customer and the vendor, not a controlled benchmark. The test set is not described.
  • The two sources disagree on which small model produced the 85% result (Llama-2-7b in the blog, a Llama-3 ~8B in Computerworld); this page follows Bukhin’s own post. Computerworld’s single NVIDIAA100 and ‘few hours’ describe the Llama-3 model.
  • The GPT-4 baseline is from 2024 and its version is not stated.
  • The press numbers imply about 15× lower cost; the vendor says about 5×. We show the reported figures and don’t pick one.
1 more caveat
  • Computerworld also compares fine-tuning cost to ‘a 1.8 billion-parameter GPT-4 model’. OpenAI has never published GPT-4’s size, so this page doesn’t use that line.

Weights on Hugging Face

Weights not published

Checkr’s fine-tuned weights are private. Base models (gated on Hugging Face, Meta licence):

GPT-4: closed, no weights.

Sources

  1. Lucas Mearian, ‘Checkr ditches GPT-4 for a smaller genAI model, streamlines background checks’, Computerworld, 30 Sep 2024Press (interview)
  2. Vlad Bukhin (Checkr), ‘Fine-Tuned SLMs Help Checkr Optimize Background Checks’, Predibase blog, 3 Oct 2024 · archived copyVendor channel, written by the customer
  3. Predibase, ‘Customer Story: Streamlining background checks with small language models’ (PDF case study)Vendor
  4. ZenML LLMOps Database summary of the Predibase case studySecondary summary
1 more source behind this page
  1. LLMOps Micro-Summit: Checkr - Streamlining Background Checks with a Fine-tuned Classifier on Predibase (PDF)
Share this benchmark

Drawing the image…

Post text