While at Stanford he focused on machine learning, artificial intelligence, and natural language processing and did research with professor Andrew Ng, director of the Stanford Artificial Intelligence Lab.