DiscoEPG: A Python package for characterization of insect electrical penetration graph (EPG) signals

• DiscoEPG is an open-source Python package to streamlines EPG research for plant-insect studies. • EPG waveform annotation is automated using ML algorithms, achieving high accuracy. • The package features tools for statistical analysis and visualization. • DiscoEPG was validated on 332 8-hour recordings from 4 aphid species. The Electrical Penetration Graph (EPG) technique is a widely recognized tool for monitoring and analyzing the feeding behavior of herbivorous insects with piercing-sucking mouthparts, such as aphids. Traditionally, EPG waveform annotation relies on a skilled practitioner using expert knowledge to compare target waveforms with the standard patterns of feeding behaviors. This process is labor-intensive, often requiring more than 30 minutes to annotate an 8-hour recording, depending on the complexity of the behaviors displayed. Machine learning (ML) has shown significant potential in automating behavioral analysis, including in EPG waveform annotation. However, most publicly available tools that provide automatic annotation suffer from low prediction accuracy due to their simple classification rules. To address this limitation, we developed DiscoEPG , an open-source Python package that offers highly accurate automatic annotation of aphid EPG data generated with EPG Systems hardware and the associated Stylet+ software. We rigorously evaluated multiple ML algorithms, demonstrating superior predictive accuracy compared to existing methods. In addition, DiscoEPG includes novel features to improve usability, such as tools to generate publication-quality visualizations, compute EPG variables, and perform statistical analysis. By streamlining the analysis of aphid EPG data, DiscoEPG aims to make this technique more accessible to researchers studying the feeding behavior of aphids. Our package source code and example interactive workbooks are publicly available at: https://github.com/HySonLab/ML4Insects .

Authors

Institutions

Publication Details

Journal
Smart Agricultural Technology
Published
2026-02-15
DOI
https://doi.org/10.1016/j.atech.2026.101874
Primary Topic
Insect-Plant Interactions and Control
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

DiscoEPG: A Python package for characterization of insect electrical penetration graph (EPG) signals

N Naga Krishna Vamsi, Phuong D. Dao, Hyukmin Son, Daniel Kunk et al.
Smart Agricultural Technology
Insect-Plant Interactions and Control
article

DiscoEPG: A Python package for characterization of insect electrical penetration graph (EPG) signals

N Naga Krishna Vamsi, Phuong D. Dao, Hyukmin Son, Daniel Kunk, Dung Quang Dinh
article en

Abstract

• DiscoEPG is an open-source Python package to streamlines EPG research for plant-insect studies. • EPG waveform annotation is automated using ML algorithms, achieving high accuracy. • The package features tools for statistical analysis and visualization. • DiscoEPG was validated on 332 8-hour recordings from 4 aphid species. The Electrical Penetration Graph (EPG) technique is a widely recognized tool for monitoring and analyzing the feeding behavior of herbivorous insects with piercing-sucking mouthparts, such as aphids. Traditionally, EPG waveform annotation relies on a skilled practitioner using expert knowledge to compare target waveforms with the standard patterns of feeding behaviors. This process is labor-intensive, often requiring more than 30 minutes to annotate an 8-hour recording, depending on the complexity of the behaviors displayed. Machine learning (ML) has shown significant potential in automating behavioral analysis, including in EPG waveform annotation. However, most publicly available tools that provide automatic annotation suffer from low prediction accuracy due to their simple classification rules. To address this limitation, we developed DiscoEPG , an open-source Python package that offers highly accurate automatic annotation of aphid EPG data generated with EPG Systems hardware and the associated Stylet+ software. We rigorously evaluated multiple ML algorithms, demonstrating superior predictive accuracy compared to existing methods. In addition, DiscoEPG includes novel features to improve usability, such as tools to generate publication-quality visualizations, compute EPG variables, and perform statistical analysis. By streamlining the analysis of aphid EPG data, DiscoEPG aims to make this technique more accessible to researchers studying the feeding behavior of aphids. Our package source code and example interactive workbooks are publicly available at: https://github.com/HySonLab/ML4Insects .

Smart Agricultural TechnologyVol. 13
Université Sorbonne Paris Nord (FR), Laboratoire Analyse, Géométrie et Applications (FR), The University of Texas at Austin (US), Colorado State University (US)
Openalex Percentile: Top 60%
Insect-Plant Interactions and Control
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.