How AI can power early detection of dementia