Search bioRxiv⌕ Search

bioRxiv · 10.1101/2025.10.23.683931

Automated Facial Landmark Analysis vs. Manual Coding: Accuracy in Dog Emotional Expression Classification

Abstract

Emotional expression in dogs is central to dog-human interactions. Reliable indicators are essential for interpreting animal emotions; however, their predictive value remains debated. Fireworks, which elicit fear in many dogs, provide a real-world context for examining affective states. We used machine learning to classify firework vs. non-firework situations from dogs behaviour and expressions using two approaches: (1) ethogram-based manual coding of behaviours and (2) automated analysis of facial landmarks. The Random Forest model based on manual coding achieved a high accuracy (0.83) and 1.0 predictive validity, identifying backwards-directed ears and blinking as key fear indicators. The best automated facial landmark model reached up to 0.80 accuracy and 0.77 predictive validity. Manual coding performed better, likely due to richer semantic content and full-body observations. Our findings demonstrate that machine learning can classify canine emotional states from both manually coded and automated methods, offering potential for future automated welfare monitoring. HighlightsO_LIMachine learning approaches classify firework-related fear in dogs reliably C_LIO_LIEar position and blinking are key indicators C_LIO_LIEthogram-based coding yielded stronger predictions than automatically detected facial landmarks C_LIO_LIAutomated landmark analysis shows potential for scalable welfare monitoring C_LI O_FIG O_LINKSMALLFIG WIDTH=200 HEIGHT=160 SRC="FIGDIR/small/683931v1_ufig1.gif" ALT="Figure 1"> View larger version (48K): org.highwire.dtl.DTLVardef@ec9ab8org.highwire.dtl.DTLVardef@1a1bc0corg.highwire.dtl.DTLVardef@140c1e5org.highwire.dtl.DTLVardef@79d23e_HPS_FORMAT_FIGEXP M_FIG Graphical abstract C_FIG Subject areasEmotional expression {middle dot} Behavioural classification {middle dot} Machine learning {middle dot} Facial landmarks {middle dot} Facial expressions

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Appels, J.-L., Martvel, G., Zamansky, A., Riemer, S.. 2025-10-24. Automated Facial Landmark Analysis vs. Manual Coding: Accuracy in Dog Emotional Expression Classification. https://doi.org/10.1101/2025.10.23.683931

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Can a Tiny Brain Plan? Reconstructing a Predatory Detour inthe Jumping Spider Portia labiata

Planning is the process of evaluating alternative futures to predict outcomes and guide action. Evidence for this process exists in several vertebrates, but remains contested in in-vertebrates. Jumping spiders in the genus Portia show planning-like behavior in lab studies, but how this translates to the wild is unclear, where hunts of potentially lethal spider prey occur over durations of more than an hour in dense foliage. We present the first fully video-recorded wild hunt of any Portia species, with a 3D reconstruction of its forty-two minute long route to attack an orb-weaving spider. The reconstruction suggests P. labiata may have planned its approach, avoiding a route half as long but potentially more conspicuous to the prey's sensory systems.

animal behavior and cognition↗

Assessing Enclosure Modifications to Enhance Accessibility for Zoo-Housed Meerkats (Suricata suricatta)

Scientific advancements have contributed to increased longevity of animals in zoos and aquariums, creating a growing need for environments that remain accessible to geriatric animals and animals with disabilities. However, few empirical studies have evaluated whether accessibility-focused enclosure modifications impact species-appropriate behavior. We evaluated the effects of accessibility modifications on a group of four adult zoo-housed meerkats (Suricata suricatta), including one individual with a forelimb amputation and one geriatric individual. Low-level logs and steps were added to the enclosure to provide intermediate heights and facilitate access to elevated areas. Following the introduction of these enclosure modifications, sentry behavior increased, with all individuals engaging in this behavior compared with only one individual during baseline. The meerkats also increased their overall use of low-elevated areas following modification, although individual responses varied. Posture differed between study phases, with meerkats more frequently adopting tri/quadrupedal postures following modification. Together, these findings suggest that relatively simple accessibility-focused modifications can expand opportunities for geriatric animals and animals with disabilities to engage in species-appropriate behavior. More broadly, this case study highlights the importance of empirically evaluating accessibility interventions and incorporating universal design principles into animal spaces to accommodate individuals with diverse physical abilities and promote positive animal welfare.

animal behavior and cognition↗

Hide and seek in a rainforest canopy : when a fruit-eating carnivore (almost) met its top predator carnivore

Prey-predator interactions in the wild are spectacular. Common reported cases come from ground-dwelling animals, in open areas and by daylight. Here, we report, for the first time, a sequence with the nocturnal arboreal kinkajou (Potos flavus), being followed ca. 20 minutes apart by one of its predators, the puma (Puma concolor), 33 m aboveground in a rainforest in French Guiana.

animal behavior and cognition↗