Skip to content
DraconiticResearch
Search Sources API
203,234 studies31 sourcesUpdated 42 min ago
Peer-reviewedCC BYScientific Reports

The analogy theorem in Hoare logic for formal verification of knowledge transfer in machine learning

  1. 1College of New Materials and Nanotechnologies, National University of Science & Technology (MISIS)

Abstract

The introduction of machine learning methods has led to significant advances in automation, optimization, and new discoveries in various fields of science and engineering. However, their widespread application faces a fundamental limitation: the models are inapplicable to different data types, and they typically lack rigorous mathematical justification. A key problem is the lack of formal criteria to ensure that a model trained on one data type will retain its properties on another. This paper proposes a solution to this problem by formalizing the concept of “analogy” between datasets and models using first-order logic and Hoare logic. We formulate and prove theorems that establish necessary and sufficient conditions for analogy in the problem of knowledge transfer between machine learning models. A practical test of the analogy theorem on simulated data obtained using the Monte Carlo method, as well as on MNIST and USPS data, showed that the MLP + MDM model demonstrates a classification accuracy of 0.874 on Source MLP MNIST, while it achieves 0.915 on Target and Hybrid.

Related

  1. Prediction of lncRNA–cervical cancer associations using a multi-view collaborative variational autoencoder with knowledge distillation transfer learning
    Min Yuan, Tingchuan Xiong, Xiariwana Abasi +3
    Frontiers in GeneticsPeer-reviewedCC BYFull textOncologyDOAJ
  2. Anonymous transaction amount verification system based on zero knowledge range proof
    Jiawen Shi, Xiuyan Bai, Jiangjun Yuan +1
    Scientific ReportsPeer-reviewedCC BYFull textGeneral medicineDOAJ
  3. Making Generative AI Use Visible in a Foundational Health-Sciences Course: Effects on Learning, Verification and Attribution
    Xinhui Li
    Medical Science EducatorPeer-reviewedLicence not statedFull textEpidemiology & public healthPMC
  4. Discovery of Q-Markers in traditional Chinese medicine based on machine learning: Application and verification in Xiaoyao Heji.
    Guotao Chen, Jing Hu, Aijing Li +9
    Chinese herbal medicinesPeer-reviewedCC BYFull textGeneral medicineEurope PMCPMC
  5. Cuproptosis-related genes reveal related typing, prognosis, and immunological features of amyotrophic lateral sclerosis: A comprehensive landscape assessed through machine learning algorithms, risk model construction, and verification
    Ziwei Gong, Binbin Wei
    Journal of Genetic Engineering & BiotechnologyPeer-reviewedCC BY-NC-ND 4.0Full textNeurologyPMCEurope PMC
BibTeX
@article{nikita2026analogy,
  title = {{The analogy theorem in Hoare logic for formal verification of knowledge transfer in machine learning}},
  author = {Nikitin Nikita},
  journal = {Scientific Reports},
  year = {2026},
  month = jul,
  doi = {10.1038/s41598-026-62447-w},
  url = {https://doi.org/10.1038/s41598-026-62447-w},
  note = {CC BY},
}
RIS
TY  - JOUR
TI  - The analogy theorem in Hoare logic for formal verification of knowledge transfer in machine learning
AU  - Nikitin Nikita
PY  - 2026
DA  - 2026/07/01
JO  - Scientific Reports
DO  - 10.1038/s41598-026-62447-w
UR  - https://doi.org/10.1038/s41598-026-62447-w
AB  - The introduction of machine learning methods has led to significant advances in automation, optimization, and new discoveries in various fields of science and engineering. However, their widespread application faces a fundamental limitation: the models are inapplicable to different data types, and they typically lack rigorous mathematical justification. A key problem is the lack of formal criteria to ensure that a model trained on one data type will retain its properties on another. This paper proposes a solution to this problem by formalizing the concept of “analogy” between datasets and models using first-order logic and Hoare logic. We formulate and prove theorems that establish necessary and sufficient conditions for analogy in the problem of knowledge transfer between machine learning models. A practical test of the analogy theorem on simulated data obtained using the Monte Carlo method, as well as on MNIST and USPS data, showed that the MLP + MDM model demonstrates a classification accuracy of 0.874 on Source MLP MNIST, while it achieves 0.915 on Target and Hybrid.
SN  - 2045-2322
ER  -