Abstract
In the sustainable smart agriculture era, a vast amount of agricultural knowledge is available on the internet, making it necessary to explore effective document classification techniques for enhanced accessibility and efficiency. Over the past few years, fine-tuning strategies based on pre-trained language models (PLMs) have gained popularity as mainstream deep learning approaches, showcasing impressive performance. However, these approaches face several challenges, including a limited availability of training data, poor domain transferability, lack of model interpretability, and the challenges in deploying large models. Inspired by ChatGPT’s significant success, we investigate its capability and utilization in the field of agricultural information processing. We explore various attempts to maximize ChatGPT’s potential, including various prompting construction strategies, ChatGPT question-answering (Q &A) inference, and intermediate answer alignment technique. Our preliminary comparative study demonstrates that ChatGPT effectively addresses research challenges and bottlenecks, positioning it as an ideal solution for agricultural document classification. This findings encourage the development of a general-purpose agricultural document processing paradigm. Our preliminary study also indicates the trend towards achieving Artificial General Intelligence (AGI) for sustainable smart agriculture in the future. Code is available on Github (https://github.com/albert-**/agricultural_textual_classification_ChatGPT).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
PromptPerfect service: https://promptperfect.**aai.cn/prompts.
- 2.
- 3.
PromptPerfect service is available at https://promptperfect.**aai.cn/prompts.
- 4.
Spacy can be accessed on https://spacy.io.
- 5.
PestObserver-France download: https://github.com/sufianj/fast-camembert.
- 6.
- 7.
More details can be accessed from http://zjzx.cnki.net/.
- 8.
- 9.
GloVe embedding: https://nlp.stanford.edu/projects/glove/.
- 10.
Huggingface transformers: https://huggingface.co/docs/transformers/index.
- 11.
Baidu Ernie Bot: https://wenxin.baidu.com/wenxin/nlp.
- 12.
References
Azeez, N., Al-Taie, I., Yahya, W., Basbrain, A., Clark, A.: Regional agricultural land texture classification based on GLCMS, SVM and decision tree induction techniques. In: 2018 10th Computer Science and Electronic Engineering (CEEC), pp. 131–135 (2018)
Bang, Y., et al.: A multitask, multilingual, multimodal evaluation of ChatGPT on reasoning, hallucination, and interactivity (2023)
Brown, T.B., et al.: Language models are few-shot learners. In: Proceedings of the 34th International Conference on Neural Information Processing Systems. NIPS 2020, Red Hook, NY, USA, pp. 182–207. Curran Associates Inc. (2020)
Cao, Y., Sun, Z., Li, L., Mo, W.: A study of sentiment analysis algorithms for agricultural product reviews based on improved Bert model. Symmetry 14(8), 1604 (2022)
Devlin, J., Chang, M.W., Lee, K., Toutanova, K.: 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), Minneapolis, Minnesota, pp. 4171–4186. Association for Computational Linguistics (2019)
Dunnmon, J., Ganguli, S., Hau, D., Husic, B.: Predicting us state-level agricultural sentiment as a measure of food security with tweets from farming communities (2019)
Gao, J., Yu, H., Zhang, S.: Joint event causality extraction using dual-channel enhanced neural network. Knowl.-Based Syst. 258, 109935 (2022)
Gao, J., Zhao, H., Yu, C., Xu, R.: Exploring the feasibility of ChatGPT for event extraction (2023)
Jiang, S., Angarita, R., Cormier, S., Rousseaux, F.: Fine-tuning BERT-based models for plant health bulletin classification (2021)
Jiao, W., Wang, W., tse Huang, J., Wang, X., Tu, Z.: Is ChatGPT a good translator? yes with GPT-4 as the engine (2023)
**, W., Zhao, B., Liu, C.: Fintech key-phrase: a new Chinese financial high-tech dataset accelerating expression-level information retrieval. In: Wang, X., et al. (eds.) Database Systems for Advanced Applications, pp. 425–440. Springer, Cham (2023). https://doi.org/10.1007/978-3-031-30675-4_31
**, W., Zhao, B., Yu, H., Tao, X., Yin, R., Liu, G.: Improving embedded knowledge graph multi-hop question answering by introducing relational chain reasoning. Data Mining and Knowledge Discovery (2022)
Liu, P., Qiu, X., Huang, X.: Recurrent neural network for text classification with multi-task learning. In: Proceedings of the Twenty-Fifth International Joint Conference on Artificial Intelligence, pp. 2873–2879. IJCAI 2016, AAAI Press (2016)
Liu, P., Yuan, W., Fu, J., Jiang, Z., Hayashi, H., Neubig, G.: Pre-train, prompt, and predict: a systematic survey of prompting methods in natural language processing. ACM Comput. Surv. 55(9), 1–35 (2023)
OpenAI: Gpt-4 technical report (2023)
Raffel, C., et al.: Exploring the limits of transfer learning with a unified text-to-text transformer. J. Mach. Learn. Res. 21(1), 5485–5551 (2020)
Shen, Y., et al.: Parallel instance query network for named entity recognition. In: Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), Dublin, Ireland, pp. 947–961. Association for Computational Linguistics (2022)
Yunlai, S., Yunpeng, C., Zhigang, D.: A classification method of agricultural news text based on Bert and deep active learning. J. Lib. Inf. Sci. Agricult. 34(8), 19 (2022)
Vaswani, A., et al.: Attention is all you need. In: Proceedings of the 31st International Conference on Neural Information Processing Systems, Red Hook, NY, USA, pp. 6000–6010. NIPS 2017. Curran Associates Inc. (2017)
Wang, J., et al.: Is Chatgpt a good NLG evaluator? A preliminary study (2023)
Wei, X., et al.: Zero-shot information extraction via chatting with ChatGPT (2023)
**a, N., Yu, H., Wang, Y., Xuan, J., Luo, X.: DAFS: a domain aware few shot generative model for event detection. Mach. Learn. 112(3), 1011–1031 (2023)
**ao, Y., Du, Q.: Statistical age-of-information optimization for status update over multi-state fading channels (2023)
Xu, J.L., Hsu, Y.L.: Analysis of agricultural exports based on deep learning and text mining. J. Supercomput. 78(8), 10876–10892 (2022)
Zhao, B., **, W., Chen, Z., Guo, Y.: A semi-independent policies training method with shared representation for heterogeneous multi-agents reinforcement learning. Front. Neurosci. 17 (2023)
Zhao, B., **, W., Ser, J.D., Yang, G.: ChataGRI: exploring potentials of ChatGPT on cross-linguistic agricultural text classification (2023)
Zhong, Q., Ding, L., Liu, J., Du, B., Tao, D.: Can ChatGPT understand too? a comparative study on ChatGPT and fine-tuned BERT (2023)
Zhou, C., et al.: A comprehensive survey on pretrained foundation models: a history from BERT to ChatGPT (2023)
Acknowledgements
This work was carried out during the first author’s (Wei-qiang **) and the second author’s (Biao Zhao) research time at **‘an Jiaotong University. Weiqiang ** is the corresponding author. The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence this work. We would like to thank Guizhong Liu for providing helpful discussions and recommendations. Thanks are also due to the anonymous reviewers and action editors for improving the paper with their comments, and recommendations.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
**, W., Zhao, B., Liu, G. (2024). Exploring the Capability of ChatGPT for Cross-Linguistic Agricultural Document Classification: Investigation and Evaluation. In: Luo, B., Cheng, L., Wu, ZG., Li, H., Li, C. (eds) Neural Information Processing. ICONIP 2023. Communications in Computer and Information Science, vol 1965. Springer, Singapore. https://doi.org/10.1007/978-981-99-8145-8_18
Download citation
DOI: https://doi.org/10.1007/978-981-99-8145-8_18
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-99-8144-1
Online ISBN: 978-981-99-8145-8
eBook Packages: Computer ScienceComputer Science (R0)