Older AI models show signs of cognitive decline, study shows