Skip to content
Machine Learning

Why Training Data Is the Most Important Factor in Face Recognition Quality

Training data is the most important factor in face recognition quality: once a model is big enough, more and more varied faces beat a cleverer architecture. Face datasets grew from about 500,000 images in 2014 to 260 million in 2021. A good dataset has many people, many photos each, clean labels and wide variety in age, ethnicity, lighting and pose. Ollie's network was trained on about 5.8 million images of 85,742 people.

The Ollie teamAugust 3, 2026 · 3 min read
Rows of full bookshelves in a library
Image: Geonuch, CC BY-SA 4.0, via Wikimedia Commons (resized)

Data Beats Cleverness

Early deep learning research spent a lot of effort on new network designs. Over time, a pattern became clear across vision, language and speech: once a model has enough capacity, the amount and quality of training data matter more than architectural tricks. Face recognition followed the same path.

A good example: Google's FaceNet in 2015 reached 99.63% on LFW with a fairly standard network, but trained on about 200 million images of 8 million people, far more data than academic groups had. The architecture wasn't the secret. The data was.

How Face Datasets Grew

DatasetYearImagesPeople
CASIA-WebFace2014~494,00010,575
VGGFace20152.6 million2,622
MS-Celeb-1M2016~10 million100,000
VGGFace220183.31 million9,131
MS1MV220195.8 million85,742
Glint360K202117 million360,000
WebFace260M2021260 million (42 million after cleaning)4 million (2 million after cleaning)

Each jump brought gains, especially on hard tests like IJB-C with strict false match limits. The WebFace260M team showed that a cleaned subset of 42 million images could train models that beat those trained on smaller sets, even with the same architecture.

Read more: VGGFace2 Explained: 3.3 Million Faces of 9,131 People

What Makes a Good Face Dataset

  1. Many identities. Margin losses like ArcFace and CosFace learn by separating people. More people means more practice at telling faces apart.
  2. Enough photos per person. At least a few dozen, so the model sees each person across conditions.
  3. Variety within each person. Different ages, lighting, angles, expressions and cameras, so the model learns what to ignore.
  4. Clean labels. A photo filed under the wrong name teaches the model to merge two people. Web-scraped sets are often 10% or more mislabelled before cleaning.
  5. Demographic balance. Groups that appear less get less practice, which shows up as higher error rates. See accuracy across demographics.
  6. No overlap with test sets. If benchmark people are in the training data, the scores are inflated.

Width vs Depth

Dataset designers face a trade-off between "wide" (many people, fewer photos each) and "deep" (fewer people, many photos each). Research by Masi and others found that both matter, but for the margin losses used today, width tends to help more, as long as each person has enough photos to define their cluster.

That's the logic behind MS1MV2, a cleaned version of MS-Celeb-1M prepared by the InsightFace team: about 85,742 people with an average of around 68 photos each. It became the standard training set for ArcFace-era models, so results are easy to compare.

Read more: ArcFace: The Loss Function That Makes Modern Face Recognition So Accurate

Get new guides by email

By joining, you agree that Ollie can email you about new features and style tips. Every email has an unsubscribe link. Privacy

How Ollie's Training Data Was Used

Ollie's 20-layer network was trained from scratch on one of these public research datasets, with no pretrained weights, using CosFace loss. Before training, every person who appears in the LFW benchmark was removed from the data, so the 99.5% LFW score measures faces the model had never seen. Training took about 10 days on a single RTX 4060 Ti.

Training from scratch was a deliberate choice. The usual shortcut is transfer learning: start from a model someone else trained and fine-tune it. That's faster, but you inherit whatever the original model learned, including its biases and licence terms.

Ollie's celebrity search index is separate from the training data. It's built from freely licensed Wikimedia Commons photos and isn't used for training. See how the celebrity database was built.

The Ethics of Face Data

Most large face datasets were scraped from the web without the consent of the people in them. After criticism, Microsoft withdrew MS-Celeb-1M in 2019, Duke University withdrew its DukeMTMC dataset, and others followed. Copies of some datasets still circulate, and their use is a live debate in the research community.

Newer approaches try to reduce the problem: synthetic face datasets generated by AI, datasets collected with explicit consent, and stricter licences. Synthetic data has improved fast but still trails real data on hard benchmarks. Expect this to be one of the biggest changes in face recognition over the next few years.

Frequently Asked Questions

Why is training data so important for face recognition?

Once a model is large enough, more people, more photos per person and more variety improve accuracy more than design tweaks do.

What dataset was Ollie trained on?

A public research dataset of about 5.8 million photos of 85,742 people, from scratch, with all LFW benchmark people removed first.

What is the largest face recognition dataset?

WebFace260M, released in 2021, has 260 million images of 4 million people, with a cleaned 42 million image subset.

Do face datasets have consent problems?

Many do. Most were scraped from the web, and several, including MS-Celeb-1M, were withdrawn after criticism.

Try it yourself

Find your celebrity lookalike

Upload a photo and see which celebrities you look most like. Free to try, and your photo is never stored.

Find my celebrity look alike

About the author

The Ollie teamWrites for Ollie, a free celebrity lookalike AI

The Ollie team wrote and trained Ollie's own face-recognition model from scratch, and writes these guides to explain how face matching works in plain English. Questions or corrections are welcome on the contact page, and the FAQ covers how Ollie works and what happens to your photo.

Related Articles