Few-Shot Intelligent Identification of Rock Thin Sections Based on SAM

preprint OA: closed
Full text JSON View at publisher
Full text 14,056 characters · extracted from preprint-html · click to expand
Few-Shot Intelligent Identification of Rock Thin Sections Based on SAM | 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 Few-Shot Intelligent Identification of Rock Thin Sections Based on SAM Yuan Zhou, Qing Li, Zhuofeng Zhang, Zhengyu Wei, Qiang Du, Xinlong Li This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-7344612/v1 This work is licensed under a CC BY 4.0 License Status: Published Journal Publication published 17 Mar, 2026 Read the published version in Earth Science Informatics → Version 1 posted 14 You are reading this latest preprint version Abstract Thin section rock identification is a complex task, primarily constrained by the extraction of complex minerals and the acquisition of large-scale labeled data. This paper proposes a thin section rock identification method designed for few-shot labeled data, which enables the segmentation and identification of various rock minerals with minimal labeled data. The SAM model is used for mineral particle extraction, combined with the focal loss function, transfer learning, and the integration of multiple classification models to identify thin sections. The prediction process is evaluated at multiple levels. Ultimately, the method achieved the extraction and identification of 11 minerals using only 38 labeled data samples, with an identification accuracy of 91%. This approach significantly reduces the cost of manual labeling, requiring only a small amount of labeled data and minimal training effort to identify specific mineral classes.The source code of the proposed method are available at https://github.com/Xuerenbujianhua/SAMRocks Few-shot Rock thin section Semantic Segmentation Integrated learning Full Text Additional Declarations No competing interests reported. Cite Share Download PDF Status: Published Journal Publication published 17 Mar, 2026 Read the published version in Earth Science Informatics → Version 1 posted Editorial decision: Revision requested 05 Oct, 2025 Reviews received at journal 04 Oct, 2025 Reviews received at journal 02 Oct, 2025 Reviews received at journal 23 Sep, 2025 Reviewers agreed at journal 13 Sep, 2025 Reviewers agreed at journal 12 Sep, 2025 Reviewers agreed at journal 12 Sep, 2025 Reviewers agreed at journal 10 Sep, 2025 Reviews received at journal 10 Sep, 2025 Reviewers agreed at journal 08 Sep, 2025 Reviewers invited by journal 07 Sep, 2025 Editor assigned by journal 07 Sep, 2025 Submission checks completed at journal 19 Aug, 2025 First submitted to journal 11 Aug, 2025 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-7344612","acceptedTermsAndConditions":true,"allowDirectSubmit":false,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":513288701,"identity":"b3650716-cb7d-4c42-8b0d-f4c48631456e","order_by":0,"name":"Yuan Zhou","email":"","orcid":"","institution":"Hainan Institute of China University of Petroleum (Beijing)","correspondingAuthor":false,"prefix":"","firstName":"Yuan","middleName":"","lastName":"Zhou","suffix":""},{"id":513288702,"identity":"036d2c5b-4d0b-463f-ae85-078698a8a120","order_by":1,"name":"Qing Li","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAvklEQVRIiWNgGAWjYBACPmYGhgMMDDYQHg8xWtggWtJI0QKhDpOihZ154+GCX+flDW43MD5428Ygb07YYWwFh2f23TbccOcAs+HcNgbDnQ0EtfAYHObtuZ1gcCOBTZq3jSHB4ABxWs6BtLD/Jl4Lz48DYFuYidQC9AtvQ7LhzDsHmyXnnJMw3EBICz//4c2fef7YyfPdbj744U2ZjTxBW4DAgIGxDUhJMDaASMLqwVoY/hCteBSMglEwCkYiAADqeTxbJegM5gAAAABJRU5ErkJggg==","orcid":"","institution":"Hainan Institute of China University of Petroleum (Beijing)","correspondingAuthor":true,"prefix":"","firstName":"Qing","middleName":"","lastName":"Li","suffix":""},{"id":513288703,"identity":"267d8d2b-ae3f-49c3-b705-d31d02b4951e","order_by":2,"name":"Zhuofeng Zhang","email":"","orcid":"","institution":"Hainan Institute of China University of Petroleum (Beijing)","correspondingAuthor":false,"prefix":"","firstName":"Zhuofeng","middleName":"","lastName":"Zhang","suffix":""},{"id":513288704,"identity":"ebc82c0e-f6b4-47a5-8cc8-b206ed62e22c","order_by":3,"name":"Zhengyu Wei","email":"","orcid":"","institution":"Hainan Institute of China University of Petroleum (Beijing)","correspondingAuthor":false,"prefix":"","firstName":"Zhengyu","middleName":"","lastName":"Wei","suffix":""},{"id":513288705,"identity":"fbe06474-157e-4313-85ba-b465e62d5494","order_by":4,"name":"Qiang Du","email":"","orcid":"","institution":"Hainan Institute of China University of Petroleum (Beijing)","correspondingAuthor":false,"prefix":"","firstName":"Qiang","middleName":"","lastName":"Du","suffix":""},{"id":513288706,"identity":"95138bde-b489-4308-b920-c6bbe1a6d9e9","order_by":5,"name":"Xinlong Li","email":"","orcid":"","institution":"Hainan Institute of China University of Petroleum (Beijing)","correspondingAuthor":false,"prefix":"","firstName":"Xinlong","middleName":"","lastName":"Li","suffix":""}],"badges":[],"createdAt":"2025-08-11 09:23:19","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-7344612/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-7344612/v1","draftVersion":[],"editorialEvents":[{"content":"https://doi.org/10.1007/s12145-026-02085-y","type":"published","date":"2026-03-17T15:57:44+00:00"}],"editorialNote":"","failedWorkflow":false,"files":[{"id":105223268,"identity":"1686dd6d-fd2b-4680-80df-003ea3139acc","added_by":"auto","created_at":"2026-03-23 16:01:30","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":1152465,"visible":true,"origin":"","legend":"","description":"","filename":"manuscript.pdf","url":"https://assets-eu.researchsquare.com/files/rs-7344612/v1_covered_641d8087-a451-4696-9d04-1239d0afb87e.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"Few-Shot Intelligent Identification of Rock Thin Sections Based on SAM","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":"earth-science-informatics","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":false,"externalIdentity":"esin","sideBox":"Learn more about [Earth Science Informatics](http://link.springer.com/journal/12145)","snPcode":"12145","submissionUrl":"https://submission.nature.com/new-submission/12145/3","title":"Earth Science Informatics","twitterHandle":"","acdcEnabled":true,"dfaEnabled":true,"editorialSystem":"em","reportingPortfolio":"Springer Hybrid","inReviewEnabled":true,"inReviewRevisionsEnabled":false},"keywords":"Few-shot, Rock thin section, Semantic Segmentation, Integrated learning","lastPublishedDoi":"10.21203/rs.3.rs-7344612/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-7344612/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eThin section rock identification is a complex task, primarily constrained by the extraction of complex minerals and the acquisition of large-scale labeled data. This paper proposes a thin section rock identification method designed for few-shot labeled data, which enables the segmentation and identification of various rock minerals with minimal labeled data. The SAM model is used for mineral particle extraction, combined with the focal loss function, transfer learning, and the integration of multiple classification models to identify thin sections. The prediction process is evaluated at multiple levels. Ultimately, the method achieved the extraction and identification of 11 minerals using only 38 labeled data samples, with an identification accuracy of 91%. This approach significantly reduces the cost of manual labeling, requiring only a small amount of labeled data and minimal training effort to identify specific mineral classes.The source code of the proposed method are available at \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003ehttps://github.com/Xuerenbujianhua/SAMRocks\u003c/span\u003e\u003cspan address=\"https://github.com/Xuerenbujianhua/SAMRocks\" targettype=\"URL\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/p\u003e","manuscriptTitle":"Few-Shot Intelligent Identification of Rock Thin Sections Based on SAM","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2025-09-12 19:47:50","doi":"10.21203/rs.3.rs-7344612/v1","editorialEvents":[{"type":"communityComments","content":0},{"type":"decision","content":"Revision requested","date":"2025-10-05T22:52:15+00:00","index":"","fulltext":""},{"type":"editorInvitedReview","content":"","date":"2025-10-04T06:11:54+00:00","index":"hide","fulltext":""},{"type":"editorInvitedReview","content":"","date":"2025-10-02T07:47:29+00:00","index":"hide","fulltext":""},{"type":"editorInvitedReview","content":"","date":"2025-09-23T06:55:44+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"49210028944911693884896186342313055828","date":"2025-09-13T06:03:14+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"47497239575540654065031816072228026996","date":"2025-09-12T16:54:45+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"257329360820637133345165639416154226398","date":"2025-09-12T14:19:23+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"300492165140230527389188801314594899949","date":"2025-09-10T20:05:49+00:00","index":"hide","fulltext":""},{"type":"editorInvitedReview","content":"","date":"2025-09-10T12:41:04+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"200986093788256400244041450283775268088","date":"2025-09-08T06:10:12+00:00","index":"hide","fulltext":""},{"type":"reviewersInvited","content":"","date":"2025-09-07T13:08:55+00:00","index":"","fulltext":""},{"type":"editorAssigned","content":"","date":"2025-09-07T13:07:17+00:00","index":"","fulltext":""},{"type":"checksComplete","content":"","date":"2025-08-20T00:20:19+00:00","index":"","fulltext":""},{"type":"submitted","content":"Earth Science Informatics","date":"2025-08-11T09:13:49+00:00","index":"","fulltext":""}],"status":"published","journal":{"display":true,"email":"[email protected]","identity":"earth-science-informatics","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":false,"externalIdentity":"esin","sideBox":"Learn more about [Earth Science Informatics](http://link.springer.com/journal/12145)","snPcode":"12145","submissionUrl":"https://submission.nature.com/new-submission/12145/3","title":"Earth Science Informatics","twitterHandle":"","acdcEnabled":true,"dfaEnabled":true,"editorialSystem":"em","reportingPortfolio":"Springer Hybrid","inReviewEnabled":true,"inReviewRevisionsEnabled":false}}],"origin":"","ownerIdentity":"5b725a91-970b-4ef6-a590-1b2205ca5955","owner":[],"postedDate":"September 12th, 2025","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"published-in-journal","subjectAreas":[],"tags":[],"updatedAt":"2026-03-23T16:00:25+00:00","versionOfRecord":{"articleIdentity":"rs-7344612","link":"https://doi.org/10.1007/s12145-026-02085-y","journal":{"identity":"earth-science-informatics","isVorOnly":false,"title":"Earth Science Informatics"},"publishedOn":"2026-03-17 15:57:44","publishedOnDateReadable":"March 17th, 2026"},"versionCreatedAt":"2025-09-12 19:47:50","video":"","vorDoi":"10.1007/s12145-026-02085-y","vorDoiUrl":"https://doi.org/10.1007/s12145-026-02085-y","workflowStages":[]},"version":"v1","identity":"rs-7344612","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-7344612","identity":"rs-7344612","version":["v1"]},"buildId":"8U1c8b4HqxoKbykW_rLl7","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 (2025) — 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