Journal of Mathematical Sciences

, Volume 237, Issue 5, pp 730–743 | Cite as

A Chaos Theoretic Approach to Animal Activity Recognition

  • V. SturmEmail author
  • D. Efrosinin
  • N. Efrosinina
  • L. Roland
  • M. Iwersen
  • M. Drillich
  • W. Auer

Animal activity is a descriptor that can be potentially used to track the health and well-being, which is obviously very important to improve the management process and productivity of farms. This paper deals with an animal behavior recognition problem using a chaos theory approach where we adopt such a technique for automatic classification of calves behavioral states. Two main mutually exclusive behaviors are of interest, namely, lying and standing/walking with six possible activities: feeding, drinking water, drinking milk, playing, rumination, and neutral. The time series generated by ear-tags with a 3D-accelerometer after a wavelet denoising transformation and frequency stabilization are treated as representations of the nonlinear dynamical system. The dynamical system of a certain animal state exhibits specific strange attractor in a phase space. A characterization of such an attractor is performed through metric, dynamic, and topological invariants including Lyapunov exponent, correlation dimension, length of a phase trajectory, sum of edges forming a convex hull and others. These measures are used as a feature vector for the subsequent classification. In a cross validation scheme, six classifiers are built on each training set, and the hyper-parameters are optimized using an inner validation set. The classifier that reaches the highest accuracy on the inner validation set is used to classify the outer validation set. It is shown that this approach can be useful at predicting activity states as an alternative methodology for the animal behavior state recognition problem with acceptable classification accuracy. Furthermore it is possible to include this procedure as part of an ensemble method in machine learning where a combination of different models is used.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    S. Ali, A. Basharat, and M. Shah, “Chaotic invariants for human action recognition,” in: IEEE 11th International Conference on Computer Vision (2007).Google Scholar
  2. 2.
    P.Carre, H. Leman, C. Fernandez, and C.Marque, “Denoising of the uterine EHG by an undecimated wavelet transform,” IEEE Trans. Biomed. Eng., 45, No. 9, 1104–1113 (1998).CrossRefGoogle Scholar
  3. 3.
    M.R. Borchers, Y.M.Chang, I.C.Tsai, B.A.Wandsworth, and J.M. Bewley, “A validation of technologies monitoring dairy cow feeding, rumination and lying behaviors,” J. Dairy Sci., 99, No. 9, 7458–7466 (2016).CrossRefGoogle Scholar
  4. 4.
    M.R.Borchers, Y.M.Chang, K.L.Proudfoot, B.A.Wandsworth, and A.E. Stone, “Machine-learningbased calving prediction from activity, lying, and ruminating behaviors in dairy cattle,” J. Dairy Sci., 100, No. 7, 5664–5674 (2017).CrossRefGoogle Scholar
  5. 5.
    J.P. Bikker, H. van Laar, P.Rump, J. Doorenbos, K. van Meurs, G.M. Griffioen, and J. Dijkstra, “Technical note: Evaluation of an ear-attached movement sensor to record feeding behavior and activity,” J. Dairy Sci., 97, No. 5, 2974–2979 (2014).CrossRefGoogle Scholar
  6. 6.
    J.Garland, E.Brandley, and J.D.Meiss, “Exploring the topology of dynamical reconstructions,” Phys. Nonlin. Phenom., 334, 49–59 (2016).MathSciNetCrossRefGoogle Scholar
  7. 7.
    P. Grassberger and I. Procaccia, “Characterization of strange attractors,” Phys. Rev. Let., 50, No. 5, 346–349 (1983).MathSciNetCrossRefzbMATHGoogle Scholar
  8. 8.
    L. Lu and Y. Zheng, Deep Learning and Convolutional Neural Networks for Medical Image Computing: Precision Medicine, High Performance and Large-Scale Datasets, Springer International Publishing, Switzerland (2017).CrossRefGoogle Scholar
  9. 9.
    P. Padmanabhan and S. Puthusserypady, “Nonlinear analysis of EMG signals- a chaotic approach,” in Proceedings of the 26th Annual International Conference of the IEEE EMBS, San Francisco, CA, USA (2004), pp. 608–611 .Google Scholar
  10. 10.
    L.Peppoloni, E.L. Lawrence, E.Ruffaldi, and F.J.Valero-Cuevas, “Characterization of of the disruption of neural control strategies for dynamic fingertip forces from attractor reconstruction,” PLoS ONE, 12, No. 2 (2017).Google Scholar
  11. 11.
    L. Ralaivola and F. d’Alche-Buc, “Dynamical modeling with kernels for nonlinear time series prediction,” in: Neural Information Processing Systems, Vancouver, British Columbia, Canada (2004).Google Scholar
  12. 12.
    V. Sturm, D. Efrosinin, N. Efrosinina, L. Roland, M. Iwersen, M. Drillich, and W. Auer, “Automated classification of a calfs feeding state based on data collected by active sensors with 3d-accelerometer,” in: Distributed Computer and Communication Networks, V. Vishnevskiy, K. Samouylov, and D. Kozyrev (eds.), Springer, Berlin (2017), pp. 120–134.CrossRefGoogle Scholar
  13. 13.
    F. Takens, Detecting Strange Attractors in Turbulence, Springer, Berlin (1981).CrossRefzbMATHGoogle Scholar
  14. 14.
    B.Wolfger, E.Timsit, E.A.Pajor, N.Cook, H.W.Barkema, and K.Orsel, “Technical note: Accuracy of an ear tag-attached accelerometer to monitor rumination and feeding behavior in feedlot cattle,” J. Anim. Sci., 94, 3164–3168 (2015).CrossRefGoogle Scholar
  15. 15.
    R.C. Holte, “Very simple classification rules perform well on most commonly used datasets,” Mach. Learn., 11, No. 5, 63–90 (1993).CrossRefzbMATHGoogle Scholar
  16. 16.
    L. Rueschendorf, Mathematische Statistik, Springer, Berlin (2014).CrossRefGoogle Scholar
  17. 17.
    H.Ruskeepaeae, Analysis of chaotic data with Mathematica,, (2014).
  18. 18.
    M.A. Hall, “Correlation-based feature selection for machine learning,” Ph.D. Thesis, The University of Waikato (1999).Google Scholar
  19. 19.
    M.S. Sorower, A Literature Survey on Algorithms for Multi-label Learning (2010).Google Scholar

Copyright information

© Springer Science+Business Media, LLC, part of Springer Nature 2019

Authors and Affiliations

  • V. Sturm
    • 1
    Email author
  • D. Efrosinin
    • 1
  • N. Efrosinina
    • 1
  • L. Roland
    • 2
  • M. Iwersen
    • 2
  • M. Drillich
    • 2
  • W. Auer
    • 3
  1. 1.Johannes Kepler UniversityLinzAustria
  2. 2.University of Veterinary MedicineViennaAustria
  3. 3.Smartbow GmbHWiebernAustria

Personalised recommendations