Effects of Adversarial Training of Word Embeddings on Chinese Agricultural Pest and Disease Named Entity Recognition with BERT-CRF
Research Article  ·  Published: 24 October 2026
Issue cover
ICCK Transactions on Machine Intelligence
Volume 3, Issue 1, 2027: 1-18
Research Article Open Access

Effects of Adversarial Training of Word Embeddings on Chinese Agricultural Pest and Disease Named Entity Recognition with BERT-CRF

1 National Engineering Research Center for Information Technology in Agriculture, Beijing 100097, China
2 Information Technology Research Center, Beijing Academy of Agriculture and Forestry Sciences, Beijing 100097, China
3 Key Laboratory of Digital Village Technology, Ministry of Agriculture and Rural Affairs, Beijing 100097, China
4 Beijing Research Institute of Agricultural Artificial Intelligence and Robotics, Beijing 100097, China
5 College of Computer Science and Technology, Inner Mongolia Minzu University, Tongliao 028000, China
* Corresponding Author: Yuansheng Wang, [email protected]
Volume 3, Issue 1
You have full access to this open access article · CC BY 4.0 License

Article Information

Abstract

Entity boundaries, confusable entity types and surface forms absent from the training data all make it harder to extract structured information from agricultural pest and disease texts. We examined whether single-step adversarial training of word embeddings with the fast gradient method (FGM) improves entity recognition when the BERT-CRF inference architecture is left unchanged. On the official 13-type AgCNER corpus, with exact matching of character span and entity type, we compared a feature-based CRF, BiLSTM-CRF, BERT-CRF and BERT-CRF+FGM, training each neural model with three fixed random seeds. BERT-CRF+FGM reached mean test precision, recall and F1 of 94.37%, 95.10% and 94.73%. Its F1 was 0.28 percentage points higher than that of the matched BERT-CRF baseline, and the paired difference was positive for every seed. F1 on unseen surface forms rose from 74.87% to 76.41%, and the overall gain remained 0.27 percentage points after test texts duplicated in other splits were removed. Mean F1 increased for 11 of the 13 types but fell for Company and Organization. FGM did not change the parameter count. The seed-42 model produced 20,670 indexed entity occurrences that can be checked against the released records and character spans. The official test set had been used in an earlier baseline study and test results informed model adoption, so these findings are exploratory; independently sourced data are needed to assess how far they generalize.

Graphical Abstract

Effects of Adversarial Training of Word Embeddings on Chinese Agricultural Pest and Disease Named Entity Recognition with BERT-CRF

Keywords

Agricultural pests and diseases named entity recognition BERT-CRF fast gradient method unseen surface forms entity occurrence index

Data Availability Statement

The AgCNER corpus is publicly available on Figshare (collection DOI: 10.6084/m9.figshare.c.6807873.v1, https://figshare.com/collections/6807873). Processed predictions, the entity occurrence index and analysis scripts are available from the corresponding author upon reasonable request.

Funding

This work was supported by the National Major Agricultural Science and Technology Project under Grant 0304.

Conflicts of Interest

The authors declare no conflicts of interest.

AI Use Statement

The authors declare that no generative AI was used in the preparation of this manuscript.

Ethical Approval and Consent to Participate

Not applicable. This study used only a publicly released text corpus and involved no human participants or animals.

References

  1. Li, J., Sun, A., Han, J., & Li, C. (2020). A survey on deep learning for named entity recognition. IEEE transactions on knowledge and data engineering, 34(1), 50-70.
    [CrossRef] [Google Scholar]
  2. Nadeau, D., & Sekine, S. (2007). A survey of named entity recognition and classification. Lingvisticae Investigationes, 30(1), 3-26.
    [CrossRef] [Google Scholar]
  3. Yao, X., Hao, X., Liu, R., Li, L., & Guo, X. (2024). AgCNER, the first large-scale Chinese named entity recognition dataset for agricultural diseases and pests. Scientific Data, 11(1), 769.
    [CrossRef] [Google Scholar]
  4. Lafferty, J., McCallum, A., & Pereira, F. C. N. (2001). Conditional random fields: Probabilistic models for segmenting and labeling sequence data. In Proceedings of the 18th International Conference on Machine Learning (pp. 282-289). Morgan Kaufmann. https://repository.upenn.edu/cis_papers/159
    [Google Scholar]
  5. Huang, Z., Xu, W., & Yu, K. (2015). Bidirectional LSTM-CRF models for sequence tagging. arXiv preprint arXiv:1508.01991. https://arxiv.org/abs/1508.01991
    [Google Scholar]
  6. Lample, G., Ballesteros, M., Subramanian, S., Kawakami, K., & Dyer, C. (2016). Neural architectures for named entity recognition. In Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (pp. 260-270).
    [CrossRef] [Google Scholar]
  7. Guo, X., Hao, X., Tang, Z., Diao, L., Bai, Z., Lu, S., & Li, L. (2021). Ace-adp: adversarial contextual embeddings based named entity recognition for agricultural diseases and pests. Agriculture, 11(10), 912.
    [CrossRef] [Google Scholar]
  8. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... & Polosukhin, I. (2017). Attention is all you need. In Advances in Neural Information Processing Systems 30 (pp. 5998-6008).
    [Google Scholar]
  9. Devlin, J., Chang, M. W., Lee, K., & Toutanova, K. (2019, June). Bert: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 conference of the North American chapter of the association for computational linguistics: human language technologies, volume 1 (long and short papers) (pp. 4171-4186).
    [CrossRef] [Google Scholar]
  10. Cui, Y., Che, W., Liu, T., Qin, B., Wang, S., & Hu, G. (2020, November). Revisiting pre-trained models for Chinese natural language processing. In Findings of the Association for Computational Linguistics: EMNLP 2020 (pp. 657-668).
    [CrossRef] [Google Scholar]
  11. Zhang, Y., & Yang, J. (2018). Chinese NER using lattice LSTM. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) (pp. 1554-1564).
    [CrossRef] [Google Scholar]
  12. Li, X., Yan, H., Qiu, X., & Huang, X. J. (2020, July). FLAT: Chinese NER using flat-lattice transformer. In Proceedings of the 58th annual meeting of the association for computational linguistics (pp. 6836-6842).
    [CrossRef] [Google Scholar]
  13. Wu, S., Song, X., & Feng, Z. (2021, August). MECT: Multi-metadata embedding based cross-transformer for Chinese named entity recognition. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers) (pp. 1529-1539).
    [CrossRef] [Google Scholar]
  14. Guo, X., Zhou, H., Su, J., Hao, X., Tang, Z., Diao, L., & Li, L. (2020). Chinese agricultural diseases and pests named entity recognition with multi-scale local context features and self-attention mechanism. Computers and electronics in agriculture, 179, 105830.
    [CrossRef] [Google Scholar]
  15. Tang, W., Wen, X., & Hu, Z. (2024). Named entity recognition for crop diseases and pests based on gated fusion unit and Manhattan attention. Agriculture, 14(9), 1565.
    [CrossRef] [Google Scholar]
  16. Goodfellow, I. J., Shlens, J., & Szegedy, C. (2014). Explaining and harnessing adversarial examples. arXiv preprint arXiv:1412.6572.
    [CrossRef] [Google Scholar]
  17. Miyato, T., Dai, A. M., & Goodfellow, I. (2016). Adversarial training methods for semi-supervised text classification. arXiv preprint arXiv:1605.07725. https://arxiv.org/abs/1605.07725
    [Google Scholar]
  18. Zhu, C., Cheng, Y., Gan, Z., Sun, S., Goldstein, T., & Liu, J. (2019). Freelb: Enhanced adversarial training for natural language understanding. arXiv preprint arXiv:1909.11764.
    [CrossRef] [Google Scholar]
  19. Jiang, H., He, P., Chen, W., Liu, X., Gao, J., & Zhao, T. (2020). SMART: Robust and efficient fine-tuning for pre-trained natural language models through principled regularized optimization. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics (pp. 2177-2190).
    [CrossRef] [Google Scholar]
  20. Ghaddar, A., Langlais, P., Rashid, A., & Rezagholizadeh, M. (2021). Context-aware adversarial training for name regularity bias in named entity recognition. Transactions of the Association for Computational Linguistics, 9, 586-604.
    [CrossRef] [Google Scholar]
  21. Reimers, N., & Gurevych, I. (2017). Reporting score distributions makes a difference: Performance study of LSTM-networks for sequence tagging. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing (pp. 338-348).
    [CrossRef] [Google Scholar]
  22. Dodge, J., Gururangan, S., Card, D., Schwartz, R., & Smith, N. A. (2019). Show your work: Improved reporting of experimental results. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP) (pp. 2185-2194).
    [CrossRef] [Google Scholar]
  23. Augenstein, I., Derczynski, L., & Bontcheva, K. (2017). Generalisation in named entity recognition: A quantitative analysis. Computer Speech & Language, 44, 61-83.
    [CrossRef] [Google Scholar]
  24. Liang, J., Li, D., Lin, Y., Wu, S., & Huang, Z. (2023). Named entity recognition of Chinese crop diseases and pests based on RoBERTa-wwm with adversarial training. Agronomy, 13(3), 941.
    [CrossRef] [Google Scholar]
  25. Loshchilov, I., & Hutter, F. (2017). Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101.
    [CrossRef] [Google Scholar]
  26. Treviso, M., Lee, J. U., Ji, T., Van Aken, B., Cao, Q., Ciosici, M. R., ... & Schwartz, R. (2023). Efficient methods for natural language processing: A survey. Transactions of the Association for Computational Linguistics, 11, 826-860.
    [CrossRef] [Google Scholar]

Cite This Article

APA Style
Cheng, B., Gao, Z., An, B., & Wang, Y. (2026). Effects of Adversarial Training of Word Embeddings on Chinese Agricultural Pest and Disease Named Entity Recognition with BERT-CRF. ICCK Transactions on Machine Intelligence, 3(1), 1-18. https://doi.org/10.62762/TMI.2026.748742
Export Citation
RIS Format
Compatible with EndNote, Zotero, Mendeley, and other reference managers
TY  - JOUR
AU  - Cheng, Bo
AU  - Gao, Ziming
AU  - An, Biao
AU  - Wang, Yuansheng
PY  - 2026
DA  - 2026/10/24
TI  - Effects of Adversarial Training of Word Embeddings on Chinese Agricultural Pest and Disease Named Entity Recognition with BERT-CRF
JO  - ICCK Transactions on Machine Intelligence
T2  - ICCK Transactions on Machine Intelligence
JF  - ICCK Transactions on Machine Intelligence
VL  - 3
IS  - 1
SP  - 1
EP  - 18
DO  - 10.62762/TMI.2026.748742
UR  - https://www.icck.org/article/abs/TMI.2026.748742
KW  - Agricultural pests and diseases
KW  - named entity recognition
KW  - BERT-CRF
KW  - fast gradient method
KW  - unseen surface forms
KW  - entity occurrence index
AB  - Entity boundaries, confusable entity types and surface forms absent from the training data all make it harder to extract structured information from agricultural pest and disease texts. We examined whether single-step adversarial training of word embeddings with the fast gradient method (FGM) improves entity recognition when the BERT-CRF inference architecture is left unchanged. On the official 13-type AgCNER corpus, with exact matching of character span and entity type, we compared a feature-based CRF, BiLSTM-CRF, BERT-CRF and BERT-CRF+FGM, training each neural model with three fixed random seeds. BERT-CRF+FGM reached mean test precision, recall and F1 of 94.37%, 95.10% and 94.73%. Its F1 was 0.28 percentage points higher than that of the matched BERT-CRF baseline, and the paired difference was positive for every seed. F1 on unseen surface forms rose from 74.87% to 76.41%, and the overall gain remained 0.27 percentage points after test texts duplicated in other splits were removed. Mean F1 increased for 11 of the 13 types but fell for Company and Organization. FGM did not change the parameter count. The seed-42 model produced 20,670 indexed entity occurrences that can be checked against the released records and character spans. The official test set had been used in an earlier baseline study and test results informed model adoption, so these findings are exploratory; independently sourced data are needed to assess how far they generalize.
SN  - 3068-7403
PB  - Institute of Central Computation and Knowledge
LA  - English
ER  - 
BibTeX Format
Compatible with LaTeX, BibTeX, and other reference managers
@article{Cheng2026Effects,
  author = {Bo Cheng and Ziming Gao and Biao An and Yuansheng Wang},
  title = {Effects of Adversarial Training of Word Embeddings on Chinese Agricultural Pest and Disease Named Entity Recognition with BERT-CRF},
  journal = {ICCK Transactions on Machine Intelligence},
  year = {2026},
  volume = {3},
  number = {1},
  pages = {1-18},
  doi = {10.62762/TMI.2026.748742},
  url = {https://www.icck.org/article/abs/TMI.2026.748742},
  abstract = {Entity boundaries, confusable entity types and surface forms absent from the training data all make it harder to extract structured information from agricultural pest and disease texts. We examined whether single-step adversarial training of word embeddings with the fast gradient method (FGM) improves entity recognition when the BERT-CRF inference architecture is left unchanged. On the official 13-type AgCNER corpus, with exact matching of character span and entity type, we compared a feature-based CRF, BiLSTM-CRF, BERT-CRF and BERT-CRF+FGM, training each neural model with three fixed random seeds. BERT-CRF+FGM reached mean test precision, recall and F1 of 94.37\%, 95.10\% and 94.73\%. Its F1 was 0.28 percentage points higher than that of the matched BERT-CRF baseline, and the paired difference was positive for every seed. F1 on unseen surface forms rose from 74.87\% to 76.41\%, and the overall gain remained 0.27 percentage points after test texts duplicated in other splits were removed. Mean F1 increased for 11 of the 13 types but fell for Company and Organization. FGM did not change the parameter count. The seed-42 model produced 20,670 indexed entity occurrences that can be checked against the released records and character spans. The official test set had been used in an earlier baseline study and test results informed model adoption, so these findings are exploratory; independently sourced data are needed to assess how far they generalize.},
  keywords = {Agricultural pests and diseases, named entity recognition, BERT-CRF, fast gradient method, unseen surface forms, entity occurrence index},
  issn = {3068-7403},
  publisher = {Institute of Central Computation and Knowledge}
}

Article Metrics

Citations
Crossref
0
Scopus
0
Views
31
PDF Downloads
14

Publisher's Note

ICCK stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and Permissions

CC BY Copyright © 2026 by the Author(s). Published by Institute of Central Computation and Knowledge. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made.
ICCK Transactions on Machine Intelligence
ICCK Transactions on Machine Intelligence
ISSN: 3068-7403 (Online)
Portico
Preserved at
Portico