arXiv:2609.10193q-bio.MNSep 2026

Manuscript Offprint

arXiv:2609.10193

Are You Learning Biological Signal or Shortcuts? Auditing and Mitigating Bias in Protein-Protein Interaction Datasets

Judith Bernett, Anton Spannagl, Joel Ås, Markus List, David B. Blumenthal

Judith Bernett

Department Artificial Intelligence in Biomedical Engineering Friedrich-Alexander-Universität Erlangen-Nürnberg

judith.bernett@fau.de

Anton Spannagl

TUM School of Life Sciences Technical University of Munich

anton.spannagl@tum.de

Joel Ås

Department of Experimental Oncology IEO European Institute of Oncology IRCCS

joelkarl.as@ieo.it

Markus List

TUM School of Life Sciences Technical University of Munich

markus.list@tum.de

David B. Blumenthal

Department Artificial Intelligence in Biomedical Engineering Friedrich-Alexander-Universität Erlangen-Nürnberg

david.b.blumenthal@fau.de

Abstract

Protein-protein interaction (PPI) databases do not faithfully reflect biological realities. Instead, they are influenced by study and technical biases that distort certain protein and interaction attributes. Machine learning models can exploit these as learning shortcuts if the negative dataset is not constructed with care. So far, the shortcuts introduced during PPI dataset construction have only been examined in isolation. Here, we systematically characterize both reported and, to our knowledge, previously unreported biases in PPI datasets that lead machine learning models to learn shortcuts instead of biological signal. We analyze HIPPIE, IntAct, and STRING, dedicated PPI databases, as well as two datasets derived from 3D-structural information in the Protein Data Bank (PDB). We show that random data splitting introduces strong topological shortcuts. When train-test protein overlap is removed, the resulting datasets still retain usable shortcuts stemming from self-interactions, taxonomic identity, and functional relatedness, whose prevalence interestingly depends on the data source. We further show that sampling negatives from a set of high-confidence non-interactors, an intuitively appealing choice, can amplify the shortcut stemming from functional relatedness. To detect and mitigate these biases, we provide an open Nextflow pipeline that combines similarity-aware, data-loss-minimizing dataset splitting with bias-minimizing negative sampling, both formulated as integer linear programs. Its key concept of quantifying biases to minimize them through optimization-based negative sampling can, in principle, be extended to any machine learning problem where the pool of negative candidates is much larger than the positives and is thus of interest also beyond PPI prediction.

1 Introduction

Deep machine learning models have a well-documented tendency to learn the “path of least resistance”, a phenomenon that has spawned an entire field dedicated to studying shortcut learning and its mitigation

(Geirhos et al., 2020). This has uncovered a series of reported generalization failures that revealed what models were actually paying attention to. Cows were misclassified when displayed on a beach rather than on grass (Beery et al., 2018). An object detection model struggled with an elephant randomly inserted into a picture of a man sitting in a room, either missing it entirely or misclassifying it as a chair, depending on its placement (Rosenfeld et al., 2018). An X-ray pneumonia detector failed to generalize to images from a new hospital because it had learned to rely on the hospital token in the image and the pneumonia prevalence in that hospital, rather than the lung itself (Zech et al., 2018). Amazon's HR screening tool was found to systematically favor male candidates (Dastin, 2022). Such cases are cautionary tales for anyone tempted to take strong modeling results at face value, summarized in Geirhos et al. (2020)'s adapted maxim "Never attribute to high-level abilities that which can be adequately explained by shortcut learning"¹. Whether and how effectively a model exploits a shortcut ultimately depends on four components that, together, determine what the model can learn: the model architecture, the training data, the loss function, and the optimization strategy (Geirhos et al., 2020). Before any of these can be adjusted, one must first identify which biases are present in the dataset, a task that is inherently domain-specific and far from trivial.

The issue is pressing in deep learning models for biomedical applications. While we want to be able to harness the full potential of deep learning for healthcare applications, it becomes all the more important to understand what a model is learning, which (latent) features it relies on most, for which subgroups it performs well, and whether it has, indeed, acquired a high-level ability. It is also a domain that is not as easily understood from the human perspective as, e.g., object detection or text translation, where a human can more easily verify whether the model performed the task adequately.

In this article, we look at the case of sequence-based protein-protein interaction (PPI) prediction, i.e., the task to predict if two proteins bind to each other based on representations of their amino acid sequences. Predicting PPIs is a key task in computational biomedicine, used to understand the functions of understudied proteins, study disease mechanisms, or identify potential drug targets (Soleymani et al., 2022). The PPI databases, however, contain data from hypothesis-driven experiments, leading to study biases (e.g., the overstudy of human disease-related proteins) as well as technical biases (e.g., due to low abundance) (Schaefer et al., 2015). The negative dataset is usually constructed via random sampling. If the sampling approach is not chosen carefully to mirror certain properties of the positive dataset, unwanted distributional differences can emerge that machine learning models can exploit as shortcuts rather than learning causal biochemical properties, such as matching binding sites. Previously reportedly properties used as shortcuts included subcellular location (Ben-Hur & Noble, 2006), sequence similarity (Hamp & Rost, 2015; Barnett et al., 2024), topology (Park & Marcotte, 2012; Barnett et al., 2024; Chatterjee et al., 2023; Zhou et al., 2025), taxonomy (Hallee et al., 2026), and database curation and study bias (Szymborski & Emad, 2022; Makrodimitris et al., 2020). Each of these has, however, been studied in isolation, and typically on a single dataset from a single data source. Consequently, it remains unclear which shortcuts dominate, how strongly they interact, whether mitigating one aggravates another, and whether shortcuts differ across PPI databases.

We address this gap with the following contributions: First, we quantify whether certain attributes (self-interactions, taxonomy, topology, sequence similarity, embedding similarity, GO category overlap (Gene Ontology Consortium, 2026)) can be used as a shortcut in commonly used PPI data sources, employing the G-AUDIT bias detection framework (Drenkow et al., 2026). The framework measures whether a given attribute is highly detectable from the input data and whether it has mutual information with the output label. Second, we improve Barnett et al. (2024)'s previously proposed similarity- and leakage-reducing approach by formulating similarity-aware PPI dataset splitting as an integer linear program (ILP) that additionally minimizes data loss while giving a user control over the resulting split sizes. Third, we also formulate bias-minimizing negative sampling as an ILP. Here, we sample pairs of non-interacting proteins such that the distributions of the shortcut attributes identified in step 1 (self-interaction count, per-protein degree, taxon-pair distribution, and mean GO-BP overlap) are similar in the sets of sampled negatives and input positives, i.e., the annotated PPIs. We show that datasets derived from 3D protein complex structures curated in the Protein Data Bank (PDB) (Berman et al., 2000) store a fundamentally different population of

¹A blend of Morgan's Canon "In no case is an animal activity to be interpreted in terms of higher psychological processes if it can be fairly interpreted in terms of processes which stand lower on the scale of psychological evolution and development" and Hanlon's razor "Never attribute to malice that which can be adequately explained by stupidity" interactions than the databases containing data from dedicated interaction-detection assays, limiting their direct use to augment PPI datasets with structural information. Further, we show that sampling negatives from a set of high-confidence non-interactors can amplify existing distributional shifts. All analyses are implemented in an open Nextflow pipeline that the community can apply to their own datasets.

References (45)