Swin-HViT for Accurate Early-Stage Crop Disease Diagnosis Using a Hybrid Transformer Model

preprint OA: closed
Full text JSON View at publisher
Full text 12,112 characters · extracted from preprint-html · click to expand
Swin-HViT for Accurate Early-Stage Crop Disease Diagnosis Using a Hybrid Transformer Model | 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 Research Article Swin-HViT for Accurate Early-Stage Crop Disease Diagnosis Using a Hybrid Transformer Model Hemalatha Gunasekaran, Wilfred Blessing N.R, Naveen VijayaKumar Watson, and 3 more This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-8631659/v1 This work is licensed under a CC BY 4.0 License Status: Under Review Version 1 posted 7 You are reading this latest preprint version Abstract Agriculture plays a pivotal role in global economic growth, yet it faces significant challenges from pests and crop diseases. Early detection is crucial for preventing large-scale crop losses and ensuring food security. This study introduces a hybrid transformer model, Swin-HViT, which integrates the strengths of a vision transformer (ViT) and a Swin transformer to accurately predict crop diseases. While ViT captures global image features, the Swin Transformer excels at extracting fine-grained local details. Evaluated on two benchmark datasets, Corn and PlantDoc, our model achieved accuracies of 98.81% and 81.81%, respectively, surpassing recent works. Here, we demonstrate the effectiveness of combining complementary transformer architectures to improve disease identification in diverse agricultural settings. The code, data and the hybrid model are available at https://github.com/hema2107/Swin-HViT . Smart Agriculture ViT Swin Hybrid Transformer Crop Disease Prediction Full Text Additional Declarations No competing interests reported. Cite Share Download PDF Status: Under Review Version 1 posted Reviewers agreed at journal 11 Feb, 2026 Reviewers agreed at journal 11 Feb, 2026 Reviewers invited by journal 11 Feb, 2026 Editor invited by journal 07 Feb, 2026 Editor assigned by journal 29 Jan, 2026 Submission checks completed at journal 28 Jan, 2026 First submitted to journal 28 Jan, 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-8631659","acceptedTermsAndConditions":true,"allowDirectSubmit":false,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":589638395,"identity":"a24c0c96-0a69-4fc3-b7e5-dc8fd0ce75bf","order_by":0,"name":"Hemalatha Gunasekaran","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAABF0lEQVRIie3RPUvEMBjA8acU0iXqGhHPr/BIoZ70y+SZslgRDg6HGwIHXc6XVRf9Cj0KNxcK7XLdu53gLAQODoXjsKIoQq24OeQPCYHkBwkBsNn+Yfg2PQDI9zW6vY8Nt5tIwE/iA/sbAZf0b+TIm5CRo/XpjnanS34WqmQxfjRwHpL2JrKNHF9UqZAFDkTGBnscVZQULBAwV6R5lbRerI4SIRmSzjju3mDeEAjAiXPSImoni6f0WW6Q7jPuvzREYeEtjbPpIPXWTFCMlGQ8EAZziQVH4egOMo9mfbryaZqzYd+gOrwtTobN65Qf//SWskprs+rRXTlOa7kOD7bzMjVmFO5fe5et5KtvHyGbwbrP22w2m62jVwhqaMPVENt2AAAAAElFTkSuQmCC","orcid":"","institution":"University of technology and applied sciences","correspondingAuthor":true,"prefix":"","firstName":"Hemalatha","middleName":"","lastName":"Gunasekaran","suffix":""},{"id":589638396,"identity":"4034ce1f-1daa-4837-a60e-c00ff7abafa8","order_by":1,"name":"Wilfred Blessing N.R","email":"","orcid":"","institution":"University of technology and applied sciences","correspondingAuthor":false,"prefix":"","firstName":"Wilfred","middleName":"Blessing","lastName":"N.R","suffix":""},{"id":589638397,"identity":"1f5790ab-4872-423d-9b3b-1abdbfb520d4","order_by":2,"name":"Naveen VijayaKumar Watson","email":"","orcid":"","institution":"University of technology and applied sciences","correspondingAuthor":false,"prefix":"","firstName":"Naveen","middleName":"VijayaKumar","lastName":"Watson","suffix":""},{"id":589638398,"identity":"80b3b67c-4eda-4c6c-868d-de514912b77c","order_by":3,"name":"B Hariharan","email":"","orcid":"","institution":"SRM Institute of Science and Technology","correspondingAuthor":false,"prefix":"","firstName":"B","middleName":"","lastName":"Hariharan","suffix":""},{"id":589638399,"identity":"f14d1514-a73d-49bc-a353-9e0f4e6b83c5","order_by":4,"name":"Angelin Gladys Jesudoss","email":"","orcid":"","institution":"University of technology and applied sciences","correspondingAuthor":false,"prefix":"","firstName":"Angelin","middleName":"Gladys","lastName":"Jesudoss","suffix":""},{"id":589638400,"identity":"7ced722a-00d2-4cb6-8c8b-bbea44c6e344","order_by":5,"name":"Anupama C. G","email":"","orcid":"","institution":"SRM Institute of Science and Technology","correspondingAuthor":false,"prefix":"","firstName":"Anupama","middleName":"C.","lastName":"G","suffix":""}],"badges":[],"createdAt":"2026-01-18 13:53:17","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-8631659/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-8631659/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":102743994,"identity":"f17aac9c-216e-4d3b-a32b-2876dc5bd4bb","added_by":"auto","created_at":"2026-02-16 08:26:05","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":1212460,"visible":true,"origin":"","legend":"","description":"","filename":"ManuscriptEdited.pdf","url":"https://assets-eu.researchsquare.com/files/rs-8631659/v1_covered_0a5d0391-5b78-4f86-8f9a-43f4bccaf2f5.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"Swin-HViT for Accurate Early-Stage Crop Disease Diagnosis Using a Hybrid Transformer Model","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":false,"hideJournal":false,"highlight":"","institution":"","isAcceptedByJournal":true,"isAuthorSuppliedPdf":true,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":true,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"[email protected]","identity":"discover-artificial-intelligence","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":false,"externalIdentity":"diai","sideBox":"Learn more about [Discover Artificial Intelligence](https://www.springer.com/44163)","snPcode":"","submissionUrl":"","title":"Discover Artificial Intelligence","twitterHandle":"","acdcEnabled":true,"dfaEnabled":true,"editorialSystem":"stoa","reportingPortfolio":"Discover Series","inReviewEnabled":true,"inReviewRevisionsEnabled":true},"keywords":"Smart Agriculture, ViT, Swin, Hybrid Transformer, Crop Disease Prediction","lastPublishedDoi":"10.21203/rs.3.rs-8631659/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-8631659/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eAgriculture plays a pivotal role in global economic growth, yet it faces significant challenges from pests and crop diseases. Early detection is crucial for preventing large-scale crop losses and ensuring food security. This study introduces a hybrid transformer model, Swin-HViT, which integrates the strengths of a vision transformer (ViT) and a Swin transformer to accurately predict crop diseases. While ViT captures global image features, the Swin Transformer excels at extracting fine-grained local details. Evaluated on two benchmark datasets, Corn and PlantDoc, our model achieved accuracies of 98.81% and 81.81%, respectively, surpassing recent works. Here, we demonstrate the effectiveness of combining complementary transformer architectures to improve disease identification in diverse agricultural settings. The code, data and the hybrid model are available at \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003ehttps://github.com/hema2107/Swin-HViT\u003c/span\u003e\u003cspan address=\"https://github.com/hema2107/Swin-HViT\" targettype=\"URL\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/p\u003e","manuscriptTitle":"Swin-HViT for Accurate Early-Stage Crop Disease Diagnosis Using a Hybrid Transformer Model","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2026-02-16 08:24:56","doi":"10.21203/rs.3.rs-8631659/v1","editorialEvents":[{"type":"communityComments","content":0},{"type":"reviewerAgreed","content":"20447669066413808264428485851286962028","date":"2026-02-11T13:01:52+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"288900435404106703847264744879666572261","date":"2026-02-11T12:12:24+00:00","index":"hide","fulltext":""},{"type":"reviewersInvited","content":"","date":"2026-02-11T11:44:01+00:00","index":"","fulltext":""},{"type":"editorInvited","content":"","date":"2026-02-08T03:41:13+00:00","index":"","fulltext":""},{"type":"editorAssigned","content":"","date":"2026-01-29T07:39:54+00:00","index":"","fulltext":""},{"type":"checksComplete","content":"","date":"2026-01-28T06:29:26+00:00","index":"","fulltext":""},{"type":"submitted","content":"Discover Artificial Intelligence","date":"2026-01-28T06:22:22+00:00","index":"","fulltext":""}],"status":"published","journal":{"display":true,"email":"[email protected]","identity":"discover-artificial-intelligence","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":false,"externalIdentity":"diai","sideBox":"Learn more about [Discover Artificial Intelligence](https://www.springer.com/44163)","snPcode":"","submissionUrl":"","title":"Discover Artificial Intelligence","twitterHandle":"","acdcEnabled":true,"dfaEnabled":true,"editorialSystem":"stoa","reportingPortfolio":"Discover Series","inReviewEnabled":true,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"8e5b98b4-6a60-4675-8167-56e46ed4fa77","owner":[],"postedDate":"February 16th, 2026","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"under-review","subjectAreas":[],"tags":[],"updatedAt":"2026-04-30T14:24:10+00:00","versionOfRecord":[],"versionCreatedAt":"2026-02-16 08:24:56","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-8631659","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-8631659","identity":"rs-8631659","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.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2026) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00