| Literature DB >> 31485331 |
Pritish Chakravarty1, Maiki Maalberg1,2, Gabriele Cozzi3,4, Arpat Ozgul3,4, Kamiar Aminian1.
Abstract
BACKGROUND: Animal-borne data loggers today often house several sensors recording simultaneously at high frequency. This offers opportunities to gain fine-scale insights into behaviour from individual-sensor as well as integrated multi-sensor data. In the context of behaviour recognition, even though accelerometers have been used extensively, magnetometers have recently been shown to detect specific behaviours that accelerometers miss. The prevalent constraint of limited training data necessitates the importance of identifying behaviours with high robustness to data from new individuals, and may require fusing data from both these sensors. However, no study yet has developed an end-to-end approach to recognise common animal behaviours such as foraging, locomotion, and resting from magnetometer data in a common classification framework capable of accommodating and comparing data from both sensors.Entities:
Keywords: Accelerometer; Angular velocity; Behaviour recognition; Biomechanics; Earth’s magnetic field; Machine learning; Magnetometer; Meerkats
Year: 2019 PMID: 31485331 PMCID: PMC6712732 DOI: 10.1186/s40462-019-0172-6
Source DB: PubMed Journal: Mov Ecol ISSN: 2051-3933 Impact factor: 3.600
Fig. 1Using magnetometer data to distinguish between different meerkat postures. The Earth’s magnetic field (green arrows) inclined at a dip angle of δ with respect to the horizontal plane (salmon-pink disk) subtends components (blue arrows) equal in magnitude and opposite in sign along the collar sensor’s (in red) roll axis during (a) vigilance, and (b) curled-up resting, demonstrated in the simplified case when the roll axis is perfectly aligned with the local vertical direction. When the roll axis lies in the horizontal plane, as shown in (c), the measured component of is further affected by the possibly arbitrary azimuthal angle α
Fig. 2Meerkat with collar, axes, and Earth’s fields. The orientation of the axes of the triaxial magnetometer fixed to a collar on the meerkat along with the directions of two of Earth’s naturally occurring fields: Earth’s magnetic field pointing towards the magnetic North Pole, and Earth’s gravity vector pointing vertically downwards
Feature development. Candidate features developed to describe the three biomechanical descriptors used in this study: posture (#1), movement intensity (#2 to #5), and movement periodicity (#6 to #9)
| S.No. | Biomechanical | Feature name | Feature description | Computation | |
|---|---|---|---|---|---|
| 1. | Posture |
| Mean of data from roll axis |
| (1) |
| 2. | Intensity |
| Standard deviation of data from roll axis | (2) | |
| 3. |
| Mean of absolute values of time-differentiated roll data |
| (3) | |
| 4. |
| Maximum, across axes, of mean of absolute values of time-differentiated data from each axis |
| (4) | |
| 5. |
| Mean, across axes, of mean of absolute values of time-differentiated data from each axis |
| (5) | |
| 6. | Periodicity |
| Maximum squared coefficient of Fourier transform of data from roll axis |
| (6) |
| 7. |
| Mean, across axes, of maximum squared coefficient of Fourier transform of data from each axis |
| (7) | |
| 8. |
| Maximum squared coefficient of Fourier transform of time-differentiated roll data |
| (8) | |
| 9. |
| Mean, across axes, of maximum squared coefficient of Fourier transform of time-differentiated data from each axis |
| (9) |
Features were computed on each two-second window w containing N = 200 calibrated triaxial magnetic field intensity values recorded along the roll (m), pitch (m), and yaw (m) axes. Equation numbers are indicated on the right
Summary of data collected
| Recording Session Number | Vigilance | Resting | Foraging | Running | Bouts per Recording Session |
|---|---|---|---|---|---|
| 1 | 4594 | 2114 | 1562 | 69 | 8339 |
| 2 | 3896 | 120 | 5315 | 29 | 9360 |
| 3 | 1453 | 0 | 6278 | 38 | 7769 |
| 4 | 5221 | 0 | 2823 | 161 | 8205 |
| 5 | 1890 | 0 | 6134 | 169 | 8193 |
| 6 | 1639 | 744 | 4438 | 98 | 6919 |
| 7 | 4785 | 156 | 3498 | 40 | 8479 |
| 8 | 71 | 0 | 4841 | 20 | 4932 |
| 9 | 4283 | 0 | 1713 | 43 | 6039 |
| 10 | 1906 | 0 | 4407 | 84 | 6397 |
| 11 | 1782 | 661 | 5398 | 77 | 7918 |
| Bouts per Activity | 31,520 | 3795 | 46,407 | 828 | 82,550 (total bouts) |
Table adapted from [10]. Triaxial magnetometer data were collected on ten unique individuals; data from recording session #4 and #7 were collected on the same individual. A bout refers to a two-second window w containing one video-labelled behaviour
Fig. 3Five-second snapshots of calibrated triaxial magnetometer data for the four behaviours of interest for a typical individual (recording session #1). The horizontal axis shows time in seconds, and the vertical axis represents calibrated, normalised magnetic field intensity measured along the three axes of the sensor in each graph. The signals correspond, from left to right, to bipedal vigilance, curled-up resting, foraging, and running
Fig. 4Behaviour Recognition Scheme. (a) Flowchart showing feature computation: meanRoll quantifies posture, meanAbsDiffRoll movement intensity, and avgDiffFftPeakPower periodicity. (b) Hierarchical classification scheme classifying behaviours as being either static or dynamic, then static behaviours as being either vigilance or resting, and finally dynamic behaviours as being either foraging or running
Fig. 5Decision boundaries and feature distributions obtained with accelerometer- (left) and magnetometer-based (right) behaviour recognition with Support Vector Machines trained on the entire dataset for each of the three nodes of the hierarchical behaviour recognition scheme. mi and ai refer to decision boundaries obtained with the magnetometer and accelerometer, respectively, with the subscript i indicating the node index
STRAT cross-validation results
| Sensor | Vigilance | Resting | Foraging | Running | Overall Accuracy (%) | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Sen. | Spec. | Prec. | Sen. | Spec. | Prec. | Sen. | Spec. | Prec. | Sen. | Spec. | Prec. | ||
| Magnetometer | 97 | 98.6 | 97.8 | 84.4 | 99.4 | 87.1 | 98.8 | 97.2 | 97.8 | 83.1 | 99.9 | 93.9 | 97.3 |
| Accelerometer | 97.1 | 98.8 | 98.1 | 85 | 99.4 | 87.1 | 99.3 | 97.8 | 98.3 | 85.9 | 99.9 | 92.1 | 97.7 |
The performance of the SVM-SVM-SVM hybrid model with magnetometer data is benchmarked against that obtained with accelerometer data reported in [10]. SVM: Support Vector Machine
LOIO cross-validation results
| Sensor | Vigilance | Resting | Foraging | Running | Overall Accuracy (%) | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Sen. | Spec. | Prec. | Sen. | Spec. | Prec. | Sen. | Spec. | Prec. | Sen. | Spec. | Prec. | ||
| Magnetometer | 95.2 ± 2.4 | 97.9 ± 1.9 | 95.2 ± 6.2 | 65.4 ± 25.9 | 98.9 ± 0.9 | 77.3 ± 31.1 | 98.4 ± 0.9 | 97.0 ± 1.2 | 95.5 ± 0.5 | 86.5 ± 3.7 | 100 ± 0.0 | 96.4 ± 3.4 | 96.0 ± 1.5 |
| Accelerometer | 95.8 ± 2.8 | 98.4 ± 1.2 | 96.4 ± 4.5 | 71.4 ± 23.6 | 98.9 ± 1.2 | 81.1 ± 28.0 | 98.8 ± 1.0 | 97.4 ± 1.5 | 95.3 ± 7.0 | 86.3 ± 13.2 | 99.9 ± 0.1 | 89.1 ± 11.1 | 96.5 ± 1.8 |
The performance of the SVM-SVM-SVM hybrid model with magnetometer data is benchmarked against that obtained with accelerometer data reported in [10]. Performance metrics were calculated separately for each test individual, and their mean and standard deviation across test individuals are shown here. SVM: Support Vector Machine