Data reconstruction from machine learning models via inverse estimation and Bayesian inference

preprint OA: closed CC-BY-4.0
AI-generated deep summary by claude@2026-07, 2026-07-04 · read from full text

This preprint studies the problem of reconstructing an original dataset using only a trained machine learning model, using inverse estimation framed with Bayesian inference. The authors develop a theoretical framework that derives expressions linking changes in independent variables to divergence between true and estimated posteriors via the concurrent behavior of partial derivatives, and they argue that reconstruction fidelity depends primarily on (1) the assumed prior’s accuracy and (2) the ML model’s accuracy. They report empirical results across multiple benchmark datasets and ML algorithms that corroborate these theoretical predictions, with a practical method for generating synthetic models that replicate original model performance. A key caveat is that the work is presented as a preprint and not peer reviewed by a journal. The paper does not explicitly discuss endometriosis or adenomyosis; it was included in the corpus via a keyword match in the upstream search index.

Read from the paper's body, not the abstract. Not a substitute for reading the paper. No clinical advice. How this works

Abstract

Abstract This study explores the task of data reconstruction from machine learning models via inverse estimation and Bayesian inference, with the goal of recovering the original dataset solely based on the trained model. We introduce a novel theoretical framework that investigates the factors affecting the data reconstruction quality. Specifically, we derive expressions that quantify how variations in key variables influence the divergence between true and estimated posteriors by examining the concurrent behavior of their partial derivatives with respect to independent variables. This derivative-based approach establishes theoretical correlations between the variables, demonstrating that the fidelity of the recovered data is governed by two primary factors: (1) the accuracy of the assumed prior, and (2) the accuracy of the machine learning model. Empirical results across multiple benchmark datasets and machine learning algorithms corroborate these theoretical predictions, reinforcing the validity and robustness of our theoretical framework. Practically, our data reconstruction method enables the creation of synthetic models that closely replicate the performance of the original models. This work contributes to advancing the theoretical understanding and practical techniques for data reconstruction and model introspection within the context of machine learning.
Full text 17,061 characters · extracted from preprint-html · click to expand
Data reconstruction from machine learning models via inverse estimation and Bayesian inference | 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 Data reconstruction from machine learning models via inverse estimation and Bayesian inference Agus Hartoyo, Dominika Ciupek, Maciej Malawski, Alessandro Crimi This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-5220310/v3 This work is licensed under a CC BY 4.0 License Status: Published Journal Publication published 22 Apr, 2025 Read the published version in Scientific Reports → Version 3 posted 8 You are reading this latest preprint version Show more versions Abstract This study explores the task of data reconstruction from machine learning models via inverse estimation and Bayesian inference, with the goal of recovering the original dataset solely based on the trained model. We introduce a novel theoretical framework that investigates the factors affecting the data reconstruction quality. Specifically, we derive expressions that quantify how variations in key variables influence the divergence between true and estimated posteriors by examining the concurrent behavior of their partial derivatives with respect to independent variables. This derivative-based approach establishes theoretical correlations between the variables, demonstrating that the fidelity of the recovered data is governed by two primary factors: (1) the accuracy of the assumed prior, and (2) the accuracy of the machine learning model. Empirical results across multiple benchmark datasets and machine learning algorithms corroborate these theoretical predictions, reinforcing the validity and robustness of our theoretical framework. Practically, our data reconstruction method enables the creation of synthetic models that closely replicate the performance of the original models. This work contributes to advancing the theoretical understanding and practical techniques for data reconstruction and model introspection within the context of machine learning. Full Text Additional Declarations No competing interests reported. Supplementary Files AppendixAAdditionaldatasetresults.pdf AppendixBFullproofsfortheoremsintheoreticalframework.pdf Cite Share Download PDF Status: Published Journal Publication published 22 Apr, 2025 Read the published version in Scientific Reports → Version 3 posted Editorial decision: Accepted 26 Mar, 2025 Reviews received at journal 26 Mar, 2025 Reviewers agreed at journal 26 Mar, 2025 Reviews received at journal 17 Mar, 2025 Reviewers agreed at journal 17 Mar, 2025 Reviewers invited by journal 17 Mar, 2025 Submission checks completed at journal 16 Mar, 2025 First submitted to journal 13 Mar, 2025 You are reading this latest preprint version Show more versions 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-5220310","acceptedTermsAndConditions":true,"allowDirectSubmit":false,"archivedVersions":[],"articleType":"Article","associatedPublications":[],"authors":[{"id":430754682,"identity":"e41cb7e1-0464-11f0-91e4-06cc9d20a69f","order_by":0,"name":"Agus Hartoyo","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAABCklEQVRIiWNgGAWjYFACHijN3gCh2YjTkgCiD5CsRSKBSGfxN/Ae/Fz5wyaxX/L5w88FFXXyfOy9Bz98YLDJl3fArkXiAF+y5JmEtMSZs3OMpWecOWzYxnMuWXIGQ5rlxgM4rDnAYyDZkHA4ccPtHAZp3rYDCWwSOWbMPAyHDQwbsOuQP8Bj/BOs5ebxx7952+oS2OTfmDH/waPF4ACPGcSWGwxmQFuYgbbwmDEzALXI43CX4WEeM8uGtDTjmT05ZtY8YL/kGEv2GKQZGODQIne8x/hmg42NbD/78ce3eYAhJt9+xvDDjwobA3kcDmNghlCOaPIGIDfj0AIF9phCOG0ZBaNgFIyCkQYAnyxUHCfAPWUAAAAASUVORK5CYII=","orcid":"","institution":"Sano - Centre for Computational Personalized Medicine","correspondingAuthor":true,"prefix":"","firstName":"Agus","middleName":"","lastName":"Hartoyo","suffix":""},{"id":430756844,"identity":"ef2030b3-0464-11f0-91e4-06cc9d20a69f","order_by":1,"name":"Dominika Ciupek","email":"","orcid":"","institution":"Sano - Centre for Computational Personalized Medicine","correspondingAuthor":false,"prefix":"","firstName":"Dominika","middleName":"","lastName":"Ciupek","suffix":""},{"id":430756902,"identity":"fbb0b216-0464-11f0-91e4-06cc9d20a69f","order_by":2,"name":"Maciej Malawski","email":"","orcid":"","institution":"Sano - Centre for Computational Personalized Medicine","correspondingAuthor":false,"prefix":"","firstName":"Maciej","middleName":"","lastName":"Malawski","suffix":""},{"id":430756903,"identity":"04b70a03-0465-11f0-91e4-06cc9d20a69f","order_by":3,"name":"Alessandro Crimi","email":"","orcid":"","institution":"AGH University of Krakow","correspondingAuthor":false,"prefix":"","firstName":"Alessandro","middleName":"","lastName":"Crimi","suffix":""}],"badges":[],"createdAt":"2024-10-07 19:23:10","currentVersionCode":3,"declarations":"","doi":"10.21203/rs.3.rs-5220310/v3","doiUrl":"https://doi.org/10.21203/rs.3.rs-5220310/v3","draftVersion":[],"editorialEvents":[{"content":"https://doi.org/10.1038/s41598-025-96215-z","type":"published","date":"2025-04-22T15:56:58+00:00"}],"editorialNote":"","failedWorkflow":false,"files":[{"id":81569530,"identity":"2b052639-19e3-49c9-bcf3-6e151a26f359","added_by":"auto","created_at":"2025-04-28 16:05:22","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":2745635,"visible":true,"origin":"","legend":"","description":"","filename":"RevisedmanuscriptHartoyoetal2025.pdf","url":"https://assets-eu.researchsquare.com/files/rs-5220310/v3_covered_62dbcf5f-7f40-4048-a500-b47a2eebf15f.pdf"},{"id":78787727,"identity":"80846618-cd0f-4572-a878-f853a1ac8ce1","added_by":"auto","created_at":"2025-03-19 01:55:13","extension":"pdf","order_by":0,"title":"","display":"","copyAsset":false,"role":"supplement","size":2256420,"visible":true,"origin":"","legend":"","description":"","filename":"AppendixAAdditionaldatasetresults.pdf","url":"https://assets-eu.researchsquare.com/files/rs-5220310/v3/f9c4ca7e53489ebb3c463adc.pdf"},{"id":78787725,"identity":"0b5820ff-071f-4e09-9cd3-8102ac3de86b","added_by":"auto","created_at":"2025-03-19 01:55:12","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"supplement","size":508052,"visible":true,"origin":"","legend":"","description":"","filename":"AppendixBFullproofsfortheoremsintheoreticalframework.pdf","url":"https://assets-eu.researchsquare.com/files/rs-5220310/v3/4c2ce51febb620d87e6932e8.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"Data reconstruction from machine learning models via inverse estimation and Bayesian inference","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":"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":"","lastPublishedDoi":"10.21203/rs.3.rs-5220310/v3","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-5220310/v3","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"This study explores the task of data reconstruction from machine learning models via inverse estimation and Bayesian inference, with the goal of recovering the original dataset solely based on the trained model. We introduce a novel theoretical framework that investigates the factors affecting the data reconstruction quality. Specifically, we derive expressions that quantify how variations in key variables influence the divergence between true and estimated posteriors by examining the concurrent behavior of their partial derivatives with respect to independent variables. This derivative-based approach establishes theoretical correlations between the variables, demonstrating that the fidelity of the recovered data is governed by two primary factors: (1) the accuracy of the assumed prior, and (2) the accuracy of the machine learning model. Empirical results across multiple benchmark datasets and machine learning algorithms corroborate these theoretical predictions, reinforcing the validity and robustness of our theoretical framework. Practically, our data reconstruction method enables the creation of synthetic models that closely replicate the performance of the original models. This work contributes to advancing the theoretical understanding and practical techniques for data reconstruction and model introspection within the context of machine learning.","manuscriptTitle":"Data reconstruction from machine learning models via inverse estimation and Bayesian inference","msid":"","msnumber":"","nonDraftVersions":[{"code":3,"date":"2025-03-19 01:55:08","doi":"10.21203/rs.3.rs-5220310/v3","editorialEvents":[{"type":"communityComments","content":0},{"type":"decision","content":"Accepted","date":"2025-03-26T14:55:27+00:00","index":"","fulltext":""},{"type":"editorInvitedReview","content":"","date":"2025-03-26T09:13:51+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"113267123752964712277009520882121270451","date":"2025-03-26T09:09:03+00:00","index":"hide","fulltext":""},{"type":"editorInvitedReview","content":"","date":"2025-03-17T11:38:21+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"39557242366163177362083966616081188702","date":"2025-03-17T11:27:51+00:00","index":"hide","fulltext":""},{"type":"reviewersInvited","content":"","date":"2025-03-17T11:01:53+00:00","index":"","fulltext":""},{"type":"checksComplete","content":"","date":"2025-03-16T12:56:37+00:00","index":"","fulltext":""},{"type":"submitted","content":"Scientific Reports","date":"2025-03-13T14:58:38+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}},{"code":2,"date":"2025-01-22 17:13:49","doi":"10.21203/rs.3.rs-5220310/v2","editorialEvents":[{"type":"communityComments","content":0},{"type":"decision","content":"Revision requested","date":"2025-03-10T08:05:45+00:00","index":"","fulltext":""},{"type":"editorInvitedReview","content":"","date":"2025-03-07T11:20:40+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"39557242366163177362083966616081188702","date":"2025-02-04T11:48:28+00:00","index":"hide","fulltext":""},{"type":"editorInvitedReview","content":"","date":"2025-01-26T16:20:00+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"113267123752964712277009520882121270451","date":"2025-01-26T13:10:31+00:00","index":"hide","fulltext":""},{"type":"reviewersInvited","content":"","date":"2025-01-21T02:44:36+00:00","index":"","fulltext":""},{"type":"checksComplete","content":"","date":"2025-01-18T14:15:44+00:00","index":"","fulltext":""},{"type":"submitted","content":"Scientific Reports","date":"2025-01-10T14:45:31+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}},{"code":1,"date":"2024-11-13 01:54:18","doi":"10.21203/rs.3.rs-5220310/v1","editorialEvents":[{"type":"communityComments","content":0},{"type":"decision","content":"Revision requested","date":"2024-12-19T12:13:38+00:00","index":"","fulltext":""},{"type":"editorInvitedReview","content":"","date":"2024-12-19T03:40:34+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"39557242366163177362083966616081188702","date":"2024-12-19T02:32:14+00:00","index":"hide","fulltext":""},{"type":"editorInvitedReview","content":"","date":"2024-11-30T14:19:56+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"113267123752964712277009520882121270451","date":"2024-11-20T08:46:34+00:00","index":"hide","fulltext":""},{"type":"reviewersInvited","content":"","date":"2024-11-06T23:40:50+00:00","index":"","fulltext":""},{"type":"editorAssigned","content":"","date":"2024-11-06T23:35:58+00:00","index":"","fulltext":""},{"type":"editorInvited","content":"","date":"2024-10-22T07:39:45+00:00","index":"","fulltext":""},{"type":"checksComplete","content":"","date":"2024-10-21T12:31:31+00:00","index":"","fulltext":""},{"type":"submitted","content":"Scientific Reports","date":"2024-10-07T19:11:43+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":"dacc3e33-4ae9-4b86-8b03-373fae781217","owner":[],"postedDate":"March 19th, 2025","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"published-in-journal","subjectAreas":[],"tags":[],"updatedAt":"2025-04-28T15:59:06+00:00","versionOfRecord":{"articleIdentity":"rs-5220310","link":"https://doi.org/10.1038/s41598-025-96215-z","journal":{"identity":"scientific-reports","isVorOnly":false,"title":"Scientific Reports"},"publishedOn":"2025-04-22 15:56:58","publishedOnDateReadable":"April 22nd, 2025"},"versionCreatedAt":"2025-03-19 01:55:08","video":"","vorDoi":"10.1038/s41598-025-96215-z","vorDoiUrl":"https://doi.org/10.1038/s41598-025-96215-z","workflowStages":[]},"version":"v3","identity":"rs-5220310","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-5220310","identity":"rs-5220310","version":["v3"]},"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
unpaywall
last seen: 2026-05-27T02:00:06.600101+00:00
License: CC-BY-4.0