ai-opens-new-era-in-cognitive-studies-of-wild-primates
AI opens new era in cognitive studies of wild primates

AI opens new era in cognitive studies of wild primates

Capuchin AI
image: Machine vision allows the model to shift tests from one identified capuchin to another so multiple individuals can participate in a testing session.

view more 

Credit: Courtesy of the researcers

Scientists created an AI system that uses facial recognition and real-time, touchscreen testing to automate cognitive studies of capuchin monkeys in the wild.

The American Journal of Primatology published a proof-of-concept for the novel method — dubbed CapuchinAI — developed by researchers at Emory University and Georgia Institute of Technology.

The article provides a roadmap for the first scalable, systematic way to evaluate and monitor the cognitive abilities of wild primates.

“The primate brain didn’t evolve in a lab, it evolved in complex, competitive environments,” says Marcela Benítez, Emory assistant professor of anthropology and senior author of the paper. “Yet primate cognition is rarely studied in the wild because the experimental control needed to measure cognition is difficult in unpredictable environments.”

“CapuchinAI” integrates a compact, battery-powered computing system into a field-research platform. The system identifies an approaching monkey, presents a learning task tailored to that individual on a touchscreen, and automatically delivers a food reward if the monkey performs the task correctly.

Field tests of the prototype in the Taboga Forest Reserve of Costa Rica found that CapuchinAI identifies individual capuchins with 97% accuracy, following training on still images and videos. Wild capuchins rapidly habituated and learned touchscreen-reward associations, demonstrating that the system provides a scalable field method for cognitive testing, while also mapping individual differences across tasks.

‘The minds behind the personalities’

“This project builds on the legacy of Frans de Waal,” says Federico Sánchez Vargas, first author of the paper and an Emory PhD student of anthropology.

De Waal pioneered studies of animal cognition as director of Emory’s Living Links Center for the Advanced Study of Ape and Human Evolution, while also writing best-selling books that helped popularize the field. He passed away in 2024.

In addition to lab-based behavioral experiments, de Waal “gave us intimate, beautiful portraits of the lives of primates, treating them as individuals,” Sánchez Vargas says. “Our AI method allows us to more deeply understand individuals that we already have data on through field observation. We can now automate cognitive testing of them and quantify the findings. It’s a way of getting into the minds behind the personalities. Studying individuals in their natural environments, where there are tons of variations in their life experiences, lets us learn how environmental influences shaped them.”

Co-authors of the paper include Jacob Abernethy, Georgia Tech associate professor of computer science; and Sai Rakshith Potluri, a former Georgia Tech graduate research assistant who is now a software engineer at ExtraHop in Seattle.

The open-source paper includes a guide to the computer coding developed for the system, along with a blueprint to build a low-tech, low-cost field-research platform and to integrate all the components into a closed-loop pipeline. The authors hope other scientists will adapt their AI method to generate cognitive data spanning different species of wild primates, living in a range of environments.

Bridging lab and field

Benítez’ work lies at the intersection of anthropology, psychology and evolutionary biology. She studies cooperation and other social behaviors in monkeys, including a captive population of tufted capuchins in a laboratory and wild, white-faced capuchins in the Taboga Forest Reserve of northeastern Costa Rica. She is a co-director of Capuchinos de Taboga, a research project launched in 2017 in collaboration with the Universidad Nacional Técnica of Costa Rica.

Experiments with animals in labs can be tightly controlled. The results, however, may be skewed since the animal is not interacting within its natural environment. Animal behavior experiments in the wild provide valid social and ecological contexts but they are challenging to design and to control.

“I’m trying to bridge that gap,” Benítez says.

She decided to investigate the potential of AI to achieve this aim.

A seed grant from Emory’s AI.Humanities program launched a collaboration between Benítez and Abernethy to design an AI model for facial recognition of wild capuchins.

Abernethy and Potluri used an open-source software known as YOLO (You Only Look Once) to develop a model to run on a laptop. The researchers trained the model on high-quality GoPro imagery of six wild capuchins interacting with testing platforms in Taboga.

Emory and Georgia Tech undergraduates performed the labor-intensive task of digitally placing “bounding boxes” to frame the faces of the monkeys in thousands of still images and videos tagged with their identities.

The result was a facial-recognition system that could identify these six capuchins with 97% accuracy from static images, video and live footage in the field.

DIY ingenuity

Sánchez Vargas, who joined Emory as a graduate student in 2023, took on the next phase of the AI project: figuring out how to integrate the facial-recognition model into a field-friendly, scalable computer interface that could present tasks to interacting capuchins and dispense food rewards.

“The model was great at identifying six monkeys, but there are 100 capuchins at the Costa Rica field site,” he says. “And we didn’t have high quality video of all of these individuals, which is needed to train the model.”

Sánchez Vargas’ undergraduate degrees are in evolutionary biology and psychology. He is not an expert computer coder, but he dove into the challenge, using Python programming language to simplify and change the parameters of the original facial-recognition model.

“I essentially dumbed it down,” he says, so that instead of classifying individual capuchin faces, the system recognized any capuchin monkey — and only capuchins.

The idea, he explains, was to enable the system to trigger a webcam to record video whenever a capuchin approached a computer touchscreen, rapidly generating a larger, more up-to-date dataset of faces from the interacting monkeys. The resulting videos could then be used to keep training the facial-recognition model, expanding its face-recognition repertoire.

A second Python script Sánchez Vargas developed uses a program called “pygame” to facilitate interactive stimuli for use in games or cognitive testing. The researchers created a simple stimulus to habituate the monkeys to the system: a blue-square covering the computer touchscreen that records when a capuchin touches it. At the monkey’s touch, the script signals a motor circuit to dispense a food reward.

The two Python scripts are integrated to run simultaneously on a Raspberry Pi, a tiny computer about half the size of an iPhone. The entire system can run for eight hours on a lightweight battery pack before it needs recharging.

“It was important to us that our technology be both low cost and ecologically friendly,” Sánchez Vargas says. 

Build it and they will come

The next challenge was to create a wildlife-proof, weather-proof platform to house all the components of the system.

“We built it in my garage,” Benítez says.

She and Sánchez Vargas bought planks of pine, deck sealant, rubber insulating strips and plastic piping from Home Depot.

“A person helping us asked, ‘What is the project you’re working on?’” Benítez says. “We didn’t go into it; it would have been a bit complicated to explain.”

Emory TechLab helped Sánchez Vargas create a 3D printed, plastic food dispenser.

The two researchers put together a wooden box, only about 20 inches tall, to house the system’s components: a webcam, a computer touchscreen, the Raspberry Pi, the food dispenser and a rotary motor to power the dispenser. 

“It was a lot of work but also a lot of fun,” Sánchez Vargas says. “One of the best parts of working in animal cognition is getting creative, trying to put yourself into the mind of the animal you’re studying, so you can develop a good way to engage them in experiments.”

Finally, it was time to test their creation in the field.

In the field with dreams

Upon arriving at the Capuchinos de Taboga research facility in Costa Rica, Sánchez Vargas remembers feeling a few last-minute jitters. Would the prototype function as envisioned?

“We had to get up super early, at four in the morning,” he says, “and drive a long way down this bumpy road to get to the research site.”

The team secured the CapuchinAI box to a platform, loaded its food dispenser with dried slices of forest banana, and waited nearby.

“For the first couple of days that we did this, no capuchins visited,” Sánchez Vargas says. “I was beginning to worry.”  

The third day, however, a large male capuchin named Trompudo, which means “big snout,” could not resist the scent of banana.

“He climbs on the box and starts slapping the back of it,” Sánchez Vargas recalls. “Finally, he slaps the touchscreen and a banana slice pops out.”

Trompudo gobbled up the food then put his hand on the screen again. Another banana slice popped out.

“It was almost like you could see him realizing, ‘Ah, that’s what you have to do, touch the screen!’” Sánchez Vargas says. “It was amazing to watch an individual learn something so quickly.”

Different learning styles

After Tompudo broke the ice, more monkeys began engaging with CapuchinAI.

“Even I was surprised by their enthusiasm,” Sánchez Vargas says.

The researchers are already noting individual differences within the 16 monkeys who engaged with the CapuchinAI prototype during the pilot phase.

Some capuchins are remarkably fast learners. Others take more time to figure out that they need to touch the screen to get a food reward. Individuals who investigated the box with their lips learned to kiss the screen to get a banana slice. Then there are the late adopters. They hang back and watch their friends interact with the box, seeing how the apparatus works before approaching it.

The box stood up to the occasional aggressive moves of capuchins trying to bust it open.

The facial-recognition software prevents the system from activating when other wildlife approach, but some animals still try to tinker with the box, including coatis. Members of the raccoon family, coatis are notorious for their ability to break into manmade containers and even houses. The box passed the coati test.

The research team is now updating its facial-recognition model, training it on the recorded videos of the 16 capuchins from the pilot phase.

They are developing cognitive experiments for four broad domains of cognition, including tests of individual capuchins’ ability to learn, their level of impulse control, their cognitive flexibility, and their skill at both short- and long-term memory.

If the model recognizes a capuchin it was trained on, it will present a specific cognitive test on the touchscreen, depending on what “level” an individual is at in the testing sequence. If the individual is unfamiliar, the model will assign the baseline habituation stimulus — touch the screen to get a reward.

Machine vision allows the model to quickly shift tests from one identified capuchin to another, so multiple individuals can participate. The system is also programmed to limit the number of food rewards an individual can receive during a session, discouraging a dominant capuchin from monopolizing the platform.

A powerful new tool

The researchers can draw from decades of accumulated observational data on the life histories of individuals in the capuchin population of Taboga Forest Reserve. CapuchinAI allows them to learn how variations in the capuchins’ lives may have influenced their cognition.

“We can explore outstanding questions about how the environment, individual experiences and behaviors connect to cognitive abilities,” Benítez says. “Why are some individuals better at some tasks than others? How do different individuals adapt to different situations? How do different cognitive strategies relate to fitness?”

“Frans de Waal said that you cannot study cognition if you don’t understand the animals,” adds Sánchez Vargas. “Our AI methodology doesn’t replace the need for human researchers in the field. It’s essential to have rich, observational datasets gathered by people working on the ground.”

The unusually large brains of primates and their advanced cognition compared to other animals make them key models for the study of how brains and minds evolve and adapt. The researchers believe their AI model is adaptable to other species of wild primates living in the wild for which scientists have recorded individual life histories.

“It’s a powerful new tool in the primatology toolkit,” Benítez says.

In addition to seed funding from AI.Humanities, the project was supported by the National Institute on Drug Abuse of the U.S. National Institutes of Health (R34DA061925), the U.S. National Science Foundation (BCS-2127373), the Lewis and Clark Fund for Exploration and Field Research; and the Emory Center for Mind, Brain and Culture.

Journal

American Journal of Primatology

DOI

10.1002/ajp.70194

Method of Research

Imaging analysis

Subject of Research

Animals

Article Title

CapuchinAI 1.0: Development of a Machine Learning-Based Touchscreen Paradigm to Test Cognition in Wild Capuchins

Article Publication Date

28-Jul-2026

Media Contact

Carol Clark

Emory University

[email protected]

Office: 404-727-0501

Journal
American Journal of Primatology
Funder

NIH/National Institutes of Health,
U.S. National Science Foundation

DOI
10.1002/ajp.70194

Journal

American Journal of Primatology

DOI

10.1002/ajp.70194

Method of Research

Imaging analysis

Subject of Research

Animals

Article Title

CapuchinAI 1.0: Development of a Machine Learning-Based Touchscreen Paradigm to Test Cognition in Wild Capuchins

Article Publication Date

28-Jul-2026

Tags
/Life sciences/Organismal biology/Animals/Vertebrates/Mammals/Primates/Monkeys

/Life sciences/Organismal biology/Animals/Wildlife

/Life sciences/Organismal biology/Animals/Vertebrates/Mammals/Primates

/Applied sciences and engineering/Computer science/Artificial intelligence

/Life sciences/Evolutionary biology

/Life sciences/Neuroscience/Behavioral neuroscience

/Life sciences/Neuroscience/Cognitive neuroscience
Tags: AI-driven primate cognitive researchautomated primate cognition assessmentcapuchin monkey behavior studiescognitive monitoring of wild primatesfacial recognition in wild primatesinnovative AI tools for primatologymachine vision in wildlife researchprimate research technology advancementsreal-time touchscreen testing for monkeysscalable primate cognitive testing methodssystematic evaluation of primate intelligenceuse of AI in animal behavior analysis