Another possibility to enhance anomaly detection,
especially swarming detection, is to include a second
training process to introduce α as a trainable param-
eter. This requires a labeled dataset and is therefore
subject to future analysis.
In future work we will experiment with other
types of networks, e.g. generative models such as
generative adversarial networks or variational autoen-
coders. This has two key advantages: A) they al-
low anomalies to be contained in the training set, and
B) classification is based on probability rather than
reconstruction error (An and Cho, 2015). The param-
eter α would then be more interpretable.
Hibernation Period. We excluded the months Octo-
ber through March in any dataset (cf. Section 3). De-
tecting anomalies during this hibernation time is sub-
ject to future work, as the assumption of a nearly con-
stant temperature within the colony (34.5
◦
C) is void.
Especially in Bad Schwartau, sea wind is an environ-
mental influence that incurs very high deviations from
the mentioned normal behavior which also increases
the chances of sensor anomalies. Additionally, inter-
nal temperature sensors start to mimic the patterns of
the outside sensors.
Dataset Generation. Due to its data-driven fashion,
our method can be improved continuously by inte-
grating collected information in we4bee. This project
comprises a broad spatial distribution of apiaries, en-
abling us to collect a large amount of data fast. Partic-
ipating apiarists can further improve our model by la-
beling events presented to them. Furthermore we can
use our model as an alert-system to predictively warn
beekeepers about ongoing anomalies, whose feed-
back can again improve our predictions.
ACKNOWLEDGEMENTS
This research was conducted in the we4bee project
sponsored by the Audi Environmental Foundation.
REFERENCES
An, J. and Cho, S. (2015). Variational autoencoder based
anomaly detection using reconstruction probability.
Special Lecture on IE, 2(1).
Bergstra, J. and Bengio, Y. (2012). Random search for
hyper-parameter optimization. JMLR, 13:281–305.
Chalapathy, R. and Chawla, S. (2019). Deep learning for
anomaly detection: A survey. CoRR, abs/1901.03407.
Ergen, T., Mirza, A. H., and Kozat, S. S. (2017).
Unsupervised and semi-supervised anomaly detec-
tion with LSTM neural networks. arXiv preprint
arXiv:1710.09207.
Fell, R. D., Ambrose, J. T., Burgett, D. M., De Jong, D.,
Morse, R. A., and Seeley, T. D. (1977). The seasonal
cycle of swarming in honeybees. Journal of Apicul-
tural Research, 16(4):170–173.
Ferrari, S., Silva, M., Guarino, M., and Berckmans, D.
(2008). Monitoring of swarming sounds in bee hives
for early detection of the swarming period. Computers
and electronics in agriculture, 64(1):72–77.
Filonov, P., Lavrentyev, A., and Vorontsov, A. (2016). Mul-
tivariate industrial time series with cyber-attack simu-
lation: Fault detection using an LSTM-based predic-
tive data model. NIPS Time Series Workshop 2016.
Goodfellow, I., Bengio, Y., and Courville, A. (2016). Deep
Learning. MIT Press.
Kingma, D. P. and Ba, J. (2014). Adam: A
method for stochastic optimization. arXiv preprint
arXiv:1412.6980.
Kridi, D. S., Carvalho, C. G. N. d., and Gomes, D. G.
(2014). A predictive algorithm for mitigate swarming
bees through proactive monitoring via wireless sensor
networks. In Proceedings of the 11th ACM symposium
on PE-WASUN, pages 41–47. ACM.
Malhotra, P., Tv, V., Ramakrishnan, A., Anand, G., Vig,
L., Agarwal, P., and Shroff, G. (2016). Multi-sensor
prognostics using an unsupervised health index based
on lstm encoder-decoder. 1st SIGKDD Workshop on
ML for PHM.
Navajas, M., Migeon, A., Alaux, C., Martin-Magniette,
M.-L., Robinson, G., Evans, J. D., Cros-Arteil, S.,
Crauser, D., and Le Conte, Y. (2008). Differential
gene expression of the honey bee apis mellifera as-
sociated with varroa destructor infection. BMC ge-
nomics, 9(1):301.
Sakurada, M. and Yairi, T. (2014). Anomaly detection
using autoencoders with nonlinear dimensionality re-
duction. In Proceedings of the MLSDA 2014 2Nd
Workshop on Machine Learning for Sensory Data
Analysis, MLSDA’14, pages 4:4–4:11. ACM.
Shipmon, D. T., Gurevitch, J. M., Piselli, P. M., and Ed-
wards, S. T. (2017). Time series anomaly detection;
detection of anomalous drops with limited features
and sparse examples in noisy highly periodic data.
arXiv preprint arXiv:1708.03665.
Winston, M. (1980). Swarming, afterswarming, and re-
productive rate of unmanaged honeybee colonies (apis
mellifera). Insectes Sociaux, 27(4):391–398.
Zacepins, A., Brusbardis, V., Meitalovs, J., and Stalidzans,
E. (2015). Challenges in the development of precision
beekeeping. Biosystems Engineering, 130:60–71.
Zacepins, A., Kviesis, A., Stalidzans, E., Liepniece, M., and
Meitalovs, J. (2016). Remote detection of the swarm-
ing of honey bee colonies by single-point temperature
monitoring. Biosystems engineering, 148:76–80.
Zhou, C. and Paffenroth, R. C. (2017). Anomaly detection
with robust deep autoencoders. In Proceedings of the
23rd ACM SIGKDD, pages 665–674. ACM.
Zhu, X., Wen, X., Zhou, S., Xu, X., Zhou, L., and Zhou, B.
(2019). The temperature increase at one position in the
colony can predict honey bee swarming (apis cerana).
Journal of Apicultural Research, 58(4):489–491.
Anomaly Detection in Beehives using Deep Recurrent Autoencoders
149