Our recognition of familiar faces is excellent, and generalises across viewing conditions. However, unfamiliar face recognition is much poorer. For this reason, automatic face recognition systems might benefit from incorporating the advantages of familiarity. Here we put this to the test using the face verification system available on a popular smartphone (the Samsung Galaxy). In two experiments we tested the recognition performance of the smartphone when it was encoded with an individual’s ‘face-average’ – a representation derived from theories of human face perception. This technique significantly improved performance for both unconstrained celebrity images (Experiment 1) and for real faces (Experiment 2): users could unlock their phones more reliably when the device stored an average of the user’s face than when they stored a single image. This advantage was consistent across a wide variety of everyday viewing conditions. Furthermore, the benefit did not reduce the rejection of imposter faces. This benefit is brought about solely by consideration of suitable representations for automatic face recognition, and we argue that this is just as important as development of matching algorithms themselves. We propose that this representation could significantly improve recognition rates in everyday settings.
Citation: Robertson DJ, Kramer RSS, Burton AM (2015) Face Averages Enhance User Recognition for Smartphone Security. PLoS ONE 10(3): e0119460. https://doi.org/10.1371/journal.pone.0119460
Academic Editor: Wenbo Luo, Liaoning Normal University, CHINA
Received: August 28, 2014; Accepted: January 27, 2015; Published: March 25, 2015
Copyright: © 2015 Robertson et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited
Data Availability: All relevant data are within the paper and its Supporting Information files.
Funding: This work was supported by awards from the Economic and Social Research Council, UK, and the European Research Council to Burton (ES/J022950/1; ERC-ADG 323262). http://www.esrc.ac.uk/; http://erc.europa.eu/. The funders had no role in the study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Competing interests: The authors have declared that no competing interests exist.
Face recognition remains a significant challenge for the cognitive sciences. Our understanding of human face perception extends across a wide range of signals, such as facial expression, speech, eye-gaze and attractiveness . Despite this, rather slower progress has been made in understanding the processes involved in recognising a person’s identity [2 3]. In computational approaches to face recognition there has been greater progress, and systems now exist which can out-perform unfamiliar human observers on some face recognition tasks [4 5]. However, it is well-established that human observers are considerably more accurate in recognising familiar than unfamiliar faces, and this holds whether they are asked to remember photos [6 7], to match two simultaneously-presented images [8–10], or to match a live person to a photo-ID [11 12]. To date, no automatic face recognition system approaches the levels of accuracy and generalizability observed in human observers presented with familiar faces.
If computational approaches to face recognition are to become truly useful, then they should incorporate those aspects of familiar face recognition that allow for high levels of performance. How might these be characterised? One key component is that familiar face recognition is able to operate over huge variations in image, within the same person  (see Fig. 1). A person’s face can vary considerably as a result of changes in lighting, camera characteristics, pose, expression and age. Given this variability, two images of the same person can easily be less similar than two images of different people . One way to tackle this variability is to propose that familiar viewers actually store many different images of the same person in memory . However, an alternative proposal by Burton, Jenkins, Hancock and White  is that familiar viewers form an abstract representation that retains aspects of the face that are common across different images, while discarding those aspects which vary. One candidate for such a representation is a facial average, in the sense of morphing together many different images of the same person .
Rows A and C show celebrity face averages. Rows B and D show examples of individual images. (For copyright reasons, we are not able to present the individual images used in the experiment—which were chosen mechanically on the basis of a selection rule. The individual images shown in rows B and D are legally reproducible, and are a close approximation of the actual stimuli. See S1 File for celebrity names and image licence and attribution information).
Facial averages have been shown to be useful in computer-based face recognition . In order to improve the performance of automatic recognition systems, developers have typically focused on creating the best image matching algorithm . However, employing an average-based approach is independent of the matching technique used. Instead, this approach focuses on what is to be matched. Burton et al  propose that research on the stored representation itself is just as important as research on matching, and in particular that a focus on representation may provide a route to understanding the impressive levels of accuracy human viewers can achieve with familiar faces.
In a test of the real world utility of face averages, Jenkins and Burton  assessed the accuracy of an online version of the (then) industry standard recognition system FaceVACS. This system contained a large database of celebrity face photographs (over thirty thousand images, and over three thousand celebrities) which varied considerably in illumination, pose, facial expression, age, and image quality. In response to a probe photo, the system would return the closest matching image in its database. Jenkins and Burton  tested 20 different images of each of 25 different celebrities, and found that on 54% of occasions, an image of the same celebrity was returned—quite an impressive hit rate, given the number of people in the database. However, when they tested average images, built from each of the 20 images for each person, the hit rate rose to 100%. Performance of 80% was achieved even when the averages were constructed entirely from individual photos that the system had previously failed to recognise.
The findings of Jenkins and Burton  established the effectiveness of face averaging as a means of improving face recognition in a commercially available algorithm, used for large-scale security applications such as airports. However, automatic face recognition has now reached consumer-level products. In particular, several smartphones currently on the market use faces for security. We store a significant quantity of important personal information on our phones , and this personal information is at risk of unauthorised access if the device is lost or stolen. Alphanumeric password systems have known vulnerabilities, such as shoulder-surfing  and analysis of the oily residue from fingers . For these reasons, there is growing interest in biometric security, including face recognition.
In the studies presented below, we examine the accuracy of face recognition security software in the currently popular Samsung Galaxy range of smartphones (S3, S4, S5). This is used to unlock phones using the owner’s face, as an alternative to alphanumeric passwords. However, we should note that this is currently marketed as a low-security feature, and can be over-ridden with a password. We should also note that the details of the face recognition algorithm are proprietary, and therefore not open to public examination. Nevertheless, it is interesting to establish how accurate this system actually is. In the following experiments, we test this system using standard face-matching (image to image comparison), and also average-based matching (image to average). In the first experiment, we do this using photos of celebrities, for whom there are many varying images available. In Experiment 2, we test face-matching with phone users, replicating the conditions in which face-based security is normally used with these smartphones. To anticipate the results, we find quite high levels of face recognition, but these are significantly improved by the use of averages. Once again, this supports the proposal that there is much to be gained by focussing on ‘what is to be matched’, as well as the more common approach of studying matching algorithms themselves.
Experiment 1: Celebrity Images
In this experiment we examined celebrity recognition using a smartphone. Facial security works by storing an image of the user (the ‘target’) for subsequent comparison with images captured during unlocking attempts. Here, we compared recognition performance for a target image comprising a photo (the normal usage) with performance using a target image comprising an average, derived from many photos of the target person.
Materials and Methods
A Samsung Galaxy S4 smartphone (model GT-19505) with an Android operating system (v.4.4.2) was used in the present experiment. The face authentication security feature is part of the standard software package installed on the device. Throughout the experiment, the phone was placed in ‘flight mode’, a feature which disables all wireless functions while retaining full use of the camera. To capture the live face of the user, the recognition algorithm relies on a front-facing two megapixel camera/video recorder (30 frames/s).
Stimuli and Apparatus.
Ten different celebrity identities (5 male/5 female) were used in this experiment. For each identity, 35 large colour face photographs were downloaded from Google Images. We chose the first 35 images which met the following criteria: (i) no part of the face should be obscured (e.g. by clothing, glasses, or a hand); (ii) pose should be very broadly full-face in order to allow the placement of facial landmarks; and (iii) pose should be standing or sitting, but not lying down, in order to limit the angle of the head to a relatively upright position. The images varied with respect to environmentally generated parameters (e.g. lighting) and face-based parameters (e.g. pose, facial expression, hair style). All of the selected images were cropped to a size of 380 x 570 pixels.
Individual average faces were derived from the first 30 images of each person (see Fig. 1 for examples). Images were marked up using 82 hand-placed anatomical landmarks. The average ‘shape-free’ texture component was derived by morphing the 30 images to a standard face template and calculating the mean RGB values for each pixel. Each celebrity’s average texture was then morphed onto their average shape to produce their face average (for a more detailed description of the averaging process, see Burton et al ).
All images were presented on an 18 inch Dell PC Monitor (1440 x 900 screen resolution, 60 Hz refresh rate) using E-Prime 2.0. The smartphone was securely affixed to a chinrest with the front of the device facing the PC screen. A distance of 24.5cm was maintained between the screen and the smartphone during testing; this ensured that each face image would fill the oval face capture space provided by the authentication software.
Design and Procedure.
Five images of each celebrity were used as test images throughout. These were used to try to unlock the phone that had been encoded with targets that were either (i) a celebrity average, or (ii) a celebrity photo. Average targets were derived from 30 images, not including the five test photos (see above). Individual image targets were five randomly chosen photos from the set of 30 used to construct the average (we used five different individual-photo targets in order to avoid bias which may be induced by chance selection of a particularly good or particularly poor likeness of an individual). Targets were encoded into the phone by photographing images from the computer screen, and the same method was used to test images for unlocking.
Each average celebrity target was tested against the five test items, and against five randomly-selected same-sex test items of other celebrities (‘imposter images’). Similarly, each individual-photo target was tested against these test and imposter images. For each combination, we simply recorded whether or not the phone was unlocked by the test image. In summary each celebrity was tested 60 times as follows: 25 single-image ‘user’ trials (5 individual-image targets x 5 different test images of the same person); 25 single-image ‘imposter’ trials (5 individual-image targets x 5 different test images of different people); 5 average-image ‘user’ trials (average-target x 5 test images of the same person); and 5 average-image ‘imposter’ trials (average-target x 5 test images of different people).
Mean performance level across the ten celebrities is shown in Table 1, this shows that user recognition is considerably better for average-image targets, than for individual-image targets, and analysis shows that this advantage is significant (Wilcoxon signed-rank test, two-tailed: W = 2, p < .05). There were no imposter errors, with both types of target giving perfect performance.
These results show a large benefit of using average-image targets over individual images. This is a promising finding, because it suggests that a change in the stored representation of a user’s face (in this case an average) can bring large performance improvements—a benefit which does not require any change to the underlying matching algorithm. Furthermore, the large benefit in ‘user’ recognition carries no cost in terms of imposter rejection. The smartphone rejected all imposters on this test—whether encoded with individual or average-image representations of the face.
Despite the clear average-advantage in this preliminary experiment, this use of the phone is somewhat unusual. In order to retain control over extraneous variables, this experiment used a lab-based set up, in which all images were derived from photographing a computer screen. In the next experiment, we test the phone in the common setting—where users encode their own target images, and use these to unlock the phone live.
Experiment 2: Real Faces
In this experiment we test whether the face average advantage reported in Experiment 1 generalises to normal use with real faces. To this end, we encoded the phone either with individual photos or the face average of a participant, who was then asked to unlock the phone using their face. To examine the generalizability of the face recognition system, we conducted recognition trials in six different contexts. We used five indoor locations with variable lighting conditions: an office, a corridor, a staff room, an atrium and the driver’s seat of a stationary car. This manipulation aims to recreate the variety of indoor environmental conditions that a smartphone user would typically encounter. Additionally, in daily life we also require regular access to our phone when outdoors (e.g. reading e-mails while traveling to work). The development of a face recognition algorithm which is as effective outdoors as it is indoors, is one of the major challenges facing developers , and so here we also test the potential for an average advantage in an outdoor setting (next to an office block on a university campus).
When constructing average target faces for this experiment, we reduced the number of images contributing from 30 (in Experiment 1) to 7. As well as examining any theoretical advantage for average photos over individual photos, we are also interested to establish whether this technique might lead to a realistic improvement in day-to-day use. For this purpose, it seemed too onerous to request participants to take a large number of photos of themselves, and so we chose just seven here. In line with the findings from Experiment 1, we predict that real face recognition rates will be greater when the stored target is a face average, rather than an individual photo.
Materials and Methods
This study was approved by the Ethics Committee of the School of Psychology, University of Aberdeen, acting under the auspices of the College of Life Sciences and Medicine, University of Aberdeen. All participants provided written informed consent and appropriate photographic release.
Ten participants (5 male/5 female) with a mean age of 31.0 years (SD = 9.9, Range = 23–55) were recruited from the University of Aberdeen’s School of Psychology.
Stimuli and Apparatus.
The same smartphone was used as in Experiment 1. Each participant was asked to provide seven self-taken face photos (‘selfies’) to be used as their stimulus set. Consistent with the manufacturer’s instructions, we asked them to take these photos holding the phone at eye-level, in an adequately lit indoor location. We also requested that participants maintain a forward facing pose and a neutral expression.
Participants took one ‘selfie’ per day for seven consecutive days, with each photo being taken in a different indoor location of their choice, on their own cell phones. All face images were then cropped to a size of 380 x 570 pixels. Each person’s set of seven photos were used to create their face average. Examples of the averages and individual images are shown in Fig. 2.
Design and Procedure.
The smartphone was encoded with a different target image of the participant on eight occasions using each of their seven individual ‘selfies’ and their face average. The order in which these eight images were encoded as targets was randomised across participants. At no point during the recognition trials did the individual know which of their face images had been encoded. On each of the eight occasions, participants were asked to try to unlock the phone using their face in six different locations (see Fig. 3). Participants were instructed to hold the phone at a comfortable distance from their face (ensuring all of their face was visible in the camera capture space), at which point they should press the power button on the device to activate the authentication program. The order of the locations was fixed (office, corridor, staff room, atrium, car, outdoors), with the eight testing cycles taking approximately 1 hour to complete.
Fig. 4 shows mean recognition rates for individual photo targets and for average targets. In three locations, the average-image target performed perfectly (i.e. consistently at 100% accuracy, across all participants). A comparison pooled across all locations shows a highly significant advantage for average-image targets (Wilcoxon signed-rank test, two-tailed: W = 88, p < .001). Testing at individual locations showed significant advantages for average-images in Office, Atrium, Car and Outdoor locations (W = 0, 0, 1, 1 respectively, all ps < .05), while the numerical advantages in the Corridor and Staff Room locations failed to reach significance.
Each participant was tested against seven different individual-image targets, and one average-image target, and these tests were repeated in each of the six locations. The figure shows mean performance by condition across all participants (SD in parentheses).
These results show a clear performance advantage for average targets over individual photos. Furthermore, this is consistent across locations. Overall, these findings extend the face average advantage to the recognition of the real smartphone users. Encoding a face average provides a significant and large benefit to the performance of these systems. It is interesting to note that the overall recognition rates are rather better in this setting than in Experiment 1. The results from standard indoor usage of the smartphone vary from about 50% to about 90%. However, in every case, the average faces do better. In fact, in three of our indoor environments, the office, staff room and atrium settings, the average elevates performance to perfect levels. This is quite an impressive jump, given that the averages are taken from 10 different people, and each average comprises only seven contributing images.
In general, a comparison across locations shows that the environments with good indoor lighting (Office, Staff Room, Atrium) out-perform outdoor or poorly-lit locations (e.g. Corridor—see Fig. 3). However, the average advantage holds very clearly for the more challenging outdoor setting. This is particularly impressive as the target images were all taken indoors (and the average is composed of these) while the test is performed outside. Outdoor performance with a single image is relatively low, as expected—and comparable only to the indoor in-car condition. However, the use of averages seems to go quite a long way to alleviating the well-known problems with outdoor face recognition, and provides the possibility that the system can reach a level of performance which makes it practical to use.
In two experiments we tested the recognition performance of the Samsung Galaxy face authentication system when it was encoded either with an individual face target or a face average target. We found significant average-face advantages in each experiment, despite the fact that the procedures (photographing screens vs real people) and settings (different physical locations and environmental lighting) were so widely varied. The improvement in authentication performance did not affect the system’s ability to reject images of an imposter (100% correct rejection rate in Experiment 1). In short, the use of averages improves user recognition in all settings, and in some (particularly outdoors) it renders the system practically useful, against a background of relatively poor baseline performance.
These findings extend the face average advantage reported by Jenkins and Burton  to another current and widely available commercial algorithm. Interestingly, while Jenkins and Burton used averages which were created from twenty photos of an individual, here we show that the effect can be replicated for real faces using an average created from just seven instances. Of course, we have tested only a single device here, the Samsung Galaxy smartphone. This seems a good candidate, since it is currently the world’s largest selling device which has an in-built face recognition system (programs with similar functionality are available for other phones, but for this model, the recognition system forms part of the core operating software). The fact that this provides a similar average-advantage to earlier tests using a different algorithm , suggests that this is a general property of face matching—though of course it will be necessary to examine this for particular cases. At the very least, our results suggest that developers should focus on the images used for matching, as well as the more traditional approach of focussing on matching algorithms themselves.
In fact, recent research has shown that developers are continuing to focus on improving the algorithm that matches a stored face to a novel image . The Facebook affiliated DeepFace system  recently produced an accuracy rate of 97.25% when matching unconstrained photos, the highest yet recorded in a benchmark test. This system has been designed for face image recognition in social media contexts (e.g. automatically tagging people in uploaded photos) and its ability to reach similar levels of performance for real faces in everyday contexts has not been assessed. However, in line with previous systems which have approached such levels of accuracy on benchmark image matching tests, it is possible that it would produce a poorer level performance for real world face recognition (see Jenkins & Burton  for examples). In this paper, we demonstrate that, through no alterations to a commercial algorithm, we are able to improve the recognition of real faces in everyday conditions, simply by encoding a stable face representation.
It would be relatively straightforward to build this advantage directly into devices such as smartphones. We envisage that a new system might operate as follows: (i) Users would select seven digital images which provide an unobstructed view of their face. This is a relatively trivial requirement which could be accomplished through the user providing access to the image galleries in their Facebook or photo sharing applications; (ii) An automatic facial landmarking system would, for each image, mark the anatomical features required for averaging; (iii) Software would then create the person’s average and encode it as the stored representation of their face; (iv) On each occasion authentication occurs, an image of the user’s face would be captured and incorporated into their average. In this way, the average is being updated regularly, and will come implicitly to weight more recent photos more, while the updating procedure continues.
The only current constraint on the development of such a system is the lack of a reliable automatic face landmarking system. If the problem of automatic landmarking was resolved and the proposed system was implemented in smartphones, it could re-cast the face-based authentication system as a reliable security feature. Moreover, the fact that the effect was retained for outdoor recognition means that this method could also be applied to home and business site entry systems in which the user would be outdoors during the verification process.
Finally, we observe that the intention here is to reconcile what is known about human and automatic face recognition. Human perception of familiar faces is remarkably good—and remains much more robust across image conditions than even the best automatic recognition systems. Our approach here has been to incorporate a theory of human face familiarity into an automatic system. There may, of course, be better ways to do this. However, it does seem clear that automatic face recognition would benefit from an acknowledgement of the differences between familiar and unfamiliar faces, and from some emulation of familiar viewers.
S1 Table. Experiment 1: User recognition accuracy for celebrity images.
Mean recognition accuracy for the individual and average-image targets of each celebrity.
S2 Table. Experiment 1: Imposter rejection accuracy for celebrity images.
Mean imposter rejection accuracy for the individual and average-image targets of each celebrity.
S3 Table. Experiment 2: User recognition accuracy for real faces.
Mean recognition accuracy for the individual (Indiv.) and average-image (Avg.) targets for each participant and location.
Conceived and designed the experiments: DJR RSSK AMB. Performed the experiments: DJR RSSK. Analyzed the data: DJR AMB. Contributed reagents/materials/analysis tools: DJR RSSK AMB. Wrote the paper: DJR RSSK AMB.
- 1. Calder AJ, Rhodes G, Johnson M H, Haxby JV. Oxford Handbook of Face Perception, Oxford: OUP; 2011.
- 2. Young AW, Bruce V. Understanding person perception. Brit J Psychol. 2011; 10: 959–974.
- 3. Burton AM. Why has research in face recognition progressed so slowly? The importance of variability. Q J Exp Psychol. 2013; 66: 1467–1485. pmid:23742022
- 4. O'Toole AJ, An X, Dunlop J, Natu V, Phillips PJ. Comparing face recognition algorithms to humans on challenging tasks. ACM T Appl Percept. 2012; 9: 1–13.
- 5. Phillips PJ, O'Toole AJ. Comparison of human and computer performance across face recognition experiments. Image Vision Comput. 2014; 32: 74–85.
- 6. Bruce V. Influences of familiarity on the processing of faces. Perception. 1986; 15: 387–397. pmid:3822723
- 7. Klatzky RL, Forrest FH. Recognizing familiar and unfamiliar faces. Mem Cognition. 1984; 12: 60–70. pmid:6708811
- 8. Burton AM, White D, McNeill A. The Glasgow face matching test. Behav Res Methods. 2010; 42: 286–291. pmid:20160307
- 9. Megreya AM, Burton AM. Unfamiliar faces are not faces: Evidence from a matching task. Mem Cognition. 2006; 34: 865–876. pmid:17063917
- 10. Megreya AM, Burton AM. Hits and false positives in face matching: A familiarity-based dissociation. Percep Psychophys. 2007; 69: 1175–1184. pmid:18038955
- 11. Kemp R, Towell N, Pike G. When seeing should not be believing: Photographs, credit cards and fraud. Appl Cognitive Psych. 1997; 11: 211–222.
- 12. Megreya AM, Burton AM. Matching faces to photographs: poor performance in eyewitness memory (without the memory). J Exp Psychol Appl. 2008; 14: 364–372. pmid:19102619
- 13. Jenkins R, White D, Van Montfort X, Burton AM. Variability in photos of the same face. Cognition. 2011; 121: 313–323. pmid:21890124
- 14. Adini Y, Moses Y, Ullman S. Face recognition: the problem of compensating for changes in illumination direction. IEEE T Pattern Anal. 1997; 19: 721–732.
- 15. Longmore CA, Liu CH, Young AW. Learning faces from photographs. J Exp Psychol Human. 2008; 34: 77–100. pmid:18248141
- 16. Burton AM, Jenkins R, Hancock PJ, White D. Robust representations for face recognition: The power of averages. Cognitive Psychol. 2005; 51: 256–284. pmid:16198327
- 17. Benson PJ, Perrett DI. Extracting prototypical facial images from exemplars. Perception. 1993; 22: 257–262. pmid:8316513
- 18. Phillips PJ, Scruggs WT, O'Toole AJ, Flynn PJ, Bowyer KW, Schott CL, et al. FRVT 2006 and ICE 2006 large-scale experimental results. IEEE T Pattern Anal. 2010; 32: 831–846. pmid:20299708
- 19. Jenkins R, Burton AM. 100% accuracy in automatic face recognition. Science. 2008; 319: 435. pmid:18218889
- 20. Glisson WB, Storer T, Mayall G, Moug I, Grispos G. Electronic retention: what does your mobile phone reveal about you? Int J Inf Secur. 2011; 10: 337–349.
- 21. Tari F, Ozok A, Holden SH. A comparison of perceived and real shoulder-surfing risks between alphanumeric and graphical passwords. Proceedings of the second symposium on usable privacy and security; 2006 Jul 14–16; Pittsburgh, PA, USA. ACM; 2006. p. 56–66.
- 22. Aviv AJ, Gibson K, Mossop E, Blaze M, Smith JM. Smudge attacks on smartphone touch screens. Proceedings of the 4th USENIX Conference on Offensive Technologies; 2010 Aug 9; Washington DC, USA. ACM; 2010. No. 1–7.
- 23. Zhao W, Chellappa R, Phillips PJ, Rosenfeld A. Face recognition: A literature survey. ACM Comput Surv. 2003; 35: 399–458.
- 24. Taigman Y, Yang M, Ranzato MA, Wolf L. Deepface: Closing the gap to human-level performance in face verification. IEEE Conference on Computer Vision and Pattern Recognition; 2014 Jun 23–28; Columbus, OH, USA. IEEE; 2014. p. 1701–1708.
- 25. Jenkins R, Burton AM. Stable face representations. Philos T Ro Soc B. 2011; 366: 1671–1683. pmid:21536553