Specializing in chemistry, a university student in Hanoi pivoted to artificial intelligence, published seven scientific papers, and won a fully funded PhD scholarship in computer science in the U.S.