How does intelligent behavior sprout out of brain tissue? We study how computation emerges from large networks of neurons and search for principled dynamics that lead to robust behavior. We apply bottom-up and top-bottom approaches: we train artificial neural networks to model and explain experimental observations and derive fundamental theories of neural computation.