<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Integration of Explainable Deep Neural Network with Blockchain Technology: Medical Indemnity Insurance</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Swati Sachan</string-name>
          <email>ssachan8@liverpool.ac.uk</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jericho Muwanga</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Late-breaking work</institution>
          ,
          <addr-line>Demos and Doctoral Consortium, collocated with The 1st World Conference on eXplainable Artificial Intelligence:</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>University of Liverpool-Management School</institution>
          ,
          <addr-line>Liverpool, L69 7ZH</addr-line>
          ,
          <country country="UK">UK</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Extracting evidence for processing of medical claims can be time-consuming and complex due to the sharing of sensitive information among multiple organisations. This paper presents a blockchain-based framework for reliable access to sensitive data by utilizing a hybrid smart contract running on the Hyperledger blockchain platform. The framework incorporates evidential reasoning for pre-processing ambiguous legal evidence and an explainable deep neural network (DNN) model for transparent decision-making in insurance claims, which continuously learns from lawyers' input. It addresses the laws on the "Right to be Forgotten" by considering the immutability of the blockchain and the "Right to Explanation" by providing transparency despite the non-linear nature DNN. The study evaluates the proposed framework's effectiveness in pre-litigation decisions for the medical negligence of doctors, demonstrating the importance of periodic retraining using low-confidence samples annotated by lawyers to enhance the model's decision-making capability.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Explainable AI</kwd>
        <kwd>Blockchain</kwd>
        <kwd>Legal</kwd>
        <kwd>Insurance</kwd>
        <kwd>GDPR 1</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Medical indemnity claims safeguard healthcare professionals against costs and compensation
due to medical negligence [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. The processing of claims by insurance lawyers is time-consuming
and complex. Artificial Intelligence (AI) could automate parts of this process, but the ambiguous
nature of sensitive medical insurance data may result in less than ideal AI decisions [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
Explainable Artificial Intelligence (XAI) shows promise in insurance decision-making, rendering
AI algorithmic decisions understandable for non-technical end-users and stakeholders [
        <xref ref-type="bibr" rid="ref3 ref4 ref5 ref6 ref7">3, 4, 5, 6,
7</xref>
        ]. Current research must focus on enabling secure access to sensitive medical records across
diverse organisations, including insurance companies, legal firms, hospitals, and clinical labs [
        <xref ref-type="bibr" rid="ref10 ref11 ref12 ref8 ref9">8,
9, 10, 11, 12</xref>
        ].
      </p>
      <p>
        The proposed framework utilises blockchain technology for secure, tamper-proof data
transactions among various organisations to guarantee privacy and security for sensitive medical
records. It employs a hybrid smart contract to execute both on-chain and off-chain computations,
which automates data access policies and records access by authorised parties. The data accessed
by blockchain is integrated with Explainable Deep Neural Network (x-DNN) models to increase
trust and transparency in medical indemnity claim decisions. Moreover, it meets essential
General Data Protection Regulation (GDPR) requirements on the "Right to be Forgotten" [
        <xref ref-type="bibr" rid="ref13 ref14 ref15 ref16">13, 14,
15, 16</xref>
        ] and "Right to Explanation" [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ], despite the immutable nature of blockchain and the
blackbox aspect of AI models, respectively.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Blockchain Architecture for Accessibility of Insurance Data</title>
      <p>
        The blockchain architecture is evaluated and selected using a multi-criteria decision-making
approach [
        <xref ref-type="bibr" rid="ref18 ref19">18, 19</xref>
        ]. This research explores alternative solutions for blockchain platforms, cloud
data storage services, and cryptographic key storage for each design criterion. Figure 1
demonstrates the crucial aspects of selected architectural design for off-chain and on-chain data
storage and computation. The web API server supports the interoperability between a web
application for data collection, a blockchain plat-form, secured third-party cloud storage, and
cryptographic key-management service providers. The consent to access the medical data is
stored in the Blockchain plat-form for automated auditing of data access by hybrid on-chain and
off-chain computation of conditional logic in smart contracts.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Introduction Continuous learning of x-DNN and ER Encoder</title>
      <p>
        Medical data is often ambiguous and incomplete, requiring specialised processing techniques. ER
algorithm is utilised to preprocess ambiguous data into explainable numerical features [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. The
features are used as an input sequence in a 1-dimensional deep Convolutional Neural Network
(CNN) model. Human expert feedback, such as that from insurance lawyers, allows continuous
learning of the CNN, fine-tuning the model for uncertain decisions [20]. The uncertainty in
decisions is measured by Entropy [21].
      </p>
      <p>The reasoning behind each decision by CNN can be understood by Layer Wise Relevance
Propagation (LRP) [22], Shapley Additive Explanations (SHAP) [23] and Local Interpretable
Model-agnostic Explanations (LIME) [24]. Figure 2 demonstrates the methodology.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Study on Medical Indemnity Claims</title>
      <p>This study demonstrates the results of the proposed framework focusing on medical indemnity
insurance for misdiagnosis and delayed cancer diagnosis. It evaluates the medical negligence of
clinical oncologists before litigation, as most claims are re-solved outside of court through law
firms. The dataset had 1888 instances and 23 attributes of medical indemnity claims; 8.52% were
negligent, 19.40% were contributory-negligent, and the remaining 72.08% were non-negligent.
Bayesian Optimisation trained the hyperparameters of CNN. The input sequence size (height ×
width) for the 1D-CNN is 84×1, followed by three convolution and pooling layers with kernel sizes
of 50, 100, and 150, and two fully connected layers with 0.20 dropout rate.</p>
      <p>Figure 3 shows the performance of Hyperledger Fabric Version 1.4 blockchain by the latency
of creating a block and the number of valid transactions in a given time by throughput. A decision
by CNN for a defendant (local explainability of an insurance case) can be understood by analysing
the importance of features by heatmap of LRP values for four different techniques and the
importance of the most relevant features by the SHAP and LIME, shown in Figure 4. Lawyers use
these visual explanations as decision support. The ultimate verdict of a pre-litigation case
depends on the lawyer's judgment, not the model's. The "negligence" decisions against the
defendant were evaluated using the AUC metric through 3-fold cross-validation. The initial AUC
score of a validation set by the original dataset is 0.86. The score improved to 0.91 after a second
retraining iteration with newly annotated datasets by human lawyers. The accuracy can be
improved after each iteration containing 100 new legal cases. The annotation activity is
performed only for the least confident and unknown legal cases.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Conclusion</title>
      <p>A blockchain-based framework is proposed in this study to ensure secure access to sensitive
medical records across multiple organisations. It automates and enforces data access policies
while incorporating an x-DNN model for transparent decision-making in medical indemnity
claims, complying with GDPR requirements. The methodology is evaluated in pre-litigation
decisions regarding clinical negligence by oncologists, emphasizing the significance of periodic
retraining with low-confidence samples annotated by lawyers to enhance decision-making
capabilities. The results show-case improved transparency, data privacy and security in medical
indemnity claims.</p>
    </sec>
    <sec id="sec-6">
      <title>Acknowledgements</title>
      <p>This work is supported by the Department of Finance and Accounting at the University of
Liverpool Management School. We would like to express our appreciation to the medico-legal
lawyers and doctors who provided valuable feedback on the model output and decision-making
variables, without whom this research would not have been possible. We extend our gratitude to
Dr William Reed, Dr Mike Pierce, and Mr. Sameer Joshi for their invaluable contributions in
augmenting and annotating the model, which improved the end-to-end understanding and
accuracy of the models.
Human Knowledge by Fuzzy Cognitive Maps: Small Business Loans." In 2023 IEEE
International Conference on Blockchain and Cryptocurrency (ICBC), pp. 1-4. IEEE, 2023.
[20] Turchi, Marco, Matteo Negri, M. Farajian, and Marcello Federico. "Continuous learning from
human post-edits for neural machine translation." The Prague Bulletin of Mathematical
Linguistics 108, no. 1 (2017): 233-244.
[21] Tornetta, Gabriele N. "Entropy methods for the confidence assessment of probabilistic
classification models." arXiv preprint arXiv:2103.15157 (2021).
[22] Bach, Sebastian, Alexander Binder, Grégoire Montavon, Frederick Klauschen, Klaus-Robert
Müller, and Wojciech Samek. "On pixel-wise explanations for non-linear classifier decisions
by layer-wise relevance propagation." PloS one 10, no. 7 (2015): e0130140.
[23] Lundberg, Scott M., and Su-In Lee. "A unified approach to interpreting model predictions."</p>
      <p>Advances in neural information processing systems 30 (2017).
[24] Ribeiro, Marco Tulio, Sameer Singh, and Carlos Guestrin. "Why should I trust you?"
Explaining the predictions of any classifier." In Proceedings of the 22nd ACM SIGKDD
international conference on knowledge discovery and data mining, pp. 1135-1144. 2016.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Mathur</surname>
            ,
            <given-names>Manoj</given-names>
          </string-name>
          <string-name>
            <surname>Chandra</surname>
          </string-name>
          .
          <article-title>"Professional Medical Indemnity Insurance-Protection for the experts, by the experts."</article-title>
          <source>Indian journal of ophthalmology 68</source>
          , no.
          <issue>1</issue>
          (
          <year>2020</year>
          ):
          <fpage>3</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Sachan</surname>
          </string-name>
          , Swati, Fatima Almaghrabi,
          <string-name>
            <surname>Jian-Bo Yang</surname>
          </string-name>
          , and
          <string-name>
            <surname>Dong-Ling Xu</surname>
          </string-name>
          .
          <article-title>"Evidential reasoning for preprocessing uncertain categorical data for trustworthy decisions: An application on healthcare and finance</article-title>
          .
          <source>" Expert Systems with Applications</source>
          <volume>185</volume>
          (
          <year>2021</year>
          ):
          <fpage>115597</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Adadi</surname>
            , Amina, and
            <given-names>Mohammed</given-names>
          </string-name>
          <string-name>
            <surname>Berrada</surname>
          </string-name>
          .
          <article-title>"Peeking inside the black-box: a survey on explainable artificial intelligence (XAI)." IEEE access 6 (</article-title>
          <year>2018</year>
          ):
          <fpage>52138</fpage>
          -
          <lpage>52160</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Sachan</surname>
          </string-name>
          , Swati,
          <string-name>
            <surname>Jian-Bo</surname>
            <given-names>Yang</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dong-Ling</surname>
            <given-names>Xu</given-names>
          </string-name>
          , David Eraso Benavides, and
          <string-name>
            <given-names>Yang</given-names>
            <surname>Li</surname>
          </string-name>
          .
          <article-title>"An explainable AI decision-support-system to automate loan underwriting</article-title>
          .
          <source>" Expert Systems with Applications</source>
          <volume>144</volume>
          (
          <year>2020</year>
          ):
          <fpage>113100</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>Rahimi</surname>
          </string-name>
          , Nick, and Sai Sri Vineeth Gudapati.
          <article-title>"Emergence of blockchain technology in the healthcare and insurance industries." In Blockchain Technology Solutions for the Security of Iot-Based Healthcare Systems</article-title>
          , pp.
          <fpage>167</fpage>
          -
          <lpage>182</lpage>
          . Academic Press,
          <year>2023</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>O</given-names>
            <surname>'Sullivan</surname>
          </string-name>
          , Shane, Nathalie Nevejans, Colin Allen, Andrew Blyth, Simon Leonard, Ugo Pagallo, Katharina Holzinger, Andreas Holzinger, Mohammed Imran Sajid, and
          <string-name>
            <given-names>Hutan</given-names>
            <surname>Ashrafian</surname>
          </string-name>
          .
          <article-title>"Legal, regulatory, and ethical frameworks for development of standards in artificial intelligence (AI) and autonomous robotic surgery." The international journal of medical robotics and computer assisted surgery 15, no</article-title>
          .
          <issue>1</issue>
          (
          <year>2019</year>
          ):
          <fpage>e1968</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Smith</surname>
          </string-name>
          ,
          <string-name>
            <surname>Helen</surname>
            , and
            <given-names>Kit</given-names>
          </string-name>
          <string-name>
            <surname>Fotheringham</surname>
          </string-name>
          .
          <article-title>"Artificial intelligence in clinical decision-making: rethinking liability</article-title>
          .
          <source>" Medical Law International</source>
          <volume>20</volume>
          , no.
          <issue>2</issue>
          (
          <year>2020</year>
          ):
          <fpage>131</fpage>
          -
          <lpage>154</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <surname>Chin-Ling</surname>
          </string-name>
          ,
          <string-name>
            <surname>Yong-Yuan</surname>
            <given-names>Deng</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Woei-Jiunn</surname>
            <given-names>Tsaur</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chun-Ta Li</surname>
          </string-name>
          , Cheng-Chi
          <string-name>
            <surname>Lee</surname>
            , and
            <given-names>ChihMing</given-names>
          </string-name>
          <string-name>
            <surname>Wu</surname>
          </string-name>
          .
          <article-title>"A traceable online insurance claims system based on blockchain and smart contract technology</article-title>
          .
          <source>" Sustainability</source>
          <volume>13</volume>
          , no.
          <volume>16</volume>
          (
          <year>2021</year>
          ):
          <fpage>9386</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>Zhou</surname>
            , Lijing,
            <given-names>Licheng</given-names>
          </string-name>
          <string-name>
            <surname>Wang</surname>
            , and
            <given-names>Yiru</given-names>
          </string-name>
          <string-name>
            <surname>Sun</surname>
          </string-name>
          .
          <article-title>"MIStore: a blockchain-based medical insurance storage system</article-title>
          .
          <source>" Journal of medical systems 42, no. 8</source>
          (
          <year>2018</year>
          ):
          <fpage>149</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Merlec</surname>
            ,
            <given-names>Mpyana</given-names>
          </string-name>
          <string-name>
            <surname>Mwamba</surname>
          </string-name>
          , Youn Kyu Lee,
          <string-name>
            <surname>Seng-Phil Hong</surname>
          </string-name>
          , and Hoh Peter In.
          <article-title>"A smart contract-based dynamic consent management system for personal data usage under GDPR." Sensors 21, no</article-title>
          .
          <volume>23</volume>
          (
          <year>2021</year>
          ):
          <fpage>7994</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Kumi</surname>
            , Sandra, Richard K. Lomotey, and
            <given-names>Ralph</given-names>
          </string-name>
          <string-name>
            <surname>Deters</surname>
          </string-name>
          .
          <article-title>"A Blockchain-based platform for data management and sharing</article-title>
          .
          <source>" Procedia Computer Science</source>
          <volume>203</volume>
          (
          <year>2022</year>
          ):
          <fpage>95</fpage>
          -
          <lpage>102</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <surname>Sutton</surname>
            , Andrew, and
            <given-names>Reza</given-names>
          </string-name>
          <string-name>
            <surname>Samavi</surname>
          </string-name>
          .
          <article-title>"Blockchain enabled privacy audit logs." In The Semantic Web-ISWC</article-title>
          <year>2017</year>
          : 16th International Semantic Web Conference, Vienna, Austria,
          <source>October 21- 25</source>
          ,
          <year>2017</year>
          , Proceedings,
          <source>Part I 16</source>
          , pp.
          <fpage>645</fpage>
          -
          <lpage>660</lpage>
          . Springer International Publishing,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <surname>Finck</surname>
            ,
            <given-names>Michèle.</given-names>
          </string-name>
          <article-title>"Blockchains and data protection in the European Union." Eur. Data</article-title>
          <string-name>
            <given-names>Prot. L.</given-names>
            <surname>Rev</surname>
          </string-name>
          .
          <volume>4</volume>
          (
          <year>2018</year>
          ):
          <fpage>17</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <surname>Giordano</surname>
            ,
            <given-names>Marco</given-names>
          </string-name>
          <string-name>
            <surname>Tullio</surname>
          </string-name>
          .
          <article-title>"Blockchain and the GDPR: new challenges for privacy and security."</article-title>
          <source>In Blockchain, Law and Governance</source>
          , pp.
          <fpage>275</fpage>
          -
          <lpage>286</lpage>
          . Springer International Publishing,
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <surname>Molina</surname>
            , Fernanda,
            <given-names>Gustavo</given-names>
          </string-name>
          <string-name>
            <surname>Betarte</surname>
            , and
            <given-names>Carlos</given-names>
          </string-name>
          <string-name>
            <surname>Luna</surname>
          </string-name>
          .
          <article-title>"Design principles for constructing GDPR-compliant blockchain solutions."</article-title>
          <source>In 2021 IEEE/ACM 4th International Workshop on Emerging Trends in Software Engineering for Blockchain (WETSEB)</source>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>8</lpage>
          . IEEE,
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <surname>Al-Abdullah</surname>
            , Muhammad, Izzat Alsmadi, Ruwaida AlAbdullah, and
            <given-names>Bernie</given-names>
          </string-name>
          <string-name>
            <surname>Farkas</surname>
          </string-name>
          .
          <article-title>"Designing privacy-friendly data repositories: a framework for a blockchain that follows the GDPR." Digital Policy</article-title>
          ,
          <source>Regulation and Governance</source>
          <volume>22</volume>
          , no.
          <issue>5</issue>
          /6 (
          <year>2020</year>
          ):
          <fpage>389</fpage>
          -
          <lpage>411</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <surname>Kaminski</surname>
            ,
            <given-names>Margot E. "</given-names>
          </string-name>
          <article-title>The right to explanation</article-title>
          ,
          <source>explained." Berkeley Technology Law Journal</source>
          <volume>34</volume>
          , no.
          <issue>1</issue>
          (
          <year>2019</year>
          ):
          <fpage>189</fpage>
          -
          <lpage>218</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <surname>Yang</surname>
            , Wenli, Saurabh Garg, Zhiqiang Huang, and
            <given-names>Byeong</given-names>
          </string-name>
          <string-name>
            <surname>Kang</surname>
          </string-name>
          .
          <article-title>"A decision model for blockchain applicability into knowledge-based conversation system." Knowledge-Based Systems 220 (</article-title>
          <year>2021</year>
          ):
          <fpage>106791</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <surname>Sachan</surname>
            , Swati, Dale
            <given-names>S.</given-names>
            Fickett, Nan Ei Ei Kyaw, Rituparna Shome Purkayastha, and S.
          </string-name>
          <string-name>
            <surname>Renimol</surname>
          </string-name>
          .
          <article-title>"A Blockchain Framework in Compliance with Data Protection Law to Manage</article-title>
          and Integrate
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>