The research began as a scientific test of whether subtle changes in pupil dilation and eye movement could reveal deception as reliably as a polygraph.