IDEAS home Printed from https://ideas.repec.org/a/gam/jagris/v12y2022i6p813-d831520.html
   My bibliography  Save this article

A Residual LSTM and Seq2Seq Neural Network Based on GPT for Chinese Rice-Related Question and Answer System

Author

Listed:
  • Haoriqin Wang

    (College of Computer Science and Technology, Inner Mongolia Minzu University, Tongliao 028043, China
    Research Center of Information Technology, Beijing Academy of Agriculture and Forestry Sciences, Beijing 100097, China
    Agriculture Key Laboratory of Digital Village, Ministry of Agriculture and Rural Affairs of the People’s Republic of China, Beijing 100097, China
    National Engineering Research Center for Information Technology in Agriculture, Beijing 100097, China)

  • Huarui Wu

    (Research Center of Information Technology, Beijing Academy of Agriculture and Forestry Sciences, Beijing 100097, China
    Agriculture Key Laboratory of Digital Village, Ministry of Agriculture and Rural Affairs of the People’s Republic of China, Beijing 100097, China
    National Engineering Research Center for Information Technology in Agriculture, Beijing 100097, China)

  • Huaji Zhu

    (Research Center of Information Technology, Beijing Academy of Agriculture and Forestry Sciences, Beijing 100097, China
    Agriculture Key Laboratory of Digital Village, Ministry of Agriculture and Rural Affairs of the People’s Republic of China, Beijing 100097, China
    National Engineering Research Center for Information Technology in Agriculture, Beijing 100097, China)

  • Yisheng Miao

    (Research Center of Information Technology, Beijing Academy of Agriculture and Forestry Sciences, Beijing 100097, China
    Agriculture Key Laboratory of Digital Village, Ministry of Agriculture and Rural Affairs of the People’s Republic of China, Beijing 100097, China
    National Engineering Research Center for Information Technology in Agriculture, Beijing 100097, China)

  • Qinghu Wang

    (College of Computer Science and Technology, Inner Mongolia Minzu University, Tongliao 028043, China)

  • Shicheng Qiao

    (College of Computer Science and Technology, Inner Mongolia Minzu University, Tongliao 028043, China)

  • Haiyan Zhao

    (College of Computer Science and Technology, Inner Mongolia Minzu University, Tongliao 028043, China)

  • Cheng Chen

    (Research Center of Information Technology, Beijing Academy of Agriculture and Forestry Sciences, Beijing 100097, China
    Agriculture Key Laboratory of Digital Village, Ministry of Agriculture and Rural Affairs of the People’s Republic of China, Beijing 100097, China
    National Engineering Research Center for Information Technology in Agriculture, Beijing 100097, China)

  • Jingjian Zhang

    (CangZhou Academy of Agriculture and Forestry Sciences, Cangzhou 061001, China)

Abstract

Rice has a wide planting area as one of the essential food crops in China. The problem of diseases and pests in rice production has always been one of the main factors affecting its quality and yield. It is essential to provide treatment methods and means for rice diseases and pests quickly and accurately in the production process. Therefore, we used the rice question-and-answer (Q&A) community as an example. This paper aimed at the critical technical problems faced by the agricultural Q&A community: the accuracy of the existing agricultural Q&A model is low, which is challenging to meet users’ requirements to obtain answers in real-time in the production process. A network based on Attention-ResLSTM-seq2seq was used to realize the construction of the rice question and answer model. Firstly, the text presentation of rice question-and-answer pairs was obtained using the GPT pre-training model based on a 12-layer transformer. Then, ResLSTM(Residual Long Short-Term Memory) was used to extract text features in the encoder and decoder, and the output project matrix and output gate of LSTM were used to control the spatial information flow. When the network contacts the optimal state, the network only retains the constant mapping value of the input vector, which effectually reduces the network parameters and increases the network performance. Next, the attention mechanism was connected between the encoder and the decoder, which can effectually strengthen the weight of the keyword feature information of the question. The results showed that the BLEU and ROUGE of the Attention-ResLSTM-Seq2seq model reached the highest scores, 35.3% and 37.8%, compared with the other six rice-related generative question answering models.

Suggested Citation

  • Haoriqin Wang & Huarui Wu & Huaji Zhu & Yisheng Miao & Qinghu Wang & Shicheng Qiao & Haiyan Zhao & Cheng Chen & Jingjian Zhang, 2022. "A Residual LSTM and Seq2Seq Neural Network Based on GPT for Chinese Rice-Related Question and Answer System," Agriculture, MDPI, vol. 12(6), pages 1-19, June.
  • Handle: RePEc:gam:jagris:v:12:y:2022:i:6:p:813-:d:831520
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2077-0472/12/6/813/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2077-0472/12/6/813/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Haoriqin Wang & Huarui Wu & Qinghu Wang & Shicheng Qiao & Tongyu Xu & Huaji Zhu, 2022. "A Dynamic Attention and Multi-Strategy-Matching Neural Network Based on Bert for Chinese Rice-Related Answer Selection," Agriculture, MDPI, vol. 12(2), pages 1-17, January.
    2. Zhang, Yu & Li, Yanting & Zhang, Guangyao, 2020. "Short-term wind power forecasting approach based on Seq2Seq model using NWP data," Energy, Elsevier, vol. 213(C).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Tang, Yugui & Yang, Kuo & Zhang, Shujing & Zhang, Zhen, 2024. "Wind power forecasting: A temporal domain generalization approach incorporating hybrid model and adversarial relationship-based training," Applied Energy, Elsevier, vol. 355(C).
    2. Cui, Yang & Chen, Zhenghong & He, Yingjie & Xiong, Xiong & Li, Fen, 2023. "An algorithm for forecasting day-ahead wind power via novel long short-term memory and wind power ramp events," Energy, Elsevier, vol. 263(PC).
    3. Wang, Yun & Zou, Runmin & Liu, Fang & Zhang, Lingjun & Liu, Qianyi, 2021. "A review of wind speed and wind power forecasting with deep neural networks," Applied Energy, Elsevier, vol. 304(C).
    4. Tang, Yugui & Yang, Kuo & Zheng, Yichu & Ma, Li & Zhang, Shujing & Zhang, Zhen, 2024. "Wind power forecasting: A transfer learning approach incorporating temporal convolution and adversarial training," Renewable Energy, Elsevier, vol. 224(C).
    5. Zhang, Yagang & Zhang, Jinghui & Yu, Leyi & Pan, Zhiya & Feng, Changyou & Sun, Yiqian & Wang, Fei, 2022. "A short-term wind energy hybrid optimal prediction system with denoising and novel error correction technique," Energy, Elsevier, vol. 254(PC).
    6. Yuan, Ran & Wang, Bo & Mao, Zhixin & Watada, Junzo, 2021. "Multi-objective wind power scenario forecasting based on PG-GAN," Energy, Elsevier, vol. 226(C).
    7. Yang, Ting & Yang, Zhenning & Li, Fei & Wang, Hengyu, 2024. "A short-term wind power forecasting method based on multivariate signal decomposition and variable selection," Applied Energy, Elsevier, vol. 360(C).
    8. Stefenon, Stefano Frizzo & Seman, Laio Oriel & Aquino, Luiza Scapinello & Coelho, Leandro dos Santos, 2023. "Wavelet-Seq2Seq-LSTM with attention for time series forecasting of level of dams in hydroelectric power plants," Energy, Elsevier, vol. 274(C).
    9. Wen, Songkang & Li, Yanting & Su, Yan, 2022. "A new hybrid model for power forecasting of a wind farm using spatial–temporal correlations," Renewable Energy, Elsevier, vol. 198(C), pages 155-168.
    10. Min Cao & Jinfeng Wang & Xiaochen Sun & Zhengmou Ren & Haokai Chai & Jie Yan & Ning Li, 2022. "Short-Term and Medium-Term Electricity Sales Forecasting Method Based on Deep Spatio-Temporal Residual Network," Energies, MDPI, vol. 15(23), pages 1-15, November.
    11. Zhou, Gaoyu & Hu, Guofeng & Zhang, Daxing & Zhang, Yun, 2023. "A novel algorithm system for wind power prediction based on RANSAC data screening and Seq2Seq-Attention-BiGRU model," Energy, Elsevier, vol. 283(C).
    12. Lv, Sheng-Xiang & Wang, Lin, 2022. "Deep learning combined wind speed forecasting with hybrid time series decomposition and multi-objective parameter optimization," Applied Energy, Elsevier, vol. 311(C).
    13. Al-qaness, Mohammed A.A. & Ewees, Ahmed A. & Fan, Hong & Abualigah, Laith & Elaziz, Mohamed Abd, 2022. "Boosted ANFIS model using augmented marine predator algorithm with mutation operators for wind power forecasting," Applied Energy, Elsevier, vol. 314(C).
    14. Yang, Yang & Lang, Jin & Wu, Jian & Zhang, Yanyan & Su, Lijie & Song, Xiangman, 2022. "Wind speed forecasting with correlation network pruning and augmentation: A two-phase deep learning method," Renewable Energy, Elsevier, vol. 198(C), pages 267-282.
    15. Yang, Mao & Wang, Da & Zhang, Wei, 2023. "A short-term wind power prediction method based on dynamic and static feature fusion mining," Energy, Elsevier, vol. 280(C).
    16. Henrik Zsiborács & Gábor Pintér & András Vincze & Nóra Hegedűsné Baranyai, 2022. "Wind Power Generation Scheduling Accuracy in Europe: An Overview of ENTSO-E Countries," Sustainability, MDPI, vol. 14(24), pages 1-58, December.
    17. Liu, Guanjun & Wang, Yun & Qin, Hui & Shen, Keyan & Liu, Shuai & Shen, Qin & Qu, Yuhua & Zhou, Jianzhong, 2023. "Probabilistic spatiotemporal forecasting of wind speed based on multi-network deep ensembles method," Renewable Energy, Elsevier, vol. 209(C), pages 231-247.
    18. Li, Yanting & Wu, Zhenyu & Su, Yan, 2023. "Adaptive short-term wind power forecasting with concept drifts," Renewable Energy, Elsevier, vol. 217(C).
    19. Yun, Eunjeong & Hur, Jin, 2021. "Probabilistic estimation model of power curve to enhance power output forecasting of wind generating resources," Energy, Elsevier, vol. 223(C).
    20. Li, Guannan & Li, Fan & Ahmad, Tanveer & Liu, Jiangyan & Li, Tao & Fang, Xi & Wu, Yubei, 2022. "Performance evaluation of sequence-to-sequence-Attention model for short-term multi-step ahead building energy predictions," Energy, Elsevier, vol. 259(C).

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jagris:v:12:y:2022:i:6:p:813-:d:831520. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.