Balanced Faces in the Wild
This project investigates bias in automatic facial recognition (FR). Specifically, subjects are grouped into predefined subgroups based on gender, ethnicity, and age. We propose a novel image collection called Balanced Faces in the Wild (BFW), which is balanced across eight subgroups (i.e., 800 face images of 100 subjects, each with 25 face samples). Thus, along with the name (i.e., identification) labels and task protocols (e.g., list of pairs for face verification, pre-packaged data-table with additional metadata and labels, etc.), BFW groups into ethnicities (i.e., Asian (A), Black (B), Indian (I), and White (W)) and genders (i.e., Females (F) and Males (M)). Thus, the motivation and intent are that BFW will provide a proxy to characterize FR systems with demographic-specific analysis now possible. For instance, various confusion metrics and the predefined criteria (i.e., score threshold) are fundamental when characterizing performance ratings of FR systems. The following visualization summarizes the confusion metrics in a way that relates to the different measurements.
Data Files And File Structure
BALANCED FACES IN THE WILD (BFW) DATASET
Contents of the compressed folders are as follows:
Face images organized in directories with the following structure:
<ethnicity>_<gender>/<subject id>/<face file>.jpg
BFW faces were encoded and organized by the name of the model used.
Included are features extracted using keras-vggface repo. Specifically, the features extracted with this were
List of pairs with corresponding tags for class labels (1/0), along with subgroup, gender, and ethnicity labels. All metadata needed for experiments can be found in this Python3 pickle file and CSV file, with distinction in file extension.
Python3 pickle file containing face fiducial and BB information. NOTE that the faces in face-samples are pre-cropped, not aligned. This way preferred alignment methods can be applied. Please do reach out for discussions on how to best align.
Paired faces and all corresponding metadata is organized as a pandas dataframe (ie.., bfw-[version]-datatable.[pkl,csv]) which is formatted as follows.
ID : index (i.e., row number) of dataframe ([0, N], where N is pair count).
fold : fold number of five-fold experiment [1, 5].
p1 and p2 : relative image path of face
label : ground-truth ([0, 1] for non-match and match, respectively)
id1 and id2 : subject ID for faces in pair ([0, M], where M is number of unique subjects)
att1 and att2 : attributee of subjects in pair.
vgg16, resnet50, senet50, and sphereface : cosine similarity score for respective model.
a1 and a2 : abbreviated attribute tag of subjects in pair [AF, AM, BF, BM, IF, IM, WF, WM].
g1 and g2 : abbreviated gender tag of subjects in pair [F, M].
e1 and e2 : abbreviate ethnicity tag of subjects in pair [A, B, I, W].
Terms And Conditions
By downloading the image data you agree to the following terms:
You will use the data only for non-commercial research and educational purposes.
You will NOT distribute the above images.
Northeastern University makes no representations or warranties regarding the data, including but not limited to warranties of non-infringement or fitness for a particular purpose.
You accept full responsibility for your use of the data and shall defend and indemnify Northeastern University, including its employees, officers and agents, against any and all claims arising from your use of the data, including but not limited to your use of any copies of copyrighted images that you may create from the data.
Please email questions, comments, bugs, ideas to
 Robinson, Joseph P., Gennady Livitz, Yann Henon, Can Qin, Yun Fu, and Samson Timoner. "Face recognition: too bias, or not too bias?" In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, pp. 0-1. 2020.
 Robinson, Joseph P., Can Qin, Yann Henon, Samson Timoner, and Yun Fu. "Balancing Biases and Preserving Privacy on Balanced Faces in the Wild." In CoRR arXiv:2103.09118, (2021).