Psychophysical studies suggest that humans preferentially use a narrow band of low spatial frequencies for face recognition. Here we asked whether artificial face recognition systems have an improved recognition performance at the same spatial frequencies as humans. To this end, we estimated recognition performance over a large database of face images by computing three discriminability measures: Fisher Linear Discriminant Analysis, Non-Parametric Discriminant Analysis, and Mutual Information. In order to address frequency dependence, discriminabilities were measured as a function of (filtered) image size. All three measures revealed a maximum at the same image sizes, where the spatial frequency content corresponds to the psychophysical found frequencies. Our results therefore support the notion that the critical band of spatial frequencies for face recognition in humans and machines follows from inherent properties of face images, and that the use of these frequencies is associated with optimal face recognition performance.
Citation: Keil MS, Lapedriza A, Masip D, Vitria J (2008) Preferred Spatial Frequencies for Human Face Processing Are Associated with Optimal Class Discrimination in the Machine. PLoS ONE 3(7): e2590. https://doi.org/10.1371/journal.pone.0002590
Editor: Robert P. Futrelle, Northeastern University, United States of America
Received: February 19, 2008; Accepted: May 22, 2008; Published: July 2, 2008
Copyright: © 2008 Keil 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.
Funding: MSK was partially supported by a Juan de la Cierva post-doctoral contract from the Spanish Government. Further support was granted by the MCyT grant SEJ2006-15095, MEC grant TIC2006-15308-C02-01 and CONSOLIDER-INGENIO 2010 (CSD2007-00018).
Competing interests: The authors have declared that no competing interests exist.
Accumulating evidence supports the view that the processing of sensory information in the brain has adapted to statistical properties of sensory stimuli e.g., , –, . In this way, in principle the highest possible amount of information about the signal is encoded in the neuronal response , . In reality, however, signal coding is subject to constraints, that include, for example, minimizing energy expenditure , , , , minimizing wiring costs between processing units , or reducing spatial and temporal redundancies in the input signal , , , , .
In a recent study, Keil  examined the statistical properties of a large number of face images by analyzing their amplitude spectra. The spectra were transformed such that the distribution of amplitudes versus spatial frequencies had maximum entropy (“whitening”). Whitened spectra revealed amplitude maxima at around 10 cycles per face, but only for the spectra of face images without external face features (i.e., hair, shoulder). This result compares well with corresponding psychophysical data, which suggest that humans process face identity preferentially in a narrow band of spatial frequency band (about 2 octaves) from 8 to 16 cycles per face –, , , , , . The study of Keil  thus suggests that the processing of face identity in humans adapted to the statistical properties of face stimuli. The psychophysical results, on the other hand, suggest that face identification is best at spatial frequencies around 10 cycles per face. Given this link between stimulus statistics and psychophysics, we reasoned that also artificial face recognition systems should show an optimal recognition performance at spatial frequencies situated around 8 to 16 cycles per face.
In this work we compare the quality of the different spatial frequencies to perform subject recognition task in the machine. The problem of subject recognition in computer vision consists on automatically assigning to a face image a label corresponding to the identity of the person that appears in the image. For this aim we usually have a set of training data from where we learn this task. Thus, the training face images are labelled according to the subject, belonging to the same class all the images obtained from the same person. This study aims to satisfy three goals: (i) To analyze the data distribution of the different spatial frequencies representations and find out if there exists a relationship between the most suitable representation in the machine and the results obtained by the psychophysical studies; (ii) to give a statistical interpretation of the human visual system procedure for recognizing faces (iii) to study which is the minimal resolution that preserves the relevant information of a face to perform computational subject recognition.
In section “Materials and Methods” we justify that the best option to evaluate features quality is using discriminability measures, which will return large values when the data is appropriately distributed to perform subject recognition and low values otherwise. Thus, to perform this study we evaluated three class discriminability measures as a function of the spatial frequency content of face images to find out if there is a maximum in the same representation found with the psychophysical studies. The obtained results suggest that artificial face recognition systems should have an optimal performance when the original face images contain spatial frequencies at around 16 cycles per degree, coinciding with the stimulus statistics and psychophysics.
In the experiments, extrinsic face features (e.g., hair) were suppressed by centering a Blackman-Harris (B.H.) window at the nose (Fig. 1A and methods). To make computations feasible, spatial frequency content of face images was selected by decreasing the size of face images and applying high-pass filtering, respectively, rather than performing naive low-pass and band-pass filtering, respectively (see methods). The mentioned class discriminability measures were then computed for the down-sized images (corresponding to low-pass filtered original images), and their high-pass filtered versions (corresponding to band-pass filtered original images).
(A) External features are suppressed by centering a Blackman-Harris window at the face center (xno, yno) (indicated by a cross-hair; see methods). In this way the windowed image is obtained as shown. (B) The central region of each windowed face image (dark-shaded) is maintained for further processing (note that the original face image is shown here only for illustration). In this way an image with an initial size (or equivalently dimensionality) of 64×64 pixels is obtained. (C) Class discriminability measures are evaluated at each image size from the initial size down to 10×10 pixels. Optimal recognition performance (i.e., highest class discriminability, see Fig. 3) is obtained for images of about 37×37 pixels (here shown magnified), what corresponds to ca. 16 cycles per face width.
The dependency of FLD, NDA, and MI, respectively (see Methods), on spatial frequencies (or image size) is shown in Fig. 2. Each of the three measures reveals a distinct maximum at approximately the same image size (around 37×37 pixels), what corresponds to approximately 16 cycles per face width, as illustrated by Fig. 1C. The discriminability measures have very similar dependencies on image size irrespective of applying high-pass filtering. Thus, our results suggest that class discriminability is band-pass, meaning that the lower spatial frequencies do not contribute to a good separation of classes (which can be conceived as clouds of points produced from one individual). Adopting a different viewpoint, one can also argue that decreasing image size is equivalent to reducing dimensionality, and class separation collapses beyond a certain dimension.
The graphics shows normalized class discriminability measures as a function of image size (or spatial frequency). Different measures are distinguished by their color, as indicated in the figure legend: FLD = Fisher Linear Discriminant Analysis, NDA = Non-Parametric-Discriminant-Analysis,and MI = Mutual Information. All three measures consistently peak at around the same image size of about 37×37 pixels, corresponding to ca. 16 cycles per face width (see Fig. 2C). See text for further details.
Psychophysical studies suggest that for face recognition, human observers make use of a narrow band at low spatial frequencies (8 to 16 cycles per face, bandwidth two octaves). Here we measured class discriminability, using Fisher Linear Discriminant Analysis and Non-Parametric-Discriminant-Analysis, and computing Mutual Information as a function of image size (and thus spatial frequency). These measures are used to quantify the efficiency of the different face representations to perform subject recognition in general, without depending on a specific implementation of a classifier. All three measures gave similar results for the high-pass filtered and the unfiltered face images, and revealed an unimodal distribution with a maximum at about 16 cycles per face width, which is close to the psychophysically found frequency optimum. Our results therefore support the conclusion that face representation to perform subject recognition task is optimal within a narrow band of spatial frequencies. Moreover, the presence of low spatial frequencies does not seem to compromise recognition performance.
Specifically, FLD and NDA reveal narrow peaks, which is compatible with the fact that human face discriminability of different subjects performance is best within a small band of spatial frequencies (bandwidth around two octaves, e.g., ). Nevertheless, MI shows a broad maximum, what may be interpreted as that recognition would still work if critical frequencies were not available. Similar observations were made in psychophysical studies , where it has been reported that face recognition is suboptimal in the absence of the critical frequencies. In this context, “suboptimal” means that it takes more time for subjects to recognize face identity, presumably due to a decreased signal-to-noise ratio .
The present study lends further support to the findings of Keil  in that the stimuli (i.e., face images) provide the explanation of the preference of a narrow spatial frequency band for both human and artificial face recognition. As a consequence, it is reasonable that artificial face recognition systems focus on these frequencies to achieve an optimal recognition performance, given that they are the most effective in terms of class discriminability. Because these critical spatial frequencies correspond to small image patches, a further advantage emerges through an economic use of resources for both processing and storing faces.
Materials and Methods
We used 868 female face images, and 868 male face images from the Face Recognition Grand Challenge database (FRGC, www.frvt.org/FRGC or www.bee-biometrics.org, Fig. 3) belonging to 55 different persons. We have selected all the subjects that have more than 20 images to obtain more accurate estimators of the discriminability measures. Original images (1704×2272 pixels, 24-bit true color) were adjusted for horizontal alignment of eyes, before they were down-sampled to 256×256 pixels and converted into 8-bit gray-scale. The positions of left eye (xle, yle), right eye (xre, yre), and mouth (xmo, ymo), respectively, were used to approximate the position of each face center (≈nose) aswhere rnd(x) denotes rounding to the nearest integer value.
The FRGC database contains male and female face images of adults from different races, with multiple photographs for each subject, different facial expressions, and different hairstyles. The faces are displayed in a fronto-parallel fashion, although some did moderately vary in posture. All faces were displayed against a uniform grey background, and illumination conditions were homogeneous and without cast shadows.
Windowing of face images
Let the features which are not part of the actual face be denoted by external features (e.g.,shoulder region or hair). On the other hand, internal features refer to the eyes, the mouth, and the nose. The presence of external features in our face images may distort recognition performance. It is thus desirable to compare results without the presence of external features. We found that a good suppression of external features could be achieved by centering a minimum 4-term Blackman-Harris window  at (xno, yno). The procedure is illustrated with Fig. 1A.
Varying spatial frequency content
We adopted the following procedure to assess the frequency-dependence of face recognition. Each image was resized to continuously smaller sizes, starting with an initial size of 64×64 pixels (see Fig. 1B). We used a bilinear interpolation scheme with the Matlab function “resize” to this end (Matlab version 184.108.40.206 R14 SP3 Image Processing Toolbox, see www.mathworks.com). A down-sized image is equivalent to its low- pass filtered original image, with a cut-off frequency equivalently to the Nyquist frequency (half of pixel width or height in cycles per image). This means that the smaller image contains all spatial frequencies of the original image which are smaller or equal than the Nyquist frequency. We subsequently performed high-pass filtering of the smaller images. The latter procedure is equivalent to band-pass filtering or the original image with a narrow filter bandwidth. Notice that down-sizing reduces the dimensionality of the feature space, and saves computational time when compared to naive low-pass and high-pass filtering, respectively.
Evaluation of Recognition Performance
The best criterion to evaluate the effectiveness of a features set to perform a concrete classification task is the Bayes error . The Bayes error corresponds to the minimal probability of classification error for any given distributions , , that is, the probability that a sample is assigned to a wrong class . This is the best option to evaluate features quality given that it does not depend on any specific classifier. In fact, the estimation of the Bayes error is used pattern recognition as a reference to evaluate the performance of a classification method .
Unfortunately, Bayes error is a theoretical definition that can not be computed if the probability densities of the data are unknown. However, upper bounds of this value can be estimated from a set of samples and these measures can be used to compare different feature sets in order to determine which is the most competitive to perform a concrete classification task. In concrete, the more effective feature set will be the one that gives a lower upper bound of the Bayes error, interpreting this value as a measure of class separability.
Different upper bounds expressions of the Bayes error can be found in the literature , , . In some cases, these expressions have been used to construct discriminability measures, that is, measures that are inversely proportional to the upper bound of the error , , . In this context, to find the most effective feature set among different proposals we can estimate these discriminability measures from the data and select the features with highest score.
In this work we evaluate three of the discriminablitiy measures obtained from two different upper bounds of the Bayes error. The first is the Battacharyya bound , which is based on scatter matrices. This upper bound yields to a class separability criteria that depends on (i) the within-class-scatter-matrix that shows the scatter of samples around the same class, and (ii) the between class scatter matrix. These measures belong to Discriminant Analysis field and depending on the computation of these scatter matrices we get a discriminability measure that assumes each class to be Gaussian distributed, or a non-parametric approach. Both computations are considered in this work and described in section “Discriminant Analysis”. On the other hand, we consider an upper bound that is based on Mutual Information between the samples and its corresponding class . In this case, the upper bound is inversely proportional to this statistic. We describe in section “Mutual Information” how we estimate this measure from the samples.
Classic discriminant analysis techniques were often applied to linear feature extraction in order to find the projection matrix that preserves the class discriminability of data points. In this context, the class discriminability of the projected data is estimated from the data scatter in the projected space. We describe two of these measures, which are the ones we use in our work.
In Discriminant Analysis, two kind of statistics have been used for this purpose: (i) the within-class-scatter-matrix that shows the scatter of samples around the same class SW, and (ii) the between class scatter matrix SB.
The discriminability measure should be high when the between class scatter is high and the within class variation is low (samples from the same class are close among them and far from the other classes). Different analytic criteria have been proposed in the literature for this purpose, among we have chosen:(1)
On the one hand, the first measure we consider is the discriminability criterion used in Fisher Linear Discriminant Analysis , that computes SB as(2)where mK is the class-conditional sample mean and m0 is the unconditional (global) sample mean. Furthermore it estimates SW by(3)where Sk is the class-conditional covariance matrix for Ck estimated from the data. We will denote this first measure by FLD.
On the other hand, Fukunaga and Mantock  proposed a non-parametric approach to compute the between class scatter matrix SB. In this case, the non-parametric between class scatter matrix is estimated as we describe following.
Let be x a data point in X with class label Cj, and by xclass class the subset of the k nearest neighbours of x among the data points in X with class labels different from Cj. We calculate a local between-class matrix for x as:(4)
The resulting SB is used in the criterion , while SW remains as in the first case. We will denote this second discriminability measure by NDA.
The Mutual Information between two random variables X and Y is defined as:(6)where p(X) and p(Y) are their respective probability density functions. In this paper we compute mutual information between data points X and classes C. A large value of mutual information in this case means that we have much information about the class C given the observation X. On the other hand, if the mutual information is zero, then both variables are independent.
Notice that the computation of mutual information also necessitates the estimation of corresponding probability distributions. However, Torkkola  recently proposed a method which makes the computation of mutual information feasible by using a quadratic divergence measure that allows an efficient non-parametric implementation, without prior assumptions about class densities. In concrete, the Mutual Information from the data can be computed bywheredenoting a sample by one index, xi, if the class is irrelevant and by two indexes, xcj, when its class is relevant. The function G is a multi-dimensional Gaussian Kernel with covariance matrix Σ,being d the corresponding dimensionality.
Conceived and designed the experiments: MK JV. Performed the experiments: AL DM. Analyzed the data: AL DM. Wrote the paper: MK AL DM JV.
- 1. Atick J, Redlich A (1992) What does the retina know about natural scenes? Neural Computation 4: 196–210.J. AtickA. Redlich1992What does the retina know about natural scenes?Neural Computation4196210
- 2. Attneave F (1954) Some informational aspects of visual perception. Psychological Review 61: 183–193.F. Attneave1954Some informational aspects of visual perception.Psychological Review61183193
- 3. Baddeley R, Abbott L, Booth M, Sengpiel F, Freeman T (1998) Responses of neurons in primary and inferior temporal visual cortices to natural scenes. Proceedings of the Royal Society, London B 264: 1775–1783.R. BaddeleyL. AbbottM. BoothF. SengpielT. Freeman1998Responses of neurons in primary and inferior temporal visual cortices to natural scenes.Proceedings of the Royal Society, London B26417751783
- 4. Barlow H (1961) Possible principles underlying the transformation of sensory messages. In: Rosenblith W, editor. Sensory Communication. Cambridge, MA: MIT Press. pp. 217–234.H. Barlow1961Possible principles underlying the transformation of sensory messages.W. RosenblithSensory CommunicationCambridge, MAMIT Press217234
- 5. Costen N, Parker D, Craw I (1994) Spatial content and spatial quantisation effects in face recognition. Perception 23: 129–146.N. CostenD. ParkerI. Craw1994Spatial content and spatial quantisation effects in face recognition.Perception23129146
- 6. Costen N, Parker D, Craw I (1996) Effects of high-pass and low-pass spatial filtering on face identification. Perception and Psychophysics 58: 602–612.N. CostenD. ParkerI. Craw1996Effects of high-pass and low-pass spatial filtering on face identification.Perception and Psychophysics58602612
- 7. Fiorentini A, Maffei L, Sandini G (1983) The role of high spatial frequencies in face perception. Perception 12: 195–201.A. FiorentiniL. MaffeiG. Sandini1983The role of high spatial frequencies in face perception.Perception12195201
- 8. Fisher R (1936) The use of multiple measurements in taxonomic problems. Ann Eugenics 7: 179–188.R. Fisher1936The use of multiple measurements in taxonomic problems.Ann Eugenics7179188
- 9. Fukunaga K (1990) Introduction to Statistical Pattern Recognition. 2nd ed. Boston, MA: Academic Press. K. Fukunaga1990Introduction to Statistical Pattern Recognition. 2nd edBoston, MAAcademic Press
- 10. Fukunaga K, Mantock J (1983) Nonparametric discriminant analysis. IEEE Transactions on Pattern Analysis and Machine Intelligence 5: 671–678.K. FukunagaJ. Mantock1983Nonparametric discriminant analysis.IEEE Transactions on Pattern Analysis and Machine Intelligence5671678
- 11. Harris F (1978) On the use of windows for harmonic analysis with the discrete Fourier transform. Proceedings of the IEEE 66: 51–84.F. Harris1978On the use of windows for harmonic analysis with the discrete Fourier transform.Proceedings of the IEEE665184
- 12. Hayes A, Morrone M, Burr D (1986) Recognition of positive and negative band-pass filtered images. Perception 15: 595–602.A. HayesM. MorroneD. Burr1986Recognition of positive and negative band-pass filtered images.Perception15595602
- 13. Hellman M, Raviv J (1970) Probability of error, equivocation and the Chernoff bound. IEEE Transactions on Information Theory 16: 368–372.M. HellmanJ. Raviv1970Probability of error, equivocation and the Chernoff bound.IEEE Transactions on Information Theory16368372
- 14. Hosoya T, Baccus S, Meister M (2005) Dynamic predictive coding by the retina. Nature 436: 71–77.T. HosoyaS. BaccusM. Meister2005Dynamic predictive coding by the retina.Nature4367177
- 15. Howe C, Purves D (2002) Range image statistics can explain the anomalous perception of length. Proceedings of the National Academy of Sciences USA 99: 13184–13188.C. HoweD. Purves2002Range image statistics can explain the anomalous perception of length.Proceedings of the National Academy of Sciences USA991318413188
- 16. Keil M (2008) Does face image statistics predict a preferred spatial frequency for human face processing? Proceedings of the Royal Society B. M. Keil2008Does face image statistics predict a preferred spatial frequency for human face processing?Proceedings of the Royal Society B
- 17. Laughlin S, de Ruyter van Steveninck R, Anderson J (1998) The metabolic cost of neural information. Nature Neuroscience 1: 36–41.S. LaughlinR. de Ruyter van SteveninckJ. Anderson1998The metabolic cost of neural information.Nature Neuroscience13641
- 18. Laughlin S, Sejnowski T (2003) Communication in Neural Networks. Science 301: 1870–1874.S. LaughlinT. Sejnowski2003Communication in Neural Networks.Science30118701874
- 19. Lenny P (2003) The cost of cortical computation. Current Biology 13: 493–497.P. Lenny2003The cost of cortical computation.Current Biology13493497
- 20. Levy W, Baxter R (1996) Energy-efficient neural codes. Neural Computation 8: 531 543.W. LevyR. Baxter1996Energy-efficient neural codes.Neural Computation8531 543
- 21. Linsker R (1988) Self-organization in a perceptual network. IEEE Transactions on Computer 21: 105–117.R. Linsker1988Self-organization in a perceptual network.IEEE Transactions on Computer21105117
- 22. Long F, Yang Z, Purves D (2006) Spectral statistics in natural scenes predict hue, saturation, and brightness. Proceedings of the National Academy of Sciences USA 103: 6013–6018.F. LongZ. YangD. Purves2006Spectral statistics in natural scenes predict hue, saturation, and brightness.Proceedings of the National Academy of Sciences USA10360136018
- 23. Lotto R, Purves D (2000) An empirical explanation of color contrast. Proceedings of the National Academy of Sciences USA 97: 12834–12839.R. LottoD. Purves2000An empirical explanation of color contrast.Proceedings of the National Academy of Sciences USA971283412839
- 24. Lotto R, Williams S, Purves D (1999) Mach bands as empirically derived associations. Proceedings of the National Academy of Sciences USA 96: 5245–5250.R. LottoS. WilliamsD. Purves1999Mach bands as empirically derived associations.Proceedings of the National Academy of Sciences USA9652455250
- 25. Näsänen R (1999) Spatial frequency bandwidth used in the recognition of facial images. Vision Research 39: 3824–3833.R. Näsänen1999Spatial frequency bandwidth used in the recognition of facial images.Vision Research3938243833
- 26. Nundy S, Purves D (2002) A probabilistic explanation of brightness scaling. Proceedings of the National Academy of Sciences USA 99: 14482–14487.S. NundyD. Purves2002A probabilistic explanation of brightness scaling.Proceedings of the National Academy of Sciences USA991448214487
- 27. Ojanpää , Näsänen R (2003) Utilisation of spatial frequency information in face search. Vision Research 43: 2505–2515.OjanpääR. Näsänen2003Utilisation of spatial frequency information in face search.Vision Research4325052515
- 28. Peli E, Lee E, Trempe C, Buzney S (1994) Image enhancement for the visually impaired: the effects of enhancement on face recognition. Journal of the Optical Society of America A 11: 1929–1939.E. PeliE. LeeC. TrempeS. Buzney1994Image enhancement for the visually impaired: the effects of enhancement on face recognition.Journal of the Optical Society of America A1119291939
- 29. Srinivasan M, Laughlin S, Dubs A (1982) Predictive coding: a fresh view of inhibition in the retina. Proceedings of the Royal Society of London B 216: 427–459.M. SrinivasanS. LaughlinA. Dubs1982Predictive coding: a fresh view of inhibition in the retina.Proceedings of the Royal Society of London B216427459
- 30. Tieger T, Ganz L (1979) Recognition of faces in the presence of two-dimensional sinusoidal masks. Perception and Psychophysics 26: 163–167.T. TiegerL. Ganz1979Recognition of faces in the presence of two-dimensional sinusoidal masks.Perception and Psychophysics26163167
- 31. Torkkola K (2003) Feature extraction by non-parametric mutual information maximization. J Mach Learn Res 3: 1415–1438.K. Torkkola2003Feature extraction by non-parametric mutual information maximization.J Mach Learn Res314151438
- 32. Turk M, Pentland A (1991) Eigenfaces for Recognition, Journal of Cognitive Neurosicence 3: 71–86.M. TurkA. Pentland1991Eigenfaces for Recognition,Journal of Cognitive Neurosicence37186
- 33. Duda R, Hart PE, Stork DG (2000) Pattern Classification, 2nd ed. New York: Wiley. R. DudaPE HartDG Stork2000Pattern Classification, 2nd edNew YorkWiley
- 34. Hastie T, Tibshirani R, Friedman J (2001) The Elements of Statistical Learning. New York: Springer-Verlag. T. HastieR. TibshiraniJ. Friedman2001The Elements of Statistical LearningNew YorkSpringer-Verlag
- 35. Fukunaga Keinosuke, Hung Sze-poR (1995) Bayes Error Estimation using Local Metrics. Electrical and Computer Engineering Technical Reports. Purdue University School of Electrical and Computer Engineering. Keinosuke FukunagaSze-poR Hung1995Bayes Error Estimation using Local Metrics. Electrical and Computer Engineering Technical Reports.Purdue University School of Electrical and Computer Engineering
- 36. Xuan Guorong, Zhang Zhenping, Chai Peiqui, Shi YunQ, Fu Dongdong (2005) A Feature Selection Based on Minimum Upper Bound of Bayes Error. IEEE 7th Workshop on Multimedia Signal Processing Page(s): 1–4.Guorong XuanZhenping ZhangPeiqui ChaiYunQ ShiDongdong Fu2005A Feature Selection Based on Minimum Upper Bound of Bayes Error.IEEE 7th Workshop on Multimedia Signal ProcessingPage(s)14