[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-464001-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-464001-en":130},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","a-novel-self-attention-mechanism-based-dynamic-ensemble-model-for-soil-hyperspectral-prediction","A Novel Self-Attention Mechanism-Based Dynamic Ensemble Model for Soil Hyperspectral Prediction","","Visible–near-infrared spectroscopy enables rapid, non-destructive soil organic matter (SOM) detection, yet prediction accuracy depends heavily on the modeling algorithm. Weighted Averaging Ensemble Models (WAEM) are robust, but their accuracy hinges on optimal base-learner weight allocation, which standard evaluation-index methods often miss, causing biased weights and local optima. This study improves WAEM by extracting information from the training process using seven methods, including reinforcement learning and a self-attention mechanism, updating weights dynamically on 704 samples from China’s Tarim River Basin. Six training-process-aware WAEM approaches outperform evaluation-index baselines, reducing WAEM RMSE by 0.028–1.279 g kg−1 and increasing R2 by up to 0.06. Sam attains the top results with R2=0.927 and RMSE=2.325 g kg−1, while performance converges at 26 base learners, indicating diminishing returns.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/a-novel-self-attention-mechanism-based-dynamic-ensemble-model-for-soil-hyperspectral-prediction/464001/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/a-novel-self-attention-mechanism-based-dynamic-ensemble-model-for-soil-hyperspectral-prediction/464001.png","ImageObject",300,407,{"name":42,"@type":43},"hdkawk","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-10-31","2026-09-30",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",9,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What problem does the study address in WAEM for soil SOM prediction?","Question",{"text":63,"@type":64},"WAEM performance depends on optimal base-learner weight allocation, and standard evaluation-index-based weighting often fails to achieve it, leading to biased weights and local optima.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How does the proposed method determine ensemble weights?",{"text":68,"@type":64},"It derives optimal weights from information extracted from the model training process using seven methods, including reinforcement learning and a self-attention mechanism (Sam), with dynamic weight updating.",{"name":70,"@type":61,"acceptedAnswer":71},"What results and optimal setting are reported from the experiments?",{"text":72,"@type":64},"On 704 soil samples, six training-process-information WAEM methods outperform conventional evaluation-index approaches. Sam achieves the best performance (R2=0.927, RMSE=2.325 g kg−1), and model R2 converges at 26 base learners.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},464001,1790945439,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,106,111,115,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":103,"show_sort_weight":104,"slug":105},6,"Technology",50,"technology",{"id":107,"doc_module":4,"doc_module_name":25,"category_name":108,"show_sort_weight":109,"slug":110},7,"Healthcare",40,"healthcare",{"id":112,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":113,"slug":114},8,30,"research-report",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":112,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":144,"read_time":145,"preview_page_count":33,"preview_urls":146},3985747859855,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","Article  \nA Novel Self-Attention Mechanism-Based Dynamic Ensemble Model for Soil Hyperspectral Prediction  \nKeyang Yin 1, Jia Deng 1, Huixia Li 1, Chunhui Feng 2, * and Jie Peng 1,3  \nAcademic Editor: Md Zafar Iqbal  \nReceived: 13 November 2025  \nRevised: 24 December 2025  \nAccepted: 25 December 2025  \nPublished: 27 December 2025  \nCopyright: © 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.  \n1 College of Agriculture, Tarim University, Alar 843300, China  \n2 College of Horticulture and Forestry, Tarim University, Alar 843300, China  \n3 Key Laboratory of Genetic Improvement and Efficient Production for Specialty Crops in Arid Southern Xinjiang of Xinjiang Corps, Alar 843300, China  \n* Correspondence: [chunhui.f@taru.edu.cn](chunhui.f@taru.edu.cn)  \nHighlights  \nWhat are the main findings?  \n• Dynamic weight assignment is effective for weighted averaging ensemble models.  \n• Weighting methods based on training process information outperform traditional evaluation-index-based methods.  \n• The self-attention mechanism provides the most effective weight allocation.  \n• The best ensemble performance is achieved with 26 base learners.  \nWhat is the implication of the main finding?  \n• Dynamic weight allocation enhances the generalization performance and robustness of ensemble models and reduces sensitivity to outliers and noise.  \n• This study provides scientific theoretical support for high-accuracy SOM monitoring using Vis–NIR spectroscopy.  \nAbstract  \nVisible–near-infrared spectroscopy enables rapid, non-destructive soil organic matter (SOM) detection, yet its prediction accuracy relies heavily on the effectiveness of the chosen algorithmic models. Weighted Averaging Ensemble Models (WAEM) are robust but face a key challenge: their performance depends on optimal base learner weight allocation, which standard evaluation indices often fail to achieve, risking biased weights and local optima. This study significantly enhances WAEM by determining optimal weights using information extracted from the model training process via seven methods, including reinforcement learning and a self-attention mechanism (Sam) . Experiments on 704 soil samples from China’s Tarim River Basin employed a dynamic data structure for realtime weight updating. Results show that six WAEM methods utilizing training process information outperformed conventional evaluation index approaches. Improvements reduced WAEM root mean square error (RMSE) by 0.028–1.279 g kg −1 and increased the correlation coefficient (R2 ) by up to 0.06 . Sam achieved the highest performance, with R2 and RMSE reaching 0.927 and 2.325 g kg −1, respectively. Furthermore, model R2 began converging at 26 base learners, indicating diminishing returns from adding more. This research confirms that dynamic WAEM weight allocation via Sam significantly boosts SOM prediction accuracy, providing a scientific foundation for infrared-based soil monitoring.  \nKeywords: ensemble method; visible–near-infrared spectroscopy; dynamic weight allocation; soil organic matter; data structure  \n1. Introduction  \nAccording to the Food and Agriculture Organization’s (FAO) Global Food Security and Nutrition Report 2022, over 700 million individuals worldwide are grappling with hunger. The report further underscores the critical necessity to enhance soil health and boost agricultural productivity [1] . Soil organic matter (SOM) is a crucial element in assessing the sustainability of soil health and productivity. It significantly contributes to optimizing soil structure, preserving water content, supplying essential nutrients to plants, and enhancing microbial activity [2–5] . Therefore, the rapid and precise inversion of SOM content holds immense significance for gaining insight into soil quality and productivity, assessing soil fertility, and achieving the sustainable devel","cbCaifNLVXPxVdGA","https://ap.wps.com/l/cbCaifNLVXPxVdGA","pdf",5114452,25,"English","# Highlights\n## Main findings\n## Implication of the main finding\n# Abstract\n# Keywords\n# 1. Introduction","[{\"question\":\"What problem does the study address in WAEM for soil SOM prediction?\",\"answer\":\"WAEM performance depends on optimal base-learner weight allocation, and standard evaluation-index-based weighting often fails to achieve it, leading to biased weights and local optima.\"},{\"question\":\"How does the proposed method determine ensemble weights?\",\"answer\":\"It derives optimal weights from information extracted from the model training process using seven methods, including reinforcement learning and a self-attention mechanism (Sam), with dynamic weight updating.\"},{\"question\":\"What results and optimal setting are reported from the experiments?\",\"answer\":\"On 704 soil samples, six training-process-information WAEM methods outperform conventional evaluation-index approaches. Sam achieves the best performance (R2=0.927, RMSE=2.325 g kg−1), and model R2 converges at 26 base learners.\"}]","A Novel Self-Attention Mechanism-Based Dynamic Ensemble Model for Soil Hyperspectral Prediction | PDF",1790767513,63,[147,151,155,159],{"page_no":22,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/8bf3084c5fb7582372757598f19cf190.webp",983,1390,{"page_no":26,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/1d693c21fbff23795b31daf60beb195d.webp",982,1388,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/f5ddbf596591d69ba841e23cb60d91f3.webp",981,1387,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/cb4354945a88788661f084ce7b8cccc4.webp",980,1385]