A Deep Learning Model for Real-time Detection and Prediction of Moisture Content in the White Tea Withering Process Based on Near-Infrared Spectroscopy | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Article A Deep Learning Model for Real-time Detection and Prediction of Moisture Content in the White Tea Withering Process Based on Near-Infrared Spectroscopy wei tao, Bin Chen, Xinkun Yang, Bo Guo, Lingxin Chi, Yihan Huang, and 2 more This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-9125852/v1 This work is licensed under a CC BY 4.0 License Status: Under Revision Version 1 posted 13 You are reading this latest preprint version Abstract This study proposes a novel deep learning model, named STA-BiGRU-XGBoost, for predicting moisture content during the white tea withering process using near-infrared spectroscopy. The model integrates spatiotemporal attention mechanisms, bidirectional gated recurrent units (BiGRU), and the XGBoost algorithm to address challenges such as extended withering durations, environmental variability, and temporal variations in spectral data. The Maximum Relevance Minimum Redundancy (mRMR) algorithm is employed to select critical variables, including hot air velocity, air duct temperature, and spectral absorbance. A spatial attention mechanism enhances feature relevance, while BiGRU captures long-term temporal dependencies. Temporal attention further adjusts the weights of key time steps. XGBoost is incorporated to improve model robustness against noise. Experimental results using a production-line dataset demonstrate that the STA-BiGRU-XGBoost model achieves superior prediction performance, with RMSE = 0.0920, MAE = 0.0772, and R² = 0.9806, significantly outperforming traditional models. Furthermore, the model’s interpretability is validated through attention weight visualization, highlighting key features associated with moisture evaporation dynamics. Physical sciences/Engineering Earth and environmental sciences/Environmental sciences Physical sciences/Mathematics and computing white tea withering real-time moisture content detection and prediction near-infrared spectroscopy deep learning prediction model spatiotemporal attention mechanism Full Text Additional Declarations No competing interests reported. Cite Share Download PDF Status: Under Revision Version 1 posted Editorial decision: Revision requested 30 Apr, 2026 Reviews received at journal 02 Apr, 2026 Reviews received at journal 01 Apr, 2026 Reviewers agreed at journal 30 Mar, 2026 Reviewers agreed at journal 29 Mar, 2026 Reviewers agreed at journal 29 Mar, 2026 Reviews received at journal 28 Mar, 2026 Reviewers agreed at journal 28 Mar, 2026 Reviewers invited by journal 28 Mar, 2026 Editor invited by journal 20 Mar, 2026 Editor assigned by journal 16 Mar, 2026 Submission checks completed at journal 16 Mar, 2026 First submitted to journal 14 Mar, 2026 You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-9125852","acceptedTermsAndConditions":true,"allowDirectSubmit":false,"archivedVersions":[],"articleType":"Article","associatedPublications":[],"authors":[{"id":614352512,"identity":"9b680213-e101-458d-897b-5c99b3d0e5e1","order_by":0,"name":"wei tao","email":"","orcid":"","institution":"Wuyi University","correspondingAuthor":false,"prefix":"","firstName":"wei","middleName":"","lastName":"tao","suffix":""},{"id":614352513,"identity":"d1720ba7-9cb6-43d2-8147-f50f0e5e823d","order_by":1,"name":"Bin Chen","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA6klEQVRIiWNgGAWjYBACA2YGBiBikGNjZj74AMjg4SNWizE/e1uyAUgLG0EtDBAtiTN7zphJgEQIajFn5z34uaDiDuOGGzlmlV9z7GTYGJgfPrqBR4tlM1+y9Iwzz5gNbqSV3Zbdlgx0GJuxcQ4+hx3mMWPmbTvMZnAjedttyW3MQC08bNKEtfw7zGNwI8GsWHJbPbFaGg5LSPYcMWP8uO0wYS2WzTzG0jzHDhuAAlmacdtxHjZmAn4x5z9j+Jmn5nB9GzAqP/7cVm3Pz9788DE+LSiAmQdMEqscBBh/kKJ6FIyCUTAKRgwAAFq8QjIyZuhQAAAAAElFTkSuQmCC","orcid":"","institution":"Wuyi University","correspondingAuthor":true,"prefix":"","firstName":"Bin","middleName":"","lastName":"Chen","suffix":""},{"id":614352514,"identity":"7e96079c-5c97-425d-a643-d4a7c8a8b74e","order_by":2,"name":"Xinkun Yang","email":"","orcid":"","institution":"Wuyi University","correspondingAuthor":false,"prefix":"","firstName":"Xinkun","middleName":"","lastName":"Yang","suffix":""},{"id":614352515,"identity":"3a782982-be23-4ee6-81fd-062e97ce0453","order_by":3,"name":"Bo Guo","email":"","orcid":"","institution":"Wuyi University","correspondingAuthor":false,"prefix":"","firstName":"Bo","middleName":"","lastName":"Guo","suffix":""},{"id":614352516,"identity":"78bec4e9-3633-4fd6-b0e6-d6f959d145c5","order_by":4,"name":"Lingxin Chi","email":"","orcid":"","institution":"Wuyi University","correspondingAuthor":false,"prefix":"","firstName":"Lingxin","middleName":"","lastName":"Chi","suffix":""},{"id":614352517,"identity":"b8ecc2be-f0fa-4a25-9535-aeaa67166e07","order_by":5,"name":"Yihan Huang","email":"","orcid":"","institution":"Wuyi University","correspondingAuthor":false,"prefix":"","firstName":"Yihan","middleName":"","lastName":"Huang","suffix":""},{"id":614352519,"identity":"92ab442e-0eb2-43a7-b908-5c0fdc972167","order_by":6,"name":"Ruixin Li","email":"","orcid":"","institution":"Wuyi University","correspondingAuthor":false,"prefix":"","firstName":"Ruixin","middleName":"","lastName":"Li","suffix":""},{"id":614352521,"identity":"f1a04a85-8379-4112-b9f6-9803ae53b10f","order_by":7,"name":"Jiayi Ren","email":"","orcid":"","institution":"Wuyi University","correspondingAuthor":false,"prefix":"","firstName":"Jiayi","middleName":"","lastName":"Ren","suffix":""}],"badges":[],"createdAt":"2026-03-15 02:53:13","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-9125852/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-9125852/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":106094400,"identity":"9631520b-3436-4347-9620-2b74c14268bb","added_by":"auto","created_at":"2026-04-03 11:42:26","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":1696623,"visible":true,"origin":"","legend":"","description":"","filename":"RivsedADeepLearningModelforRealtimeDetectionandPredictionofMoistureContentintheWhiteTeaWitheringProcessBasedonNe.pdf","url":"https://assets-eu.researchsquare.com/files/rs-9125852/v1_covered_4e1d6eaa-2d65-49e8-a479-fff5826ee310.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"A Deep Learning Model for Real-time Detection and Prediction of Moisture Content in the White Tea Withering Process Based on Near-Infrared Spectroscopy","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":false,"hideJournal":false,"highlight":"","institution":"","isAcceptedByJournal":false,"isAuthorSuppliedPdf":true,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":true,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"
[email protected]","identity":"scientific-reports","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":false,"externalIdentity":"scirep","sideBox":"Learn more about [Scientific Reports](http://www.nature.com/srep/)","snPcode":"","submissionUrl":"","title":"Scientific Reports","twitterHandle":"","acdcEnabled":true,"dfaEnabled":true,"editorialSystem":"stoa","reportingPortfolio":"Scientific Reports","inReviewEnabled":true,"inReviewRevisionsEnabled":true},"keywords":"white tea withering, real-time moisture content detection and prediction, near-infrared spectroscopy, deep learning prediction model, spatiotemporal attention mechanism","lastPublishedDoi":"10.21203/rs.3.rs-9125852/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-9125852/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eThis study proposes a novel deep learning model, named STA-BiGRU-XGBoost, for predicting moisture content during the white tea withering process using near-infrared spectroscopy. The model integrates spatiotemporal attention mechanisms, bidirectional gated recurrent units (BiGRU), and the XGBoost algorithm to address challenges such as extended withering durations, environmental variability, and temporal variations in spectral data. The Maximum Relevance Minimum Redundancy (mRMR) algorithm is employed to select critical variables, including hot air velocity, air duct temperature, and spectral absorbance. A spatial attention mechanism enhances feature relevance, while BiGRU captures long-term temporal dependencies. Temporal attention further adjusts the weights of key time steps. XGBoost is incorporated to improve model robustness against noise. Experimental results using a production-line dataset demonstrate that the STA-BiGRU-XGBoost model achieves superior prediction performance, with RMSE\u0026thinsp;=\u0026thinsp;0.0920, MAE\u0026thinsp;=\u0026thinsp;0.0772, and R\u0026sup2; = 0.9806, significantly outperforming traditional models. Furthermore, the model\u0026rsquo;s interpretability is validated through attention weight visualization, highlighting key features associated with moisture evaporation dynamics.\u003c/p\u003e","manuscriptTitle":"A Deep Learning Model for Real-time Detection and Prediction of Moisture Content in the White Tea Withering Process Based on Near-Infrared Spectroscopy","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2026-04-02 19:57:02","doi":"10.21203/rs.3.rs-9125852/v1","editorialEvents":[{"type":"communityComments","content":0},{"type":"decision","content":"Revision requested","date":"2026-04-30T05:47:56+00:00","index":"","fulltext":""},{"type":"editorInvitedReview","content":"","date":"2026-04-02T14:39:30+00:00","index":"hide","fulltext":""},{"type":"editorInvitedReview","content":"","date":"2026-04-02T01:53:48+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"258724112079223862757945344025015473465","date":"2026-03-30T04:45:13+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"125185698587333439862843196364351057216","date":"2026-03-29T23:48:27+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"74417706076330790194760248664762333782","date":"2026-03-29T12:08:57+00:00","index":"hide","fulltext":""},{"type":"editorInvitedReview","content":"","date":"2026-03-29T02:59:24+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"62098894549797738476621933981272029788","date":"2026-03-29T00:40:14+00:00","index":"hide","fulltext":""},{"type":"reviewersInvited","content":"","date":"2026-03-29T00:38:12+00:00","index":"","fulltext":""},{"type":"editorInvited","content":"","date":"2026-03-20T11:54:05+00:00","index":"","fulltext":""},{"type":"editorAssigned","content":"","date":"2026-03-17T01:42:43+00:00","index":"","fulltext":""},{"type":"checksComplete","content":"","date":"2026-03-17T01:41:44+00:00","index":"","fulltext":""},{"type":"submitted","content":"Scientific Reports","date":"2026-03-15T02:47:28+00:00","index":"","fulltext":""}],"status":"published","journal":{"display":true,"email":"
[email protected]","identity":"scientific-reports","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":false,"externalIdentity":"scirep","sideBox":"Learn more about [Scientific Reports](http://www.nature.com/srep/)","snPcode":"","submissionUrl":"","title":"Scientific Reports","twitterHandle":"","acdcEnabled":true,"dfaEnabled":true,"editorialSystem":"stoa","reportingPortfolio":"Scientific Reports","inReviewEnabled":true,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"bb72e930-96bc-402f-9a2d-2504c5a79e6d","owner":[],"postedDate":"April 2nd, 2026","published":true,"recentEditorialEvents":[{"type":"decision","content":"Revision requested","date":"2026-04-30T05:47:56+00:00","index":"","fulltext":""}],"rejectedJournal":[],"revision":"","amendment":"","status":"in-revision","subjectAreas":[{"id":65370890,"name":"Physical sciences/Engineering"},{"id":65370891,"name":"Earth and environmental sciences/Environmental sciences"},{"id":65370892,"name":"Physical sciences/Mathematics and computing"}],"tags":[],"updatedAt":"2026-05-18T07:23:36+00:00","versionOfRecord":[],"versionCreatedAt":"2026-04-02 19:57:02","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-9125852","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-9125852","identity":"rs-9125852","version":["v1"]},"buildId":"XKTyCvWXoU3ODBz1xrDgd","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.