In one 12-week study, people who took a yam extract supplement scored higher on a brain function test than those in the placebo group. Yams contain a unique compound called diosgenin, which has been found to promote neuron growth and enhance brain function. Diosgenin has also improved memory and learning abilities in mice in various maze tests. However, more research in this area is needed to fully understand how yams may benefit brain health.