Artificial intelligence impacts many areas of our modern lives. Neural networks play a key role but computation with electronic hardware is time and energy consuming. Weiming Yao investigates how artificial neurons can be realized in integrated photonics, possibly leading to faster and more efficient hardware for neural computation.