the analysis of faces in brains and machines
play

The Analysis of Faces in Brains and Machines Rafael - PowerPoint PPT Presentation

9.523 Aspects of a Computational Theory of Intelligence The Analysis of Faces in Brains and Machines Rafael Reif stay tuned... Why is face


  1. 9.523 ¡Aspects ¡of ¡a ¡Computational ¡Theory ¡of ¡Intelligence ¡ The ¡Analysis ¡of ¡Faces ¡ ¡ in ¡Brains ¡and ¡Machines ¡ Rafael ¡Reif ¡ stay ¡tuned... ¡

  2. Why ¡is ¡face ¡analysis ¡important ¡ ¡ for ¡intelligence? ¡ Remember/recognize ¡people ¡we’ve ¡seen ¡before ¡ ¡ Categorization ¡– ¡e.g. ¡gender, ¡race, ¡age, ¡kinship ¡ ¡ Social ¡communication ¡– ¡emotions/mood, ¡intentions, ¡trustworthiness, ¡ ¡ ¡ ¡competence ¡or ¡intelligence, ¡attractiveness ¡ ¡ Scene ¡understanding, ¡e.g. ¡direction ¡of ¡gaze ¡suggests ¡focus ¡of ¡attention ¡

  3. Why ¡is ¡face ¡recognition ¡hard? ¡ changing ¡pose ¡ changing ¡illumination ¡ aging ¡ clutter ¡ changing ¡expression ¡ ¡ occlusion ¡

  4. How ¡good ¡are ¡we ¡at ¡face ¡recognition? ¡ Jenkins, ¡White, ¡Van ¡Montfort ¡& ¡Burton, ¡ Cognition , ¡2011 ¡

  5. Face ¡recognition ¡performance ¡in ¡humans ¡ chance ¡ performance ¡ testmybrain.org ¡ Wilmer ¡et ¡al., ¡2012 ¡ Duchaine ¡& ¡Nakayama, ¡2006 ¡

  6. Face ¡recognition ¡performance ¡in ¡humans ¡ Which ¡of ¡the ¡10 ¡photos ¡on ¡the ¡ bottom ¡depicts ¡the ¡target ¡face? ¡ ¡ Viewers ¡are ¡~ ¡70% ¡correct ¡ ¡ Performance ¡degrades ¡with ¡ changes ¡in ¡pose, ¡expression ¡ ¡ Only ¡slight ¡improvement ¡with ¡ short ¡video ¡clip ¡of ¡target ¡ Importance ¡of ¡familiar ¡vs. ¡ unfamiliar ¡face ¡recognition! ¡ Bruce ¡et ¡al., ¡1999 ¡

  7. How ¡good ¡are ¡the ¡best ¡machines? ¡ Public ¡databases ¡of ¡face ¡images ¡serve ¡as ¡benchmarks: ¡ ¡ Labeled ¡Faces ¡in ¡the ¡Wild ¡(LFW, ¡http://vis-­‑www.cs.umass.edu/lfw) ¡ ¡> ¡13,000 ¡images ¡of ¡celebrities, ¡5,749 ¡different ¡identities ¡ ¡ YouTube ¡Faces ¡Database ¡(YTF, ¡http://www.cs.tau.ac.il/~wolf/ytfaces) ¡ ¡3,425 ¡videos, ¡1,595 ¡different ¡identities ¡ ¡ Private ¡face ¡image ¡datasets: ¡ ¡ (Facebook) ¡Social ¡Face ¡Classieication ¡dataset ¡ ¡ ¡4.4 ¡million ¡face ¡photos, ¡4,030 ¡different ¡identities ¡ (Google) ¡100-­‑200 ¡million ¡face ¡images, ¡~ ¡8 ¡million ¡different ¡identities ¡ ¡ LFW ¡ YTF ¡ Facebook ¡DeepFace ¡ 97.4% ¡ 91.4% ¡ Google ¡FaceNet ¡ 99.6% ¡ 95.1% ¡ Human ¡performance ¡ 97.5% ¡ 89.7% ¡

  8. Machine ¡vision ¡applications ¡of ¡face ¡recognition ¡ security, ¡forensics ¡ access ¡ control ¡ surveillance ¡

  9. More ¡applications ¡of ¡face ¡recognition ¡ content-­‑based ¡image ¡retrieval ¡ social ¡media ¡ graphics, ¡HCI ¡ humanoid ¡robots ¡

  10. Aspects ¡of ¡face ¡processing ¡ Face ¡detection ¡– ¡eind ¡image ¡regions ¡that ¡contain ¡faces ¡ ¡ Face ¡identieication ¡– ¡who ¡is ¡the ¡person? ¡ ¡ Categorization ¡– ¡gender, ¡age, ¡race ¡ ¡ Facial ¡expression ¡– ¡mood, ¡emotion ¡ ¡ Non-­‑verbal ¡social ¡perception ¡and ¡communication ¡ ¡ ¡

  11. It ¡all ¡began ¡with ¡Takeo ¡Kanade ¡(1973)… ¡ PhD ¡thesis, ¡ Picture ¡Processing ¡System ¡by ¡Computer ¡Complex ¡and ¡ ¡ ¡ ¡ ¡ ¡Recognition ¡of ¡Human ¡Faces ¡ • Special ¡purpose ¡algorithms ¡to ¡locate ¡eyes, ¡ nose, ¡mouth, ¡boundaries ¡of ¡face ¡ • ~ ¡40 ¡geometric ¡features, ¡e.g. ¡ratios ¡of ¡ distances ¡and ¡angles ¡between ¡features ¡

  12. Eigenfaces ¡for ¡recognition ¡(Turk ¡& ¡Pentland) ¡ Principal ¡Components ¡Analysis ¡(PCA) ¡ Goal: ¡reduce ¡the ¡dimensionality ¡of ¡the ¡data ¡while ¡retaining ¡as ¡much ¡ ¡ ¡ ¡information ¡as ¡possible ¡in ¡the ¡original ¡dataset ¡ ¡ PCA ¡allows ¡us ¡to ¡compute ¡a ¡linear ¡transformation ¡that ¡maps ¡data ¡from ¡ ¡ ¡ ¡a ¡high ¡dimensional ¡space ¡to ¡a ¡lower ¡dimensional ¡subspace ¡

  13. Typical ¡sample ¡training ¡set… ¡ One ¡or ¡more ¡images ¡ ¡ ¡per ¡person ¡ ¡ Aligned ¡& ¡cropped ¡to ¡ ¡ ¡common ¡pose, ¡size ¡ ¡ Simple ¡background ¡ Sample ¡images ¡from ¡the ¡Yale ¡face ¡database, ¡results ¡from ¡C. ¡deCoro ¡ ¡http://www.cs.princeton.edu/~cdecoro/eigenfaces/ ¡

  14. Eigenfaces ¡for ¡recognition ¡(Turk ¡& ¡Pentland) ¡ Ψ(x,y) ¡ Perform ¡ PCA ¡on ¡a ¡large ¡set ¡of ¡training ¡ images, ¡to ¡create ¡a ¡set ¡of ¡ eigenfaces , ¡ E i (x,y), ¡that ¡span ¡the ¡data ¡set ¡ First ¡components ¡capture ¡most ¡of ¡the ¡ variation ¡across ¡the ¡data ¡set, ¡later ¡ components ¡capture ¡subtle ¡variations ¡ Ψ(x,y): ¡average ¡face ¡(across ¡all ¡faces) ¡ http://vismod.media.mit.edu/vismod/demos/facerec/basic.html ¡ Each ¡face ¡image ¡F(x,y) ¡can ¡be ¡expressed ¡as ¡a ¡weighted ¡combination ¡of ¡the ¡ eigenfaces ¡E i (x,y): ¡ ¡ ¡ F(x,y) ¡= ¡Ψ(x,y) ¡+ ¡Σ i ¡w i *E i (x,y) ¡ ¡ 1-14

  15. Representing ¡individual ¡faces ¡ Each ¡face ¡image ¡F(x,y) ¡can ¡be ¡expressed ¡as ¡a ¡weighted ¡combination ¡of ¡the ¡ eigenfaces ¡E i (x,y): ¡ ¡ ¡ ¡ ¡ ¡ ¡ F(x,y) ¡= ¡Ψ(x,y) ¡+ ¡Σ i ¡w i *E i (x,y) ¡ ¡ ¡ ¡ Recognition ¡process: ¡ (1) Compute ¡weights ¡w i ¡ ¡ for ¡novel ¡face ¡image ¡ (2) Find ¡image ¡m ¡in ¡face ¡ database ¡with ¡most ¡ similar ¡weights, ¡e.g. ¡ k ∑ m ) 2 min ( w i − w i i = 1

  16. Changing ¡expressions ¡& ¡lighting ¡ Eigenfaces ¡approach ¡ handles ¡changes ¡in ¡ facial ¡expression ¡ ok… ¡ … ¡but ¡not ¡changes ¡in ¡ lighting ¡ (results ¡from ¡C. ¡deCoro) ¡ 1-16

  17. Face ¡detection: ¡Viola ¡& ¡Jones ¡ Multiple ¡view-­‑based ¡classi4iers ¡ based ¡on ¡simple ¡features ¡ that ¡best ¡discriminate ¡faces ¡vs. ¡non-­‑faces ¡ Most ¡discriminating ¡features ¡ learned ¡from ¡thousands ¡of ¡ samples ¡of ¡face ¡and ¡non-­‑face ¡image ¡windows ¡ Attentional ¡mechanism: ¡ cascade ¡of ¡increasingly ¡ discriminating ¡classieiers ¡ improves ¡performance ¡ 1-17

  18. Viola ¡& ¡Jones ¡use ¡simple ¡features ¡ Use ¡simple ¡ rectangle ¡features: ¡ ¡ ¡ ¡ ¡ ¡ ¡ Σ ¡ I(x,y) ¡in ¡gray ¡area ¡– ¡ Σ ¡ I(x,y) ¡in ¡white ¡area ¡ within ¡24 ¡x ¡24 ¡image ¡sub-­‑windows ¡ • ¡Initially ¡consider ¡160,000 ¡potential ¡ ¡ ¡ ¡ ¡ ¡ ¡features ¡per ¡sub-­‑window! ¡ • ¡features ¡computed ¡very ¡efeiciently ¡ Which ¡features ¡best ¡distinguish ¡face ¡vs. ¡non-­‑face? ¡ Learn ¡most ¡discriminating ¡features ¡from ¡ thousands ¡of ¡samples ¡of ¡face ¡and ¡non-­‑ face ¡image ¡windows ¡ 1-18

  19. Learning ¡the ¡best ¡features ¡ x ¡= ¡image ¡window ¡ weak ¡classiBier ¡ using ¡one ¡feature: ¡ f ¡ = ¡feature ¡ ¡ p ¡= ¡+1 ¡or ¡-­‑1 ¡ θ ¡= ¡threshold ¡ ¡ … n ¡training ¡samples, ¡ equal ¡weights, ¡ τ ¡ known ¡classes ¡ (x 1 ,w 1 ,1) ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡(x n ,w n ,0) ¡ find next best weak classifier normalize ¡ einal ¡classieier ¡ weights ¡ AdaBoos t ¡ ~ ¡200 ¡features ¡yields ¡good ¡results ¡ use ¡classieication ¡errors ¡ ¡ ¡ ¡ ¡for ¡ “ monolithic ” ¡classieier ¡ to ¡update ¡weights ¡ 1-19

  20. “ Attentional ¡cascade ” ¡of ¡increasingly ¡ ¡discriminating ¡classieiers ¡ Early ¡classieiers ¡use ¡a ¡few ¡highly ¡ discriminating ¡features, ¡low ¡threshold ¡ 1 st ¡classieier ¡uses ¡two ¡features, ¡ ¡ ¡ ¡ ¡ • removes ¡50% ¡non-­‑face ¡windows ¡ ¡ later ¡classieiers ¡distinguish ¡harder ¡ • examples ¡ • ¡ ¡Increases ¡efeiciency ¡ • ¡ ¡Allows ¡use ¡of ¡many ¡more ¡features ¡ à ¡Cascade ¡of ¡38 ¡classieiers, ¡using ¡~6000 ¡features ¡ 1-20

  21. Training ¡with ¡normalized ¡faces ¡ 5000 ¡faces ¡ many ¡more ¡non-­‑face ¡patches ¡ ¡ faces ¡are ¡normalized ¡ for ¡scale, ¡rotation ¡ ¡ small ¡variation ¡in ¡pose ¡

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend