Related Experiment Video
Updated: Jun 23, 2025

An R-Based Landscape Validation of a Competing Risk Model
Published on: September 16, 2022
Explainable text-tabular models for predicting mortality risk in companion animals
James Burton1, Sean Farrell2, Peter-John Mäntylä Noble3
1Department of Computer Science, Durham University, Durham, UK. james.burton@durham.ac.uk.
Abstract:
As interest in using machine learning models to support clinical decision-making increases, explainability is an unequivocal priority for clinicians, researchers and regulators to comprehend and trust their results. With many clinical datasets containing a range of modalities, from the free-text of clinician notes to structured tabular data entries, there is a need for frameworks capable of providing comprehensive explanation values across diverse modalities. Here, we present a multimodal masking framework to extend the reach of SHapley Additive exPlanations (SHAP) to text and tabular datasets to identify risk factors for companion animal mortality in first-opinion veterinary electronic health records (EHRs) from across the United Kingdom. The framework is designed to treat each modality consistently, ensuring uniform and consistent treatment of features and thereby fostering predictability in unimodal and multimodal contexts. We present five multimodality approaches, with the best-performing method utilising PetBERT, a language model pre-trained on a veterinary dataset. Utilising our framework, we shed light for the first time on the reasons each model makes its decision and identify the inclination of PetBERT towards a more pronounced engagement with free-text narratives compared to BERT-base's predominant emphasis on tabular data. The investigation also explores the important features on a more granular level, identifying distinct words and phrases that substantially influenced an animal's life status prediction. PetBERT showcased a heightened ability to grasp phrases associated with veterinary clinical nomenclature, signalling the productivity of additional pre-training of language models.
Related Concept Videos
Life Tables
Actuarial Approach
Consider the example of a high-risk surgical procedure with significant early-stage mortality. A two-year clinical study is conducted,...
Assumptions of Survival Analysis
Mechanistic Models: Compartment Models in Individual and Population Analysis
Cancer Survival Analysis
Comparing the Survival Analysis of Two or More Groups

