Trajektorieklassificering för övervakning av insektbiodiversitet : Jämförelse av egenskapsbaserade och end-to-end-sekvensmodeller
Year: 2025
Type: dissertation
Abstract: Insect biodiversity is a key indicator of ecosystem health, yet vision-based monitoring often fails to capture tiny, fast-moving species under field conditions. An alternative approach is to classify insects based on their movement patterns, specifically their flight trajectories. This thesis investigates the classification of four species: honeybees, hoverflies (Syrphidae), butterflies (Lepidoptera) and wasps (Vespidae) using trajectory data captured at 30 frames per second. Two classification strategies were evaluated: feature-based models, which used extracted descriptors such as velocity as input, and sequence-based models, which processed raw x- and y-coordinate time series as input. An imbalanced dataset was used to train eight models: Decision Forest, Random Forest, Support Vector Machine (SVM), and XGBoost for the feature-based approach; and Convolutional Neural Network (CNN), 1-Nearest Neighbor Dynamic Time Warping (1NN-DTW), Long Short-Term Memory network (LSTM) and Random Convolutional Kernel Transform (ROCKET) for the sequence-based approach. The best sequence-based model, CNN, achieved 64% balanced accuracy, slightly outperforming the best feature-based model, SVM, which achieved 59%. However, SVM achieved a higher F1-macro score (0.54 vs. 0.51). Other sequence-based models, including ROCKET and the LSTM, underperformed relative to feature-based models. Notably, ROCKET obtained the lowest balanced accuracy (31%), an unexpected result that warrants further investigation. Overall, the findings demonstrate that sequence-based methods can match or exceed classical feature-based approaches for trajectory-based insect classification, but performance is highly dependent on the chosen model. Further evaluation of additional datasets, particularly with trajectories captured at a higher frame rate, is necessary to determine whether motion-based classification can effectively replace image-based biodiversity monitoring in field applications.
Author: Schulz, Anton
Institution: KTH Royal Institute of Technology
Language: English
Topic: Smart Agriculture and AI
Subfield: Plant Science
Domain: Life Sciences
Open Access status: green
OpenAlex ID: W7112359284
