Skip to content
Machine Learning

VGGFace2 Explained: 3.3 Million Faces of 9,131 People

VGGFace2 is a face recognition dataset from the University of Oxford's Visual Geometry Group, released in 2018, with 3.31 million images of 9,131 people, about 362 per person. It was built for variety in pose, age, lighting and ethnicity, and split into 8,631 training and 500 test identities. Ollie's model was not trained on VGGFace2; it was trained on a dataset with many more people.

The Ollie teamJune 18, 2026 · 3 min read
Archive binders full of photo slides and negatives
Image: Silvia Florindi, CC BY 4.0, via Wikimedia Commons (resized)

VGGFace2 at a Glance

VGGFace2 was introduced by Qiong Cao, Li Shen, Weidi Xie, Omkar Parkhi and Andrew Zisserman in a paper at the 2018 IEEE Conference on Automatic Face and Gesture Recognition. The key numbers:

VGGFace2
Images3.31 million
People9,131
Images per person87 to 843, average about 362
Training split8,631 people
Test split500 people
SourceGoogle Image Search
Extra labelsPose and age templates for a subset of people

The people are mostly public figures (actors, athletes, politicians) chosen to cover a wide range of professions, ages and ethnicities.

What Made It Different

By 2017, face datasets had two main shapes. Some, like CASIA-WebFace (about 500,000 images of 10,575 people), had many people but few photos each. Others, like the original VGGFace (2.6 million images of 2,622 people, 2015), had many photos each but fewer people.

VGGFace2 aimed for both: a decent number of people and a lot of photos per person, with deliberate variety. Its authors wanted every identity to appear across a wide range of:

  • Pose, from front-on to near profile
  • Age, with photos from different points in people's careers
  • Lighting and image quality
  • Ethnicity and profession across the identity list

That variety is what helps a model cope with real photos rather than neat portraits.

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

How It Was Built

The team started from a list of names, downloaded images from Google Image Search for each, and then cleaned the results in stages. Automatic filtering used a face classifier to throw out images that didn't match the rest of a person's set. Human annotators then checked the remaining images. The paper reports that this kept label noise low, which was a big step up from some earlier web-scraped sets.

Near-duplicate images were removed, and the test set's 500 identities were kept completely separate from training, so evaluation reflected faces the model had never seen.

How It Compares With Other Datasets

DatasetYearImagesPeopleNotes
LFW200713,2335,749Evaluation only. Now too easy
CASIA-WebFace2014~494,00010,575Early large training set
VGGFace20152.6 million2,622Many photos per person, few people
MS-Celeb-1M2016~10 million100,000Very noisy labels; withdrawn by Microsoft in 2019
VGGFace220183.31 million9,131Deep and varied per person
MS1MV220195.8 million85,742Cleaned MS-Celeb-1M used by ArcFace; Ollie's training set

The trade-off is width against depth. MS1MV2 has many more people, which tends to help models separate identities. VGGFace2 has more photos per person and more variety in each, which helps models handle pose and age.

Read more: Face Recognition Benchmarks Explained: LFW, IJB-C, and Beyond

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

Why Ollie Used a Wider Dataset Instead

For learning to tell people apart, the number of identities matters a lot. Losses like ArcFace and CosFace work by pushing each person's photos into their own region of embedding space, and seeing tens of thousands of people gives the model much more practice at that than 9,000. MS1MV2's 85,742 identities made it the standard training set for those losses, and the published results were easy to compare against.

So Ollie's 20-layer network was trained from scratch on a dataset with that many identities and reached 99.5% on LFW, with all LFW identities removed from the training data first. VGGFace2 remains a good choice when pose and age variation matter most, and many papers report results on both. More on why training data choices matter in why training data matters.

Licensing and Ethics

VGGFace2 was released for non-commercial research, and like most web-scraped face datasets, the people in it did not individually consent. Since around 2019, several large face datasets have been withdrawn or restricted after criticism over consent and use, and the official VGGFace2 download page has at times been unavailable. Anyone planning to use it should check its current licence terms and the rules where they work.

This is one reason Ollie's celebrity search index is built only from freely licensed Wikimedia Commons photos, with every photographer credited. See how Ollie's celebrity database was built.

Frequently Asked Questions

What is VGGFace2?

A face recognition dataset from Oxford's Visual Geometry Group, released in 2018, with 3.31 million images of 9,131 people, built for variety in pose, age and ethnicity.

How many images per person does VGGFace2 have?

Between 87 and 843, with an average of about 362.

What is the difference between VGGFace and VGGFace2?

VGGFace (2015) has 2.6 million images of 2,622 people. VGGFace2 (2018) has 3.31 million images of 9,131 people, with more variety in pose and age.

Was Ollie trained on VGGFace2?

No. Ollie's network was trained from scratch on a different public research dataset, about 5.8 million photos of 85,742 people.

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