Bait station
Bait stations consisted of a Dragon Touch Vision 1 1080p camera, suspended at a height of 210mm above a featureless detection board, shielded by an opaque baffle (Fig.4). This setup minimised background and lighting variability, thus simplifying the computational complexity of hornet detection, while ensuring that only hornets and other insects visiting the station were captured in videos. A sponge cloth impregnated with commercial vespid attractantVespaCatch (Vto-pharma) or Trappit (Agrisense)was placed in a 90mm diameter Petri dish at the centre of the bait station, thus attracting hornets to land directly beneath the camera. We used these bait stations to collect and extract an extensive training dataset, comprising images of V. velutina, V. crabro, and other insects across locations in Jersey, Portugal, France, and the UK.
To ensure dataset fidelity, resultant images of both V. velutina and V. crabro were visually identified via expert assessment of colouration, abdominal markings, and morphology. Additionally, the identity of each hornet species was confirmed through utilisation of the appropriate taxonomic keys65,66.
Data were collected in 2021 and 2022, with selected images being extracted from the raw video footage, and divided into three subsets. All training images were collected in 2021, while the final validation images were collected in 2022, ensuring complete spatiotemporal and biological novelty. Images yielded a maximum simultaneous co-occurrence of six V. velutina, this being observed in Jersey; and five V. crabro, this being recorded in the UK. As a processing step prior to training, images were letterboxedthis being the process of downsampling to 640640 for enhanced throughput performance, while maintaining a 16:9 aspect ratio and filling any residual image space with blank pixels. This then allowed for extensive image augmentation during training, producing three additional variations to supplement each original frame, and thus increasing the total number of images by a factor of four. The specific details of each training data subset are outlined in the following sections.
A collection of 1717 images for training and 430 for initial validation metrics, totalling 8,588 after augmentation. This set contained hornet images with a 50:50 split between V. velutina and V. crabro, while the number of non-target insects was intentionally limited. Data were collected from bait stations at sites in the UK and Portugal.
A collection of 2196 images for training and 549 for initial validation metrics, totalling 10,980 after augmentation. This set contained all hornet images from the HTS, in addition to 598 images of non-target insects. Images of non-target insects included a representative selection of species attracted to the bait station, with a focus on visually similar genera such as Vespula, Dolichovespula, and Polistes. All insects were identified to the genus level, utilising a combination of expert assessment and the relevant taxonomic identification resources65,67. A full list of non-target taxa is provided in (TableS1). These data were collected from bait stations at sites in the UK, Jersey, and Portugal.
A collection of 557 images for final validation only, totalling 2228 after augmentation. Of these, 433 contained instances of V. velutina and V. crabro in a 50:50 split, including multiple co-occurrences of both species and non-target insects. The remaining images contained a combination of non-target species and empty bait stations under different lighting and climatic conditions. Validation data were collected from bait stations at sites in the UK, Jersey, France, and Portugal.
Annotation was performed using the Plainsight AI (Plainsight) software interface. This allowed for expedited labelling via automated polygon selection and AI-assisted predictive annotation. Two classes of annotation were generated, corresponding to V. velutina and V. crabro, and these were then manually applied to a random selection of training frames. Polygonal masks included hornet bodies and wings, and excluded legs and antennaeas we found these to be redundant during testing. Once ~500 frames had been annotated manually, we then used this data to train an automated detection and segmentation model within the labelling interface, allowing us to more rapidly generate further annotations for training. Prior to data export, all annotations were reviewed manually, and corrections made where required. Annotations were exported in COCO format, enabling full segmentation of hornet features from the background68.
To develop a hardware-specific hornet detection and classification model, we combined our extensive image dataset with bespoke augmentations to obtain high predictive confidence. The VespAI detection algorithm is built on the YOLOv5 family of machine vision models, specifically YOLOv5sa variant optimised to run on portable processors such as the Raspberry Pi 448. As a front-end pre-filter to this, we incorporated the lightweight ViBe50 background subtraction algorithm, allowing the system to remain passive in the absence of motion (Fig.2a). Specifically, this pre-filter detects motion from the raw video input, extracts the contours of moving insects, and retains only objects within a reference size range generated from known hornet detections (Fig.2a and S1). Consequently, energy is conserved, as only relevant candidate frames are passed on to the YOLOv5 detection algorithm itself. This then applies a single fully convolutional neural network (F-CNN) to images (Fig.2b), providing superior speed, accuracy, and contextual awareness when compared to traditional regional convolutional neural networks (R-CNN)49,69.
All models were built and optimised using the PyTorch70 machine learning environment, with the aim of generating an end-to-end software package that would run on a Raspberry Pi 4. This was achieved by testing models on a range of YOLOv5 architectures, specifically YOLOv5m, YOLOv5s, and YOLOv5n; thus optimising them to include the minimum number of parametersthis being ~7 millionwhilst maintaining their performance (Fig. S2b).
Final models were trained and tested utilising a NVIDIA Tesla V100 Tensor Core GPU (NVIDIA), with a total of 200300 epochs per model, and a batch size of nine images. Model optimisation was evaluated via three loss functions; bounding box loss, this being the difference between the predicted and manually annotated bounding boxes; objectness loss, defined as the probability that bounding boxes contained target images; and cross-entropy classification loss, encompassing the probability that image classes were correctly classified (Fig. S2). In all cases, training concluded when there was no improvement in these three loss functions for a period of 50 epochs.
The prototype system was developed to provide proof-of-concept for remote detection under field-realistic conditions. The VespAI software was installed on a Raspberry Pi 4, running an Ubuntu desktop 22.04.1 LTS 64-bit operating system. This was then connected via USB to a variety of 1080p cameras, and tested using both mains and battery power supplies. These components were mounted on top of a bait station in the standard camera position, and a remote device was connected to the Pi server via the secure shell command. This allowed the hardware to be controlled remotely, and hornet detections viewed from a corresponding computer.
The setup was validated in Jersey during 2023, testing five candidate camera models and four prototype systems over a total of 55 trials at two field sites, yielding >5500 frames for analysis. Cameras were selected to test system robustness to differing lens and sensor options, while maintaining a standard resolution of 1080p across a range of cost-effective models (Fig. S5 and TableS2). Prior to testing, each camera was calibrated to a specific height, thus ensuring that the relative size of objects in frame remained constant across differences in lens angle and focal length (TableS2). Field sites were situated in Jersey to allow visits from both V. velutina, and V. crabro workers, along with a variety of common non-target insects, thus providing a rigorous test of the system under representative conditions.
Each trial consisted of a100-frame test, with the monitor capturing and analysing frames in real-time at intervals of either 5 or 30sthese being based on known hornet visitation durations (Fig. S4). Specifically, in the first 38 trials, the system was set to collect images at 5s intervals; before optimising to 30s intervals in the final 17 trials (TableS3), thus allowing for maximum power and data storage conservation, in tandem with reliable hornet detection. (Fig. S4). Results were then manually validated, and compared to the corresponding model predictions to calculate evaluation metrics.
Following field testing, the system was configured to integrate a DS3231 Real-Time Clock module, thus ensuring accurate timestamps for detections in the absence of external calibration.
To train the detection models and enable customised image augmentation, we employed the Python packages PyTorch, Torchvision, and Albumentations. Models were then evaluated via k-fold cross-validation, specifically utilising the metrics of precision, recall, box loss, objectness loss, classification loss, mean average precision (mAP), and F1 score (Fig. S2 and Table1). Cross-validation analyses employed a subsample (k) of 5, as this proved sufficient to select an optimised detection classifier that balanced model size with performance. Resultant model rankings were based on mean cross-validation scores, calculated using the Python packages scikit-learn and PaddlePaddle, and the YOLOv5 integrated validation functionality. Additional performance visualisations were generated via the packages Seaborn, Matplotlib, and NumPy. All statistical analyses were performed in SPSS (release v. 28.0.1.1) and Python (release v. 3.9.12).
Cross-validation of polygonal and box annotation techniques utilised precision, recall, box loss, objectness loss, classification loss, and mAP as response variables, and compared models with copy-paste augmentation levels of 0%, 30%, and 90%, with the former of these corresponding to box annotations.
Visualisation of training data subsets to ensure sufficient image novelty utilised frequency distribution analyses of blur, area, brightness, colour, and object density between the HTS, H/NTS, and VS.
Cross-validation of model architectures employed precision, recall, box loss, objectness loss, classification loss, and mAP as response variables, and compared models using the YOLOv5m, YOLOv5s, and YOLOv5n architectures.
Cross-validation of models trained on the hornet training subset and hornet/non-target training subset used F1 score and mAP as response variables, and compared models trained on the HTS and H/NTS, validated against the VS.
The LRP class classification model employed normalised contributions to classification decisions as a response variable, and compared same and opposite class pixel contributions. The LRP training subset classification model used normalised contributions to classification decisions as a response variable, and compared models trained on the HTS and N/HTS.
Precision and recall analyses were utilised to compare camera models, with comparisons based on median performance across test types for each metric.
Model development utilised a sample of 3302 images collected from a total of four countries, each consisting of multiple sampling sites. Data augmentation further expanded this sample to 13,208 images and provided additional variation to enhance model robustness. Analyses of the prototype system employed a sample of >5500 frames, collected across 55 field trials at two sites in Jersey. The source data underlying all figures and analyses are available within the supplementary data. Full details of statistical tests, subset sample sizes, and model selection procedures are provided in the results and statistical analyses sections.
Further information on research design is available in theNature Portfolio Reporting Summary linked to this article.
Originally posted here:
- Meet BioReason: The Worlds First Reasoning Model in Biology that Enables AI to Reason about Genomics like a Biology Expert - MarkTechPost - June 10th, 2025 [June 10th, 2025]
- A major switch from biology to English and Chicano studies - Newsroom | UCLA - June 10th, 2025 [June 10th, 2025]
- ANGLE plc Announces Novel Discoveries Into the Biology of Cancer - Yahoo Finance - June 10th, 2025 [June 10th, 2025]
- Investing in Biology: The Key to Sustainable Innovation in Drug Development and Healthcare - Technology Networks - June 10th, 2025 [June 10th, 2025]
- 10x CTO on Chan Zuckerberg, Arc Institute ties and industrializing single-cell biology - R&D World - June 10th, 2025 [June 10th, 2025]
- Why biology could be the future of computing and engineering - Phys.org - June 10th, 2025 [June 10th, 2025]
- The biology and toxinology of blunt-nosed vipers - Nature - June 10th, 2025 [June 10th, 2025]
- Bryan Johnson claims he has the biology of a 10-year-oldthanks to oxygen therapy. Can science really tur - Times of India - June 10th, 2025 [June 10th, 2025]
- Biology professor, Huck associate operations director to retire - Penn State University - June 1st, 2025 [June 1st, 2025]
- A milestone for creative biology teaching - University of Minnesota Twin Cities - June 1st, 2025 [June 1st, 2025]
- ASU researchers blend biology, fantasy in world-building guidebook - ASU News - June 1st, 2025 [June 1st, 2025]
- Goth biology theory offers an alternative approach to life sciences - dailyuw.com - June 1st, 2025 [June 1st, 2025]
- The lab of the future: An artificial superintelligence for biology - Fast Company - June 1st, 2025 [June 1st, 2025]
- Bringing biology to life - Cherokee Chronicle - June 1st, 2025 [June 1st, 2025]
- Progression independent of relapsing biology in multiple sclerosis: a real-word study - Frontiers - June 1st, 2025 [June 1st, 2025]
- She threw away a Stanford biology degree to start SF's hottest supper club - SFGATE - June 1st, 2025 [June 1st, 2025]
- Explore the full potential of spatial biology with MACSima Platform - SelectScience - June 1st, 2025 [June 1st, 2025]
- The Insane Biology of: The Greenland Shark - MSN - June 1st, 2025 [June 1st, 2025]
- Biology teacher, 27, arrested moments after allegedly sexually assaulting boy in her classroom - Daily Star - May 21st, 2025 [May 21st, 2025]
- Build High-Performing Teams By Harnessing The Biology Of Behavior - Forbes - May 21st, 2025 [May 21st, 2025]
- Tiwari Named Assistant Professor of Biology - University of the Ozarks - May 21st, 2025 [May 21st, 2025]
- Multiple system biology approaches reveals the role of the hsa-miR-21 in increasing risk of neurological disorders in patients suffering from... - May 21st, 2025 [May 21st, 2025]
- Lecturer/Senior Lecturer in Conservation Biology - Dunedin, New Zealand job with UNIVERSITY OF OTAGO | 393454 - Times Higher Education - May 21st, 2025 [May 21st, 2025]
- Will the UK government implement recommendations for the engineering biology sector? - Osborne Clarke - May 21st, 2025 [May 21st, 2025]
- Referring to biology is not transphobic, says sheriff in wake of bizarre prison bullying trial involving three - Daily Mail - May 21st, 2025 [May 21st, 2025]
- How to fight Lyme may lie in the biology of its disease-causing bacteria - Science News - May 12th, 2025 [May 12th, 2025]
- The biology behind the new mom-baby connection - Axios - May 12th, 2025 [May 12th, 2025]
- Veronica Russell, PhD in Computational Biology and Bioinformatics - Duke University School of Medicine - May 12th, 2025 [May 12th, 2025]
- Biology, not physics, holds the key to reality - IAI TV - May 12th, 2025 [May 12th, 2025]
- The Intersection of Physics and Biology - AIP.ORG - May 12th, 2025 [May 12th, 2025]
- Beyond Biology: Celebrating Mothers Who Rebuild Families from Loss and Tragedy - The Washington Informer - May 12th, 2025 [May 12th, 2025]
- Sunday edition #523: AI in 2030; the future of education; generative biology; AI moats++ - exponentialview.co - May 12th, 2025 [May 12th, 2025]
- He Has Resisted Conventional Wisdom: How Novak Djokovic Outwits Biology and Time - The Playoffs - May 12th, 2025 [May 12th, 2025]
- Bruker Spatial Biology Pushes Boundaries in Spatial Biology and Multiomics at AACR 2025 - Business Wire - April 27th, 2025 [April 27th, 2025]
- UWSP to dedicate Chemistry Biology Building to alumni couple - Point/Plover Metro Wire - April 27th, 2025 [April 27th, 2025]
- Unravelling the Biology of Type 1 Diabetes by Mapping Early Genetics - Inside Precision Medicine - April 27th, 2025 [April 27th, 2025]
- Unlocking High-Throughput Biology in Drug Discovery Symposium - Drug Target Review - April 27th, 2025 [April 27th, 2025]
- Fish, Wildlife, and Conservation Biology student Alex Brown receives prestigious National Science Foundation Graduate Research Fellowship - Colorado... - April 27th, 2025 [April 27th, 2025]
- How engineering biology promotes a sustainable planet - Innovation News Network - April 27th, 2025 [April 27th, 2025]
- Exposing Right-Wing Lies: Biology & Fairness in Sports - Socialist Alternative - April 27th, 2025 [April 27th, 2025]
- The power of RNA-based technologies in molecular biology and medicine - News-Medical - April 27th, 2025 [April 27th, 2025]
- Video: Leafing their mark. IU Columbus biology students host Arbor Day event on campus - The Republic News - April 27th, 2025 [April 27th, 2025]
- Schuylkill County biology teacher wins Volunteer of the Year Award - WNEP - April 27th, 2025 [April 27th, 2025]
- Innovative Spatial Biology Tools - Trend Hunter - April 27th, 2025 [April 27th, 2025]
- ELVIS to enter orbit: Pioneering imaging system to enhance space biology and life detection beyond Earth - Phys.org - April 19th, 2025 [April 19th, 2025]
- While this paleontologist doesn't find Elden Ring's monster designs all that realistic, he was impressed by FromSoft's subtle storytelling and... - April 19th, 2025 [April 19th, 2025]
- CZI Sets Four Scientific Grand Challenges to Transform Human Health at the Intersection of AI and Biology - chanzuckerberg.com - April 19th, 2025 [April 19th, 2025]
- New Article Calls for a Philosophical Revolution in Biology, Placing Mind Over Matter - Evolution News - April 19th, 2025 [April 19th, 2025]
- Opinion Grieving my future in biology - thenorthwindonline.com - April 19th, 2025 [April 19th, 2025]
- U. researcher's paper named top 10 cited in field of addiction biology - The Daily Targum - April 19th, 2025 [April 19th, 2025]
- Future Opportunities In The Synthetic Biology Market Landscape Until 2035 - PharmiWeb.com - April 19th, 2025 [April 19th, 2025]
- "Don't give up hope": Reactions to ruling which states definition of a woman is based on biology - Cosmopolitan - April 19th, 2025 [April 19th, 2025]
- An Exoplanet Discovered With Hints Of Biology? This Is What You Need To Know - IFLScience - April 19th, 2025 [April 19th, 2025]
- Woman Corrected Her Husbands Knowledge Of How Biology Works And His Mom Backed Her Up, So He Stormed Off In Embarrassment - TwistedSifter - April 19th, 2025 [April 19th, 2025]
- MSSU professor's work in environmental, evolutionary biology to be featured on Newsmakers - Inside Joplin - April 19th, 2025 [April 19th, 2025]
- The Increasing Value Of The Synthetic Biology Market By 2035 - PharmiWeb.com - April 19th, 2025 [April 19th, 2025]
- Spring Break at Smithsonians National Zoo and Conservation Biology Institute - National Zoo - April 10th, 2025 [April 10th, 2025]
- Valley biology teacher wins grand prize in National Science Teaching Association competition - TribLIVE.com - April 10th, 2025 [April 10th, 2025]
- Korea passes worlds first synthetic biology law - - April 10th, 2025 [April 10th, 2025]
- Space Biology Research Supports Understanding the Hazards of Human Spaceflight - astrobiology.com - April 10th, 2025 [April 10th, 2025]
- Spatial Biology Reveals Past, Present, and Future Cancer Biology - Genetic Engineering and Biotechnology News - April 10th, 2025 [April 10th, 2025]
- The biology of grafting and its applications in studying information exchange between plants - Nature - April 10th, 2025 [April 10th, 2025]
- How the U.S. Can Seize the Age of Biology featuring Dr. Michelle Rozo - CSIS | Center for Strategic and International Studies - April 10th, 2025 [April 10th, 2025]
- Wildlife Biology at SEMO: Hands-On Training for Conservation - Southeast Missouri State University - April 10th, 2025 [April 10th, 2025]
- Crew Studies Advanced Tech, Space Biology Before Next Crew Departs - NASA (.gov) - April 10th, 2025 [April 10th, 2025]
- Corundum Systems Biology Expands to U.S. with Cambridge Office, Strengthening Ties to Biotech Innovation - Boston Real Estate Times - April 10th, 2025 [April 10th, 2025]
- Wnt signaling pathways in biology and disease: mechanisms and therapeutic advances - Nature - April 10th, 2025 [April 10th, 2025]
- Anthropic provides insights into the AI biology of Claude - AI News - March 30th, 2025 [March 30th, 2025]
- Visiting professor to give joint biology/geology lecture - Fredonia.edu - March 30th, 2025 [March 30th, 2025]
- UNM Biology professor awarded 2025 SDB Early Investigator Award - UNM Newsroom - March 30th, 2025 [March 30th, 2025]
- A map of mitochondrial biology reveals the energy landscape of the human brain - Nature.com - March 30th, 2025 [March 30th, 2025]
- The Outsider | Boebert says her wolf bill defends rural Colorado from leftists and ballot box biology - The Colorado Sun - March 30th, 2025 [March 30th, 2025]
- From hand washing to curing cancer, the AP Biology students are getting answers to all their questions - The Central Trend - March 30th, 2025 [March 30th, 2025]
- North America Synthetic Biology Market Drivers, Segments, Sales, Profits and Analysis- 2028 - openPR - March 30th, 2025 [March 30th, 2025]
- Coding, energy, and biology jobs to survive AI revolution, predicts Bill Gates - Deccan Herald - March 30th, 2025 [March 30th, 2025]
- AI in Biology: So Is This the End of the Experiment? No. - Walter Bradley Center for Natural and Artificial Intelligence - March 15th, 2025 [March 15th, 2025]
- Decoding the secret messages of data, biology and music : TED Radio Hour - NPR - March 15th, 2025 [March 15th, 2025]
- Pivot Bio: How Biology is Starting the Next Agricultural Revolution, Featured at TEDxBoston - PR Newswire - March 15th, 2025 [March 15th, 2025]
- University of Richmond Biology Professor John Peters Receives $500K NSF Award to Support Research on Learning and Memory - UR Now - March 15th, 2025 [March 15th, 2025]
- THE REPRO RUNDOWN | Menstruation Myths, Hormonal Cycles, the Biology Behind the Bleed - Georgetown University The Hoya - March 15th, 2025 [March 15th, 2025]