{"title": "Classifying Facial Action", "book": "Advances in Neural Information Processing Systems", "page_first": 823, "page_last": 829, "abstract": null, "full_text": "Classifying Facial Action \n\nMarian Stewart Bartlett, Paul A.  Viola, \n\nTerrence J.  Sejnowski,  Beatrice A.  Golomb \n\nJan Larsen \n\nThe Niels  Bohr  Institute \n\nHoward Hughes  Medical  Institute \n\nThe Salk  Institute,  La Jolla,  CA 92037 \nmarni,  viola,  terry,  beatrice @salk.edu \n\n2100  Copenhagen \n\nDenmark \n\njlarsen@fys.ku.dk \n\nJoseph C.  Hager \n\nPaul Ekman \n\nNetwork Information  Research  Corp \n\nUniversity  of California  San Francisco \n\nSalt  Lake  City,  Utah \n\njchager@ibm.net \n\nSan Francisco,  CA 94143 \n\nekmansf@itsa.ucsf.edu \n\nAbstract \n\nThe Facial Action Coding System, (FACS),  devised by Ekman and \nFriesen (1978), provides an objective meanS for measuring the facial \nmuscle  contractions  involved in  a  facial  expression.  In  this  paper, \nwe  approach automated facial expression  analysis by detecting and \nclassifying  facial  actions.  We  generated  a  database  of over  1100 \nimage sequences  of 24  subjects  performing over  150 distinct facial \nactions  or  action  combinations.  We  compare  three  different  ap(cid:173)\nproaches  to classifying the facial  actions  in  these  images:  Holistic \nspatial analysis based on principal components of graylevel images; \nexplicit measurement of local image features  such  as wrinkles;  and \ntemplate matching with  motion flow  fields.  On  a  dataset contain(cid:173)\ning six individual actions and 20 subjects, these methods had 89%, \n57%, and 85% performances respectively for generalization to novel \nsubjects.  When combined,  performance improved to 92%. \n\n1 \n\nINTRODUCTION \n\nMeasurement of facial expressions  is  important for  research  and assessment psychi(cid:173)\natry, neurology, and experimental psychology (Ekman, Huang, Sejnowski, & Hager, \n1992), and has technological applications in consumer-friendly user interfaces, inter(cid:173)\nactive  video  and  entertainment  rating.  The Facial  Action  Coding System  (FACS) \nis  a  method for  measuring facial  expressions  in  terms of activity in  the  underlying \nfacial muscles  (Ekman & Friesen,  1978).  We are exploring ways to automate FACS. \n\n\f824 \n\nBARTLETI, VIOLA, SEJNOWSKI, GOLOMB, LARSEN, HAGER,  EKMAN \n\nRather than classifying images into emotion categories  such  as  happy,  sad,  or sur(cid:173)\nprised,  the goal of this work is  instead to detect the muscular actions that comprise \na  facial expression. \n\nFACS  was developed  in order  to allow researchers  to measure the activity of facial \nmuscles  from  video  images of faces.  Ekman  and  Friesen  defined  46  distinct  action \nunits,  each  of which  correspond  to  activity  in  a  distinct  muscle  or  muscle  group, \nand produce characteristic facial  distortions which  can be  identified in  the images. \nAlthough there are static cues to the facial actions, dynamic information is a critical \naspect  of facial  action  coding. \nFACS  is  currently used  as a  research  tool in  several  branches of behavioral science, \nbut  a  major  limitation to  this  system  is  the  time  required  to  both  train  human \nexperts and to manually score the video tape.  Automating the Facial Action Coding \nSystem would make it more widely accessible as a research tool, and it would provide \na  good foundation for  human-computer interactions  tools. \n\nWhy  Detect Facial  Actions? \n\nMost  approaches to facial expression recognition by computer have focused  on clas(cid:173)\nsifying images into a small set of emotion categories such as  happy, sad, or surprised \n(Mase,  1991;  Yacoob  &  Davis,  1994;  Essa  &  Pentland,  1995).  Real  facial  signals, \nhowever,  consist ofthousands of distinct expressions,  that differ often in only subtle \nways.  These differences can signify not only which emotion is occurring, but whether \ntwo  or  more  emotions  have  blended  together,  the  intensity  of the  emotion(s),  and \nif an attempt is  being made to control the expression  of emotion (Hager  & Ekman , \n1995). \nAn  alternative to training a  system explicitly on  a  large number of expression  cat(cid:173)\negories  is  to detect  the  facial  actions  that comprise the  expressions.  Thousands  of \nfacial  expressions  can  be  defined  in  terms  of this  smaller set  of structural  compo(cid:173)\nnents.  We  can  verify  the  signal  value  of these  expressions  by  reference  to  a  large \nbody  of behavioral data relating facial  actions  to  emotional states  which  have  al(cid:173)\nready  been  scored  with  FACS.  FACS  also  provides  a  meanS  for  obtaining reliable \ntraining data.  Other approaches to automating facial measurement have mistakenly \nrelied upon voluntary expressions,  which tend to contain exaggerated and redundant \ncues,  while omitting some muscular actions altogether  (Hager  & Ekman, 1995). \n\n2 \n\nIMAGE  DATABASE \n\nWe  have  collected  a  database  of image  sequences  of subjects  performing specified \nfacial  actions.  The full  database contains over  1100 sequences  containing over  150 \ndistinct  actions,  or  action  combinations,  and  24  different  subjects.  The sequences \ncontain  6  images,  beginning with  a  neutral  expression  and  ending  with  a  high  in(cid:173)\ntensity  muscle  contraction  (Figure  1).  For  our  initial  investigation  we  used  data \nfrom  20  subjects  and  attempted  to  classify  the  six  individual  upper  face  actions \nillustrated in  Figure 2.  The information that is  available in the images for detecting \nand  discriminating these  actions  include  distortions  in the shapes  and  relative po(cid:173)\nsitions of the  eyes  and  eyebrows,  the  appearance  of wrinkles,  bulges,  and furrows, \nin specific  regions  of the face,  and  motion of the brows  and eyelids. \n\nPrior  to  classifying  the  images,  we  manually  located  the  eyes,  and  we  used  this \ninformation to crop a region around the upper face and scale the images to 360 x 240. \nThe  images were  rotated so  that  the  eyes  were  horizontal,  and the  luminance  was \nnormalized.  Accurate  image registration  is  critical for  principal components  based \napproaches.  For the holistic analysis and flow  fields,  the images were further scaled \n\n\fClassifying  Facial  Action \n\n825 \n\nto  22  x  32  and 66  x  96,  respectively.  Since  the  muscle contractions  are  frequently \nasymmetric about the face,  we  doubled  the  size  of our data set  by  reflecting  each \nimage about the  vertical  axis,  giving a  total of 800  images. \n\nFigure  1:  Example action sequences  from  the database. \n\nAU  1 \n\nAU2 \n\nAU4 \n\nAU5 \n\nAU6 \n\nAU7 \n\nFigure  2:  Examples of the six actions  used  in this study.  AU  1:  Inner brow raiser. \n2:  Outer  brow  raiser.  4:  Brow  lower.  5:  Upper  lid  raiser  (widening  the  eyes).  6: \nCheek raiser.  7:  Lid tightener  (partial squint). \n\n3  HOLISTIC  SPATIAL  ANALYSIS \n\nThe  Eigenface  (Thrk  &  Pentland,  1991)  and  Holon  (Cottrell  &  Metcalfe,  1991) \nrepresentations  are  holistic  representations  based  on  principal components,  which \ncan  be extracted  by  feed  forward  networks  trained  by  back  propagation.  Previous \nwork in our lab and others has demonstrated that feed forward networks taking such \nholistic representations  as input can  successfully classify gender  from facial  images \n(Cottrell & Metcalfe,  1991;  Golomb, Lawrence,  & Sejnowski,  1991).  We  evaluated \nthe  ability of a  back  propagation network  to classify  facial  actions  given  principal \ncomponents of graylevel images as  input. \n\nThe primary difference between the present approach and the work referenced above \nis  that  we  take  the  principal  components of a  set  of difference  images,  which  we \nobtained by subtracting the first  image in  the sequence  from the subsequent images \n(see Figure 3).  The variability in our data set is therefore due to the facial distortions \nand individual differences  in facial distortion, and we  have  removed variability due \nto surface-level differences  in  appearance. \n\nWe  projected  the  difference  images  onto  the  first  N  principal  components  of the \ndataset,  and these projections comprised the input to a 3 layer neural network with \n10 hidden units, and six output units, one per action (Figure 3.)  The network is feed \nforward  and fully  connected  with  a  hyperbolic  tangent transfer  function,  and  was \ntrained with conjugate gradient descent.  The output of the network was determined \nusing winner take all, and generalization to novel subjects  was determined by using \nthe  leave-one-out,  or jackknife,  procedure  in  which  we  trained  the  network  on  19 \nsubjects  and  reserved  all of the  images from  one  subject  for  testing.  This  process \nwas  repeated for  each of the subjects  to obtain a  mean generalization performance \nacross  20  test cases. \n\n\f826 \n\nBARTLETI, VIOLA, SEJNOWSKI, GOLOMB, LARSEN, HAGER, EKMAN \n\nWe obtained the best performance with 50 component projections, which gave 88.6% \ncorrect  across  subjects.  The  benefit  obtained  by  using  principal components  over \nthe 704-dimensional difference images themselves is not large.  Feeding the difference \nimages directly  into the network gave  a performance of 84% correct. \n\n6 OUtputs  I WT A \n\nFigure  3:  Left:  Example difference  image.  Input  values  of -1  are  mapped to black \nand  1 to white.  Right:  Architecture  of the feed  forward  network. \n\n4  FEATURE MEASUREMENT \n\nWe  turned  next  to  explicit  measurement  of local  image  features  associated  with \nthese  actions.  The  presence  of wrinkles  in  specific  regions  of the  face  is  a  salient \ncue to the contraction of specific  facial muscles.  We measured wrinkling at the four \nfacial  positions marked in  Figure  4a,  which  are located in the image automatically \nfrom  the eye  position information.  Figure  4b shows  pixel intensities along the line \nsegment labeled A,  and two major wrinkles  are evident. \n\nWe defined a wrinkle measure P  as the sum of the squared derivative of the intensity \nvalues along the segment (Figure 4c.)  Figure 4d shows  P  values along line segment \nA,  for  a  subject  performing each  of the  six actions.  Only  AU  1 produces  wrinkles \nin  the  center  of the  forehead.  The  P  values  remain  at  zero  except  for  AU  1,  for \nwhich  it increases with increases in action intensity.  We also defined  an eye opening \nmeasure as the area of the visible sclera lateral to the iris.  Since  we  were  interested \nin changes in these measures from baseline, we subtract the measures obtained from \nthe neutral  image. \n\na \n\nc \n\np \n\nb \n\n0'---____  --' \n\nPixel \n\n2 \n\nd  3....----------, ....-----, \nAU1  __ \nAU2 -+-. \nAU4 -E!-. \nAU5  -K-\u00b7 \nAU6-4-\u00b7 \nAU7-ll---\n\nc( \nc..  1 \n\n~ _~ \n\n.... ----t-\n\no  ~.~~ -.... --']t;. ... ~.t(=-: .... \n-.... =\"!1t:-:-:-..:-::!:: 2 \no \n1  234   5 \nImage in Seqence \n\nFigure  4:  a)  Wrinkling was  measured  at four  image locations,  A-D.  b)  Smoothed \npixel  intensities  along  the  line  labeled  A.  c)  Wrinkle  measure.  d)  P  measured  at \nimage location A for one subject  performing each  of the six actions. \n\nWe classified the actions from these five  feature measures using a  3-layer neural net \nwith  15  hidden  units.  This  method  performs  well  for  some  subjects  but  not  for \n\n\fClassifying  Facial  Action \n\n827 \n\nFigure  5:  Example flow  field  for  a  subject  performing AU  7,  partial closure  of the \neyelids.  Each  flow  vector  is  plotted  as  an  arrow  that  points  in  the  direction  of \nmotion.  Axes  give image location. \n\nothers,  depending  on  age  and  physiognomy.  It achieves  an  overall  generalization \nperformance of 57%  correct. \n\n5  OPTIC  FLOW \n\nThe  motion  that  results  from  facial  action  provides  another  important source  of \ninformation.  The third classifier attempts to classify facial actions based only on the \npattern of facial motion.  Motion is extracted from image pairs consisting of a neutral \nimage and an  image that displays  the action to be  classified.  An  approximation to \nflow  is  extracted by implementing the brightness constraint equation  (2)  where  the \nvelocity  (vx,Vy)  at  each  image  point  is  estimated  from  the  spatial  and  temporal \ngradients  of the  image  I.  The  velocities  can  only  be  reliably  extracted  at  points \nof large  gradient,  and  we  therefore  retain  only  the velocities  from  those  locations. \nOne  of the  advantages of this simple local  estimate of flow  is  speed.  It takes  0.13 \nseconds  on  a  120 MHz  Pentium to compute one  flow  field.  A  resulting flow  image \nis  illustrated in Figure 5. \n\n8I(x, y, t) \n\n8x  + Vy \n\nVx \n\n8I(x, y, t) \n\n8y \n\n+ \n\n8I(x, y, t)  _  0 \n\n8t \n\n-\n\n(2) \n\nWe  obtained weighted  templates for  each  of the actions  by taking mean flow  fields \n\nfrom  10  subjects.  We  compared  novel flow  patterns, r  to the  template  ft  by  the \n\nsimilarity measure S (3).  S is  the normalized dot product of the novel flow field  with \nthe template flow  field.  This template matching procedure gave 84.8% accuracy for \nnovel subjects.  Performance was the same for  the ten subjects  used  in  the training \nset  as for  the ten in  the test set. \n\n(3) \n\n6  COMBINED  SYSTEM \n\nFigure  6  compares  performance for  the  three  individual methods described  in  the \nprevious sections.  Error bars give the standard deviation for the estimate of gener(cid:173)\nalization  to novel  subjects.  We  obtained  the best  performance  when  we  combined \nall  three  sources  of information  into  a  single  neural  network.  The  classifier  is  a \n\n\f828 \n\nBAR1LETI, VIOLA, SEJNOWSKI, GOLOMB, LARSEN, HAGER,  EKMAN \n\nI 6  Output I WTA \n11Ol:i \n\nFigure 6:  Left:  Combined system architecture.  Right:  Performance comparisons. \n\nClassifier \n\nHolistic v. Flow \n\n- r  :0.52  \u2022 \n\ni \ng \n\nFeature v. Row \nr  :0.26 \n\u2022 \n\n\u2022 \n\n\u2022 \n\n~ \n\n~ \n50 \n\n\u2022  \u2022 \n\n60  70 \n\n80  90 \n\n100 \n\nFeature v. Holistic \n\nr:O.OO \n\ni \n\nIi! \n~~--...;......,..\".-\n\n~ \n~:------\n100 \n50  60  70  80  90 \n\nFigure  7:  Performance  correlations  among  the  three  individual  classifiers.  Each \ndata point is  performance for  one  of the  20  subjects. \n\nfeed  forward  network  taking 50  component  projections,  5 feature  measures,  and  6 \ntemplate matches as  input  (see  Figure 6.) \nThe  combined system  gives  a  generalization  performance of 92%,  which  is  an  im(cid:173)\nprovement over  the best  individual method at 88.6%.  The increase  in performance \nlevel  is  statistically significant  by  a  paired  t-test.  While  the improvement is  small, \nit constitutes about 30% of the difference  between  the best individual classifier  and \nperfect  performance.  Figure  6  also  shows  performance  of human subjects  on  this \nsame dataset.  Human  non-experts  can  correctly  classify  these  images with  about \n74%  accuracy.  This  is  a  difficult  classification  problem  that  requires  considerable \ntraining for  people  to be  able  to perform well. \nWe  can  examine  how  the  combined  system  benefits  from  multiple  input  sources \nby  looking  at  the  cprrelations  in  performance  of the  three  individual  classifiers. \nCombining estimators is  most beneficial  when  the individual estimators make very \ndifferent  patterns of errors.1  The performance of the individual classifiers  are com(cid:173)\npared in  Figure 7. \n\nThe holistic and the flow field classifiers are correlated with a coefficient of 0.52.  The \nfeature  based system,  however,  has  a  more  independent  pattern  of errors  from the \ntwo template-based methods.  Although the stand-alone performance of the feature(cid:173)\nbased  system  is  low,  it  contributes  to  the  combined  system  because  it  provides \nestimates that are independent from the two template-based systems.  Without the \nfeature  measures,  we  lose  40%  of the  improvement.  Since  we  have  only  a  small \nnumber of features,  this data does  not address  questions  about  whether  templates \nare  better than features,  but it does  suggest  that local features  plus  templates may \nbe superior to either one alone, since they may have independent  patterns of errors. \n\niTom Dietterich,  Connectionists  mailing  list,  July  24,  1993. \n\n\fClassifying  Facial  Action \n\n7  DISCUSSION \n\n829 \n\nWe  have evaluated the performance of three approaches to image analysis on a dif(cid:173)\nficult  classification  problem.  We  obtained  the best  performance  when  information \nfrom holistic spatial analysis, feature measurements, and optic flow fields  were com(cid:173)\nbined in a single system.  The combined system classifies a face in less than a second \non a  120  MHz  Pentium. \nOur initial results are promising since the upper facial actions included in this study \nrepresent  subtle  distinctions  in  facial  appearance  that require  lengthy  training for \nhumans  to  make  reliably.  Our  results  compare  favorably  with  facial  expression \nrecognition systems developed by  Mase  (1991), Yacoob and Davis (1994),  and Pad(cid:173)\ngett and Cottrell (1995), who obtained 80%, 88%, and 88% accuracy respectively for \nclassifying up to six full face expressions.  The work presented here differs from these \nsystems in  that we  attempt to detect individual muscular actions rather than emo(cid:173)\ntion categories,  we  use  a dataset of labeled facial  actions,  and our dataset includes \nlow and medium intensity muscular actions as well as  high intensity ones.  Essa and \nPentland (1995)  attempt to relate facial expressions to the underlying musculature \nthrough a complex physical model of the face.  Since our methods are image-based, \nthey  are  more  adaptable to variations in facial  structure  and skin  elasticity  in  the \nsubject  population. \n\nWe  intend to apply these techniques  to the lower facial  actions and to action com(cid:173)\nbinations as  well.  A  completely  automated method for  scoring facial  actions  from \nimages  would  have  both  commercial  and  research  applications  and  would  reduce \nthe time and expense  currently required for  manual scoring by trained observers. \n\nAcknow ledgments \n\nThis research  was  supported  by  Lawrence  Livermore National Laboratories, Intra(cid:173)\nUniversity  Agreement  B291436,  NSF  Grant  No.  BS-9120868,  and  Howard  Hughes \nMedical  Institute.  We  thank Claudia Hilburn for image collection. \n\nReferences \n\nCottrell,  G.,& Metcalfe,  J.  (1991):  Face, gender and emotion recognition  using holons.  In \nAdvances in  Neural Information Processing Systems 9,  D.  Touretzky,  (Ed.)  San Mateo: \nMorgan & Kaufman.  564 - 571. \n\nEkman,  P.,  &  Friesen,  W.  (1978):  Facial  Action  Coding  System:  A  Technique  for  the \n\nMeasurement  of Facial  Movement.  Palo  Alto,  CA:  Consulting Psychologists Press. \n\nEkman,  P.,  Huang,  T.,  Sejnowski,  T.,  &  Hager,  J.  (1992):  Final  Report  to  NSF  of  the \nPlanning  Workshop  on  Facial  Expression  Understanding.  Available  from  HIL-0984, \nUCSF, San Francisco,  CA 94143. \n\nEssa, I., & Pentland,  A.  (1995).  Facial expression recognition using visually extracted facial \naction parameters.  Proceedings  of the  International  Workshop  on  Automatic Face- and \nGesture-Recognition.  University  of Zurich,  Multimedia  Laboratory. \n\nGolomb,  B.,  Lawrence,  D.,  & Sejnowski,  T.  (1991).  SEXnet:  A  neural  network identifies \nsex  from  human  faces.  In  Advances  in  Neural  Information  Processing  Systems  9,  D. \nTouretzky,  (Ed.)  San Mateo:  Morgan & Kaufman:  572  - 577. \n\nHager,  J.,  &  Ekman,  P.,  (1995).  The essential  behavioral  science  of the  face  and gesture \nthat  computer scientists  need  to know.  Proceedings  of the  International  Workshop  on \nAutomatic Face- and Gesture-Recognition.  University of Zurich,  Multimedia Laboratory. \nMase,  K.  (1991):  Recognition  of facial  expression  from  optical  flow.  IEICE  Transactions \n\nE 74(10):  3474-3483. \n\nPadgett,  C.,  Cottrell,  G.,  (1995).  Emotion  in  static  face  images.  Proceedings  of the \n\nInstitute for  Neural  Computation  Annual Research  Symposium,  Vol  5.  La Jolla,  CA. \nTurk,  M.,  &  Pentland,  A.  (1991):  Eigenfaces  for  Recognition.  Journal  of Cognitive  Neu(cid:173)\n\nroscience 3(1):  71  - 86. \n\nYacoob,  Y.,  &  Davis,  L.  (1994):  Recognizin~ human  facial  expression.  University  of \n\nMaryland  Center for  Automation Research  Technical Report No.  706. \n\n\f", "award": [], "sourceid": 1116, "authors": [{"given_name": "Marian", "family_name": "Bartlett", "institution": null}, {"given_name": "Paul", "family_name": "Viola", "institution": null}, {"given_name": "Terrence", "family_name": "Sejnowski", "institution": null}, {"given_name": "Beatrice", "family_name": "Golomb", "institution": null}, {"given_name": "Jan", "family_name": "Larsen", "institution": null}, {"given_name": "Joseph", "family_name": "Hager", "institution": null}, {"given_name": "Paul", "family_name": "Ekman", "institution": null}]}