Skip to main content
The Veterinary Quarterly logoLink to The Veterinary Quarterly
. 2026 Aug 3;46(1):2705200. doi: 10.1080/01652176.2026.2705200

AI-assisted post-mortem classification of vehicle trauma in free-roaming cats using transformer-based large language models

Hyunji Jo a,1, Ji-Su Baek b,1, Donghee Lee a, Ah-Young Kim b, Kyunghyun Lee b, Bok-kyung Ku b, Adam W Stern c, Jong Hyuk Kim a,d,e,f,*
PMCID: PMC13435293  PMID: 42544936

Abstract

Veterinary forensic science is a specialized discipline that investigates non-natural animal deaths and injuries. Determining the cause of death in free-roaming cats often presents challenges due to underdeveloped pattern recognition methods and the intricate interplay of events and contributing factors. The integration of natural language processing into forensic investigations may offer potential for the computerized automation of document analysis, with the goal of supporting investigational decision-making. The objective of this study was to develop an AI framework leveraging a transformer-based large language model (LLM) to classify veterinary forensic autopsy reports derived from 271 feline autopsies and to identify the causes of death. We first identified discriminative lexical patterns between vehicular trauma (VT; n = 111) and non-VT cases (n = 160) using Term Frequency-Inverse Document Frequency analysis. The best-performing model, based on Clinical-Longformer, achieved an accuracy of 0.945, precision of 0.885, recall of 1.000, F1 score of 0.939, and AUC-ROC of 0.950. Model interpretability using Integrated Gradients revealed that VT cases were characterized by terms associated with traumatic physical injuries, whereas non-VT cases exhibited a broader range of diagnostic descriptions. These findings demonstrate the feasibility of applying LLMs to veterinary forensic pathological texts and underscore the importance of domain-specific token interpretation for model explainability.

Introduction

Free-roaming cats (FRCs) are at high risk of exposure to traffic-related accidents, such as hit-by-car, as well as human-inflicted violence (Bruce et al. 2019; Tan et al. 2020). Both scenarios often require forensic investigations to be performed, particularly in cases where the public or law enforcement suspect animal abuse and the possibility of future legal proceedings (Loss et al. 2013; Watson 2018). The field of veterinary forensic science is gaining prominence amid growing concerns for animal welfare, increasing societal awareness, and a rising demand for integrated medical expertise (Cooper and Cooper 2008; Ottinger et al. 2014; Doukas 2022; Aradilla et al. 2025). For example, a 2016 survey of board-certified veterinary pathologists felt that their training has not adequately prepared them to handle forensic cases (McEwen and McDonough 2016).

Veterinary forensic science encompasses a multi-disciplinary approach, drawing on pathology, entomology, analytic chemistry, toxicology, and genetics (Bagsby et al. 2024). Veterinary forensic pathology is a specialised domain that plays a vital role in the professional examination of animal deaths and injuries, especially in cases involving trauma, poisoning, disease, or other life-threatening events (Brownlie and Munro 2016; Stern and Sula 2018). When investigating the unexplained deaths of FRCs, it is essential to distinguish between accidental causes and intentional harm (Kihara et al. 2024; Gilbert et al. 2026). However, differentiating between injuries caused by vehicular trauma (VT) and those resulting from human-inflicted violence and in some instances, predation can be particularly challenging (Intarapanich et al. 2016; Gilbert et al. 2026). This difficulty arises from the overlapping characteristics of blunt force trauma associated with motor vehicle collisions and physical assaults by humans (O'Donovan et al. 2022). A significant compounding challenge is the frequent lack of critical information from the scene, such as physical evidence, eyewitness accounts, or surveillance video, which are often vital for accurate forensic interpretation (Gilbert et al. 2026). In some cases, the complexity increases when both types of trauma are present; for example, when an animal is physically abused and subsequently struck by a vehicle, or vice versa (Intarapanich et al. 2016; O'Donovan et al. 2022). One author (AWS) has investigated several cases where the animals were intentionally struck by a vehicle, and further investigations revealed the intentional nature of the incidents.

Forensic reports are primarily text-based narrative documents summarising gross findings from the autopsy, supplemented by radiographic imaging, histopathological assessments, and ancillary analytic tests, when necessary (Bolliger et al. 2008; Schweitzer et al. 2014; Dedouit et al. 2025; Golomingi et al. 2025). The unstructured nature of forensic reports poses challenges for large-scale data analysis, retrospective review, on-demand document retrieval, statistical evaluation, and the identification of key forensic features in specific cases (Golomingi et al. 2025; Skipanes et al. 2025). In the digital era, scientific documentation is increasingly being transformed into computation-friendly formats, revolutionising many scientific domains (Amiraslani and Dragovich 2022; Gordon et al. 2022). Within forensic pathology, the standardisation of report formats and consistent documentation practices offers significant benefits (Ong and Milne 2009; de Boer et al. 2022; Van Den Bogaert et al. 2025). These include improved quality control, enhanced global collaboration, and better outcomes for stakeholders (Meilia et al. 2021; O'Keefe et al. 2025). Standardisation also helps mitigate potential conflicts, strengthens legal protections, and reduces the risk of harm to both human and animal victims (Meilia et al. 2021). However, narrative text remains difficult to parse automatically, not only in forensic science but also across medicine, due to semantic ambiguity and lack of fielded data, which hinders interoperability with computational models (Awaysheh et al. 2018).

Artificial intelligence (AI) technology is transforming virtually every discipline and aspect of society through digital innovation. One area of significant advancement is AI-driven text analysis, which has progressed rapidly through natural language processing (NLP), particularly with transformer-based large language models (LLMs) such as BERT and Longformer. These models have demonstrated strong potential in extracting meaningful patterns from clinical texts in human medicine (Devlin et al. 2019; Lyu et al. 2022; Li et al. 2023). In this study, we applied NLP techniques to analyse veterinary forensic autopsy reports and employed Clinical-Longformer, a domain-adapted transformer model optimised for medical text. To improve the interpretability of model predictions within sensitive forensic contexts, we incorporated explainable AI methods, specifically Integrated Gradients.

Here, we demonstrate a novel AI-driven workflow capable of distinguishing VT and non-VT fatalities in FRCs, providing a foundation for enhanced forensic applications and broader adoption of AI in veterinary forensic investigations. Importantly, our model was designed to evaluate the potential of AI models as a decision‑support tool for veterinary forensic pathologists, helping to highlight possibly overlooked features in narrative reports. This study also offers insights into how such as model might function as a quality control mechanism, assist in triaging cases for further investigation, and enable retrospective classification to improve case management and support research efforts.

Methods

Case selection

Deceased FRCs were submitted to the ‘A Cat Has No Name’ (ACHNN) programme at the University of Florida (UF) College of Veterinary Medicine, United States, from August 2020 to December 2024. Briefly, the ACHNN programme is a free service dedicated to the postmortem examination of FRCs and all forensic autopsies were performed by a board-certified veterinary pathologist. The forensic autopsy reports of cats were analysed to determine the cause of death, which was classified as either hit-by-car (i.e. VT) or non-VT. VT cases included animals confirmed as hit-by-car by the submitter (i.e. traumatic event was observed) and animals with autopsy findings suggestive of hit-by-car, based on our standard diagnostic criteria. These criteria were primarily derived from gross findings, including characteristic trauma patterns such as frayed claws, fractures consistent with vehicular impact, and soft tissue injuries. When available, radiographic and histologic analyses were reviewed to support the diagnosis, but classification did not rely exclusively on these ancillary tests. Non-VT cases encompassed a wide range of injuries and natural diseases, including bite and fall injuries, bacterial infections, and poisoning. Each report included the following fields: Submitter Name, Case Number, Submitter Agency, Patient Name, Gross Findings, Gross Diagnoses, and Comments. For rigorous modelling, we also used autopsy cases of deceased FRCs submitted to the Animal Disease Diagnostic Division of the Animal and Plant Quarantine Agency (APQA) in the Republic of Korea from 2019 to 2025. The original reports, written in Korean, were translated into English and reformatted to align with the structure of UF’s ACHNN reports. This study did not require approval from the Institutional Animal Care and Use Committee as all samples were collected postmortem and none of the animals were euthanized for purposes related to this study.

Data preparation and pre-processing

For this study, we extracted the Comments section to identify distinctive keywords for each class, and utilised the Gross Diagnoses section as input for cause-of-death classification (i.e. VT vs non-VT). This approach generated two datasets: (1) annotated necropsy comments (final_all_comment.xlsx) and (2) gross diagnoses (diagnoses.xlsx). Each entry was labelled as either VT-related (Label 1) or non-VT (Label 0). Texts were lemmatised and tokenized using Natural Language Toolkit (NLTK), and stopwords were removed.

The dataset comprises 271 forensic investigation reports, including 111 cases categorised as VT cases (74 from the ACHNN programme and 37 from APQA) and 160 cases as non-VT cases (88 from the ACHNN programme and 72 from APQA). The cause of death was labelled as 1 for cases confirmed as VT, and 0 for non-VT causes. Following the preprocessing approach described in the previous study (Li et al. 2023), the Comments text was lowercased and concatenated into a single paragraph without line breaks or additional whitespace. The Gross Diagnoses text was used as-is without additional preprocessing. The dataset was split into training, validation, and test sets in a 60:20:20 ratio.

Term Frequency-Inverse Document Frequency (TF-IDF) analysis

To identify discriminative terms between the two groups, TF-IDF analysis was applied to both the Comments and Gross Diagnoses datasets. The preprocessing steps include lowercasing, word tokenization, alphabet filtering, lemmatization, and removal of English stop words. TF-IDF scores were computed based on unigrams. For each term, the mean TF-IDF score across all documents was calculated. The top 30 words with the highest average TF-IDF scores were then visualised as word clouds separately for each group.

Tokenizer and model initialisation

We employed the Clinical-Longformer model (yikuan8/Clinical-Longformer) for binary classification. The Gross Diagnoses texts were tokenized using the corresponding tokenizer with a maximum input length of 512 tokens, applying truncation and padding as needed. Tokenization was performed separately for the training, validation, and test sets. To ensure compatibility with the model input requirements, we computed the average and maximum token lengths for each split. The average token lengths were approximately 280 for training, 179 for validation, and 310 for testing, with no instance exceeding the 512-token limit.

Hyperparameter optimisation

To optimise model performance, we conducted hyperparameter tuning using the Optuna framework integrated with the Hugging Face Trainer API. A total of 81 hyperparameter combinations were evaluated, with a categorical search space defined for learning rate ([1e-5, 3e-5, 5e-5]), batch size ([8, 16, 32]), number of training epochs ([5, 10, 20]), and weight decay ([0.0, 0.001, 0.01]). The optimisation objective was the weighted F1-score on the validation set. For each trial, the model was trained and evaluated on the predefined training and validation splits, which internally employs the AdamW optimiser and the BCEWithLogitsLoss function by default for binary classification. Training arguments were kept constant across all trials, including a fixed random seed (42) to ensure reproducibility. The decision threshold was optimised using F1-score maximisation and Youden’s J statistic. The best-performing hyperparameter configuration was recorded for subsequent training and analysis.

Training and validation procedure

We fine-tuned the Clinical-Longformer model for binary classification of cause of death using the Gross Diagnoses text (Li et al. 2023). The model was trained with a batch size of 8, learning rate of 2e-5, weight decay of 0.01, and up to 10 training epochs. Early stopping with a patience of 3 was applied to prevent overfitting. Model performance on the training and validation sets was evaluated using accuracy as the primary metric. The best model was selected based on the lowest validation loss, and a fixed random seed of 42 was used to ensure reproducibility.

Model evaluation

Model performance was evaluated on the hold-out test set using the optimal classification threshold of 0.50. For evaluation, we reported accuracy, precision, recall, and F1-score, all computed with weighted averaging to account for class imbalance. Additionally, the area under the receiver operating characteristic (ROC) curve (AUC-ROC) was calculated based on the predicted probabilities. A confusion matrix and ROC curve were generated to visualise model performance. All misclassified samples (false positives and false negatives), including predicted labels and probabilities, were saved for further error analysis.

Interpretability analysis using Integrated Gradients (IG)

To enhance model interpretability, we applied the IG method to the test set (Lyu et al. 2022; Wang et al. 2024). The IG attribution scores were computed for each token by integrating gradients with respect to the model embedding layer over 20 steps. For each class (Label = 0 and Label = 1), we calculated the average IG scores for all tokens across the correctly classified samples. Tokens corresponding to special characters or stopwords were filtered out to focus on semantically meaningful words. The top 20 tokens with the highest average IG scores were selected for each classification group and visualised using word clouds to highlight the most influential features contributing to model predictions. The attributions were aggregated per token, and the top 3 most influential tokens were colour-coded in red based on their IG scores. An HTML table was constructed to display the true label, predicted label, and highlighted tokens to illustrate which words the model considered most decisive in its prediction. This visualisation enables qualitative analysis of model decision-making behaviour, facilitating the identification of class-discriminative lexical cues.

Computational environment

All experiments were conducted using the PyTorch 2.6.0 framework with CUDA 12.4. The models were trained on an NVIDIA A100 GPU via the UF HiPerGator cluster environment. Tokenization and training were implemented using transformers 4.48.3 and datasets 3.3.2. Other dependencies include scikit-learn 1.6.1, captum 0.8.0, and Python 3.10.16.

Results

TF-IDF analysis reveals distinct lexical patterns in feline forensic autopsy reports

To assess the readability and lexical structure of the feline forensic reports, we extracted key terms to determine whether the text features were interpretable to humans, particularly in the context of determining the cause of death related to traffic accidents. For this analysis, terms were independently extracted from two major sections of the reports, Comments and Gross Diagnoses, with a representative example of each institutional report provided in Supplementary Figures S1 and S2. First, our TF-IDF analysis revealed distinct lexical patterns between VT and non-VT cases in the Comments section. Specifically, our initial analysis showed that reports classified as VT group frequently included high-scoring terms such as “trauma,” “fracture,” and “vehicular,” reflecting language commonly used to describe hit-by-car incidents (Supplementary Figure S3A). In contrast, non-VT cases were characterised by terms such as “testing,” “feline,” “urine,” “wound,” and “barbiturate,” indicating a broader range of general terms and investigative purposes (Supplementary Figure S3B). When we excluded general words common to both groups, such as “cat,” “feline,” “testing,” and “multiple,” the distinct patterns remained, further highlighting trauma-related words (Figure 1).

Figure 1.

A two panel figure shows word clouds and tables of top 30 words for VT group and non-VT group, with average TF-IDF values. The two panel figure shows word clouds and tables of top 30 words for VT group and non-VT group. Panel A, labelled VT group, displays a word cloud where "trauma," "fracture," "case," and "injury" are prominent. Below the word cloud, a table lists the top 30 words for the VT group, with "trauma" having an average TF-IDF of 0.0887, "case" 0.0542, "injury" 0.0529, and "fracture" 0.0520. Panel B, labelled Non-VT group, presents a word cloud with "trauma," "test," "injury," and "severe" as the largest words. Below this word cloud, a table lists the top 30 words for the non-VT group, with "trauma" having an average TF-IDF of 0.0479, "test" 0.0466, "injury" 0.0438, and "severe" 0.0411. Both tables show words ranked by decreasing average TF-IDF values.

TF-IDF analysis of the “Comments” section in veterinary forensic reports on FRCs. WordCloud visualises the top 30 most frequent commentary terms for VT cases (A) and non-VT cases (B).

Next, in the Gross Diagnoses section, the TF-IDF scores revealed differential patterns in pathology-related terms between the two groups. VT cases were associated with terms such as “fracture,” “skull,” “laceration,” “claw,” “rib,” and “bone,” while non-VT cases featured terms including “wound,” “flea,” “intestine,” and “effusion,” and “hyperaemia” (Supplementary Figure S4). When we excluded general words commonly found in both groups, such as “acute,” “haemorrhage,” “multifocal,” “focal,” “associated,” “moderate,” “severe,” “right,” “left,” “multiple,” and “mild,” the patterns became more distinct, highlighting trauma-related diagnoses (Figure 2).

Figure 2.

A two panel figure shows word clouds and ranked lists of top 30 words for VT and non-VT groups, with TF-IDF values. The two panel figure shows word clouds and ranked lists of top 30 words for VT and non-VT groups. Panel A displays a word cloud for the VT group, with larger words like fracture, skull, cavity, lung, and skin indicating higher frequency. Below the word cloud is a list of the top 30 words for the VT group, each with its average TF-IDF value. Fracture has the highest TF-IDF at 0.1213, followed by skull at 0.0655, and cavity at 0.0567. The values generally decrease down the list. Panel B displays a word cloud for the non-VT group, with larger words like body, diffuse, fracture, lung, and puncture. Below this word cloud is a list of the top 30 words for the non-VT group, each with its average TF-IDF value. Body has the highest TF-IDF at 0.0626, followed by diffuse at 0.0592, and fracture at 0.0555. The values generally decrease down the list.

TF-IDF analysis for “Gross diagnoses” section in veterinary forensic reports on FRCs. WordCloud visualises the top 30 most frequent pathology-related terms for VT cases (A) and non-VT cases (B).

These findings indicate that the forensic autopsy reports used in this study were documented in a consistent format and contained identifiable lexical patterns associated with the causes of death in FRCs. The results suggest that lexical features within these reports can serve as effective discriminative signals for cause-of-death classification. Also, they highlight the utility of TF-IDF analysis in generating descriptive statistics and uncovering class-specific terminology.

Clinical-Longformer enables the classification of forensic autopsy reports by cause of death in cats

Subsequently, to establish AI-driven classification models for determining causes of death in cats, the Clinical-Longformer model was fine-tuned to distinguish between VT and non-VT cases using textual descriptions from the Gross Diagnoses section of forensic reports (dataset splits are shown in Figure 3A. Training accuracy increased steadily from 0.858 to 1.000 by the fifth epoch, indicating effective learning through early stopping and hyperparameter tuning (Figure 3B). Concurrently, training loss decreased from 0.445 to 0.003. Validation accuracy exhibited minor fluctuations but trended upward, ranging from 0.778 and 0.889 by the fifth epoch (Figure 3C). Validation loss showed greater variability, starting at 0.507 and decreasing to below 0.375. Based on these trends, the model checkpoint from epoch 2 was selected for testing. On the 20% hold-out test dataset, the model demonstrated strong and well-balanced performance, achieving an accuracy of 0.946, precision of 0.885, recall of 1.000, and F1-score of 0.939 (Figure 3D). The confusion matrix revealed balanced classification across both classes, with zero false negative and three false positives among the 55 test sets (23 VT and 32 non-VT cases) (Figure 3E). This performance was obtained using an optimised decision threshold of 0.50. The discriminative ability of the model was further supported by an AUC-ROC of 0.950 (Figure 3F). These results demonstrate that Clinical-Longformer can be effectively trained on structured forensic text data to distinguish between VT and non-VT causes of death in cats. Our model also showed strong and well-balanced performance on independent hold-out test datasets. Such robust performance across datasets obtained from two institutions indicates the potential of the model for generalisation, advancing AI-driven applications in veterinary forensic pathology.

Figure 3.

Six panel figure: sample distributions, training/validation curves, test performance, confusion matrix, and AUC ROC curve. The six panel figure shows sample distributions across dataset splits, training and validation curves, test performance metrics, a confusion matrix, and an AUC ROC curve. Panel A presents a table of sample distributions for UF and APQA datasets, showing training, validation, and test counts, with totals. Panel B displays a line graph of training accuracy and training loss versus epoch. Training accuracy increases from 0.8 to 1.0, then plateaus. Training loss decreases from 0.4 to 0.0, then plateaus. Panel C shows a line graph of validation accuracy and validation loss versus epoch. Validation accuracy fluctuates between 0.7 and 0.9. Validation loss fluctuates between 0.2 and 0.5. A red arrow points to epoch 2, labelled Model chosen. Panel D presents a table of test performance metrics: Accuracy 0.946, Precision 0.886, Recall 1.000, F1-Score 0.939, ROC-AUC 0.950. Panel E displays a confusion matrix with True Label on the vertical axis and Predicted Label on the horizontal axis. Non-VT group has 29 true positives and 3 false positives. VT group has 0 false negatives and 23 true positives. Panel F shows an AUC ROC curve. The curve rises sharply from 0.0 to 1.0 True Positive Rate, then plateaus. A dashed diagonal line represents random chance. The AUC ROC value is 0.950.

Test performance evaluation of the Clinical-Longformer model for classifying VT and non-VT feline forensic cases. Panels show test performance metrics (A), confusion matrix (B), and AUC-ROC curve (C).

IG tool enhances model interpretability

To interpret the model predictions, we applied IG technique to the test set. From this analysis, the top 30 tokens with the highest average IG attribution scores were extracted for each class, revealing distinct lexical patterns with some overlap (Figure 4). In VT cases, the most influential tokens were associated with traumatic physical injuries, including “fracture,” “injury,” and “trauma.” Other prominent tokens included “laceration,” “frontal,” “spinal,” “skull,” “brain,” and “bone,” all suggestive of damage and diagnostic observations related to the skeleton. While “fracture” was also common in non-VT cases, they featured terms such as “tooth,” “pubis,” “mandible,” and “avulsion,” indicating a wide range of trauma sources or conditions potentially resulting from falls or other accidents. The model highlighted “fracture” as a key token for both classes, but the attribution scores differed, suggesting that the interpretation of the model is influenced by contextual and co-occurring terms.

Figure 4.

A two panel figure shows word clouds and tables for VT and non-VT groups, detailing token importance in model predictions. The two panel figure presents word clouds and corresponding tables, arranged side by side. Panel A, labelled VT group, displays a word cloud with terms like fracture, injury, trauma, and laceration prominently. Below the word cloud, a table lists tokens and their average IG scores. Fracture has a score of 1.1484, injury 0.9111, trauma 0.8393, laceration 0.5962, and frontal 0.5455. Panel B, labelled Non-VT group, shows a word cloud with fracture, Tooth, and pubis as prominent terms. Below this word cloud, a table lists tokens and their average IG scores. Fracture has a score of 1.2552, Tooth 0.4033, pubis 0.3375, mandible 0.2758, and avulsion 0.2748. Both tables continue with additional tokens and their respective scores.

IG analysis of token importance in model predictions. WordCloud visualises the top 20 influential tokens contributing to predictions for VT cases (A) and non-VT cases (B).

Token-level visualisation highlights discriminative features between VT and non-VT feline cases

To further enhance the model interpretability, we generated token-level IG visualisations for individual test samples. Word importance was computed using IG data, and the top three most influential tokens were highlighted in red to provide insight into the reasoning for model predictions (Supplementary Table S1). Among the 52 correctly predicted cases, the mean predicted probability was 0.951 for VT cases (SD = 0.017) and 0.048 for non-VT cases (SD = 0.026), indicating strong confidence in distinguishing between the two groups (Figure 5). Three non-VT cases were misclassified as VT, with predicted probabilities of 0.925, 0.961, and 0.962, respectively. All three cases involved blunt force trauma, and IG visualisations highlighted terms such as “fractures,” “age,” “acute,” and “tooth,” which may have contributed to their misclassification as VT (Table 1). These findings provide human-interpretable insights into the decision-making process and demonstrate that the model attends to features associated with established forensic indicators, supporting the pathological plausibility of its predictions.

Figure 5.

A scatter plot shows predicted probability for test data, highlighting correctly and incorrectly classified cases. The scatter plot titled Test data displays predicted probability on the vertical axis from 0.0 to 1.0 and two categories on the horizontal axis: VT (n equals 23) and Non-VT (n equals 32). A legend indicates that blue outlines represent correctly predicted cases and red outlines represent incorrectly predicted cases. For the VT category, 23 data points are clustered between 0.9 and 1.0 on the vertical axis, enclosed by a blue rectangle, indicating correctly predicted VT cases. For the Non-VT category, 32 data points are clustered between 0.0 and 0.2 on the vertical axis, enclosed by a blue rectangle, indicating correctly predicted Non-VT cases. Three data points are shown at approximately 0.95 on the vertical axis, above the Non-VT category. These three points are enclosed by a red rectangle, indicating incorrectly predicted cases. A red arrow points from this red rectangle to a text box that reads: Incorrectly predicted as VT (n equals 3): APQA Case number 1 (Blunt force trauma), UF Case number 1 (Blunt force trauma), UF Case number 2 (Blunt force trauma).

IG-based comparison of VT and non-VT cases with identification of misclassified cases. Plots show predicted probabilities for test data and highlight incorrectly classified cases.

Table 1.

Interpretation of word importance results for incorrectly predicted cases using IG analysis.

graphic file with name TVEQ_A_2705200_UF0001_C.jpg

*Text highlighted in red indicates highly influential features for the model decision.

Discussion

This study demonstrates the utility of transformer-based LLMs in classifying veterinary forensic diagnoses. The Clinical-Longformer model, originally on human clinical text, achieved strong performance on veterinary autopsy reports with domain-specific fine-tuning. Our analyses using TF-IDF and IG identified biologically meaningful terms, enhancing the interpretability of the model. The ability to spotlight key terms within text-based reports may assist pathologists and forensic investigators in reviewing complex cases and discerning patterns across large datasets.

A minimum standards document exists for performing veterinary forensic autopsies, outlining procedures typically applied in the forensics realm, such as DNA analysis, morphology, tyre tracks, fingerprints, human death investigations, and crime scene investigations (Ottinger et al. 2014; AAFS 2026). However, these standards apply only to forensic cases, and most laboratories, pathologists, and general practitioners do not adhere to them in routine practice (Aradilla et al. 2025). In addition, no standardised postmortem protocol currently exists for FRCs worldwide. It is partly due to the lack of systemic survey data and the practical challenges of establishing standards based on the limited cases examined by trained veterinary pathologists (McDonough and McEwen 2016). Financial constraints further limit the investigation of FRC deaths (Ottinger et al. 2014): most funding comes from government or community programmes and it is primarily allocated to spay/neuter procedures, with minimal resources devoted to severely ill or deceased cats. These financial and practical challenges impede substantial progress in determining causes of death in FRCs, leaving the growing societal demand largely unmet. Our study demonstrating AI-powered analysis of FRC autopsy reports offers valuable resources and reference points that support the establishment of practical guidelines for standardising procedures and documenting autopsy findings.

This study confirms that incorporating human-interpretable terms in documents is beneficial for enhancing the utility and interpretability of language models. Word extraction and text mining should prioritise human interpretability, particularly during the initial phases of data preprocessing. Our model was developed within the specialised field of veterinary forensic science and a unique domain within veterinary pathology. In this context, autopsy findings and gross diagnoses are recorded by specially trained veterinary pathologists for forensic investigations, necessitating a consistently structured and standardised textual format. The datasets used in this study were derived from a uniform documentation system across two veterinary forensic laboratories (UF and APQA). Despite the inherent variability and complexity of forensic cases, our multi-institutional study highlights the potential for model generalisability. Another critical area of focus involves necropsies or autopsies performed by general veterinary practitioners in clinical settings. In-depth examinations of the kinds conducted by specialised forensic laboratories in this study are rarely feasible in general practice. In other words, while numerous FRC cases are submitted to local animal clinics, only a small fraction are referred to forensic laboratories for detailed investigation. AI-assisted platforms could help bridge this gap by supporting case interpretation in settings without access to specialised expertise, particularly given that many FRCs may never be evaluated by a board-certified pathologist. In this context, AI-based tools may be integrated into routine workflows as complementary decision-support systems. For example, following completion of a postmortem examination, AI models could serve as a secondary review to compare interpretations and identify potential discrepancies requiring further evaluation. Such tools may also assist non-specialists by providing preliminary assessments and flagging complex cases for referral to forensic pathologists. These applications highlight the potential of AI to improve diagnostic consistency, support clinical decision-making, and expand access to forensic expertise.

A key limitation of this study is that the Clinical-Longformer model learns from token-level features rather than complete words, which can disrupt typographic and linguistic structures such as punctuation, spacing, syllables, and morphemes. As a result, the model may produce word fragments that are not readily interpretable without specialised domain knowledge. This presents challenges for readers outside the field, particularly when interpreting complex medical or domain-specific terminology. For instance, in our study, the IG explainability tool identified tokens like “age” and “hemorrh” (from “haemorrhage”) as influential features. Without the appropriate anatomical or pathological context, these fragments are insufficient to reconstruct the full terms and understand their significance. To mitigate token fragmentation and domain dependency, several practical strategies may be considered, including standardised vocabularies, text normalisation during preprocessing, and domain-specific model training. In addition, structured reporting formats and ontology-based annotation frameworks may improve consistency and alignment between textual inputs and clinically meaningful concepts, thereby enhancing interpretability. Hence, the development and application of such models require active involvement of domain experts, veterinary forensic pathologists in this case, to ensure interpretability and relevance. Their expertise is also important for identifying ambiguous or overlapping terms that may call for further contextual modelling.

Another limitation to acknowledge is that trauma in FRCs can manifest in diverse patterns, and the models developed in this study do not fully account for this variability. For example, traumatic injuries as a result of predation in a kitten may present as circular puncture wounds accompanied by subcutaneous soft tissue tearing. In contrast, projectile trauma may also produce circular external wounds but typically involves track formation with minimal soft tissue disruption. Since both types of trauma, as well as VT, can result in fractures, careful differentiation is required. Other trauma categories, such as gunshot wounds, injuries caused by air gun pellets, and additional predation scenarios, should also be considered in forensic evaluations. Moreover, cases involving animal poisoning, particularly those caused by ethylene glycol or anticoagulants, should be explored, as FRCs are at risk for such injuries. While experienced pathologists may readily recognise these conditions, they can be challenging for practitioners or pathologists who are not routinely engaged in forensic casework. In this regard, future efforts to enhance AI-supported tools may assist veterinarians in interpreting injury patterns, identifying underlying causes, and refining differential diagnoses. Expanding datasets to include a broader spectrum of trauma and non-trauma conditions, along with rigorous external validation using independent datasets, will be beneficial for improving model robustness and better reflecting the complexity of real-world forensic cases. The present study was designed as an initial feasibility assessment using a relatively focused dataset. We anticipate that incorporation of additional case types, larger multi-institutional datasets, and systematic external validation will further strengthen the clinical and forensic applicability of AI-based approaches.

Furthermore, it is important to note that, in the specific context of FRC forensic cases, trauma is commonly encountered, and it is essential not only to identify its presence but also to determine the underlying cause of the injuries. Submitters or reporters of FRCs often seek confirmation of intentional harm, placing forensic investigators under a legal obligation to remain neutral in interpreting examination results. It is therefore imperative to secure scientific evidence that can both support and refute such allegations. The implementation of AI-assisted systems in this domain must be guided by rigorous ethical and legal considerations, including the establishment of appropriate rules and regulations to govern their development and real-world application.

In conclusion, this study demonstrates that transformer-based LLMs, when paired with text analysis and explainability tools, offer a powerful framework for automating and interpreting veterinary forensic diagnostics. Although our AI models are still in the early stages of development, once fully developed, they may also offer timely, localised insights for general practitioners and other stakeholders. Future work should explore domain-specific pretraining and multi-label classification to enhance model performance and maximise the utility of AI across a broader range of investigational categories.

Supplementary Material

Supple_Tableclean.xlsx

Supple_Tableclean.xlsx

Supple_Figs.docx

Supple_Figs.docx

Acknowledgements

We acknowledge the UF HiPerGator Research Computing for computational resources and technical support.

All authors reviewed the final manuscript, approved its submission, and agree to be accountable for all aspects of the work.

Funding Statement

This work was partly supported by the UF Foundation ‘A Cat Has No Name’ fund and the UF AI Initiative. This work was also supported by a grant (I-1543069-2024-26-01) from the Animal and Plant Quarantine Agency (APQA), Ministry of Agriculture, Food and Rural Affairs, Republic of Korea.

Disclosure statement

No potential conflict of interest was reported by the author(s).

Data availability statement

The original contributions presented in this study are included in the manuscript and the supplementary data. Further inquiries can be directed to the corresponding author. The data supporting the conclusions of this article may be made available by the corresponding author upon request, subject to institutional guidelines and a data use agreement.

Supplementary material

Supplemental data for this article can be accessed at https://doi.org/10.1080/01652176.2026.2705200.

References

  1. AAFS . 2026. American Academy of Forensic Sciences Academy Standards Board. https://www.aafs.org/academy-standards-board
  2. Amiraslani F, Dragovich D. 2022. A review of documentation: a cross-disciplinary perspective. World. 3(1):126–145. 10.3390/world3010007 [DOI] [Google Scholar]
  3. Aradilla N, De Pablo-Moreno JM, Porras N, Chinchilla B, Rodríguez-Bertos A. 2025. Evolution of suspected cat abuse between 2020 and 2024 in the community of Madrid (Spain). Animals (Basel). 15(19):2892. 10.3390/ani15192892 [DOI] [PMC free article] [PubMed] [Google Scholar]
  4. Awaysheh A, Wilcke J, Elvinger F, Rees L, Fan W, Zimmerman K. 2018. A review of medical terminology standards and structured reporting. J Vet Diagn Invest. 30(1):17–25. 10.1177/1040638717738276 [DOI] [PMC free article] [PubMed] [Google Scholar]
  5. Bagsby K, Stern AW, Hans KR. 2024. Feline forensics: revealing the unique decomposition of cats. Animals (Basel). 14(7):996. 10.3390/ani14070996 [DOI] [PMC free article] [PubMed] [Google Scholar]
  6. Bolliger SA, Thali MJ, Ross S, Buck U, Naether S, Vock P. 2008. Virtual autopsy using imaging: bridging radiologic and forensic sciences. A review of the virtopsy and similar projects. Eur Radiol. 18(2):273–282. 10.1007/s00330-007-0737-4 [DOI] [PubMed] [Google Scholar]
  7. Brownlie HW, Munro R. 2016. The veterinary forensic necropsy: a review of procedures and protocols. Vet Pathol. 53(5):919–928. 10.1177/0300985816655851 [DOI] [PubMed] [Google Scholar]
  8. Bruce SJ, et al. 2019. Predation and risk behaviors of free-roaming owned cats in auckland, New Zealand via the use of animal-borne cameras. Front Vet Sci. 6:205. 10.3389/fvets.2019.00205 [DOI] [PMC free article] [PubMed] [Google Scholar]
  9. Cooper JE, Cooper ME. 2008. Forensic veterinary Medicine: a rapidly evolving discipline. Forensic Sci Med Pathol. 4(2):75–82. 10.1007/s12024-008-9036-x [DOI] [PubMed] [Google Scholar]
  10. de Boer HH, Fronczek J, Berger CEH, Sjerps M. 2022. The logic of forensic pathology opinion. Int J Legal Med. 136(4):1027–1036. 10.1007/s00414-021-02754-1 [DOI] [PubMed] [Google Scholar]
  11. Dedouit F, et al. 2025. The current state of forensic imaging - perspectives. Int J Legal Med. 139(6):2819–2827. 10.1007/s00414-025-03466-6 [DOI] [PMC free article] [PubMed] [Google Scholar]
  12. Devlin J, Chang M-W, Lee K, Toutanova K. 2019. BERT: pre-training of deep bidirectional transformers for language understanding. HLT-NAACL. 1:4171–4186. 10.18653/V1/N19-1423 [DOI] [Google Scholar]
  13. Doukas D. 2022. Non-accidental injuries in dogs and cats: review of post-mortem forensic evaluations and the social significance of small animal practice. J Hellenic Vet Med Soc. 73(1):3543–3552. 10.12681/jhvms.23296 [DOI] [Google Scholar]
  14. Gilbert JF, Aysu JE, Tóth I, Szilasi A, Mándoki M. 2026. Veterinary forensic pathology in the investigation of animal cruelty: post-mortem insights, forensic tools, case studies, and legal perspectives. Animals (Basel). 16(5):785. 10.3390/ani16050785 [DOI] [PMC free article] [PubMed] [Google Scholar]
  15. Golomingi R, Ebert L, Ehrlich C, Franckenberg S. 2025. Big data in forensic Medicine - development of a first forensic pathology database. Aust J For Sci. 58:1–7. 10.1080/00450618.2025.2503794 [DOI] [Google Scholar]
  16. Gordon ID, et al. 2022. Information seeking behaviors, attitudes, and choices of academic physicists. Sci Technol Libr. 41(3):288–318. 10.1080/0194262X.2021.1991546 [DOI] [Google Scholar]
  17. Intarapanich NP, McCobb EC, Reisman RW, Rozanski EA, Intarapanich PP. 2016. Characterization and comparison of injuries caused by accidental and non-accidental blunt force trauma in dogs and cats. J Forensic Sci. 61(4):993–999. 10.1111/1556-4029.13074 [DOI] [PubMed] [Google Scholar]
  18. Kihara Y, et al. 2024. Utility and limitations of postmortem computed tomography in animal abuse suspected cases: a case series study of cats. Foren Imag. 37:200587. 10.1016/j.fri.2024.200587 [DOI] [Google Scholar]
  19. Li Y, Wehbe RM, Ahmad FS, Wang H, Luo Y. 2023. A comparative study of pretrained language models for long clinical text. J Am Med Inform Assoc. 30(2):340–347. 10.1093/jamia/ocac225 [DOI] [PMC free article] [PubMed] [Google Scholar]
  20. Loss SR, Will T, Marra PP. 2013. The impact of free-ranging domestic cats on wildlife of the United States. Nat Commun. 4:1396. 10.1038/ncomms2380 [DOI] [PubMed] [Google Scholar]
  21. Lyu W, et al. 2022. A multimodal transformer: fusing clinical notes with structured EHR data for interpretable in-hospital mortality prediction. AMIA Annu Symp Proc. 2022:719–728. [PMC free article] [PubMed] [Google Scholar]
  22. McDonough SP, McEwen BJ. 2016. Veterinary forensic pathology: the search for truth. Vet Pathol. 53(5):875–877. 10.1177/0300985816647450 [DOI] [PubMed] [Google Scholar]
  23. McEwen BJ, McDonough SP. 2016. A survey of attitudes of board-certified veterinary pathologists to forensic veterinary pathology. Vet Pathol. 53(5):1099–1102. 10.1177/0300985815625756 [DOI] [PubMed] [Google Scholar]
  24. Meilia PDI, et al. 2021. The PERFORM-P (Principles of Evidence-based Reporting in FORensic Medicine-Pathology version). Forensic Sci Int. 327:110962. 10.1016/j.forsciint.2021.110962 [DOI] [PubMed] [Google Scholar]
  25. O'Donovan S, van den Heuvel C, Baldock M, Byard RW. 2022. Causes of fatalities in motor vehicle occupants: an overview. Forensic Sci Med Pathol. 18(4):511–515. 10.1007/s12024-022-00503-3 [DOI] [PMC free article] [PubMed] [Google Scholar]
  26. O'Keefe G, Presler-Jur P, Kolnik J, Albertson K, Philbrick S, Scalise PA. 2025. Forensic examiner technology to enhance documentation and data collection standardization: a narrative review. J Forensic Nurs. 22(2):E168. 10.1097/JFN.0000000000000610 [DOI] [PubMed] [Google Scholar]
  27. Ong BB, Milne N. 2009. Quality assurance in forensic pathology. Malays J Pathol. 31(1):17–22. [PubMed] [Google Scholar]
  28. Ottinger T, et al. 2014. Forensic veterinary pathology, today's situation and perspectives. Vet Rec. 175(18):459–459. 10.1136/vr.102306 [DOI] [PubMed] [Google Scholar]
  29. Schweitzer W, Bartsch C, Ruder TD, Thali MJ. 2014. Virtopsy approach: structured reporting versus free reporting for PMCT findings. JOFRI. 2(1):28–33. 10.1016/j.jofri.2013.12.002 [DOI] [Google Scholar]
  30. Skipanes M, Demartini G, Franke K, Nissen AB. 2025. Information analysis in criminal investigations: methods, challenges, and computational opportunities processing unstructured text. Policing: A J Policy Pract. 19:paaf005. 10.1093/police/paaf005 [DOI] [Google Scholar]
  31. Stern AW, Sula M-J. 2018. Forensic necropsy. In: Rogers ER, Stern AW, editors. Veterinary Forensics: Investigation, Evidence Collection, and Expert Testimony. USA CRC Press: Boca Raton, FL. p 185–223. [Google Scholar]
  32. Tan SML, Stellato AC, Niel L. 2020. Uncontrolled outdoor access for cats: an assessment of risks and benefits. Animals (Basel). 10(2):258. 10.3390/ani10020258 [DOI] [PMC free article] [PubMed] [Google Scholar]
  33. Van Den Bogaert W, Wuestenbergs J, Bekaert B, Dequeker E, Van de Voorde W. 2025. Enhancing postmortem diagnostics: over a decade of ISO 17020 accreditation and guidelines implementation in forensic pathology. Forensic Sci Med Pathol. 21(2):682–689. 10.1007/s12024-024-00918-0 [DOI] [PMC free article] [PubMed] [Google Scholar]
  34. Wang Y, Zhang T, Guo X, Shen Z. 2024. Gradient based Feature Attribution in Explainable AI: A Technical Review. ArXiv abs/2403.10415. 10.48550/arXiv.2403.10415 [DOI]
  35. Watson T. 2018. Meet the street animals that stole scientists' hearts. Natur. 553(7689):535–537. 10.1038/d41586-018-01018-0 [DOI] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Supple_Tableclean.xlsx

Supple_Tableclean.xlsx

Supple_Figs.docx

Supple_Figs.docx

Data Availability Statement

The original contributions presented in this study are included in the manuscript and the supplementary data. Further inquiries can be directed to the corresponding author. The data supporting the conclusions of this article may be made available by the corresponding author upon request, subject to institutional guidelines and a data use agreement.


Articles from The Veterinary Quarterly are provided here courtesy of Taylor & Francis

RESOURCES