This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

A Framework for Identifying Group Behavior of Wild Animals

Guido Muscioni [email protected] Politecnico di MilanoMilan, Italy 20133 Riccardo Pressiani [email protected] Politecnico di MilanoMilan, Italy 20133 Matteo Foglio [email protected] Politecnico di MilanoMilan, Italy 20133 Margaret C. Crofoot [email protected] University of California, DavisDavis, California 95616 Marco D. Santambrogio [email protected] Politecnico di MilanoMilan, Italy 20133  and  Tanya Berger-Wolf [email protected] University of Illinois at ChicagoChicago, Illinois 60607
(2019)
Abstract.

Activity recognition and, more generally, behavior inference tasks are gaining a lot of interest. Much of it is work in the context of human behavior. New available tracking technologies for wild animals are generating datasets that indirectly may provide information about animal behavior. In this work, we propose a method for classifying these data into behavioral annotation, particularly collective behavior of a social group. Our method is based on sequence analysis with a direct encoding of the interactions of a group of wild animals. We evaluate our approach on a real world dataset, showing significant accuracy improvements over baseline methods.

machine learning, behavior, classification, computational ecology, time series
copyright: acmcopyrightjournalyear: 2019conference: DMAIC’19; August 5; Anchorage, ALbooktitle: DMAIC’19: KDD19 Workshop on Data Mining and AI for Conservation, August 5, 2019, Anchorage, AL

1. Introduction

Understanding animal behavior is central to answering the fundamental question of why do animals (including humans) do what they do. Recently, biologist started to use wearable technologies, such as GPS, accelerometers, and radio sensors, to track animals and their activities. However, the collected raw data are not human-interpretable and needs to be processed to extract behavioral patterns. The raw data are usually represented as time series that contain timestamped observations of the sensor readings. Biologists also collect behavioral annotations that describe the behavior of an individual (walking, grooming) or a group of individuals (grazing, coordinated movement) during a predefined temporal interval, as well as the context of that behavior (such as the habitat, weather, etc.). In the wild, where the environment cannot be well instrumented, biologists are unable to continuously observe behaviors of wild animals but collect observations over small intervals that are typically insufficient to describe the complex behavioral dynamics of wild animals. Machine learning can help biologists in the process of inferring these behaviors from the sensor data.

The rise of human wearable technology has lead to the development of new solution to the problem of behavior inference from various sensors. Activity recognition models can be used to learn the relations between the raw time series and the behavioral annotations collected through observations or other modalities. Then, the obtained models can automatically classify the intervals of the collected data for which behaviors were not observed.

In this work we propose a new framework for inferring group behavior of wild animals from sensor time series.

2. Related Work

The field of activity recognition is directly related to the field of time series classification. There are two main directions to solve this classification problem: based on temporal sequence analysis and using deep learning.

Temporal analysis methods are based on an explicit description of the raw signals (banos2014window, ; lara2012survey, ). The temporal stream can be represented as segments (changpinyo2018multi, ) or as a whole (xing2010brief, ). The former requires to define the length of the segments while the latter automatically handles the interdependencies between each subsequent observation. In the sequence analysis methods, Conditional Random Fields (CRF) are considered the gold standard (lafferty2001conditional, ), including the specific case of wild animals activity recognition (li2016adversarial, ).

Deep learning methods do not require the explicit description of the raw signals. These methods automatically infer the feature set using the hidden layers. For time series classification, deep learning methods that exploit the power of Long Short-Term Memory (LSTM) components are considered the state-of-the-art (ordonez2016deep, ).

3. Problem Definition

Time series classification problems are characterized by two main components: the selection of the temporal resolution and the selection of the classification model.

To define these two problems, we first present the basic notation for time series classification in the case of multiple entities.

Let 𝒰=<U1,U2,,Un>\mathcal{U}=<U_{1},U_{2},...,U_{n}> denote the set of time series of n𝑛n entities. Let Uisubscript𝑈𝑖U_{i} be a time series of tisubscript𝑡𝑖t_{i} timestamps: Ui={ui1,ui2,,uiti}subscript𝑈𝑖superscriptsubscript𝑢𝑖1superscriptsubscript𝑢𝑖2superscriptsubscript𝑢𝑖subscript𝑡𝑖U_{i}=\{{u_{i}}^{1},{u_{i}}^{2},...,{u_{i}}^{t_{i}}\}. Let \mathcal{L} denote the set of labels for each entity: =<L1,L2,,Ln>\mathcal{L}=<L_{1},L_{2},...,L_{n}>, with Lisubscript𝐿𝑖L_{i} denoting the set of labels {lij}subscriptsuperscript𝑙𝑗𝑖\{l^{j}_{i}\}, where i𝑖i is an entity and j𝑗j is the timestamps for which a label is provided.

Definition 3.1 (Temporal segmentation function).

A temporal segmentation function \mathcal{F} is a mapping between each time series Uisubscript𝑈𝑖U_{i} to a set of time windows 𝒲={w1,w2,,wT}𝒲subscript𝑤1subscript𝑤2subscript𝑤𝑇\mathcal{W}=\{w_{1},w_{2},...,w_{T}\}, where each wisubscript𝑤𝑖w_{i} contains one or more timestamps of Uisubscript𝑈𝑖U_{i}.

Given \mathcal{F} and a set of time series 𝒰𝒰\mathcal{U}, the classification task is the process to find a model \mathcal{M} such that ((Ui))={li1,li2,,liT}subscript𝑈𝑖subscriptsuperscript𝑙1𝑖subscriptsuperscript𝑙2𝑖subscriptsuperscript𝑙𝑇𝑖\mathcal{M}(\mathcal{F}(U_{i}))=\{l^{1}_{i},l^{2}_{i},...,l^{T}_{i}\}. The result is a complete label set for each Ui𝒰subscript𝑈𝑖𝒰U_{i}\in\mathcal{U}.

4. The Framework

We propose a framework based on sequence analysis, which is composed of two main steps. First we select the best global temporal resolution value. Then, we propose a new way to encode the social relations among a group of entities, which in our case are wild animals.

Finding the right temporal resolution is critical for time series classification. We base our approach on an optimization task over each time series in 𝒰𝒰\mathcal{U}. Given a set of possible global temporal lengths, we infer, for each value, a set of consecutive time windows. We validate each inferred set based on one or more metric, which can be interdependently defined for each different classification task. Given the combined scores of each metric, we select the temporal resolution value that maximizes the total score, thus optimally segmenting the time series.

We directly encode the social intrinsic features of group behavior representing it as social graphs (network). Given the optimally segmented time series, we infer a network over the set of n𝑛n entities for each segment. Then, we extract relevant topological and relational features for a general purpose classification model. The network definition is domain-dependent and is assumed to be given (by domain experts) for each dataset (DBLP:journals/corr/BrugereKB17, ).

5. Experiments

Dataset. We use a publicly available dataset of group activities of baboons (Crofoot-1358, ), which has been previously used for the activity recognition task (li2016adversarial, ). The dataset contains 26 individuals tracked for 35 days. The labels set contains 8 activities and are available for 2 days only, at a 1 minute (60 sec) resolution. The temporal resolution selection is bounded from below by the label resolution. For this dataset, the social network was defined based on pairwise proximity. An edge between two baboons exists if they are within 2 meters to each others. This network definition has been proven to be meaningful in the biological research (strandburg2015shared, ). For each inferred network we extract topological and relational features, such as the degree of a node, the page rank score and the average of the features of the neighbors.

Experimental Setup. We validate our approach using 10-fold cross validation and we report results for accuracy and the weighted F1 score (sokolova2006beyond, ), ensuring same size training and testing instances. As a simple baseline we consider a majority classifier. For state-of-the-art baselines we consider a CRF, the Adversarial Sequence Tagging (AST), and a deep learning approach DeepConvLSTM. For our implementation we use XGBoost (chen2016xgboost, ) as the classifier.

6. Results

Figure 1 shows the results of the temporal resolution step. The best selected value is 60 seconds (minimum possible) over an interval starting from 60 to 180 seconds. The results shown do not use network information. Table 1 shows the results of comparing our complete approach, including the encoding of the social relations as network information, with the selected baselines. The metrics show that our framework achieves better performance than the baselines. The lift for the accuracy is about 10%percent1010\% and for the F1 score is 6%percent66\%. Adding social information provides a lift of 7%percent77\% for accuracy and 4%percent44\% for the F1 over the initial results shown in Figure 1.

Refer to caption
Figure 1. Performance as a function of temporal resolution.
Table 1. Results and comparison with the baselines.
Majority AST DeepCoLSTM Our
Acc 36.5±0plus-or-minus36.5036.5\pm 0 66.05±4.3plus-or-minus66.054.366.05\pm 4.3 67.50±1.4plus-or-minus67.501.467.50\pm 1.4 77.88±2.3plus-or-minus77.882.377.88\pm 2.3
W-F1 17.8±0plus-or-minus17.8017.8\pm 0 70.05±3.1plus-or-minus70.053.170.05\pm 3.1 69.88±1.1plus-or-minus69.881.169.88\pm 1.1 76.54±1.7plus-or-minus76.541.776.54\pm 1.7

7. Conclusions

We presented preliminary results for a new framework for inferring group behavior of wild animals. Our approach is based on finding the best possible temporal resolution for classifying the behaviors and an explicit encoding of the social structure of a group of individuals as network information. Our evaluation on a real world dataset shows that the proposed framework better identifies the complex behavioral dynamics of groups of wild animals.

We are currently working on extending the temporal resolution step to a more dynamic approach allowing varying temporal steps, which will allow to better identify the critical components of each different behaviors. We are also planning to include other datasets.

References

  • [1] O. Banos, J.-M. Galvez, M. Damas, H. Pomares, and I. Rojas. Window size impact in human activity recognition. Sensors, 14(4):6474–6499, 2014.
  • [2] I. Brugere, C. Kanich, and T. Y. Berger-Wolf. A general framework for task-oriented network inference. CoRR, abs/1705.00645, 2017.
  • [3] S. Changpinyo, H. Hu, and F. Sha. Multi-task learning for sequence tagging: An empirical study. arXiv preprint arXiv:1808.04151, 2018.
  • [4] T. Chen and C. Guestrin. Xgboost: A scalable tree boosting system. In Proceedings of the 22nd acm sigkdd international conference on knowledge discovery and data mining, pages 785–794. ACM, 2016.
  • [5] M. C. Crofoot, R. Kays, and M. Wikelski. Data from: Shared decision-making drives collective movement in wild baboons, 2015.
  • [6] J. Lafferty, A. McCallum, and F. C. Pereira. Conditional random fields: Probabilistic models for segmenting and labeling sequence data. 2001.
  • [7] O. D. Lara and M. A. Labrador. A survey on human activity recognition using wearable sensors. IEEE communications surveys & tutorials, 15(3):1192–1209, 2012.
  • [8] J. Li, K. Asif, H. Wang, B. D. Ziebart, and T. Y. Berger-Wolf. Adversarial sequence tagging. In IJCAI, pages 1690–1696, 2016.
  • [9] F. Ordóñez and D. Roggen. Deep convolutional and lstm recurrent neural networks for multimodal wearable activity recognition. Sensors, 16(1):115, 2016.
  • [10] M. Sokolova, N. Japkowicz, and S. Szpakowicz. Beyond accuracy, f-score and roc: a family of discriminant measures for performance evaluation. In Australasian joint conference on artificial intelligence, pages 1015–1021. Springer, 2006.
  • [11] A. Strandburg-Peshkin, D. R. Farine, I. D. Couzin, and M. C. Crofoot. Shared decision-making drives collective movement in wild baboons. Science, 348(6241):1358–1361, 2015.
  • [12] Z. Xing, J. Pei, and E. Keogh. A brief survey on sequence classification. ACM Sigkdd Explorations Newsletter, 12(1):40–48, 2010.