An artificial intelligence can detect when someone is thinking about specific concepts such as food or sleep just by looking at brain scans. The system might one day be used to help people who have lost the ability to speak or to investigate mental health conditions.
When we receive a stimulus from the outside world, such as hearing spoken words or seeing an image, this is encoded in the brain as neural activity. Attempts to decode this activity to …