Manuscript Offprint

arXiv:2611.00907

Benchmarking Machine-Learning Classifiers for Neoantigen Immunogenicity Prediction and the Limits of SHAP Interpretability

Ramon Gonzalez

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Personalized cancer vaccines require prioritizing, among hundreds of candidate mutant peptides, the few that will induce a T-cell response. This study asks what general-purpose machine learning achieves on that task, and whether the features such models identify as important can be trusted.

We make three contributions. The first is a benchmark of sixty models: twelve supervised classifier families, each in five configurations, evaluated on the Immunogenic Tumor Specific Neoantigen database (ITSNdb; 199 experimentally validated neoantigens, 129 immunogenic and 70 non-immunogenic). All sixty are compared under one stratified k-fold cross-validation protocol, in which the data used to choose a configuration are never the data used to score it. The second is an interpretability study that combines SHAP with feature ablation. The third is a shuffled-label control that tests whether a SHAP value has been earned.

Two results follow, and both run against current practice. First, the classical linear models lead the ranking. The gradient-boosted ensembles and neural networks that dominate recent work bring no advantage. Second, SHAP can fail on high-cardinality categorical features. Ablation establishes the presenting HLA allele as the dominant input and the source gene as dispensable. SHAP reports the opposite, assigning 68.7% to 81.7% of its total value to the source gene in every model that gives each gene its own weight. Shuffling the gene labels at random among the peptides resolves the contradiction: the meaningless column earns the same SHAP value as the real one. That value measures only that ITSNdb contains 173 genes for 199 peptides. We therefore recommend that SHAP values for high-cardinality categorical annotations in cohorts of this size always be reported against such a shuffled-label control, and we describe one in full.

Keywords: neoantigen immunogenicity; personalized cancer vaccines; supervised machine learning; model interpretability; SHAP; feature ablation; high-cardinality categorical features; cross-validation; ITSNdb.

1 Introduction

In 1908, accepting the Nobel Prize that recognized his work on immunity, Paul Ehrlich articulated the idea of the magic bullet: an agent that would recognize what is foreign to the body and destroy it while leaving healthy tissue untouched (Bosch & Rosich, 2008). More than a century later, personalized cancer vaccines (PCVs) are among the most literal attempts to realize that idea, and the difficulty has shifted from building the bullet to choosing its target.

Tumors accumulate somatic mutations, a subset of which generate peptide sequences absent from the normal proteome (the complete set of proteins the body's healthy cells produce). Such mutated peptides are termed neoantigens. Because they are tumor-specific and have not been subject to central immune tolerance, neoantigens are attractive targets for therapeutic vaccination (Hu et al., 2018; Schumacher & Schreiber,

Benchmarking ML Classifiers for Neoantigen Immunogenicity Prediction and the Limits of SHAP Interpretability

2015). Early-phase trials in melanoma established that personalized neoantigen vaccines are feasible, safe, and able to induce neoantigen-specific T-cell receptor (TCR) responses (Blass & Ott, 2021; Ott et al., 2017; Sahin et al., 2017), and the strategy is being extended across tumor types and combined with checkpoint blockade (therapy that releases the molecular brakes tumors use to switch off T cells).

Figure 1 shows the biological process a personalized cancer vaccine depends on, and marks the step this paper addresses. A somatic mutation yields a mutant peptide that, once processed, is displayed on the surface of the tumor cell by an HLA class-I molecule. A CD8⁺ T cell — one of the immune system's killer cells — whose receptor engages that peptide-HLA complex recognizes the cell as foreign and can kill it. A personalized cancer vaccine exploits this by administering a small set of selected neoantigens to prime and expand the corresponding T-cell populations. The step labelled candidate selection is the computational bottleneck and the subject of this study: a tumor exome yields hundreds to thousands of mutant peptides, only a small minority of which are processed, presented and recognized, while a vaccine formulation has room for only a few dozen: for example, the individualized mRNA vaccine mRNA-4157/V940, marketed by Moderna as intismeran autogene and evaluated with pembrolizumab in high-risk resected melanoma, encodes up to 34 neoantigens per patient (Khattak et al., 2026). Existing pipelines rely heavily on peptide-MHC binding predictors such as the NetMHCpan family (Reynisson et al., 2020), but binding is necessary rather than sufficient for immunogenicity, and the search for features that discriminate immunogenic from non-immunogenic binders remains open.

Figure

Figure 1: Biological context of personalized cancer vaccination and the scope of this work. A non-silent somatic mutation yields a mutant peptide, which is processed in the cytosol and loaded onto an HLA class-I molecule for display on the tumor-cell surface. A CD8⁺ T cell — a killer cell of the immune system — whose T-cell receptor (TCR) engages that peptide-HLA complex with sufficient affinity can be activated and kill the cell. A personalized vaccine administers a selected subset of such peptides; these are taken up by dendritic cells, which migrate to the draining lymph nodes and present them to naive CD8⁺ T cells, priming and clonally expanding the T-cell populations that recognize them. This paper addresses the candidate selection step, which determines which peptides enter that subset.

A systematic benchmark on the curated ITSNdb resource evaluated seven widely used binding and immunogenicity predictors and found areas under the ROC curve of only 0.52 to 0.60, concluding that none could

Benchmarking ML Classifiers for Neoantigen Immunogenicity Prediction and the Limits of SHAP Interpretability

be considered the best immunogenicity predictor (Nibeyro et al., 2023). That benchmark motivates this work in two ways. First, if purpose-built predictors perform close to chance, it is worth establishing what general-purpose supervised classifiers achieve on the same data, under a validation protocol strict enough that the estimate can be trusted. Second, it makes the question of which features carry signal more pressing than the question of which predictor to adopt. As Auslander et al. (2021) remark, the utility of machine learning in bioinformatics ultimately depends on the rigor of the entire pipeline, from careful dataset curation and sequence representation through to robust evaluation and result interpretability — a concern this study takes as its starting point rather than its conclusion.

Contributions. This paper makes three methodological contributions, which together yield two results that run against current practice in this field.

The first is a controlled benchmark of sixty machine-learning models (Sections 7.2–7.3): twelve classifier families, each in five configurations, compared on ITSNdb under a single protocol in which the data used to choose a configuration are never the data used to score it. The second is an interpretability study combining SHAP with feature ablation (Sections 7.4.1 and 7.4.2): SHAP is applied to all twelve families rather than to one, and the full cross-validation protocol is repeated over four feature sets, so that what each model attributes to a feature can be compared with what that feature contributes. The third is a shuffled-label control for SHAP on categorical features (Section 7.4.3): each categorical column is randomly permuted, preserving its number of categories while destroying any link to the outcome, and the SHAP analysis is repeated, so that the share a feature earns under this control is the share it earns from nothing.

These lead to two novel results. First, the classical linear models outperform the more complex ones. LDA, LR and SGD lead the ranking, while the gradient-boosted ensembles and neural networks that recent work favours bring no advantage, and the inner-loop capacity curves explain why: 199 peptides support very little model complexity. Second, SHAP can fail on categorical features. The ablation establishes the presenting HLA allele as the dominant input, removing it costs every one of the twelve families, while the source gene is dispensable. SHAP reports the opposite, and divides the twelve families into two opposed groups: every model giving each gene its own weight ranks the source gene first, with 68.7% to 81.7% of the total, while every tree-based model assigns it almost nothing (at most 3.7%). Shuffling the gene labels at random reproduces that share in full, so it measures only that ITSNdb contains 173 genes for 199 peptides. To our knowledge this is the first report of the effect in neoantigen immunogenicity prediction, where SHAP over categorical annotations is becoming standard practice; the control is simple, general, and we describe it in full so that it can be reused.

References (45)