<!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>Is there Data Leakage in Protein-Protein Interaction Prediction using Knowledge Graphs?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Rita T. Sousa</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Sara Silva</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Catia Pesquita</string-name>
          <email>clpesquitag@ciencias.ulisboa.pt</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>LASIGE</institution>
          ,
          <addr-line>Faculdade de Ci</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>encias da Universidade de Lisboa</institution>
          ,
          <country country="PT">Portugal</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>There is a high potential for data leakage in biomedical machine learning applications since biomedical data resources share, reuse and import data from each other routinely. We have investigated potential data leakage in the prediction of protein-protein interactions using the Gene Ontology knowledge graph, by comparing the performance of models trained and tested on the same versions of data versus training on archived data and predicting only for newly discovered protein interactions. Our results were not able to detect an in uence of data leakage, indicating that if this problem exists, its magnitude is not a ecting the performance of knowledge graph-based protein interaction predictions.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Machine learning methods have become a signi cant trend in several research
elds in recent years, and the semantic web is no exception. As machine learning
is increasingly being used, concerns about data leakage have been raised [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
Leakage occurs when information about the target of a data mining problem
that should not be legitimately available to mine from is introduced [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], and it
can lead to overestimation of the model's performance.
      </p>
      <p>
        In biomedical applications, such as protein-protein interaction (PPI)
prediction, data leakage can also be an issue. It is not uncommon that multiple
databases and resources reuse the same sources of information. The majority of
PPI prediction methods that are based on knowledge graphs (KGs) [
        <xref ref-type="bibr" rid="ref11 ref7">7,11</xref>
        ]
explore the Gene Ontology (GO) KG that de nes the universe of classes associated
with proteins functions. The GO KG, composed of the GO [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] and GO
annotations [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] that link proteins to GO classes, is continuously evolving as more data
become available [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. The majority of GO annotations are inferred by electronic
annotation (IEA), which means they are based on the automated processing of
other data sources. This could result in the same information that is used to
support a PPI in a database (e.g. STRING [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]) to also be used to establish a
GO annotation for the proteins.
      </p>
      <p>1Copyright © 2021 for this paper by its authors. Use permitted under Creative
Commons License Attribution 4.0 International (CC BY 4.0).</p>
      <p>We hypothesize that if this type of data leakage is common, then the
performance of GO-based PPI prediction methods would be arti cially increased.
To test this hypothesis, we compare PPI prediction models trained on older
GO data and PPI interactions and tested on previously unknown interactions
captured in more recent versions of STRING with same version training and
testing. Furthermore, by training the models on labeled examples from the past,
we more closely simulate real-world applications.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Methods</title>
      <p>PPI prediction is cast as a classi cation task that takes as input the GO KG
and a set of protein pairs. The rst step of our approach is using historical data
to build the PPI datasets. Then we use the GO KG and the protein pairs to
predict interactions using several machine learning algorithms.
2.1</p>
      <sec id="sec-2-1">
        <title>Data</title>
        <p>The PPI datasets were obtained from the STRING Database1 which is one of
the largest available PPI databases that integrates both physical interactions as
well as functional associations between proteins collected from several sources.
We considered the following criteria to select protein pairs from STRING: (i)
each protein must be annotated with the GO; (ii) protein interactions must be
experimentally determined or from curated databases (as opposed to
computationally determined); (iii) interactions must have a con dence score above 950
to retain only high con dence interactions. We employed random sampling to
create negative pairs composed of the human proteins present in the positive
pairs but without any STRING interactions between them, building a balanced
dataset.</p>
        <p>We built several PPI datasets using three archived versions of the STRING
database (v9.1, v10, and v10.5) and the current version (v11). For the current
version, we created three datasets each excluding protein pairs present in each
of the older versions (see Table 1). Regarding the GO KG, we obtained archived
versions of the GO and GO annotations in 2015, 2017 and 2019 from the Gene
Ontology Data Archive2.
2.2</p>
      </sec>
      <sec id="sec-2-2">
        <title>Protein-Protein Interaction Prediction</title>
        <p>
          We follow the setup in [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] that predicts relations between KG entity pairs that
are not encoded in the graph using similarity-based semantic representations.
We employed three KG-based semantic similarity measures to compute semantic
similarity: two taxonomic measures (ResnikMax [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ], SimGIC [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ]) and one based
on graph embedding methods (RDF2Vec [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ]). We applied six well-known classes
1https://string-db.org
2http://release.geneontology.org/
STRING Version Date Number of positive pairs
v9.1 04/2015 12 681
v10 05/2017 26 863
v10.5 01/2019 31 384
v11 (excluding pairs in v9.1) 10/2020 41 227
v11 (excluding pairs in v10) 10/2020 31 642
v11 (excluding pairs in v10.5) 10/2020 23 571
        </p>
        <p>Table 1. Number of positive pairs in each version of the STRING database.
of machine learning models to train classi ers using the scikit-learn library:
Knearest neighbor (KNN), genetic programming (GP), decision tree (DT),
XGBoost (XGB), random forest (RF), and multi-layer perceptron (MLP). The
classi cation performance was evaluated using the weighted average of F-measures
(WAF).
3</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Results and Discussion</title>
      <p>We conducted two types of experiments: (i) Same version, where we train the
model with randomly chosen 10 000 protein interacting pairs from the archived
STRING version and test it with the remaining pairs; (ii) Future version,
where we train the model with randomly chosen 10 000 protein pairs from the
archived STRING version and test it on data from the current STRING version
(excluding interactions present in the archived version). The same randomly
chosen 10 000 protein pairs are used in both settings.</p>
      <p>Since we used three archived versions, the Future version experiments also
allow us to measure the impact of using increasingly older versions of STRING
and GO in training. Table 2 shows no substantial di erences between Same
version and Future version experiments.</p>
      <p>The results do not support a clear indication for data bias. While for the
2019 version, it is always slightly easier to predict future PPIs, this is reversed
in the 2017 version, and varies between methods for the 2015 version, so no
clear trend is discernible. The median weighted F-measure for the Same version
experiments is 0.844, while it is 0.845 for the Future version (see Figure 1).</p>
      <p>In addition to not detecting data leakage, the results also indicate that the
relation between the functions of a protein and its interactions do not
fundamentally change over time. Even for more recently discovered interactions that
can be biologically di erent, protein functions are still a good predictor of PPIs.
4</p>
    </sec>
    <sec id="sec-4">
      <title>Conclusion</title>
      <p>Biomedical data resources share, reuse and import data from each other
routinely. This can be a potential source of data leakage for machine learning
applications. We investigated potential data leakage between the GO KG and the
STRING database in the task of PPI prediction, by comparing performance on
unseen interactions using archived data. Our results were not able to detect an</p>
    </sec>
    <sec id="sec-5">
      <title>Acknowledgements</title>
      <p>CP, SS, RTS are funded by the FCT through LASIGE Research Unit, ref.
UIDB/00408/2020 and ref. UIDP/00408/2020. CP and RTS are funded by project
SMILAX (ref. PTDC/EEI-ESS/4633/2014), SS by projects BINDER (ref.
PTDC/CCIINF/29168/2017) and PREDICT (ref. PTDC/CCI-CIF/29877/2017), and RTS
ML
KNN
GP
DT
XGB
RF
MLP
measure (SSM) and machine learning (ML) algorithm for di erent GO KG version.
by FCT PhD grant (ref. SFRH/BD/145377/2019). It was also partially
supported by the KATY project which has received funding from the European
Union's Horizon 2020 research and innovation programme under grant
agreement No 101017453.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Akrami</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Saeef</surname>
            ,
            <given-names>M.S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhang</surname>
            ,
            <given-names>Q.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hu</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <string-name>
            <surname>Realistic</surname>
          </string-name>
          re
          <article-title>-evaluation of knowledge graph completion methods: An experimental study</article-title>
          .
          <source>In: Proc. of the 2020 ACM SIGMOD Int. Conference on Management of Data</source>
          . pp.
          <year>1995</year>
          {
          <year>2010</year>
          (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Huntley</surname>
            ,
            <given-names>R.P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sawford</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mutowo-Meullenet</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shypitsyna</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bonilla</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Martin</surname>
            ,
            <given-names>M.J.</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>O</given-names>
            <surname>'Donovan</surname>
          </string-name>
          ,
          <string-name>
            <surname>C.</surname>
          </string-name>
          :
          <article-title>The GOA database: gene ontology annotation updates for 2015</article-title>
          .
          <source>Nucleic acids research</source>
          <volume>43</volume>
          (
          <issue>D1</issue>
          ),
          <source>D1057{D1063</source>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Kaufman</surname>
          </string-name>
          , S.,
          <string-name>
            <surname>Rosset</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Perlich</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stitelman</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          :
          <article-title>Leakage in data mining: Formulation, detection, and avoidance</article-title>
          .
          <source>ACM Transactions on Knowledge Discovery from Data (TKDD) 6</source>
          (
          <issue>4</issue>
          ),
          <volume>1</volume>
          {
          <fpage>21</fpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Pesquita</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Faria</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bastos</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ferreira</surname>
            ,
            <given-names>A.E.</given-names>
          </string-name>
          , Falca~o,
          <string-name>
            <given-names>A.O.</given-names>
            ,
            <surname>Couto</surname>
          </string-name>
          ,
          <string-name>
            <surname>F.M.</surname>
          </string-name>
          :
          <article-title>Metrics for GO based protein semantic similarity: a systematic evaluation</article-title>
          .
          <source>In: BMC Bioinformatics</source>
          . vol.
          <volume>9</volume>
          , pp.
          <volume>1</volume>
          {
          <fpage>16</fpage>
          . Springer (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Resnik</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Using information content to evaluate semantic similarity in a taxonomy</article-title>
          .
          <source>In: Proc. of the 14th Int. Joint Conference on Arti cial Intelligence - Volume</source>
          <volume>1</volume>
          . p.
          <volume>448</volume>
          {
          <fpage>453</fpage>
          . Morgan Kaufmann Publishers Inc., San Francisco, CA, USA (
          <year>1995</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Ristoski</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Paulheim</surname>
          </string-name>
          , H.:
          <article-title>RDF2Vec: RDF graph embeddings for data mining</article-title>
          .
          <source>In: The Semantic Web</source>
          . pp.
          <volume>498</volume>
          {
          <issue>514</issue>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Sousa</surname>
          </string-name>
          , R.T.,
          <string-name>
            <surname>Silva</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pesquita</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          : evoKGsim+
          <article-title>: a framework for tailoring knowledge graph-based similarity for supervised learning</article-title>
          .
          <source>In: ESWC 2021 Poster and Demo Track</source>
          (
          <year>2021</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Szklarczyk</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gable</surname>
            ,
            <given-names>A.L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nastou</surname>
            ,
            <given-names>K.C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lyon</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kirsch</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pyysalo</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Doncheva</surname>
            ,
            <given-names>N.T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Legeay</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          , et al.:
          <article-title>The STRING database in 2021: customizable protein{protein networks, and functional characterization of user-uploaded gene/measurement sets</article-title>
          .
          <source>Nucleic acids research</source>
          <volume>49</volume>
          (
          <issue>D1</issue>
          ),
          <source>D605{D612</source>
          (
          <year>2021</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <article-title>9. The Gene Ontology Consortium: The Gene Ontology Resource: 20 years and still GOing strong</article-title>
          .
          <source>Nucleic Acids Research</source>
          <volume>47</volume>
          (
          <issue>D1</issue>
          ),
          <source>D330{D338 (11</source>
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Tomczak</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mortensen</surname>
            ,
            <given-names>J.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Winnenburg</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          , Liu,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Alessi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.T.</given-names>
            ,
            <surname>Swamy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            ,
            <surname>Vallania</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            ,
            <surname>Lofgren</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Haynes</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            ,
            <surname>Shah</surname>
          </string-name>
          ,
          <string-name>
            <surname>N.H.</surname>
          </string-name>
          , et al.:
          <article-title>Interpretation of biological experiments changes with evolution of the gene ontology and its annotations</article-title>
          .
          <source>Scienti c reports 8(1)</source>
          ,
          <volume>1</volume>
          {
          <fpage>10</fpage>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Zhong</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rajapakse</surname>
            ,
            <given-names>J.C.</given-names>
          </string-name>
          :
          <article-title>Graph embeddings on gene ontology annotations for protein{protein interaction prediction</article-title>
          .
          <source>BMC bioinformatics 21(16)</source>
          ,
          <volume>1</volume>
          {
          <fpage>17</fpage>
          (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>