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

Crossformer-Based Model for Predicting and Interpreting Crop Yield Variations Under Diverse Climatic and Agricultural Conditions

Author

Listed:
  • Ruolei Zeng

    (Department of Computer Science and Engineering, University of Minnesota, Minneapolis, MN 55455, USA)

  • Jialu Li

    (National Engineering Research Centre for Agri-Product Quality Traceability, Beijing Technology and Business University, No. 11 Fucheng Road, Beijing 100048, China)

  • Zihan Li

    (National Engineering Research Centre for Agri-Product Quality Traceability, Beijing Technology and Business University, No. 11 Fucheng Road, Beijing 100048, China)

  • Qingchuan Zhang

    (National Engineering Research Centre for Agri-Product Quality Traceability, Beijing Technology and Business University, No. 11 Fucheng Road, Beijing 100048, China)

Abstract

Crop yield prediction is critical for agricultural decision making and food security. Traditional models struggle to capture the complex interactions among meteorological, soil, and agricultural factors. This study introduces Crossformer, a Transformer-based model with a Local Perception Unit (LPU) for local dependencies and a Cross-Window Attention Mechanism for global dependencies. Experiments on winter wheat, rice, and corn datasets show that Crossformer outperforms CNN, LSTM, and Transformer in Test Loss, R 2 , MSE, and MAE. For instance, on the corn dataset, Crossformer achieves a Test Loss of 0.0271 and an R 2 of 0.9863, compared to 0.7999 and 0.1634 for LSTM, respectively, demonstrating a substantial improvement in predictive performance. Interpretability analysis highlights the importance of temperature and precipitation in yield prediction, aligning with agricultural insights. The results demonstrate Crossformer’s potential for precision agriculture.

Suggested Citation

  • Ruolei Zeng & Jialu Li & Zihan Li & Qingchuan Zhang, 2025. "Crossformer-Based Model for Predicting and Interpreting Crop Yield Variations Under Diverse Climatic and Agricultural Conditions," Agriculture, MDPI, vol. 15(9), pages 1-26, April.
  • Handle: RePEc:gam:jagris:v:15:y:2025:i:9:p:958-:d:1644522
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2077-0472/15/9/958/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2077-0472/15/9/958/
    Download Restriction: no
    ---><---

    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:15:y:2025:i:9:p:958-:d:1644522. 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.

    We have no bibliographic references for this item. You can help adding them by using 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.