# Machine Learning-Enhanced MEC Sensors with Feature Engineering for Quantitative Analysis of Multi-Component Toxicants

**Authors:** Jiaguo Yan, Renxin Liang, Wenqing Yan, Xin Wang

PMC · DOI: 10.3390/bios16030144 · Biosensors · 2026-03-02

## TL;DR

This paper introduces a new method using microbial electrochemical systems and machine learning to accurately detect and quantify multiple toxicants in complex mixtures.

## Contribution

The novel integration of mechanism-driven feature engineering with machine learning in microbial electrochemical systems for multi-component toxicant analysis.

## Key findings

- Random Forest (RF) achieved R² > 0.9 for all tested toxicants with high accuracy.
- Geobacter anodireducens and Comamonas testosteroni were identified as key functional taxa in the microbial community.
- The framework enables rapid and low-cost monitoring of mixed toxicants with minimized error metrics.

## Abstract

Accelerated industrialization has caused complex mixed toxicant pollution, where synergistic or antagonistic interactions render conventional detection methods inadequate. Herein, we develop an integrated framework by pioneering the integration of microbial electrochemical systems (MECs) with machine learning (ML) for quantifying formaldehyde, tetracycline, Ag+, and Cu2+ in multi-component, multi-ratio, and multi-concentration mixtures. MECs generated dynamic current–time (I–t) signals responsive to toxicant stress, though signal overlap from mixed toxicants hindered direct quantification. Guided by toxicokinetics and electrochemical mechanisms, we developed a novel mechanism-driven feature engineering strategy with exclusively original indicators, which extracted 22 multidimensional features capturing instantaneous characteristics, kinetic patterns, and microbial stress-adaptive responses to resolve signal ambiguity, and provided biologically meaningful, high-information feature inputs that effectively bridge electrochemical response signals and ML modeling. Comparative analysis of four ML models (SVM, KNN, PLS, and RF) showed RF outperformed others, achieving R2 > 0.9 for all toxicants (formaldehyde: 0.959; tetracycline: 0.934; Ag+: 0.936; Cu2+: 0.957) with minimized MAE and RMSE. Microbial community analysis identified Geobacter anodireducens (71.5%, electroactive for heavy metals) and Comamonas testosteroni (12.9%, organic degrader) as key functional taxa, supported by KEGG enzyme abundance data. This work overcomes traditional MEC limitations via innovative feature engineering and pioneering ML integration, providing a rapid, low-cost, and high-accuracy tool for environmental mixed toxicant monitoring.

## Linked entities

- **Chemicals:** formaldehyde (PubChem CID 712), tetracycline (PubChem CID 54675776), Ag+ (PubChem CID 23954), Cu2+ (PubChem CID 27099)
- **Species:** Geobacter anodireducens (taxon 1340425), Comamonas testosteroni (taxon 285)

## Full-text entities

- **Genes:** glutamine synthetase [NCBI Gene 11934145]
- **Diseases:** injury to (MESH:D014947), RF (MESH:D007733), Toxic (MESH:D064420)
- **Chemicals:** Formaldehyde (MESH:D005557), stainless steel (MESH:D013193), esters (MESH:D004952), agarose (MESH:D012685), Cu2+ (-), aldehyde (MESH:D000447), NADH (MESH:D009243), phosphate (MESH:D010710), quinone (MESH:C004532), Cr6+ (MESH:C120400), fatty acid (MESH:D005227), carbon (MESH:D002244), copper sulfate (MESH:D019327), heavy metal (MESH:D019216), KCl (MESH:D011189), sodium acetate (MESH:D019346), silver nitrate (MESH:D012835), pyruvate (MESH:D019289), graphite (MESH:D006108), acetyl-CoA (MESH:D000105), steroids (MESH:D013256), metal (MESH:D008670), PAH (MESH:D011084), tetracycline (MESH:D013752), Ag+ (MESH:D012834), NH4Cl (MESH:D000643), nitrogen (MESH:D009584), acetate (MESH:D000085)
- **Species:** Geobacter anodireducens (species) [taxon 1340425], Homo sapiens (human, species) [taxon 9606], Comamonas testosteroni (species) [taxon 285], Desulfovibrio sp. (species) [taxon 885]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC13023910/full.md

## Figures

7 figures with captions in the complete paper: https://tomesphere.com/paper/PMC13023910/full.md

## References

44 references — full list in the complete paper: https://tomesphere.com/paper/PMC13023910/full.md

---
Source: https://tomesphere.com/paper/PMC13023910