<!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>
      <journal-title-group>
        <journal-title>Validation of a Machine Learning Model Predicting Arteriovenous Fistula Failure in a Large
Network of Dialysis Clinics. Int J Environ Res Public Health.</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.3390/ijerph182312355</article-id>
      <title-group>
        <article-title>Arteriovenous fistula flow level prediction through ordinal classifier methods Mario Garbelli1, Luca Neri1, and Francesco Bellocchio1</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Fresenius Medical Care AG</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Co. KGaA</string-name>
          <email>francesco.bellocchio@fmc-ag.com</email>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Bad Homburg</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Germany</string-name>
        </contrib>
      </contrib-group>
      <pub-date>
        <year>2021</year>
      </pub-date>
      <volume>18</volume>
      <issue>23</issue>
      <abstract>
        <p>Arteriovenous fistula (AVF) is the conjunction of an artery and a venous, surgically created as point of access to blood stream in dialysis patients. The measure of blood flow in AVF (Qa) is an important indicator to assess the functioning of AVF and the consequent adequacy for effective dialysis treatment. The measurement of Qa requires time-consuming and costly procedures which are generally performed only for a subset of patients considered at risk of problems. Our hypothesis is that there is a set of information collected during dialysis treatment that can be exploited to estimate Qa. The objective of this study is twofold: analyze the accuracy of Qa estimation from routinely collected clinical and dialysis ma-chine data variables and compare different approaches for this problem. We tack-led this estimation as an ordinal classification problem. As in machine learning domain there are different approaches to include order information in multiclass classification, we explored pros and cons of such different methods.</p>
      </abstract>
      <kwd-group>
        <kwd>1 Ordinal Multiclass Classification</kwd>
        <kwd>Hemodialysis</kwd>
        <kwd>Arteriovenous fistula</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>Chronic kidney disease is an increasing long-term condition characterized by a deterioration of
kidneys functioning. After a certain level of renal damage, the patient needs renal replacement therapy
(RRT) to survive. There are two kinds of RRT: hemodialysis and peritoneal dialysis. The former (and
most common) consists in re-moving fluid and waste products from the blood using a special filter
called dialyzer. To take the blood from the patient and filter through the dialyzer and return it to the
patient, the doctor needs to make access to the patient’s blood vessel, called vascular access. There are
several types of vascular access, arteriovenous fistula (AVF) is one associated with lower incidence of
complication and longer patient’s survival. It is a conjunction of an artery and a venous, surgically
created, to exploit the blood pressure of the artery and guarantee an adequate blood flow through the
dialyzer.</p>
      <p>
        Continuous monitoring of AVF functioning is an important aspect of dialysis patient management
[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] as if the AVF doesn’t work properly the alternative vascular access (typically, a central catheter)
would increase the risk of complications and decrease the effectiveness of dialysis treatment.
      </p>
      <p>
        The assessment of AVF blood flow (Qa) is an important prognostic test for evaluating the status of
vascular access [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ][
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] and it is used to consider clinical procedures to reestablish the patency of AVF.
This test can be performed in several way (doppler ultrasound, angiography, Body Thermal Monitor,
…) with different level of accuracy. These tests are time-consuming for clinical staff, operator
dependent, and costly for healthcare providers, so they are limited to those patients with some signs of
AVF malfunctioning.
      </p>
      <p>On the other hand, most of the dialysis machines automatically collect, at each dialysis treatment, a
set of data related to treatment blood flow and needles pressure which can be exploited to estimate the
AVF blood flow. Furthermore, the information present in the patient health records, such as age,
laboratory tests, comorbidities, and others, might influence the AVF blood flow. In this study we
focused on the prediction of the AVF flow exploiting all this routinely collected data.</p>
      <p>The value of AVF blood flow is generally categorized in clinical meaningful levels: &lt; 525 ml/h
(very low level), 525 ml/h - 925 ml/h (low level), &gt; 925 ml/h (normal level).</p>
      <p>Considering this categorization, AVF flow estimate can be seen as an ordinal classification problem,
as there is a clear inherent order among the classes but not a well-defined numerical distance.</p>
      <p>
        This kind of multiclassification can be tackled with different machine learning approaches. We have
selected two kinds of ordinal classification methods: the first transforms ordinal targets into binary
classification subtasks [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ][
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] and the second is based on a single deep neural network combined with a
set of binary learning tasks [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. The main difference between these two approaches is that the first one
is generally less computational costly but suffers from classifier inconsistencies among the binary
rankings [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
      </p>
      <p>In this study we also compare the ordinal classification methods with a model based on a standard
regression methos.</p>
      <p>
        We already explored the application of machine learning approaches for the monitoring of AVF
status in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. In that study we focused on the assessment of general AVF problem risk (any kind of event
requiring physician intervention). Here, we focused on the prediction of a measurable variable that is
well known and used by the physicians, simplifying the introduction of the model in clinical practice.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Method</title>
    </sec>
    <sec id="sec-3">
      <title>2.1. Ordinal classification</title>
      <p>Ordinal multi-classification problem consists in a task of predicting labels characterized by an
ordinal scale. An ordinal classifier C maps each object  [ ]  ∈   into an ordered set  :   ⟶  , where
 = { 1 ≺ ⋯ ≺   }The labels are characterized by the fact that it is possible to define an order among
them but not a measure of distance.</p>
      <p>Although, in Machine Learning there are many algorithms for general multi-classification problems,
there are much less able to consider the order information</p>
      <p>
        There are mainly two classes of algorithms for this kind of problem. The first [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] exploits the use
of a set of  − 1 binary classifiers. In our experiments, we used a XGBoost model for generating the
classifiers. We call this model BINCM.
      </p>
      <p>The estimation of the first and the last class depends on a single classifier,  ( &lt; 525) is given
by the first classifier and  ( ≥ 925) is given by the last classifier. The probability of the middle
class is computed as  ( ≥ 525) ⋅ (1 −  ( ≥ 925))</p>
      <p>
        This approach suffers from the possible inconsistency of the predicted probabilities [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. This
inconsistency, since the predictions for individual binary tasks may disagree, can lead to a contradictory
result for which,
      </p>
      <p>( ≥ 925)  &gt;   (525 &lt;  &lt; 925) and  ( ≥ 925) &lt; ( ( ≥ 525)).</p>
      <p>
        The second approach, called rank-consistent ordinal regression framework (CORN), is based on a
neural network with an output layer that implements a set of  − 1 binary learning tasks associated
with the ranks [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ][7].
      </p>
      <p>
        In this study we applied the method described in [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] and we summarize it in the following.
      </p>
      <p>Given a dataset  = { [ ],  [ ]} =1, a rank  [ ] is transformed into  − 1 binary labels
 1[ ], … ,   [−] 1 such that   [ ] ∈ {0,1} and indicates if  [ ] is greater than   . To ensure classifiers
consistency, the model estimates a series of conditional probabilities such that the output of the  -th
binary task   ( [ ]) represents the conditional probability</p>
      <p>( [ ]) =  ( [ ] &gt;   |  [ ] &gt;   −1), where { [ ] &gt;   } ⊆ { [ ] &gt;   −1}</p>
      <p>The unconditional probabilities can be derived through the chain rule for probabilities to the model
outputs:
 ( [ ] &gt;   ) = ∏   ( [ ])
 
Since ∀  0 ≤  ( [ ]) ≤ 1, we have</p>
      <p>( [ ] &gt;  1) ≥  ( [ ] &gt;  2) ≥ ⋯ ≥  ( [ ] &gt;   −1)
This guarantees the rank consistency among the  − 1 binary tasks.</p>
      <p>To evaluate the benefits of using ordinal classifier approaches than a classical regression approach,
we used as benchmark an XGBoost regressor to estimate the exact value of Qa and, after that, we map
these values to the three classes (very low flow, low flow, normal flow) using the thresholds 525 ml/h
and 925 ml/h. We call this model REGM.</p>
      <p>The accuracy comparison among the three methods was assessed computing mean absolute error
(MAE), precision and recall, F1-score and confusion matrix
2.2.</p>
    </sec>
    <sec id="sec-4">
      <title>Dataset</title>
      <p>Our dataset was composed of 46,292 Qa measurements referred to 5,940 hemodialysis patients from
four different European countries (Czech Republic, Portugal, Slovakia, Spain) and collected between
2015 and 2022. The Qa distribution was shown in Figure 1.</p>
      <p>Written informed consent for statistical analysis was obtained from all the patients. Qa
measurements are mainly obtained through dilution technique (thermal 93.34% and other 6.27%) and
only a few measures (0.39%) were obtained through doppler ultrasound.</p>
      <p>The input dataset was composed of 49 parameters that characterize patient, AVF and treatments
routinely recorded through Fresenius Medical Care clinical database (EuClID®). The input variables
were computed collecting the information in the 90 days before the Qa measure.
70% of the dataset was randomly selected to train each model, 10% was used as validation set (for
CORN) and the remaining 20% was used as test set.</p>
    </sec>
    <sec id="sec-5">
      <title>3. Results</title>
      <p>In Figures 2, 3, and 4 we reported the confusion matrix with the percentage of labels correctly and
incorrectly classified for the three classes for: REGM, BINCM and CORN respectively. The overall
MAE was 0.37, 0.27 and 0.36.</p>
      <p>The results show that both ordinal classification models performed better than the benchmark in terms
of overall MAE, and BINCM outperformed CORN (0.27 Vs. 0.36). It is interesting to note that when
we looked at the best recall for single class, we found that the best one for “very low” and “low” flow
is still BINCM but for normal flow the best one is REGM. On the other hand, the best one in terms of
precision for “very low” flow is REGM and for “low” and “normal” flow it is BINCM.</p>
    </sec>
    <sec id="sec-6">
      <title>4. Discussion</title>
      <p>In this exploratory paper we studied the estimation of AVF blood flow exploiting routinely collected
clinical data extracted from a clinical database. AVF blood flow assessment is critically important to
assess the status of the fistula and evaluate preemptive intervention to avoid AVF failure, that may lead
to the risk of complications.</p>
      <p>As AVF blood flow is generally categorized in three medical meaningful classes (very low when
less than 525 ml/h, low when between 525 and 925 ml/h and normal when greater than 925 ml/h), we
tackled the problem as an ordinal classification task.</p>
      <p>There are several approaches in machine learning domain for ordinal classification, we focused on
two techniques: ordinal classification with K-1 binary classifiers and CORN. We used a popular
regression model (XGBoost) with post classification as benchmark.</p>
      <p>The objective of this study can be summarized in two points: first, evaluate the accuracy of AVF
blood estimation to assess its possible medical use and second, compare different Machine Learning
approaches for this problem.</p>
      <p>Regarding the first point, the preliminary results are very promising. The ability to detect fistula with
very low flow with a precision of 0.9 (with BINCM) is a remarkable result per se. It should be also
noted that 7.3 % of the missed “very low flow” AVFs are predicted as “low flow” and only 2.7% are
predicted as normal flow. This suggests that the model could be used to build an alert system to warn
physicians about AVFs in critical situations. It might substantially improve the AVF surveillance
process, referring the patient for further investigation when it is really needed and potentially decrease
the risk of AVF failure.</p>
      <p>Regarding the comparison among different approaches, the results are interesting as well. If we focus
on the overall MAE and F1-score, it seems that the possible inconsistency of probabilities classes might
be an acceptable tradeoff for our problem as those metrics are much better for the BINCM than CORN
(0.27 and 0.76 Vs. 0.36 and 0.69). Although CORN results less accurate than BINCM, it can be a useful
tool for the application where it is important to show to the physician the single probability of the three
classes. In this case, the inconsistency of the probabilities would be difficult to understand.</p>
      <p>It is also important to consider that if we focus on the performance of the models in the single classes,
the best model is not always the same. This suggests that those approaches have different peculiarities
that can be exploited to create a more robust and effective medical support decision system.</p>
      <p>Considering the promising preliminary results, we see different next steps for this study, for
example: a deep feature analysis to explore the contribution of each variable to the prediction;
evaluating further ordinal classification methods; discuss with clinicians for a possible use case of the
model in real clinic setting and how integrate it in the clinical system and in clinical practice.</p>
    </sec>
    <sec id="sec-7">
      <title>5. References</title>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>C.E.</given-names>
            <surname>Lok</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.S.</given-names>
            <surname>Huber</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Shenoy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.S.</given-names>
            <surname>Yevzlin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Abreo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Allon</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Asif</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.C.</given-names>
            <surname>Astor</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.H.</given-names>
            <surname>Glickman</surname>
          </string-name>
          , et al.,
          <source>KDOQI Clinical Practice Guideline for Vascular Access: 2019 Update. Am. J. Kidney Dis</source>
          .,
          <volume>75</volume>
          ,
          <fpage>S1</fpage>
          -
          <lpage>S164</lpage>
          , (
          <year>2020</year>
          )..
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>M.</given-names>
            <surname>Gallieni</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Hollenbeck</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Inston</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Kumwenda</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Powell</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Tordoir</surname>
          </string-name>
          ,
          <string-name>
            <surname>J</surname>
          </string-name>
          . Al Shakarchi,
          <string-name>
            <given-names>P.</given-names>
            <surname>Berger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Bolignano</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Cassidy</surname>
          </string-name>
          , et al.,
          <article-title>Clinical practice guideline on peri- and postoperative care of arteriovenous fistulas and grafts for haemodialysis in adults</article-title>
          .
          <source>Nephrol. Dial. Transplant</source>
          ,
          <volume>34</volume>
          (
          <issue>Suppl</issue>
          . 2),
          <fpage>II1</fpage>
          -
          <lpage>II42</lpage>
          , (
          <year>2019</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>F.</given-names>
            <surname>Eibe</surname>
          </string-name>
          and
          <string-name>
            <given-names>M.</given-names>
            <surname>Hall</surname>
          </string-name>
          .
          <article-title>A simple approach to ordinal classification</article-title>
          .
          <source>In Proc 12th European Conference on Machine Learning</source>
          , Freiburg, Germany, pages
          <fpage>145</fpage>
          --
          <lpage>156</lpage>
          . Springer, (
          <year>2001</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>L.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.T.</given-names>
            <surname>Lin</surname>
          </string-name>
          ,
          <article-title>Ordinal regression by extended binary classification</article-title>
          ,
          <source>Advances in Neural Information Processing Systems</source>
          , pp.
          <fpage>865</fpage>
          -
          <lpage>872</lpage>
          , (
          <year>2007</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>X.</given-names>
            <surname>Shi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Cao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Raschka</surname>
          </string-name>
          ,
          <source>Deep Neural Networks for Rank-Consistent Ordinal Regression Based On Conditional Probabilities</source>
          , CoRR, https://arxiv.org/abs/2111.08851, (
          <year>2021</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>R.</given-names>
            <surname>Peralta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Garbelli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Bellocchio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Ponce</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Stuard</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Lodigiani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. Fazendeiro</given-names>
            <surname>Matos</surname>
          </string-name>
          , Ribeiro,
          <string-name>
            <given-names>M.</given-names>
            <surname>Nikam</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Botler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Schumacher</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Brancaccio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Neri</surname>
          </string-name>
          , Development and
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>