EN
Published Research

Transformer-based Dog Behavior Classification with Motion Sensors

A transformer encoder for real-time dog behavior classification from back-mounted motion sensor data.

Barak Or
ArtificialGate Ltd.
2024
Sensor AI

Abstract

This research studies dog behavior classification using inertial motion sensors and a transformer-based neural architecture. The model uses self-attention to capture temporal dependencies across accelerometer and gyroscope signals collected from back-mounted sensors, focusing on seven behaviors such as walking, trotting, galloping, sniffing, lying, sitting, and standing. The proposed encoder-only transformer architecture adds a lightweight classifier head to produce behavior probabilities from 2-second sensor windows. On an open-access dataset of motion data from 45 dogs, the method reaches 98.5% accuracy, outperforming time-series DNN baselines while reducing model size, computational complexity, and latency for resource-constrained deployment.

First page preview of Transformer-based Dog Behavior Classification with Motion Sensors
Read the full paperOpen the PDF in a full-screen viewer for clear, comfortable reading.

Open PDF full screen