Before joining the Hebrew university, he was a research assistant professor at Toyota Technological Institute at Chicago. Shai is the author of the book "Online Learning and Online Convex Optimization" and a co-author of the book "Understanding Machine Learning: From Theory to Algorithms". He has written more than 80 research papers, focusing on learning theory, online prediction, optimization techniques, and practical algorithms.