To begin teaching the robot, the researchers stuck Einstein in front of a mirror and instructed the robot to "body babble" by contorting its face into random positions. A video camera connected to facial recognition software gave the robot feedback: When it made a movement that resembled a "real" expression, it received a reward signal.
"It's an iterative process," said facial recognition expert Marian Bartlett, a co-author of the study. "It starts out completely random and then gets feedback. Next time the robot picks an expression, there's a bias towards putting the motors in the right configuration."
Now I'm no terrorist, BUT IF I WAS, Machine Perception Laboratory, just sayin'.
Robot Teaches Itself to Smile [wired]
Thanks to Dirk, Dennie and RealLifeFup, who asked it to smile for the camera and then shot it because it wasn't really a camera, it was a gun.