Comparing Human Text Classification Performance and Explainability with Large Language and Machine Learning Models Using Eye-Tracking

preprint OA: closed CC-BY-4.0

Abstract

Abstract To understand the alignment between reasonings of humans and artificial intelligence (AI) models, this empirical study compared the human text classification performance and explainability with a traditional machine learning (ML) model and large language model (LLM). A domain-specific noisy textual dataset of injury narratives had to be classified into six cause-of-injury codes. While the ML model was trained on pre-labelled injury narratives, LLM and humans did not receive any specialized training. The explainability of different approaches was compared using the words they focused on during classification. These words were identified using eye-tracking for humans, explainable AI approach LIME for ML model, and prompts for LLM. The classification performance of ML model was relatively better than LLM and humans- overall and particularly for complicated and challenging to classify narratives. The top-3 words used by ML and LLM for classification agreed with humans to a greater extent as compared to later words.
Full text 114,053 characters · extracted from preprint-html · click to expand
Comparing Human Text Classification Performance and Explainability with Large Language and Machine Learning Models Using Eye-Tracking | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Article Comparing Human Text Classification Performance and Explainability with Large Language and Machine Learning Models Using Eye-Tracking Jeevithashree Divya Venkatesh, Aparajita Jaiswal, Gaurav Nanda This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-4002294/v2 This work is licensed under a CC BY 4.0 License Status: Posted Version 2 posted You are reading this latest preprint version Show more versions Abstract To understand the alignment between reasonings of humans and artificial intelligence (AI) models, this empirical study compared the human text classification performance and explainability with a traditional machine learning (ML) model and large language model (LLM). A domain-specific noisy textual dataset of injury narratives had to be classified into six cause-of-injury codes. While the ML model was trained on pre-labelled injury narratives, LLM and humans did not receive any specialized training. The explainability of different approaches was compared using the words they focused on during classification. These words were identified using eye-tracking for humans, explainable AI approach LIME for ML model, and prompts for LLM. The classification performance of ML model was relatively better than LLM and humans- overall and particularly for complicated and challenging to classify narratives. The top-3 words used by ML and LLM for classification agreed with humans to a greater extent as compared to later words. Social science/Language and linguistics Health sciences/Medical research Figures Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Introduction Text classification has a wide variety of applications including spam filtering of emails, organization of documents and articles, and analyzing electronic health reports. Most of the automated text classification happens through supervised machine learning (ML) models. These models are trained on human-annotated training data to learn how the features (words or phrases) in the text are predictive of certain classification categories and use that learning to predict the category for a new text record. The accuracy of ML models is highly dependent on the accuracy and consistency of the human labelling or annotation, which is not always perfect due to variation in human performance, expertise on classification rules, and interpretation of text. Another reason for limited prediction accuracy in traditional ML models is the lack of usage of semantic and syntactic information of the text. Recent advancements in natural language processing (NLP) such as word embeddings, transformers, and large language models (LLMs) have better capabilities in terms of understanding and utilization of syntactic and contextual semantic information of the text [1,2,3], which is likely to improve the classification performance. Explainability in Text Classification With the increasing usage of machine learning models in diverse domains, explainability has emerged as an important aspect for understanding the rationale behind classification decisions made by humans or ML models. In the context of ML models, simpler ML models, such as Naïve Bayes and decision trees, are often not highly accurate but can be easily understood by end-users due to their relatively simple structure or mathematical formulation. On the other hand, more sophisticated models, such as neural networks, gradient-boosted decision trees, and ensemble models (e.g., random forest classifiers), typically have better predictive power but are difficult to understand because of their complex formulations or the proprietary nature of their learning algorithms. To render these models more interpretable and explainable to their end-users, several explainable AI tools have been developed recently [4] that can provide feature-based or data-based explanations of the outcomes of ML models and process. Feature-based approaches, such as LIME [5] and SHAP [6] identify the most important features responsible for the model’s outcomes either for the entire dataset (global explanations) or for a particular data instance (local explanations). For instance, SHAP measures the marginal contribution of features to the difference between a particular prediction and the average model prediction [6]. LIME, on the other hand, provides local explanations for a model’s prediction on a data instance; for a given instance, it probes the black-box model with a new data instance obtained by perturbing the given instance, obtains the model predictions, and repeats this process to learn a surrogate, interpretable model (e.g., linear regression or decision tree) in the neighborhood of that instance [5]. While the aforementioned explainability approaches have become popular because of their applicability to multi-modal, multi-class classification settings, explainability of text classification by humans and LLMs has not been well-studied. Extending these XAI for LLMs is challenging due to the large number of model parameters (175 billion for GPT-3 model) [7]. Additionally, while manual text classification is the primary method of annotating cause-of-injury codes, information about the reasoning behind the category selected for each case by the human annotator is typically not recorded, as it is a time- and resource-consuming process. As such, the explainability aspects of manual text classification in the context of injury surveillance have not been well-studied. Study Objectives In this study, we aim to fill these gaps in the literature by studying and comparing the performance and explainability aspects of text classification performed by humans, traditional ML model, and LLMs. For human explainability analysis, we performed eye-tracking user study in which the participants performed text classification and the words on which they focused were identified. For LLM explainability analysis, we used prompt-based questions asking ChatGPT-3.5 [7] to list the top words in the narrative used for decision making. For ML model, we used the explainable AI approach LIME [5, 6] to identify the top words used by the model during classification. The text classification task used in this study was assigning external cause-of-injury codes [8, 9, 10] to accident narratives collected at hospital emergency rooms. The nature of text was not very generic in nature (e.g., customer reviews of products or services) but somewhat domain-specific with narratives containing injury related medical terms. The noisy nature of narratives with misspellings and improper sentence structures, and lack of clarity about the underlying cause of injury made the text classification task moderately challenging. Related work on Eye Tracking Previous studies have used eye tracking for analyzing human text comprehension [11, 12] as eye tracking while reading is considered as one of the most informative physiological data channels [14]. While reading, humans move their gaze position from word to word in a line of text, resulting in two main types of movement patterns: rapid eye movements known as saccades, and points of gaze movement pauses called fixations. During fixations, the human mind actively processes the meaning of the text [15] providing information about how long a person spent looking at the text, which words were skipped [16], and so on. Thus, eye tracking data recorded during text reading provides objective insights about reading patterns and duration of visual attention assigned to specific parts of the text at the level of phrase, word, or character [13, 17]. In addition to reading and language comprehension, eye-tracking has also been used in understanding how humans perform other linguistic tasks such as annotation [18, 19]. Previous studies [20, 21, 22] have analyzed eye tracking data such as number of fixations, search time, and fixation duration recorded during manual annotation of named-entities in texts to a) estimate the difficulty level based on cognitive load assessed using gaze data eye-tracking data, and, b) identify prominent features used by humans for named-entity recognition. Some studies [23, 24, 25] have tried to develop cognitive models using eye tracking data for estimating reading and manual sentiment annotation complexity, and reported that fixation duration can be predictive of sentiment annotation complexity. There have also been some recent studies [26, 27] that have developed neural networks integrating the text features and eye tracking data for various natural language processing (NLP) tasks such as determining sentiment polarity and identifying sarcasm. Injury Narrative Classification: Overview and Challenges In this study, we have focused on the text classification task of assigning six cause-of-injury codes (CUT, FALL, STRUCK, BURN, MOTORVEHICLE, and OTHER) to accident narratives. It is similar to injury coding, in which the unstructured incident narratives collected at hospitals and injury reports are transformed into structured form by assigning different types of injury codes, such as cause-of-injury, product-involved, and nature-of-injury. It is an important step in the injury surveillance and prevention efforts carried out by public health agencies as it enables statistical analysis of structured data to identify trends and patterns [28]. Injury coding is similar to other multi-label text classification tasks, but following aspects make it challenging, (a) the narratives are short and noisy text snippets with misspellings and non-grammatical sentences, and (b) there are a large number of injury codes with only few dominant ones leading to imbalanced data distribution [8, 29]. Traditionally, injury coding has been done manually where the human coders assign injury codes based on the narratives. Manual coding is time and resource consuming and also involves quality challenges, such as (a) subjective interpretation of text by different individuals leading to inconsistent coding, (b) incorrect assignment of low-frequency or rare injury codes typically by less-experienced coders [8, 28]. In recent years, ML models trained on manually coded historical injury records have been used to predict the injury codes [8, 9, 29]. While these ML models have showed decent prediction accuracy overall and for high-frequency injury codes, their accuracy for low-frequency injury codes has been limited, primarily due to inconsistencies in training data and the noisy nature of narratives [8, 28, 29]. Study Design Overview The dataset of injury narratives used in this study was generously provided by the Queensland Injury Surveillance Unit (QISU) [30], which contained the accident narratives collected from hospital emergency rooms and the associated cause-of-injury codes assigned by professional coders. For human text classification analysis, we conducted an eye tracking user study involving 51 participants who had to perform a text classification task of assigning cause-of-injury codes to accident narratives while their eye-tracking data was recorded. Each participant had to read 12 accident narrative prompts on a computer screen and select the most appropriate external cause-of-injury code for each prompt from a list of six possible cause-of-injury codes: CUT, FALL, STRUCK, BURN, MOTORVEHICLE, and OTHER. The set of 12 prompts (later referred as prompt-set) consisted of 2 unique accident narratives belonging to each cause-of-injury code, but the participants were unaware about the equal number of prompts for each injury code. The total user study dataset consisted of 3 repetitions of 17 unique prompt-sets that were used for 51 (=17*3) participants. Thus, for each prompt-set, data was collected from 3 participants with the intention to account for human variability. The overall dataset included 34 (=17*2) unique narrative cases for each of the 6 cause-of-injury codes, i.e., a total of 204 (=34*6) unique narrative cases. These narrative cases were derived from the QISU database from the year 2018 and the cause-of-injury codes were assigned by professional QISU coders. During the study, each participant’s ocular parameters- fixation count (FC) and fixation duration (FD), were recorded with the resolution-level of individual word in the narrative while they performed the text classification task. The eye-tracking data was analyzed to identify which words users focused on (i.e., words with highest fixation count and fixation duration) while reading and comprehending the narrative and making the selection of most applicable cause-of-injury code. The top words were selected based on the highest FC and FD values. For ML, we used the Logistic Regression (LR) [31] model trained on 200,000 injury cases to predict the cause-of-injury code and used explainability approach of LIME based ELI5 [5] to identify the top-5 words in the narrative that the LR model used. For LLM, we used ChatGPT-3.5 to predict the cause-of-injury code in a zero-shot learning manner (i.e., without any training) and used prompts to identify the top-10 words used by the model. Results For the human text classification eye tracking user study, the participant-selected cause-of-injury codes for each narrative in 204-case dataset was recorded. As explained in the study design, each case in the dataset was analyzed by three participants (17 unique sets * 12 case per set* 3 batches= 204). ET1, ET2 and ET3 are referred to as the eye tracking data recorded for 3 batches of cases across 51 participants. For the ML and LLM models, the cause-of-injury codes predicted by the LR and ChatGPT models for each narrative in the 204-case dataset were recorded. Comparing Text classification performance between Humans, ChatGPT, and ML The text classification performances of the three approaches (human, ML, and ChatGPT) were evaluated on the set of 204 injury cases by comparing the cause-of-injury codes predicted by eye-tracking study participants, ML model, and ChatGPT with the original codes assigned by the QISU professional coders. Recall was used as the primary measure of performance for each of the six cause-of-injury codes as well as overall performance on the whole dataset, as described in Equation (1): For Recall calculations, a case was counted as True Positive when the predicted cause-of-injury code agreed with the originally assigned QISU code, and the total number of cases (in the denominator of equation 1) for individual cause-of-injury code was 34 and for the overall Recall it was 204 (size of the dataset). Due to space considerations, other commonly used performance measures such as Precision or F1-scores are not included in the paper. Figure 2 presents the Recall for each injury code and the overall dataset for Human study (three sets- ET1, ET2, and ET3), ChatGPT, and ML. As shown in Figure 2, among the three text classification approaches, the ML model reported the highest overall Recall (84%) as compared to Human and ChatGPT. One of the possible underlying reasons for this may be that the ML model was trained exclusively on a large dataset of injury narratives. On the other hand, while Human study participants and ChatGPT had capabilities of general understanding of the narrative text and cause-of-injury category definitions, they did not have specific training or experience on injury narrative classification task to understand the nuances. The text classification study participants did not have any significant prior knowledge on injury data analysis and the LLM ChatGPT although being trained on several textual databases from different domains, has not been exclusively trained on injury-code related datasets. Figure 2 also shows the variations in Humans’ text classification performance across the 3 sets ET1, ET2, and ET3 among the 51 study participants. It is to be noted that there were multiple participants involved in each of the user study batches- ET1, ET2, and ET3, therefore, a comparative analysis between the batches was not performed. Variation in Performance based on the Distinct Nature of the Code Among the different cause-of-injury codes, the classification performance varied based on the uniqueness of the code, i.e., how distinct were the codes relative to other codes so that they are less likely to be confused with another code. This was particularly important for Human and ChatGPT approaches where specialized training on injury coding was not provided. As the ML model was trained on thousands of cases of each injury code, it was expected to learn the classification rules in a more detailed manner. The cause-of-injury codes BURN and MOTORVEHICLE were relatively unique in nature, codes FALL, STRUCK and CUT were moderately unique, and the code OTHER was not very unique in nature. The injury code descriptions are provided in Table 2 in the Methods section. The distinct nature of codes BURN and MOTORVEHICLE meant that the narratives typically included a unique set of words, for example, in describing the type of injury (e.g., burned or scalding for BURN) or the product involved (e.g., car or pedestrian for MOTORVEHICLE), that did not overlap with narratives of other injury codes. On the other hand, the injury codes that were not very unique in nature contained overlapping elements with other injury codes or did not have clear definitive classification rules. For example, the codes CUT and STRUCK had some overlapping elements such as interaction between a tool and a person, and the code OTHER had a relatively fuzzy definition that the narrative does not belong to any other cause-of-injury codes. As shown in Figure 2, codes BURN and MOTORVEHICLE, which had relatively unique definitions, reported higher Recall for Humans and ChatGPT as compared to other injury codes. It is also to be noted that there was lesser variation in the performance of the three Human sets ET1, ET2, and ET3 for BURN and MOTORVEHICLE as compared to other injury codes. This may be indicative that the text classification process for these codes was less confusing for non-experts due to their unique nature. For BURN, ChatGPT (97%) and Humans (~91% for all three sets) reported their highest Recall. It is also interesting to note that while ML reported its highest Recall for MOTORVEHICLE (97%), it reported its lowest Recall for BURN (97%). Humans and ChatGPT reported relatively low Recall for cause-of-injury codes OTHER, CUT, and STRUCK, while the ML model performed relatively better for these categories. It is also to be noted that the variation in human sets ET1, ET2, and ET3 is relatively large for these categories. For cause-of-injury code OTHER, ML reported highest Recall (79%), followed by Humans (ET1-38%, ET2-71%, ET3-59%) and ChatGPT (53%). For STRUCK, the Recall for ML (79%) was significantly high as compared to Humans (ET2- 53%, ET3- 32%) and ChatGPT (62%). All three approaches- Humans, ChatGPT and ML, reported their lowest individual Recall for STRUCK. For CUT, the Recall was close for ML (82%) and ChatGPT (79%) followed by Humans (ET1-59%, ET2-76%, ET3-68%). It is also to be noted that the ML model reported better Recall than Human and ChatGPT for all cause-of-injury codes, except FALL and BURN. For FALL, the ML Recall was marginally less than ChatGPT and ET3. For FALL cause-of-injury code, Humans reported highest Recall (ET2-88%) as well as lowest Recall (ET3-59%). Variation in Prediction Performance based on Complexity of Narratives Each of the narratives in the set of 204 prompts used for classification task were internally classified into 3 levels of complexities-Low, Medium, and High, based on two factors: (a) the level of difficulty in comprehending the narrative text and (b) the lack of clarity or obviousness in selecting the most appropriate cause-of-injury code either due to multiple possible codes or lack of information in narrative. The eye-tracking study participants were not aware of these different narrative complexity levels during their text classification task. Overall, out of the 204 narratives, there were 74 narratives categorized as “Low”, 82 narratives categorized as “Medium” and 48 narratives categorized as “High” complexity. We analyzed the variation in Recall values based on narrative complexity for the predictions made by Humans (ET1, ET2, ET3), ChatGPT and ML, presented in Figure 3. As shown in Figure 3, the highest Recall values were observed for narratives with low complexity for ML (89%), ChatGPT (91%), and Humans- ET1 (62%) and ET3(62%). However, ET2 reported highest Recall (68%) for narratives with “Medium” complexity. Overall, considering the variations in human performance between groups ET1, ET2, and ET3 shown in Figure 3, we can observe that, a) for low complexity narratives, ML and ChatGPT performed considerably better than humans, b) for medium and high complexity narratives, ML performed considerably better than ChatGPT and humans, and ChatGPT performed marginally better than humans. Explainability: Comparing top words between Humans, ChatGPT, and ML We also studied the reasoning behind the text classification choices made by humans, traditional ML model, and LLM (ChatGPT) by studying the words in narrative text that were used by them for classification decision making. For human text classification (ET1, ET2, ET3), word-level eye tracking parameters- FC and FD were recorded and analyzed for each participant to identify the top-10 words that participants focused on while comprehending the narrative and selecting the cause-of-injury code. For ML model, the top-5 words in the narrative used by the LR model for making the prediction were determined using LIME based ELI5 explainability analysis. The top-5 ML words are referred to later in the paper as ML1-(top 1 st word), ML2 (2 nd word), ML3 (3 rd word), ML4 (4 th word), and ML5 (top 5 th word). For the LLM, the top-10 words used by the ChatGPT model were obtained through prompts asking to list the top words used by the model for text classification decision making in decreasing order of importance. Next, we compared the level of agreement between the top predictor words of ML model with humans and ChatGPT. The level of agreement between the top words of humans and ML model was calculated by comparing the overlap between the top-5 words of ML model with top-10 predictor words of humans for each of the 206 cases in the dataset. Similarly, the level of agreement between the top words of ML and ChatGPT was calculated by comparing the overlap between top-5 words of ML and the top-10 words used by ChatGPT for each case in the dataset. Figure 4 shows the agreement level for each of the top-5 ML words (ML1-ML5) with humans (ET-1, ET-2, ET-3 based on fixation count (FC) and fixation duration (FD)) and ChatGPT. The Y-axis represents the number of cases out of total 206 dataset where the top-n th word of ML model was present in the top-10 word lists of ChatGPT and humans (ET-FCs and ET-FDs). The X-axis shows the top ML words (ML1-ML5). As shown in Figure 4, the topmost ML word-- ML1 overlapped with ET and ChatGPT top-10 words for maximum number of cases in the dataset, followed by next top words ML2, ML3, ML4, and ML5. This behavior was somewhat expected as the top predictor words provided by ELI5 in decreasing order of importance. Similarly, the list of top-10 predictor words ChatGPT were also organized in decreasing order of importance as it was instructed to do so in the prompts. One of the interesting trends to be observed in Figure 4 is that there was a relatively substantial decline in the number of cases with matching top-words between ML and other approaches after ML2, as compared to the decline from ML1 to ML2. This indicates that the top-2 ML predictor words were considerably more predictive as compared to ML3, ML4, and ML5. Another noticeable trend in Figure 4 was that the decline in agreement between the top words of ML and ChatGPT going from ML1 to ML5 was considerably steeper as compared to the decline in agreement of top words of ML and humans (ET-FCs and ET-FDs). This relatively higher overlap between the top words of ML and humans indicates that there was better alignment in the reasoning of classification choices between ML and humans as compared to ML and ChatGPT. We can also observe in Figure 4 that there was a slightly higher agreement level with humans for ML5 as compared to ML 4, which might be indicative that there may not be as significant difference in the importance scores of ML4 and ML5 as compared to the topmost words ML1 and ML2. Next, we compared the overlap between top predictor words used by ChatGPT and humans as shown in Figure 5. The axes in Figure 5 are organized similar to Figure 4, with the Y-axis representing the number of cases from the 206-case dataset where the top words of humans and ChatGPT agreed, and the X-axis representing the top-10 ChatGPT words (ChatGPT1- ChatGPT10). As shown in Figure 5, the agreement between top words of ChatGPT and humans followed a similar overall trend as agreement between ML and humans shown in Figure 4, with higher level of agreement with the first two/three words followed by a steady decline for later words. However, one of the noticeable differences between Figures 4 and 5 is that there was a relatively steeper decline in agreement of top words of ChatGPT and humans as compared to ML and humans. Between humans and ML, the number of overlapping cases were in the range of 80-105 for ML4 and 80-110 for ML5, as shown in Figure 4. For agreement between ChatGPT and humans, the number of overlapping cases were in the range of 60-90 for ChatGPT4 and 35-45 for ChatGPT5, as shown in Figure 5. This indicates that while the top-3 predictor words aligned better with human reasoning, the later words had a relatively lower agreement with humans. Next, we studied how the agreement of top predictor words between different approaches varied between different cause-of-injury codes as shown in Figure 6. The intuition behind it was that the level of uniqueness of words used in the narratives associated with different cause-of-injury varied considerably, therefore the top predictor words used by different approaches may vary based on the codes. As mentioned earlier, codes BURN and MOTORVEHICLE were relatively unique in nature, codes FALL, STRUCK and CUT were moderately unique, and the code OTHER was not very unique in nature. To examine the overlap of top predictor words between different approaches, we compared the following combinations: a) ML and ChatGPT (top-5 of ML and top-10 of ChatGPT) b) ML and Eye Tracking based on Fixation Count (ET(FC)), c) ChatGPT and ET(FC), c) ML and Eye Tracking based on Fixation Duration (ET(FD)), and d) ChatGPT and ET(FD). In Figure 6, the X-axis shows all the six cause-of-injury codes, and the Y-axis represents the percentage of total number of cases for each category (34 cases of each category in the 206-case dataset) where the top-5 predictor words agreed between different text classification approaches. For this analysis, the data from the three sets of humans (ET1, ET2, and ET3) were combined together, and are represented as ET in Figure 6. Examining the overlap of top predictor words of ML and ChatGPT, we can see in Figure 6 that the highest level of agreement was observed for code BURN followed by CUT, FALL, STRUCK, MOTORVEHICLE, and OTHER. As shown in Figure 2, the prediction performances (Recall) of ML and ChatGPT were relatively close for codes CUT, MOTORVEHICLE, and FALL, and there was some difference in Recall for codes OTHER, STRUCK and BURN. Two interesting trends to note for the relatively unique codes BURN and MOTORVEHICLE were: a) while the Recall values for ML and ChatGPT were relatively different for BURN, the overlap between top words was high, and b) while the Recall values of ML and ChatGPT were close for MOTORVEHICLE, the overlap of top predictor words was low. One of the possible reasons might be the difference in approaches of interpreting the narrative words. The ML model was trained on thousands of injury narratives, so it was referring to the weight of words derived from the training set. The ChatGPT LLM model was not specifically trained on injury narratives, so the way in which it was deriving the relative importance of words was based on a more general vocabulary of words. Between ML and humans, the highest overlap among top predictor words was observed for code CUT followed by STRUCK, MOTORVEHICLE, OTHER, FALL, and BURN, as shown in Figure 6. Comparing the Recall values of ML and humans (ET1, ET2, and ET3), a relatively wider gap was observed for codes CUT, OTHER, and STRUCK. It is interesting to note that while there was considerable difference in Recall values of ML and humans for codes CUT and STRUCK, the overlap between top predictor words was relatively high. A possible reason for it may be that since both these codes were moderately unique in nature, the same words may be used by humans or ML models to make different conclusions, i.e. selecting a different code. Between ChatGPT and humans (ET(FC) and ET(FD)), the highest overlap between the top predictor words was observed for code FALL followed by codes CUT, BURN, STRUCK, MOTORVEHICLE, and OTHER. It can be observed from Figure 6 that there was considerable difference in the level of overlap between ChatGPT and humans based on fixation count ChatGPT-ET(FC) and fixation duration ChatGPT-ET(FD) for codes STRUCK and FALL as compared to other codes. No consistent trend was observed for variation of Recall values of ChatGPT and humans (ET1, ET2, and ET3) for different cause-of-injury codes. Discussion In this study, we compared the performance and reasonings of a text classification task between non-expert humans, an advanced LLM, and a classical ML algorithm. The nature of text used in the study was not very generic (e.g., newspaper articles or customer reviews) but somewhat domain specific, containing injury narratives that had to be classified into six cause-of-injury categories. These injury narratives were noisy in nature making the task somewhat challenging. While the traditional ML model was trained on a large set of labelled injury narratives, the other approaches were not trained on injury classification. ChatGPT had a broader understanding of English language through its diverse training sets and humans possessed language comprehension capabilities. Results indicated that the ML model performed relatively better overall as compared to ChatGPT and humans. All approaches showed two consistent trends. First, the classification performance was better for cause-of-injury codes that were fairly unique in nature (BURN and MOTORVEHICLE), followed by moderately unique codes (FALL, STRUCK, and CUT), and codes that did not have a clear-cut definition (OTHER). Second, all the approaches performed relatively better for cases with low complexity, followed by medium and high complexity. It was also interesting to note that the ML model performed considerably better than ChatGPT and humans for cases with high complexity and those belonging to not so unique cause-of-injury codes (OTHER and STRUCK). This indicates that for a domain-specific text classification task, a traditional ML model trained on a large-size dataset can outperform non-expert humans and LLM which are not trained on a similar dataset. We compared the explainability of classification choices made by different approaches by comparing the words in the narrative that they focused on to make the classification decision. The results indicated that the top-3 words of ML had a higher degree of agreement with the top words used by humans and ChatGPT as compared to the top-4 th and top-5 th word. Similarly, for ChatGPT, the top-3 words overlapped to a greater extent with the words that humans focused on while comprehending and classifying the text, as compared to the later (n>3) words. This suggests that the same top 1-3 words were used (typically the injury or object involved) for making the decisions by different approaches, although the conclusions may have been different for different approaches, particularly when the cause-of-injury did not have a unique definition, or the narrative was relatively complex. Overall, our findings suggest that a simple and scalable machine learning model trained on large similar data can perform at par or better than large language models and non-expert humans for a domain-specific text classification task. This study also had some limitations including: (a) the size of dataset and number of participants could have been larger, (b) limited number of models were used (LR for ML and ChatGPT for LLM) to examine the classification performance and reasoning. To address these limitations, future studies can perform larger-scale eye-tracking user experiments with diverse datasets and different ML and LLM models. Future studies can also utilize the narrative word-importance measure captured during manual text annotation to adjust the feature weights of ML or LLM models for classification and interpretation purposes. Methods Human Text Classification An eye tracking study was conducted with 51 user participants consisting of 31 males and 20 females aged between 23 to 30 years, with a mix of 15 native and 36 non-native English speakers. The study was to read the injury related narratives and select the most appropriate cause-of-injury code using the injury classification software (Figure 8). We used the Tobii Pro Fusion Eye Tracker with 250Hz sampling frequency to capture gaze data and Tobii Pro Lab software to record ocular parameters for each participant. The Tobii Pro Lab uses the Velocity-Threshold Identification (IV-T) Fixation Filter algorithm [32] to calculate angular velocity for each data point and depending on threshold values, the data points are classified as a fixation or a saccade [33]. Each participants’ ocular parameters such as fixation count (FC) and fixation duration (FD) for each word in the accident narrative, and selected cause-of-injury code for each narrative were recorded while they performed the text classification task. The recoded parameters were used to understand which words they focused on while reading and comprehending the narrative and making the selection of most applicable cause-of-injury code. The study was approved by the Institutional Review Board (IRB) at Purdue University. Taking part in the study was voluntary, and participants were allowed to choose to quit the study at any point in time. If they wished to participate, a consent form was required to be read and signed by each participant before the start of the study. The study was carried out in a well-lit indoor room. Each participant was called individually to the room and asked to position themselves towards the screen in a way they could comfortably read the content on screen and access the mouse. The Tobii Pro Fusion Eye Tracker was placed at the lower edge of the monitor that displayed the injury classification software. Participants were initially briefed about the process of the study and a trial session was given for them to be familiarized with the injury classification software. Then, the eye tracker was calibrated using the Tobii 9-point calibration routine. After the eye tracker was successfully calibrated, the injury classification software was displayed on screen. Participants were asked to read the instructions carefully and select the ‘START’ button when ready. Participants read the accident narrative displayed on screen and selected one of the six cause-of-injury codes that they felt was most appropriate. The injury classification software (Figure 7) consisted of an instructions page including meanings to each injury event cause and 12 prompts (Figure 7a). Each prompt displayed one accident narrative and six possible cause-of-injury codes namely, CUT, FALL, STRUCK, BURN, MOTORVEHICLE, and OTHER (Figure 7b). Description of each cause-of-injury code is given in Table 1 below. The participant had to select one of most applicable cause-of-injury codes. The buttons ‘NEXT’ and ‘UNDO’ on each prompt were used to navigate to next prompt and clear selection of cause-of-injury code to reselect the appropriate code respectively. Participants read the prompt and used the mouse to select the desired cause-of-injury code. We created 3 batches of 17 unique prompt-sets, each consisting of 12 prompts that were used for 51 participants. The 12 prompts consisted of a set of 2 unique narratives belonging to each of the six cause-of-injury codes. In total, we recorded 204 unique selections of cause-of-injury codes for each batch that included 34 narratives for each of the 6 cause-of-injury codes. Only 4 participants used the ‘UNDO’ button to reselect the desired cause-of-injury codes. Table 1. Description for injury event cause groups. Injury event cause group Description Fall Fall on some level or height Struck Struck by or collision with person or object Cut Cutting or piercing by object Burn Burn due to hot object, fluid, or gas including hot drink, food, water, other fluid, steam, gas, and other types of contact burns Motor Vehicle Any type of motor vehicle accident involving driver or passenger Other Any other cause of injury not including Fall, Struck, cut, Burn or Motor Vehicle ML Text Classification For traditional ML model analysis, we used a Logistic Regression (LR) model trained on large-scale historical data with 200,000 cases of injury narratives associated with the above-mentioned 6 cause-of-injury codes. The training data was derived from the QISU database with cases recorded between 2013-2017, and the cause-of-injury codes were assigned by professional QISU coders. The trained LR model was used to predict the cause-of-injury codes on the same dataset of 204 narratives used in the human text classification study. For explainability analysis of the predictions made by the LR model, we used LIME based ELI5 [5] to identify the top-5 words in the narrative that the LR model used for making the cause-of-injury code prediction. LLM Text Classification For the LLM analysis, we used the ChatGPT-3.5 model and created directive prompts for it to perform text classification on the same set of 204 accident narratives used for human and ML analysis. The model was also directed to report which were the top-10 words used by ChatGPT-3.5 to arrive at the decision about the cause-of-injury code for each narrative. The predictions made by the ML model, humans, and ChatGPT-3.5 were then compared with the original cause-of-injury codes assigned to accident narratives by the QISU professional coders. For explainability analysis, the top words and phrases used by each of three approaches were compared and analyzed, as presented in the next section. For ChatGPT-3.5 we created prompts for it to perform text classification on accident narratives and report which were the top-10 words/phrases used by ChatGPT-3.5 to arrive at the decision about the cause-of-injury code. When the prompt (see Prompt 2 below) to identify the top words for text classification was given to ChatGPT-3.5, the top-3 words/phrases were generated. However, the generated output consisted of more than one word grouped together as a single top word. Therefore, we separated each of the words from the top-3 words/phrases into the top-10 individual words to arrive at the decision. The prompts used to perform text classification using ChatGPT-3.5 are mentioned below: Prompt 1: For the narrative "", select the most appropriate type of injury from this list CUT, FALL, STRUCK, BURN, MOTORVEHICLE, OTHER TYPE? Prompt 2: Which three words in the narrative are most indicative of the type of injury? References Chae, Y., & Davidson, T. (2023). Large language models for text classification: From zero-shot learning to fine-tuning. Open Science Foundation. Törnberg, P. (2023). Chatgpt-4 outperforms experts and crowd workers in annotating political twitter messages with zero-shot learning. arXiv preprint arXiv:2304.06588. Das, M., Li, J., Fosler-Lussier, E., Lin, S., Rust, S., Huang, Y., & Ramnath, R. (2020, July). Sequence-to-set semantic tagging for complex query reformulation and automated text categorization in biomedical ir using self-attention. In Proceedings of the 19th SIGBioMed Workshop on Biomedical Language Processing (pp. 14-27). Guidotti, R., Monreale, A., Ruggieri, S., Turini, F., Giannotti, F., & Pedreschi, D. (2018). A survey of methods for explaining black box models. ACM computing surveys (CSUR), 51(5), 1-42. Ribeiro, M. T., Singh, S., & Guestrin, C. (2016). " Why should i trust you?" Explaining the predictions of any classifier. In Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining (pp. 1135-1144). Lundberg, S. M., & Lee, S. I. (2017). A unified approach to interpreting model predictions. Advances in neural information processing systems, 30. OpenAI. (2023). ChatGPT (Nov 30 version) [Large language model]. https://chat.openai.com Nanda, G., Vallmuur, K., & Lehto, M. (2020). Intelligent human-machine approaches for assigning groups of injury codes to accident narratives. Safety science, 125, 104585. Nanda, G., Vallmuur, K., & Lehto, M. (2019). Semi-automated text mining strategies for identifying rare causes of injuries from emergency room triage data. IISE Transactions on Healthcare Systems Engineering, 9(2), 157-171. Marucci-Wellman, H., Lehto, M., & Corns, H. (2011). A combined Fuzzy and Naïve Bayesian strategy can be used to assign event codes to injury narratives. Injury Prevention. Rayner,K., Chace, K. H., Slattery,T. J., & Ashby, J. (2006). Eye movements as reflections of comprehension processes in reading. Scientific Studies of Reading,10(3), 241–255 Vasishth,S., von der Malsburg,T., & Engelmann,F. (2013). What eye movement scan tell us about sentence comprehension. Wiley Interdisciplinary Reviews: Cognitive Science,4(2), 125–134. Singh, H., & Singh, J. (2012). Human eye tracking and related issues: A review. International Journal of Scientific and Research Publications, 2(9), 1-9. Anisimov, V., Сhernozatonsky, K., Pikunov, A., Raykhrud, M., Revazov, A., Shedenko, K., & Zuev, S. (2021). OkenReader: ML-based classification of the reading patterns using an Apple iPad. Procedia Computer Science, 192, 1944-1953. Rayner, K. (1998). Eye movements in reading and information processing: 20 years of research. Psychological bulletin, 124(3), 372. Farnsworth, B. (2018). How We Read–What Eye Tracking Can Tell Us. Reading and Language (2023). Retrieved September 30, 2023 from https://www.tobii.com/solutions/scientific-research/reading-and-language Mishra, A., Bhattacharyya, P., Mishra, A., & Bhattacharyya, P. (2018). Applications of eye tracking in language processing and other areas. Cognitively Inspired Natural Language Processing: An Investigation Based on Eye-tracking, 23-46. Hollenstein, N., Tröndle, M., Plomecka, M., Kiegeland, S., Özyurt, Y., Jäger, L. A., & Langer, N. (2021). Reading task classification using EEG and eye-tracking data. Tokunaga, T., Nishikawa, H., & Iwakura, T. (2017, September). An Eye-tracking Study of Named Entity Annotation. In RANLP (pp. 758-764). Mishra, A., & Bhattacharyya, P. (2018). Cognitively inspired natural language processing: An investigation based on eye-tracking. Singapore: Springer. Tokunaga, T., Nishikawa, H., & Iwakura, T. (2017, September). An Eye-tracking Study of Named Entity Annotation. In RANLP (pp. 758-764). Joshi, A., Mishra, A., Senthamilselvan, N., & Bhattacharyya, P. (2014, June). Measuring sentiment annotation complexity of text. In Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers) (pp. 36-41). Mishra, A., Bhattacharyya, P., Mishra, A., & Bhattacharyya, P. (2018). Scanpath complexity: modeling reading/annotation effort using gaze information. Cognitively Inspired Natural Language Processing: An Investigation Based on Eye-tracking, 77-98. Mishra, A., Bhattacharyya, P., Mishra, A., & Bhattacharyya, P. (2018). Estimating annotation complexities of text using gaze and textual information. Cognitively Inspired Natural Language Processing: An Investigation Based on Eye-tracking, 49-76. Mishra, A., Bhattacharyya, P., Mishra, A., & Bhattacharyya, P. (2018). Automatic extraction of cognitive features from gaze data. Cognitively Inspired Natural Language Processing: An Investigation Based on Eye-tracking, 153-169. Sen, C., Hartvigsen, T., Yin, B., Kong, X., & Rundensteiner, E. (2020, July). Human attention maps for text classification: Do humans and neural networks focus on the same words?. In Proceedings of the 58th annual meeting of the association for computational linguistics (pp. 4596-4608). Marucci-Wellman, H. R., Corns, H. L., & Lehto, M. R. (2017). Classifying injury narratives of large administrative databases for surveillance—A practical approach combining machine learning ensembles and human review. Accident Analysis & Prevention, 98, 359-371. Nanda, G., Vallmuur, K., & Lehto, M. (2018). Improving autocoding performance of rare categories in injury classification: Is more training data or filtering the solution?. Accident Analysis & Prevention, 110, 115-127. Queensland Injury Surveillance Unit (QISU) Data. (2023, August) Available at: https://metronorth.health.qld.gov.au/qisu/data Hosmer Jr, D. W., Lemeshow, S., & Sturdivant, R. X. (2013). Applied logistic regression (Vol. 398). John Wiley & Sons. Salvucci, D. D., & Goldberg, J. H. (2000, November). Identifying fixations and saccades in eye-tracking protocols. In Proceedings of the 2000 symposium on Eye tracking research & applications (pp. 71-78). Olsen, A. (2012). The Tobii I-VT fixation filter. Tobii Technology, 21, 4-19. Additional Declarations The authors declare no competing interests. Cite Share Download PDF Status: Posted Version 2 posted You are reading this latest preprint version Show more versions Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-4002294","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Article","associatedPublications":[],"authors":[{"id":276191388,"identity":"0e9fad0b-4bde-4651-9e36-0de3c50e7e25","order_by":0,"name":"Jeevithashree Divya Venkatesh","email":"","orcid":"","institution":"Purdue University","correspondingAuthor":false,"prefix":"","firstName":"Jeevithashree","middleName":"Divya","lastName":"Venkatesh","suffix":""},{"id":276191389,"identity":"21004ba0-4b00-42bd-8c10-c5bfeebac9f6","order_by":1,"name":"Aparajita Jaiswal","email":"","orcid":"","institution":"Purdue University","correspondingAuthor":false,"prefix":"","firstName":"Aparajita","middleName":"","lastName":"Jaiswal","suffix":""},{"id":276191387,"identity":"2cc6056b-a22e-462d-8358-436947c3e64b","order_by":2,"name":"Gaurav Nanda","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAwElEQVRIiWNgGAWjYLACHgYbEGUAIhgbiNSSRrqWwyRokY9ufvbgTc35PIPbh7dJfGCwkd1wgIAWwzvHzA3nHLtdbHAurUxyBkOaMWEtMxLMpHnYbiduOMMDZDAcTiRCS/o3aZ5/5yBa/jD8J6xFXiLHTJq37QBECwPDAcJaDCRyyiTn9iUXS55hK7bsMUg2nknQlhnp2yTefLPL4zvDvPHGjwo72T6CtkAVJEC5BJSDbWlA0TIKRsEoGAWjAAsAAEKFRElSe94oAAAAAElFTkSuQmCC","orcid":"https://orcid.org/0000-0003-1240-8639","institution":"Purdue University","correspondingAuthor":true,"prefix":"","firstName":"Gaurav","middleName":"","lastName":"Nanda","suffix":""}],"badges":[],"createdAt":"2024-03-01 06:25:23","currentVersionCode":2,"declarations":{"humanSubjects":false,"vertebrateSubjects":false,"conflictsOfInterestStatement":false,"humanSubjectEthicalGuidelines":false,"humanSubjectConsent":false,"humanSubjectClinicalTrial":false,"humanSubjectCaseReport":false,"vertebrateSubjectEthicalGuidelines":false},"doi":"10.21203/rs.3.rs-4002294/v2","doiUrl":"https://doi.org/10.21203/rs.3.rs-4002294/v2","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":52190377,"identity":"9d749a25-7a04-4166-82e9-ff39f3ead763","added_by":"auto","created_at":"2024-03-07 19:07:46","extension":"jpg","order_by":1,"title":"Figure 1","display":"","copyAsset":false,"role":"figure","size":66704,"visible":true,"origin":"","legend":"\u003cp\u003e\u003cem\u003eOverview of study showing classification and explainability results for a sample narrative\u003c/em\u003e\u003c/p\u003e","description":"","filename":"f1.jpg","url":"https://assets-eu.researchsquare.com/files/rs-4002294/v2/b705ab319380b7d924737183.jpg"},{"id":52190378,"identity":"c03ca40f-9df5-4df2-a689-d29ee362f63b","added_by":"auto","created_at":"2024-03-07 19:07:46","extension":"jpg","order_by":2,"title":"Figure 2","display":"","copyAsset":false,"role":"figure","size":38268,"visible":true,"origin":"","legend":"\u003cp\u003eRecall for 6 cause-of-injury codes.\u003c/p\u003e","description":"","filename":"f2.jpg","url":"https://assets-eu.researchsquare.com/files/rs-4002294/v2/e876e0a8556d1cfb55b816d1.jpg"},{"id":52190381,"identity":"b70ed710-db2c-4a98-8c4d-3c8c7ab38159","added_by":"auto","created_at":"2024-03-07 19:07:46","extension":"jpg","order_by":3,"title":"Figure 3","display":"","copyAsset":false,"role":"figure","size":33809,"visible":true,"origin":"","legend":"\u003cp\u003eVariation in Text Classification Recall of Humans (ET1, ET2, ET3), ML and ChatGPT based on Complexity of Narratives.\u003c/p\u003e","description":"","filename":"f3.jpg","url":"https://assets-eu.researchsquare.com/files/rs-4002294/v2/98b51b14a8933c00f086519e.jpg"},{"id":52190643,"identity":"f5163a23-05e1-463d-b20c-3bf3c9f5abce","added_by":"auto","created_at":"2024-03-07 19:15:46","extension":"jpg","order_by":4,"title":"Figure 4","display":"","copyAsset":false,"role":"figure","size":36657,"visible":true,"origin":"","legend":"\u003cp\u003eAgreement of top 10 predictor words of eye tracking (ET) present in machine learning (ML).\u003c/p\u003e","description":"","filename":"f4.jpg","url":"https://assets-eu.researchsquare.com/files/rs-4002294/v2/5741f35e614c7f2e1615e35b.jpg"},{"id":52190644,"identity":"ba3a0a81-2a71-4508-8d56-9f05271b6f61","added_by":"auto","created_at":"2024-03-07 19:15:46","extension":"jpg","order_by":5,"title":"Figure 5","display":"","copyAsset":false,"role":"figure","size":44292,"visible":true,"origin":"","legend":"\u003cp\u003eAgreement of top 10 predictor words of eye tracking (ET) present in ChatGPT\u003c/p\u003e","description":"","filename":"f5.jpg","url":"https://assets-eu.researchsquare.com/files/rs-4002294/v2/033f902667c9a886103782f5.jpg"},{"id":52190383,"identity":"12ef61e8-57c0-498d-b9a1-bdc9fc1ef3ec","added_by":"auto","created_at":"2024-03-07 19:07:46","extension":"jpg","order_by":6,"title":"Figure 6","display":"","copyAsset":false,"role":"figure","size":42888,"visible":true,"origin":"","legend":"\u003cp\u003eAgreement of top predictor words between eye tracking (ET) \u0026amp; machine learning (ML) and eye tracking (ET) \u0026amp; ChatGPT.\u003c/p\u003e","description":"","filename":"f6.jpg","url":"https://assets-eu.researchsquare.com/files/rs-4002294/v2/9db05b9800dac8374761bb2a.jpg"},{"id":52190379,"identity":"ffcd3008-2721-428c-a081-006ff639673d","added_by":"auto","created_at":"2024-03-07 19:07:46","extension":"jpg","order_by":7,"title":"Figure 7","display":"","copyAsset":false,"role":"figure","size":27824,"visible":true,"origin":"","legend":"\u003cp\u003eInjury Classification Software.\u003c/p\u003e","description":"","filename":"f7.jpg","url":"https://assets-eu.researchsquare.com/files/rs-4002294/v2/802a7e8f88a2bb35094614a0.jpg"},{"id":52190941,"identity":"97aeb08c-d2b0-4052-b5a2-24af183113b3","added_by":"auto","created_at":"2024-03-07 19:23:46","extension":"pdf","order_by":0,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":568146,"visible":true,"origin":"","legend":"","description":"","filename":"manuscript.pdf","url":"https://assets-eu.researchsquare.com/files/rs-4002294/v2/faaffbb9-fbe8-4b1e-93cc-42819697497d.pdf"}],"financialInterests":"The authors declare no competing interests.","formattedTitle":"\u003cp\u003e\u003cstrong\u003eComparing Human Text Classification Performance and Explainability with Large Language and Machine Learning Models Using Eye-Tracking\u003c/strong\u003e\u003c/p\u003e","fulltext":[{"header":"Introduction","content":"\u003cp\u003eText classification has a wide variety of applications including spam filtering of emails, organization of documents and articles, and analyzing electronic health reports. Most of the automated text classification happens through supervised machine learning (ML) models. These models are trained on human-annotated training data to learn how the features (words or phrases) in the text are predictive of certain classification categories and use that learning to predict the category for a new text record. The accuracy of ML models is highly dependent on the accuracy and consistency of the human labelling or annotation, which is not always perfect due to variation in human performance, expertise on classification rules, and interpretation of text. Another reason for limited prediction accuracy in traditional ML models is the lack of usage of semantic and syntactic information of the text. Recent advancements in natural language processing (NLP) such as word embeddings, transformers, and large language models (LLMs) have better capabilities in terms of understanding and utilization of syntactic and contextual semantic information of the text [1,2,3], which is likely to improve the classification performance.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eExplainability in Text Classification\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eWith the increasing usage of machine learning models in diverse domains, explainability has emerged as an important aspect for understanding the rationale behind classification decisions made by humans or ML models. In the context of ML models, simpler ML models, such as Na\u0026iuml;ve Bayes and decision trees, are often not highly accurate but can be easily understood by end-users due to their relatively simple structure or mathematical formulation. On the other hand, more sophisticated models, such as neural networks, gradient-boosted decision trees, and ensemble models (e.g., random forest classifiers), typically have better predictive power but are difficult to understand because of their complex formulations or the proprietary nature of their learning algorithms. To render these models more interpretable and explainable to their end-users, several explainable AI tools have been developed recently [4] that can provide feature-based or data-based explanations of the outcomes of ML models and process. Feature-based approaches, such as LIME [5] and SHAP [6] identify the most important features responsible for the model\u0026rsquo;s outcomes either for the entire dataset (global explanations) or for a particular data instance (local explanations). For instance, SHAP measures the marginal contribution of features to the difference between a particular prediction and the average model prediction [6]. LIME, on the other hand, provides local explanations for a model\u0026rsquo;s prediction on a data instance; for a given instance, it probes the black-box model with a new data instance obtained by perturbing the given instance, obtains the model predictions, and repeats this process to learn a surrogate, interpretable model (e.g., linear regression or decision tree) in the neighborhood of that instance [5].\u0026nbsp;\u003c/p\u003e\n\u003cp\u003eWhile the aforementioned explainability approaches have become popular because of their applicability to multi-modal, multi-class classification settings, explainability of text classification by humans and LLMs has not been well-studied. Extending these XAI for LLMs is challenging due to the large number of model\u0026nbsp;parameters\u0026nbsp;(175 billion for GPT-3 model) [7]. Additionally, while manual text classification is the primary method of annotating cause-of-injury codes, information about the reasoning behind the category selected for each case by the human annotator is typically not recorded, as it is a time- and resource-consuming process.\u0026nbsp;As such,\u0026nbsp;the explainability aspects of manual text classification in the context of injury surveillance have not been well-studied.\u0026nbsp;\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eStudy Objectives\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eIn this study, we aim to fill these gaps in the literature by studying and comparing the performance and explainability aspects of text classification performed by humans, traditional ML model, and LLMs. \u0026nbsp;For human explainability analysis, we performed eye-tracking user study in which the participants performed text classification and the words on which they focused were identified. For LLM explainability analysis, we used prompt-based questions asking ChatGPT-3.5 [7] to list the top words in the narrative used for decision making. For ML model, we used the explainable AI approach LIME [5, 6] to identify the top words used by the model during classification. The text classification task used in this study was assigning external cause-of-injury codes [8, 9, 10] to accident narratives collected at hospital emergency rooms. The nature of text was not very generic in nature (e.g., customer reviews of products or services) but somewhat domain-specific with narratives containing injury related medical terms. The noisy nature of narratives with misspellings and improper sentence structures, and lack of clarity about the underlying cause of injury made the text classification task moderately challenging.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eRelated work on Eye Tracking\u0026nbsp;\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003ePrevious studies have used eye tracking for analyzing human text comprehension [11, 12] as eye tracking while reading is considered as one of the most informative physiological data channels [14]. While reading, humans move their gaze position from word to word in a line of text, resulting in two main types of movement patterns: rapid eye movements known as saccades, and points of gaze movement pauses called fixations. During fixations, the human mind actively processes the meaning of the text [15] providing information about how long a person spent looking at the text, which words were skipped [16], and so on. Thus, eye tracking data recorded during text reading provides objective insights about reading patterns and duration of visual attention assigned to specific parts of the text at the level of phrase, word, or character [13, 17].\u0026nbsp;\u003c/p\u003e\n\u003cp\u003eIn addition to reading and language comprehension, eye-tracking has also been used in understanding how humans perform other linguistic tasks such as annotation [18, 19]. Previous studies [20, 21, 22] have analyzed eye tracking data such as number of fixations, search time, and fixation duration recorded during manual annotation of named-entities in texts to a) estimate the difficulty level based on cognitive load assessed using gaze data eye-tracking data, and, b) identify prominent features used by humans for named-entity recognition. Some studies [23, 24, 25] have tried to develop cognitive models using eye tracking data for estimating reading and manual sentiment annotation complexity, and reported that fixation duration can be predictive of sentiment annotation complexity. There have also been some recent studies [26, 27] that have developed neural networks integrating the text features and eye tracking data for various natural language processing (NLP) tasks such as determining sentiment polarity and identifying sarcasm.\u0026nbsp;\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eInjury Narrative Classification: Overview and Challenges\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eIn this study, we have focused on the text classification task of assigning six cause-of-injury codes (CUT, FALL, STRUCK, BURN, MOTORVEHICLE, and OTHER) to accident narratives. It is similar to injury coding, in which the unstructured incident narratives collected at hospitals and injury reports are transformed into structured form by assigning different types of injury codes, such as cause-of-injury, product-involved, and nature-of-injury. It is an important step in the injury surveillance and prevention efforts carried out by public health agencies as it enables statistical analysis of structured data to identify trends and patterns [28]. Injury coding is similar to other multi-label text classification tasks, but following aspects make it challenging, (a) the narratives are short and noisy text snippets with misspellings and non-grammatical sentences, and (b) there are a large number of injury codes with only few dominant ones leading to imbalanced data distribution [8, 29].\u0026nbsp;\u003c/p\u003e\n\u003cp\u003eTraditionally, injury coding has been done manually where the human coders assign injury codes based on the narratives. Manual coding is time and resource consuming and also involves quality challenges, such as (a) subjective interpretation of text by different individuals leading to inconsistent coding, (b) incorrect assignment of low-frequency or rare injury codes typically by less-experienced coders [8, 28]. In recent years, ML models trained on manually coded historical injury records have been used to predict the injury codes [8, 9, 29]. While these ML models have showed decent prediction accuracy overall and for high-frequency injury codes, their accuracy for low-frequency injury codes has been limited, primarily due to inconsistencies in training data and the noisy nature of narratives [8, 28, 29].\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eStudy Design Overview\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eThe dataset of injury narratives used in this study was generously provided by the Queensland Injury Surveillance Unit (QISU) [30], which contained the accident narratives collected from hospital emergency rooms and the associated cause-of-injury codes assigned by professional coders. For human text classification analysis, we conducted an eye tracking user study involving 51 participants who had to perform a text classification task of assigning cause-of-injury codes to accident narratives while their eye-tracking data was recorded. Each participant had to read 12 accident narrative prompts on a computer screen and select the most appropriate external cause-of-injury code for each prompt from a list of six possible cause-of-injury codes: CUT, FALL, STRUCK, BURN, MOTORVEHICLE, and OTHER. The set of 12 prompts (later referred as prompt-set) consisted of 2 unique accident narratives belonging to each cause-of-injury code, but the participants were unaware about the equal number of prompts for each injury code.\u0026nbsp;\u003c/p\u003e\n\u003cp\u003eThe total user study dataset consisted of 3 repetitions of 17 unique prompt-sets that were used for 51 (=17*3) participants. Thus, for each prompt-set, data was collected from 3 participants with the intention to account for human variability. The overall dataset included 34 (=17*2) unique narrative cases for each of the 6 cause-of-injury codes, i.e., a total of 204 (=34*6) unique narrative cases. These narrative cases were derived from the QISU database from the year 2018 and the cause-of-injury codes were assigned by professional QISU coders. During the study, each participant\u0026rsquo;s ocular parameters- fixation count (FC) and fixation duration (FD), were recorded with the resolution-level of individual word in the narrative while they performed the text classification task. The eye-tracking data was analyzed to identify which words users focused on (i.e., words with highest fixation count and fixation duration) while reading and comprehending the narrative and making the selection of most applicable cause-of-injury code. The top words were selected based on the highest FC and FD values.\u0026nbsp;\u003c/p\u003e\n\u003cp\u003eFor ML, we used the Logistic Regression (LR) [31] model trained on 200,000 injury cases to predict the cause-of-injury code and used explainability approach of LIME based ELI5 [5] to identify the top-5 words in the narrative that the LR model used. For LLM, we used ChatGPT-3.5 to predict the cause-of-injury code in a zero-shot learning manner (i.e., without any training) and used prompts to identify the top-10 words used by the model.\u003c/p\u003e"},{"header":"Results","content":"\u003cp\u003eFor the human text classification eye tracking user study, the participant-selected cause-of-injury codes for each narrative in 204-case dataset was recorded. As explained in the study design, each case in the dataset was analyzed by three participants (17 unique sets * 12 case per set* 3 batches= 204). ET1, ET2 and ET3 are referred to as the eye tracking data recorded for 3 batches of cases across 51 participants. For the ML and LLM models, the cause-of-injury codes predicted by the LR and ChatGPT models for each narrative in the 204-case dataset were recorded.\u0026nbsp;\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eComparing Text classification performance between Humans, ChatGPT, and ML\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eThe text classification performances of the three approaches (human, ML, and ChatGPT) were evaluated on the set of 204 injury cases by comparing the cause-of-injury codes predicted by eye-tracking study participants, ML model, and ChatGPT with the original codes assigned by the QISU professional coders. Recall was used as the primary measure of performance for each of the six cause-of-injury codes as well as overall performance on the whole dataset, as described in Equation (1):\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbMAAAAvCAYAAABpPiQLAAAKPUlEQVR4Ae3cjXHUSBAFYKdADKRADoRADKRABmRABiQAEZAACZABOfjq2+P5mjnt2msvxrLfVAmNevr3SdtPI1/d1XVHESgCRaAIFIGdI3C18/ybfhEoAkWgCBSB65JZH4IiUASKQBHYPQIls93fwhZQBIpAESgCJbM+A0WgCBSBIrB7BEpmu7+FLaAIFIEiUARKZn0GikARKAJFYPcIlMx2fwtbQBEoAkWgCJTM+gwUgSJQBIrA7hEome3+FraAIlAEikARKJn1GSgCRaAIFIHdI1Ay2/0tbAFFoAgUgSJQMuszUASKQBEoArtHoGR2x1v49evX66urq/8dHz9+vKOHv6f248eP61evXp1M4P3799efPn06qfO3FuH+5s2bm/CfP3++fvfu3c311uQuOlt2lRWBIrBPBEpmd7xvSEuDnMRAhuT2NpDWHkg4uMr3w4cPubzXGfl9+/btXrY1KgJF4OkjUDK74z1CYsZ84yf7+fPnodHaPWiWb9++PezeyM3njkhDZZ+BUKyzXXdF9KylkdOZDd3669evD7Zzl0KHrsNuS07T/1wnV8PM8/v37we/fKYGcQzXfLKT20oO8T1xQPbxwyb+xTRcBzNx6BqzPvK8NMBMfHYZE0fzVceujo1j1qLGWctWnnLOvU/usZk5JJeei0AR+DsIlMzOxF0zn4Sk0aV5a8oaouZJZk0zzDBPs9Zw+aKDBCYh0c/uSfONL03U0NjJNVP+omONDp/W+DXkNRvvzMM6/4lvrj7X8ZNPfPzIizzzQ4BfRMeO3EEn1zN/OYU0Zu7yk5cz/cz5V1Nwc20tA47yEw8ueSmYOnymhti5Dj5s5LyVZ3yzyz0zh8/MKX57LgJF4O8gUDI7E3dNUuNcx5ZcE0VYhkY5Gyr9vOHT2WqM5NmR8JVdhUY6CTXEJg65a403I3bJI8SVdc08JEDGNvbkchBfvo7Vf/w4W0stbFP/zD/61uMTNql11hfijA0/M/9juE8dtcz61lxgFv25po6JneuQNb2OIlAEng4CJbMz7gVC0nzXobFNosp6SCHrdgJp2Pxojg4Nf4sgQwzW+E9D1lDjh21im8dn8hR77jrkJA/y+NDIzee1WsXL7mWSsXzS/FOrc/I0p49oxDGmr4PgF2lO/5mnPv7M5Zzc+HEdMg+OdEOcq0788SGfWYtreU7/8UNmLtaXL19u8JenHDqKwEtFwG/Kb+7UmC+Cp/Qutfb/znyLZ41AA5mHpNNcbjF/0DLwElfTNsQlS0N/UIBbjBN7bWRbjZorcjZppubBSUN0DTuYrkOtc/c2Y2qyWUMqwQIGyTHEoFmT5Tp4ySl2fMgjxOOaf/ln0GXD17EHme/kxV8Igg8+5zWZePSSX/I5hZs1MbZwTP6rDkJKjNSTWsSPrzVP+bKzvtaWWPHXcxF4KQj4zaw9y2+MfI5wxZT9yfnZZCYZjXGSh0brR38bU1+iEA1mxk4+adaXiPEUfGjIk8CeQk635YCw1of8NpuuF4EisB8E8qViZpwX0pXM6OgHXhwfY9yLzDQtRWVkx/QYjUyDn7HlAKz5dp289nyGsReEPQ07psd6cPeES3MtAs8BAf19i7DUpi8fW3us/nyvbjk/8ygkn2Pmziw7KA1ZkfOzjLkCrTnsQjLM6ZPbbWnq+fxEZwsYujN2fPVcBIpAESgCl0HAJuLY16JTZGbtMV5yzyYzRDTJA2kht/mZL39fyE7NZ8GAwJ5+CIxddlVk1mIHvPWT4oztFp16W9i6hexvO7bsKisCRaAIvGQEbDLSq1ccTpHZuT169X3X67PJDOFMMlgLtIsKIZmvxIah18+Eko3dBAvRTd0tUIA4de5a+Ll6s+bOb38heAkYnfsMVb8I7BmBtdfPWm4jM/3gT4+zI/js5zCQC+Kan/jyyVHy1ujSMxAW+fzkeFgYnypz7WxXNslti7i2PjtOH50XgSJQBIrAwxF4dmSGoPKJEDwKRDIZ5se+jyK1Ywy92kV3EuUWcfE3dZLHsTP9245jtpUXgSJQBF4qAlv9N1jo37hga6SXb61dUnbWziy7ruy0JOIT3yQvOylF2YUZrvMZEOkgkuzMrOVvbfl7GTv+2dB1HR3X1lxHb9W5JDj1VQSKQBEoAv8ioCenl6+YnCKzdaOy2l7q+iwyQxw5kgBCIpu7tRARufncOSEicju8kBJfyMlnRWuKd02HzNwwJ0OqBr/RCUEeFvpPESgCRaAIXBQBG4mt3ZfNjL6dY/Z7CZza0V0ywbPI7JKBn4svRJubOM9zt/rQWhE138feih7q/5S9h9cLw2MNeOZl6JIYPlb+jVMEnjMCfps2MHcdCPCxfscls7velSN6+SRqWeNHPPkUesTkRjz/45gb4ZGJ3eo5D9ERN2eL1ZL/4Ods43sYqPMx490jxZoUgReNgD53l16UPys9FlglswcibSfhyCdP7nJtjtzy+dQ5W/DI7LiydV91507M201sk7IHyq7JJ958vnU25lrySJy5Nu0yn29SyEUeZHLNJ14+rYlPLgf5i4GMEoPOOsSZdllPfP5mDll3Fl+MqQNvMcmswdYgT97W5GTIM3L69I7pHgz6TxEoAr8h4Pez9qPfFH693K+yP3ldMrsQuhrlJB9uQ3AhAA03zT3ElfCaqQafhuthiR0dTXcddPmzZgdFPzlkLX/LDOHxkbVpl2bPT8iArjzkLT9kY26IK5YaIxffkTrMU+/B6Nf/15NP/mAg7hxsj/1I5GbdmX1y4S91iycfg15wU7982KVu8flz3tKdeXVeBIrA00bg907ytHN90tlprCGiJKqBpsmSmYdcNN3Mra26Gq7Ga2jC089B+OufGVcTnzlYCzGs5DjtJgGwDxkIodknD/KQEzkicpZbdNY6Zq7xl5yc2WcglZBPZPM8c458tZELvDLkzGdk8pO3A2lHTn/VjY+ei0ARePoIlMwucI80ck3Z2/0cK0nQSSMPuWimGnJ0+dJUNVpy+tYck/wSZ/qMTQgtux7+opccXYeA5BI5wjCXl3N2aebxITbf7B0IJHWxnwSRPHOednzLLUONx0ibTjALRmLOHOGTHMnlYsiHrRGczekk/pbuwaD/FIEisAsESmYXuE0apSadhhmXmq1dgbUQTdY0bfI005AF/czTYNOkQ1LxgexCNmTmjpCUxu5gJ7esTTu68sgQUw4hWDbW5+6Grrwjl2+GeIkf2TwjE3b0UnvWxVprzJqztVkTmVhyW+tEYOSJFb/qilx89lMWPzNu50WgCDx9BP7rYk8/12b4jBFAKIgnO7xnXGpLKwJF4A8gUDL7A6DW5XkIZMeV3dN51tUuAkWgCFxfl8z6FBSBIlAEisDuESiZ7f4WtoAiUASKQBEomfUZKAJFoAgUgd0jUDLb/S1sAUWgCBSBIlAy6zNQBIpAESgCu0egZLb7W9gCikARKAJFoGTWZ6AIFIEiUAR2j0DJbPe3sAUUgSJQBIpAyazPQBEoAkWgCOwegX8AqGOx+/hEFtkAAAAASUVORK5CYII=\"\u003e\u003c/p\u003e\n\u003cp\u003eFor Recall calculations, a case was counted as True Positive when the predicted cause-of-injury code agreed with the originally assigned QISU code, and the total number of cases (in the denominator of equation 1) for individual cause-of-injury code was 34 and for the overall Recall it was 204 (size of the dataset). Due to space considerations, other commonly used performance measures such as Precision or F1-scores are not included in the paper. Figure 2 presents the Recall for each injury code and the overall dataset for Human study (three sets- ET1, ET2, and ET3), ChatGPT, and ML.\u0026nbsp;\u003c/p\u003e\n\u003cp\u003eAs shown in Figure 2, among the three text classification approaches, the ML model reported the highest overall Recall (84%) as compared to Human and ChatGPT. One of the possible underlying reasons for this may be that the ML model was trained exclusively on a large dataset of injury narratives. On the other hand, while Human study participants and ChatGPT had capabilities of general understanding of the narrative text and cause-of-injury category definitions, they did not have specific training or experience on injury narrative classification task to understand the nuances. The text classification study participants did not have any significant prior knowledge on injury data analysis and the LLM ChatGPT although being trained on several textual databases from different domains, has not been exclusively trained on injury-code related datasets. Figure 2 also shows the variations in Humans\u0026rsquo; text classification performance across the 3 sets ET1, ET2, and ET3 among the 51 study participants. It is to be noted that there were multiple participants involved in each of the user study batches- ET1, ET2, and ET3, therefore, a comparative analysis between the batches was not performed.\u003c/p\u003e\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eVariation in Performance based on the Distinct Nature of the Code\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eAmong the different cause-of-injury codes, the classification performance varied based on the uniqueness of the code, i.e., how distinct were the codes relative to other codes so that they are less likely to be confused with another code. This was particularly important for Human and ChatGPT approaches where specialized training on injury coding was not provided. As the ML model was trained on thousands of cases of each injury code, it was expected to learn the classification rules in a more detailed manner. The cause-of-injury codes BURN and MOTORVEHICLE were relatively unique in nature, codes FALL, STRUCK and CUT were moderately unique, and the code OTHER was not very unique in nature. The injury code descriptions are provided in Table 2 in the Methods section. The distinct nature of codes BURN and MOTORVEHICLE meant that the narratives typically included a unique set of words, for example, in describing the type of injury (e.g., \u003cem\u003eburned\u003c/em\u003e or \u003cem\u003escalding\u003c/em\u003e for BURN) or the product involved (e.g., \u003cem\u003ecar\u003c/em\u003e or \u003cem\u003epedestrian\u003c/em\u003e for MOTORVEHICLE), that did not overlap with narratives of other injury codes. On the other hand, the injury codes that were not very unique in nature contained overlapping elements with other injury codes or did not have clear definitive classification rules. For example, the codes CUT and STRUCK had some overlapping elements such as interaction between a tool and a person, and the code OTHER had a relatively fuzzy definition that the narrative does not belong to any other cause-of-injury codes.\u0026nbsp;\u003c/p\u003e\n\u003cp\u003eAs shown in Figure 2, codes BURN and MOTORVEHICLE, which had relatively unique definitions, reported higher Recall for Humans and ChatGPT as compared to other injury codes. It is also to be noted that there was lesser variation in the performance of the three Human sets ET1, ET2, and ET3 for BURN and MOTORVEHICLE as compared to other injury codes. This may be indicative that the text classification process for these codes was less confusing for non-experts due to their unique nature. For BURN, ChatGPT (97%) and Humans (~91% for all three sets) reported their highest Recall. It is also interesting to note that while ML reported its highest Recall for MOTORVEHICLE (97%), it reported its lowest Recall for BURN (97%).\u0026nbsp;\u003c/p\u003e\n\u003cp\u003eHumans and ChatGPT reported relatively low Recall for cause-of-injury codes OTHER, CUT, and STRUCK, while the ML model performed relatively better for these categories. It is also to be noted that the variation in human sets ET1, ET2, and ET3 is relatively large for these categories. For cause-of-injury code OTHER, ML reported highest Recall (79%), followed by Humans (ET1-38%, ET2-71%, ET3-59%) and ChatGPT (53%). For STRUCK, the Recall for ML (79%) was significantly high as compared to Humans (ET2- 53%, ET3- 32%) and ChatGPT (62%). All three approaches- Humans, ChatGPT and ML, reported their lowest individual Recall for STRUCK. For CUT, the Recall was close for ML (82%) and ChatGPT (79%) followed by Humans (ET1-59%, ET2-76%, ET3-68%). It is also to be noted that the ML model reported better Recall than Human and ChatGPT for all cause-of-injury codes, except FALL and BURN. For FALL, the ML Recall was marginally less than ChatGPT and ET3. For FALL cause-of-injury code, Humans reported highest Recall (ET2-88%) as well as lowest Recall (ET3-59%).\u0026nbsp;\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e\u0026nbsp;\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eVariation in Prediction Performance based on Complexity of Narratives\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eEach of the narratives in the set of 204 prompts used for classification task were internally classified into 3 levels of complexities-Low, Medium, and High, based on two factors: (a) the level of difficulty in comprehending the narrative text and (b) the lack of clarity or obviousness in selecting the most appropriate cause-of-injury code either due to multiple possible codes or lack of information in narrative. The eye-tracking study participants were not aware of these different narrative complexity levels during their text classification task. Overall, out of the 204 narratives, there were 74 narratives categorized as \u0026ldquo;Low\u0026rdquo;, 82 narratives categorized as \u0026ldquo;Medium\u0026rdquo; and 48 narratives categorized as \u0026ldquo;High\u0026rdquo; complexity. We analyzed the variation in Recall values based on narrative complexity for the predictions made by Humans (ET1, ET2, ET3), ChatGPT and ML, presented in Figure 3.\u0026nbsp;\u003c/p\u003e\n\u003cp\u003eAs shown in Figure 3, the highest Recall values were observed for narratives with low complexity for ML (89%), ChatGPT (91%), and Humans- ET1 (62%) and ET3(62%). However, ET2 reported highest Recall (68%) for narratives with \u0026ldquo;Medium\u0026rdquo; complexity. \u0026nbsp;Overall, considering the variations in human performance between groups ET1, ET2, and ET3 shown in Figure 3, we can observe that, a) for low complexity narratives, ML and ChatGPT performed considerably better than humans, b) for medium and high complexity narratives, ML performed considerably better than ChatGPT and humans, and ChatGPT performed marginally better than humans.\u0026nbsp;\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e\u0026nbsp;\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eExplainability: Comparing top words between Humans, ChatGPT, and ML\u0026nbsp;\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eWe also studied the reasoning behind the text classification choices made by humans, traditional ML model, and LLM (ChatGPT) by studying the words in narrative text that were used by them for classification decision making. For human text classification (ET1, ET2, ET3), word-level eye tracking parameters- FC and FD were recorded and analyzed for each participant to identify the top-10 words that participants focused on while comprehending the narrative and selecting the cause-of-injury code. For ML model, the top-5 words in the narrative used by the LR model for making the prediction were determined using LIME based ELI5 explainability analysis. The top-5 ML words are referred to later in the paper as ML1-(top 1\u003csup\u003est\u003c/sup\u003e word), ML2 (2\u003csup\u003end\u003c/sup\u003e word), ML3 (3\u003csup\u003erd\u003c/sup\u003e word), ML4 (4\u003csup\u003eth\u003c/sup\u003e word), and ML5 (top 5\u003csup\u003eth\u003c/sup\u003e word). For the LLM, the top-10 words used by the ChatGPT model were obtained through prompts asking to list the top words used by the model for text classification decision making in decreasing order of importance.\u0026nbsp;\u003c/p\u003e\n\u003cp\u003eNext, we compared the level of agreement between the top predictor words of ML model with humans and ChatGPT. The level of agreement between the top words of humans and ML model was calculated by comparing the overlap between the top-5 words of ML model with top-10 predictor words of humans for each of the 206 cases in the dataset. Similarly, the level of agreement between the top words of ML and ChatGPT was calculated by comparing the overlap between top-5 words of ML and the top-10 words used by ChatGPT for each case in the dataset. Figure 4 shows the agreement level for each of the top-5 ML words (ML1-ML5) with humans (ET-1, ET-2, ET-3 based on fixation count (FC) and fixation duration (FD)) and ChatGPT. The Y-axis represents the number of cases out of total 206 dataset where the top-n\u003csup\u003eth\u003c/sup\u003e word of ML model was present in the top-10 word lists of ChatGPT and humans (ET-FCs and ET-FDs). The X-axis shows the top ML words (ML1-ML5).\u003c/p\u003e\n\u003cp\u003eAs shown in Figure 4, the topmost ML word-- ML1 overlapped with ET and ChatGPT top-10 words for maximum number of cases in the dataset, followed by next top words ML2, ML3, ML4, and ML5. This behavior was somewhat expected as the top predictor words provided by ELI5 in decreasing order of importance. Similarly, the list of top-10 predictor words ChatGPT were also organized in decreasing order of importance as it was instructed to do so in the prompts. One of the interesting trends to be observed in Figure 4 is that there was a relatively substantial decline in the number of cases with matching top-words between ML and other approaches after ML2, as compared to the decline from ML1 to ML2. This indicates that the top-2 ML predictor words were considerably more predictive as compared to ML3, ML4, and ML5.\u0026nbsp;\u003c/p\u003e\n\u003cp\u003eAnother noticeable trend in Figure 4 was that the decline in agreement between the top words of ML and ChatGPT going from ML1 to ML5 was considerably steeper as compared to the decline in agreement of top words of ML and humans (ET-FCs and ET-FDs). This relatively higher overlap between the top words of ML and humans indicates that there was better alignment in the reasoning of classification choices between ML and humans as compared to ML and ChatGPT. We can also observe in Figure 4 that there was a slightly higher agreement level with humans for ML5 as compared to ML 4, which might be indicative that there may not be as significant difference in the importance scores of ML4 and ML5 as compared to the topmost words ML1 and ML2.\u003c/p\u003e\n\u003cp\u003eNext, we compared the overlap between top predictor words used by ChatGPT and humans as shown in Figure 5. The axes in Figure 5 are organized similar to Figure 4, with the Y-axis representing the number of cases from the 206-case dataset where the top words of humans and ChatGPT agreed, and the X-axis representing the top-10 ChatGPT words (ChatGPT1- ChatGPT10).\u0026nbsp;\u003c/p\u003e\n\u003cp\u003eAs shown in Figure 5, the agreement between top words of ChatGPT and humans followed a similar overall trend as agreement between ML and humans shown in Figure 4, with higher level of agreement with the first two/three words followed by a steady decline for later words. However, one of the noticeable differences between Figures 4 and 5 is that there was a relatively steeper decline in agreement of top words of ChatGPT and humans as compared to ML and humans. Between humans and ML, the number of overlapping cases were in the range of 80-105 for ML4 and 80-110 for ML5, as shown in Figure 4. For agreement between ChatGPT and humans, the number of overlapping cases were in the range of 60-90 for ChatGPT4 and 35-45 for ChatGPT5, as shown in Figure 5. This indicates that while the top-3 predictor words aligned better with human reasoning, the later words had a relatively lower agreement with humans.\u003c/p\u003e\n\u003cp\u003eNext, we studied how the agreement of top predictor words between different approaches varied between different cause-of-injury codes as shown in Figure 6. The intuition behind it was that the level of uniqueness of words used in the narratives associated with different cause-of-injury varied considerably, therefore the top predictor words used by different approaches may vary based on the codes. As mentioned earlier, codes BURN and MOTORVEHICLE were relatively unique in nature, codes FALL, STRUCK and CUT were moderately unique, and the code OTHER was not very unique in nature. To examine the overlap of top predictor words between different approaches, we compared the following combinations: a) ML and ChatGPT (top-5 of ML and top-10 of ChatGPT) b) ML and Eye Tracking based on Fixation Count (ET(FC)), c) ChatGPT and ET(FC), c) ML and Eye Tracking based on Fixation Duration (ET(FD)), and d) ChatGPT and ET(FD). In Figure 6, the X-axis shows all the six cause-of-injury codes, and the Y-axis represents the percentage of total number of cases for each category (34 cases of each category in the 206-case dataset) where the top-5 predictor words agreed between different text classification approaches. For this analysis, the data from the three sets of humans (ET1, ET2, and ET3) were combined together, and are represented as ET in Figure 6.\u003c/p\u003e\n\u003cp\u003eExamining the overlap of top predictor words of ML and ChatGPT, we can see in Figure 6 that the highest level of agreement was observed for code BURN followed by CUT, FALL, STRUCK, MOTORVEHICLE, and OTHER. As shown in Figure 2, the prediction performances (Recall) of ML and ChatGPT were relatively close for codes CUT, MOTORVEHICLE, and FALL, and there was some difference in Recall for codes OTHER, STRUCK and BURN. Two interesting trends to note for the relatively unique codes BURN and MOTORVEHICLE were: a) while the Recall values for ML and ChatGPT were relatively different for BURN, the overlap between top words was high, and b) while the Recall values of ML and ChatGPT were close for MOTORVEHICLE, the overlap of top predictor words was low. One of the possible reasons might be the difference in approaches of interpreting the narrative words. The ML model was trained on thousands of injury narratives, so it was referring to the weight of words derived from the training set. The ChatGPT LLM model was not specifically trained on injury narratives, so the way in which it was deriving the relative importance of words was based on a more general vocabulary of words.\u003c/p\u003e\n\u003cp\u003eBetween ML and humans, the highest overlap among top predictor words was observed for code CUT followed by STRUCK, MOTORVEHICLE, OTHER, FALL, and BURN, as shown in Figure 6. \u0026nbsp;Comparing the Recall values of ML and humans (ET1, ET2, and ET3), a relatively wider gap was observed for codes CUT, OTHER, and STRUCK. It is interesting to note that while there was considerable difference in Recall values of ML and humans for codes CUT and STRUCK, the overlap between top predictor words was relatively high. A possible reason for it may be that since both these codes were moderately unique in nature, the same words may be used by humans or ML models to make different conclusions, i.e. selecting a different code.\u003c/p\u003e\n\u003cp\u003eBetween ChatGPT and humans (ET(FC) and ET(FD)), the highest overlap between the top predictor words was observed for code FALL followed by codes CUT, BURN, STRUCK, MOTORVEHICLE, and OTHER. It can be observed from Figure 6 that there was considerable difference in the level of overlap between ChatGPT and humans based on fixation count ChatGPT-ET(FC) and fixation duration ChatGPT-ET(FD) for codes STRUCK and FALL as compared to other codes. No consistent trend was observed for variation of Recall values of ChatGPT and humans (ET1, ET2, and ET3) for different cause-of-injury codes.\u003c/p\u003e"},{"header":"Discussion","content":"\u003cp\u003eIn this study, we compared the performance and reasonings of a text classification task between non-expert humans, an advanced LLM, and a classical ML algorithm. The nature of text used in the study was not very generic (e.g., newspaper articles or customer reviews) but somewhat domain specific, containing injury narratives that had to be classified into six cause-of-injury categories. These injury narratives were noisy in nature making the task somewhat challenging. While the traditional ML model was trained on a large set of labelled injury narratives, the other approaches were not trained on injury classification. ChatGPT had a broader understanding of English language through its diverse training sets and humans possessed language comprehension capabilities.\u0026nbsp;\u003c/p\u003e\n\u003cp\u003eResults indicated that the ML model performed relatively better overall as compared to ChatGPT and humans. All approaches showed two consistent trends. First, the classification performance was better for cause-of-injury codes that were fairly unique in nature (BURN and MOTORVEHICLE), followed by moderately unique codes (FALL, STRUCK, and CUT), and codes that did not have a clear-cut definition (OTHER). Second, all the approaches performed relatively better for cases with low complexity, followed by medium and high complexity. It was also interesting to note that the ML model performed considerably better than ChatGPT and humans for cases with high complexity and those belonging to not so unique cause-of-injury codes (OTHER and STRUCK). This indicates that for a domain-specific text classification task, a traditional ML model trained on a large-size dataset can outperform non-expert humans and LLM which are not trained on a similar dataset.\u0026nbsp;\u003c/p\u003e\n\u003cp\u003eWe compared the explainability of classification choices made by different approaches by comparing the words in the narrative that they focused on to make the classification decision. The results indicated that the top-3 words of ML had a higher degree of agreement with the top words used by humans and ChatGPT as compared to the top-4\u003csup\u003eth\u003c/sup\u003e and top-5\u003csup\u003eth\u003c/sup\u003e word. Similarly, for ChatGPT, the top-3 words overlapped to a greater extent with the words that humans focused on while comprehending and classifying the text, as compared to the later (n\u0026gt;3) words. This suggests that the same top 1-3 words were used (typically the injury or object involved) for making the decisions by different approaches, although the conclusions may have been different for different approaches, particularly when the cause-of-injury did not have a unique definition, or the narrative was relatively complex.\u0026nbsp;\u003c/p\u003e\n\u003cp\u003eOverall, our findings suggest that a simple and scalable machine learning model trained on large similar data can perform at par or better than large language models and non-expert humans for a domain-specific text classification task. This study also had some limitations including: (a) the size of dataset and number of participants could have been larger, (b) limited number of models were used (LR for ML and ChatGPT for LLM) to examine the classification performance and reasoning. To address these limitations, future studies can perform larger-scale eye-tracking user experiments with diverse datasets and different ML and LLM models. Future studies can also utilize the narrative word-importance measure captured during manual text annotation to adjust the feature weights of ML or LLM models for classification and interpretation purposes.\u003c/p\u003e"},{"header":"Methods","content":"\u003cp\u003e\u003cstrong\u003eHuman Text Classification\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eAn eye tracking study was conducted with 51 user participants consisting of 31 males and 20 females aged between 23 to 30 years, with a mix of 15 native and 36 non-native English speakers. The study was to read the injury related narratives and select the most appropriate cause-of-injury code using the injury classification software (Figure 8). We used the Tobii Pro Fusion Eye Tracker with 250Hz sampling frequency to capture gaze data and Tobii Pro Lab software to record ocular parameters for each participant. The Tobii Pro Lab uses the Velocity-Threshold Identification (IV-T) Fixation Filter algorithm [32] to calculate angular velocity for each data point and depending on threshold values, the data points are classified as a fixation or a saccade [33]. Each participants\u0026rsquo; ocular parameters such as fixation count (FC) and fixation duration (FD) for each word in the accident narrative, and selected cause-of-injury code for each narrative were recorded while they performed the text classification task. The recoded parameters were used to understand which words they focused on while reading and comprehending the narrative and making the selection of most applicable cause-of-injury code. The study was approved by the Institutional Review Board (IRB) at Purdue University. Taking part in the study was voluntary, and participants were allowed to choose to quit the study at any point in time. If they wished to participate, a consent form was required to be read and signed by each participant before the start of the study.\u0026nbsp;\u003c/p\u003e\n\u003cp\u003eThe study was carried out in a well-lit indoor room. Each participant was called individually to the room and asked to position themselves towards the screen in a way they could comfortably read the content on screen and access the mouse. The Tobii Pro Fusion Eye Tracker was placed at the lower edge of the monitor that displayed the injury classification software. Participants were initially briefed about the process of the study and a trial session was given for them to be familiarized with the injury classification software. Then, the eye tracker was calibrated using the Tobii 9-point calibration routine. After the eye tracker was successfully calibrated, the injury classification software was displayed on screen. Participants were asked to read the instructions carefully and select the \u0026lsquo;START\u0026rsquo; button when ready. Participants read the accident narrative displayed on screen and selected one of the six cause-of-injury codes that they felt was most appropriate.\u0026nbsp;\u003c/p\u003e\n\u003cp\u003eThe injury classification software (Figure 7) consisted of an instructions page including meanings to each injury event cause and 12 prompts (Figure 7a). Each prompt displayed one accident narrative and six possible cause-of-injury codes namely, CUT, FALL, STRUCK, BURN, MOTORVEHICLE, and OTHER (Figure 7b). Description of each cause-of-injury code is given in Table 1 below. The participant had to select one of most applicable cause-of-injury codes. The buttons \u0026lsquo;NEXT\u0026rsquo; and \u0026lsquo;UNDO\u0026rsquo; on each prompt were used to navigate to next prompt and clear selection of cause-of-injury code to reselect the appropriate code respectively. Participants read the prompt and used the mouse to select the desired cause-of-injury code. We created 3 batches of 17 unique prompt-sets, each consisting of 12 prompts that were used for 51 participants. The 12 prompts consisted of a set of 2 unique narratives belonging to each of the six cause-of-injury codes. In total, we recorded 204 unique selections of cause-of-injury codes for each batch that included 34 narratives for each of the 6 cause-of-injury codes. Only 4 participants used the \u0026lsquo;UNDO\u0026rsquo; button to reselect the desired cause-of-injury codes.\u003c/p\u003e\n\u003cp\u003eTable\u0026nbsp;1. Description for injury event cause groups.\u003c/p\u003e\n\u003ctable border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"502\"\u003e\n \u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd width=\"28.48605577689243%\" valign=\"top\"\u003e\n \u003cp\u003eInjury event cause group\u003c/p\u003e\n \u003c/td\u003e\n \u003ctd width=\"71.51394422310757%\" valign=\"top\"\u003e\n \u003cp\u003eDescription\u003c/p\u003e\n \u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd width=\"28.48605577689243%\"\u003e\n \u003cp\u003eFall\u003c/p\u003e\n \u003c/td\u003e\n \u003ctd width=\"71.51394422310757%\"\u003e\n \u003cp\u003eFall on some level or height\u003c/p\u003e\n \u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd width=\"28.48605577689243%\"\u003e\n \u003cp\u003eStruck\u003c/p\u003e\n \u003c/td\u003e\n \u003ctd width=\"71.51394422310757%\"\u003e\n \u003cp\u003eStruck by or collision with person or object\u003c/p\u003e\n \u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd width=\"28.48605577689243%\"\u003e\n \u003cp\u003eCut\u003c/p\u003e\n \u003c/td\u003e\n \u003ctd width=\"71.51394422310757%\"\u003e\n \u003cp\u003eCutting or piercing by object\u003c/p\u003e\n \u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd width=\"28.48605577689243%\" valign=\"top\"\u003e\n \u003cp\u003eBurn\u003c/p\u003e\n \u003c/td\u003e\n \u003ctd width=\"71.51394422310757%\"\u003e\n \u003cp\u003eBurn due to hot object, fluid, or gas including hot drink, food, water, other fluid, steam, gas, and other types of contact burns\u003c/p\u003e\n \u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd width=\"28.48605577689243%\" valign=\"top\"\u003e\n \u003cp\u003eMotor Vehicle\u003c/p\u003e\n \u003c/td\u003e\n \u003ctd width=\"71.51394422310757%\"\u003e\n \u003cp\u003eAny type of motor vehicle accident involving driver or passenger\u003c/p\u003e\n \u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd width=\"28.48605577689243%\" valign=\"top\"\u003e\n \u003cp\u003eOther\u003c/p\u003e\n \u003c/td\u003e\n \u003ctd width=\"71.51394422310757%\"\u003e\n \u003cp\u003eAny other cause of injury not including Fall, Struck, cut, Burn or Motor Vehicle\u003c/p\u003e\n \u003c/td\u003e\n \u003c/tr\u003e\n \u003c/tbody\u003e\n\u003c/table\u003e\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eML Text Classification\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eFor traditional ML model analysis, we used a Logistic Regression (LR) model trained on large-scale historical data with 200,000 cases of injury narratives associated with the above-mentioned 6 cause-of-injury codes. The training data was derived from the QISU database with cases recorded between 2013-2017, and the cause-of-injury codes were assigned by professional QISU coders. The trained LR model was used to predict the cause-of-injury codes on the same dataset of 204 narratives used in the human text classification study. For explainability analysis of the predictions made by the LR model, we used LIME based ELI5 [5] to identify the top-5 words in the narrative that the LR model used for making the cause-of-injury code prediction.\u0026nbsp;\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e\u0026nbsp;\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eLLM Text Classification\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eFor the LLM analysis, we used the ChatGPT-3.5 model and created directive prompts for it to perform text classification on the same set of 204 accident narratives used for human and ML analysis. The model was also directed to report which were the top-10 words used by ChatGPT-3.5 to arrive at the decision about the cause-of-injury code for each narrative. The predictions made by the ML model, humans, and ChatGPT-3.5 were then compared with the original cause-of-injury codes assigned to accident narratives by the QISU professional coders. For explainability analysis, the top words and phrases used by each of three approaches were compared and analyzed, as presented in the next section.\u003c/p\u003e\n\u003cp\u003eFor ChatGPT-3.5 we created prompts for it to perform text classification on accident narratives and report which were the top-10 words/phrases used by ChatGPT-3.5 to arrive at the decision about the cause-of-injury code. When the prompt (see \u003cem\u003ePrompt 2\u003c/em\u003e below) to identify the top words for text classification was given to ChatGPT-3.5, the top-3 words/phrases were generated. However, the generated output consisted of more than one word grouped together as a single top word. Therefore, we separated each of the words from the top-3 words/phrases into the top-10 individual words to arrive at the decision. The prompts used to perform text classification using ChatGPT-3.5 are mentioned below:\u003c/p\u003e\n\u003cp\u003e\u003cem\u003ePrompt 1: For the narrative \u0026quot;\u0026lt;accident narrative\u0026gt;\u0026quot;, select the most appropriate type of injury from this list CUT, FALL, STRUCK, BURN, MOTORVEHICLE, OTHER TYPE?\u003c/em\u003e\u003c/p\u003e\n\u003cp\u003e\u003cem\u003ePrompt 2: Which three words in the narrative are most indicative of the type of injury?\u003c/em\u003e\u003c/p\u003e"},{"header":"References","content":"\u003col\u003e\n \u003cli\u003eChae, Y., \u0026amp; Davidson, T. (2023). Large language models for text classification: From zero-shot learning to fine-tuning.\u0026nbsp;Open Science Foundation.\u003c/li\u003e\n \u003cli\u003eT\u0026ouml;rnberg, P. (2023). Chatgpt-4 outperforms experts and crowd workers in annotating political twitter messages with zero-shot learning.\u0026nbsp;arXiv preprint arXiv:2304.06588.\u003c/li\u003e\n \u003cli\u003eDas, M., Li, J., Fosler-Lussier, E., Lin, S., Rust, S., Huang, Y., \u0026amp; Ramnath, R. (2020, July).\u0026nbsp;Sequence-to-set semantic tagging for complex query reformulation and automated text categorization in biomedical ir using self-attention. In\u0026nbsp;Proceedings of the 19th SIGBioMed Workshop on Biomedical Language Processing\u0026nbsp;(pp. 14-27).\u003c/li\u003e\n \u003cli\u003eGuidotti, R., Monreale, A., Ruggieri, S., Turini, F., Giannotti, F., \u0026amp; Pedreschi, D. (2018).\u0026nbsp;A survey of methods for explaining black box models.\u0026nbsp;ACM computing surveys (CSUR),\u0026nbsp;51(5), 1-42.\u003c/li\u003e\n \u003cli\u003eRibeiro, M. T., Singh, S., \u0026amp; Guestrin, C. (2016).\u0026nbsp;\u0026quot; Why should i trust you?\u0026quot; Explaining the predictions of any classifier. In Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining (pp. 1135-1144).\u0026nbsp;\u003c/li\u003e\n \u003cli\u003eLundberg, S. M., \u0026amp; Lee, S. I. (2017).\u0026nbsp;A unified approach to interpreting model predictions.\u0026nbsp;Advances in neural information processing systems,\u0026nbsp;30.\u003c/li\u003e\n \u003cli\u003eOpenAI. (2023). \u003cem\u003eChatGPT\u0026nbsp;\u003c/em\u003e(Nov 30\u0026nbsp;version) [Large language model]. https://chat.openai.com\u003c/li\u003e\n \u003cli\u003eNanda, G., Vallmuur, K., \u0026amp; Lehto, M. (2020).\u0026nbsp;Intelligent human-machine approaches for assigning groups of injury codes to accident narratives.\u0026nbsp;Safety science,\u0026nbsp;125, 104585.\u003c/li\u003e\n \u003cli\u003eNanda, G., Vallmuur, K., \u0026amp; Lehto, M. (2019).\u0026nbsp;Semi-automated text mining strategies for identifying rare causes of injuries from emergency room triage data.\u0026nbsp;IISE Transactions on Healthcare Systems Engineering,\u0026nbsp;9(2), 157-171.\u003c/li\u003e\n \u003cli\u003eMarucci-Wellman, H., Lehto, M., \u0026amp; Corns, H. (2011).\u0026nbsp;A combined Fuzzy and Na\u0026iuml;ve Bayesian strategy can be used to assign event codes to injury narratives.\u0026nbsp;Injury Prevention.\u003c/li\u003e\n \u003cli\u003eRayner,K., Chace, K. H., Slattery,T. J., \u0026amp; Ashby, J. (2006). Eye movements as reflections of comprehension processes in reading. Scientific Studies of Reading,10(3), 241\u0026ndash;255\u003c/li\u003e\n \u003cli\u003eVasishth,S., von der Malsburg,T., \u0026amp; Engelmann,F. (2013).\u0026nbsp;What eye movement scan tell us about sentence comprehension. Wiley Interdisciplinary Reviews: Cognitive Science,4(2), 125\u0026ndash;134.\u003c/li\u003e\n \u003cli\u003eSingh, H., \u0026amp; Singh, J. (2012). Human eye tracking and related issues: A review.\u0026nbsp;International Journal of Scientific and Research Publications,\u0026nbsp;2(9), 1-9.\u003c/li\u003e\n \u003cli\u003eAnisimov, V., Сhernozatonsky, K., Pikunov, A., Raykhrud, M., Revazov, A., Shedenko, K., \u0026amp; Zuev, S. (2021). OkenReader: ML-based classification of the reading patterns using an Apple iPad. Procedia Computer Science, 192, 1944-1953.\u0026nbsp;\u003c/li\u003e\n \u003cli\u003eRayner, K. (1998). Eye movements in reading and information processing: 20 years of research. Psychological bulletin, 124(3), 372.\u0026nbsp;\u003c/li\u003e\n \u003cli\u003eFarnsworth, B. (2018). How We Read\u0026ndash;What Eye Tracking Can Tell Us.\u0026nbsp;\u003c/li\u003e\n \u003cli\u003eReading and Language (2023). Retrieved September 30, 2023 from \u003ca href=\"https://www.tobii.com/solutions/scientific-research/reading-and-language\"\u003ehttps://www.tobii.com/solutions/scientific-research/reading-and-language\u003c/a\u003e\u003c/li\u003e\n \u003cli\u003e\u0026nbsp;Mishra, A., Bhattacharyya, P., Mishra, A., \u0026amp; Bhattacharyya, P. (2018). Applications of eye tracking in language processing and other areas. Cognitively Inspired Natural Language Processing: An Investigation Based on Eye-tracking, 23-46.\u0026nbsp;\u003c/li\u003e\n \u003cli\u003eHollenstein, N., Tr\u0026ouml;ndle, M., Plomecka, M., Kiegeland, S., \u0026Ouml;zyurt, Y., J\u0026auml;ger, L. A., \u0026amp; Langer, N. (2021).\u0026nbsp;Reading task classification using EEG and eye-tracking data.\u0026nbsp;\u003c/li\u003e\n \u003cli\u003eTokunaga, T., Nishikawa, H., \u0026amp; Iwakura, T. (2017, September). An Eye-tracking Study of Named Entity Annotation. In RANLP (pp. 758-764).\u0026nbsp;\u003c/li\u003e\n \u003cli\u003eMishra, A., \u0026amp; Bhattacharyya, P. (2018).\u0026nbsp;Cognitively inspired natural language processing: An investigation based on eye-tracking. Singapore: Springer.\u003c/li\u003e\n \u003cli\u003eTokunaga, T., Nishikawa, H., \u0026amp; Iwakura, T. (2017, September). An Eye-tracking Study of Named Entity Annotation. In\u0026nbsp;RANLP\u0026nbsp;(pp. 758-764).\u003c/li\u003e\n \u003cli\u003eJoshi, A., Mishra, A., Senthamilselvan, N., \u0026amp; Bhattacharyya, P. (2014, June). Measuring sentiment annotation complexity of text. In Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers) (pp. 36-41).\u0026nbsp;\u003c/li\u003e\n \u003cli\u003eMishra, A., Bhattacharyya, P., Mishra, A., \u0026amp; Bhattacharyya, P. (2018). Scanpath complexity: modeling reading/annotation effort using gaze information. Cognitively Inspired Natural Language Processing: An Investigation Based on Eye-tracking, 77-98.\u0026nbsp;\u003c/li\u003e\n \u003cli\u003eMishra, A., Bhattacharyya, P., Mishra, A., \u0026amp; Bhattacharyya, P. (2018). Estimating annotation complexities of text using gaze and textual information. Cognitively Inspired Natural Language Processing: An Investigation Based on Eye-tracking, 49-76.\u0026nbsp;\u003c/li\u003e\n \u003cli\u003eMishra, A., Bhattacharyya, P., Mishra, A., \u0026amp; Bhattacharyya, P. (2018). Automatic extraction of cognitive features from gaze data. Cognitively Inspired Natural Language Processing: An Investigation Based on Eye-tracking, 153-169.\u0026nbsp;\u003c/li\u003e\n \u003cli\u003eSen, C., Hartvigsen, T., Yin, B., Kong, X., \u0026amp; Rundensteiner, E. (2020, July).\u0026nbsp;Human attention maps for text classification: Do humans and neural networks focus on the same words?. In Proceedings of the 58th annual meeting of the association for computational linguistics (pp. 4596-4608).\u0026nbsp;\u003c/li\u003e\n \u003cli\u003eMarucci-Wellman, H. R., Corns, H. L., \u0026amp; Lehto, M. R. (2017). Classifying injury narratives of large administrative databases for surveillance\u0026mdash;A practical approach combining machine learning ensembles and human review.\u0026nbsp;Accident Analysis \u0026amp; Prevention,\u0026nbsp;98, 359-371.\u003c/li\u003e\n \u003cli\u003eNanda, G., Vallmuur, K., \u0026amp; Lehto, M. (2018).\u0026nbsp;Improving autocoding performance of rare categories in injury classification: Is more training data or filtering the solution?.\u0026nbsp;Accident Analysis \u0026amp; Prevention,\u0026nbsp;110, 115-127.\u003c/li\u003e\n \u003cli\u003eQueensland Injury Surveillance Unit (QISU) Data. (2023, August) Available at:\u0026nbsp;\u003ca href=\"https://metronorth.health.qld.gov.au/qisu/data\"\u003ehttps://metronorth.health.qld.gov.au/qisu/data\u003c/a\u003e\u003c/li\u003e\n \u003cli\u003eHosmer Jr, D. W., Lemeshow, S., \u0026amp; Sturdivant, R. X. (2013).\u0026nbsp;Applied logistic regression\u0026nbsp;(Vol. 398). John Wiley \u0026amp; Sons.\u003c/li\u003e\n \u003cli\u003eSalvucci, D. D., \u0026amp; Goldberg, J. H. (2000, November).\u0026nbsp;Identifying fixations and saccades in eye-tracking protocols. In Proceedings of the 2000 symposium on Eye tracking research \u0026amp; applications (pp. 71-78).\u0026nbsp;\u003c/li\u003e\n \u003cli\u003eOlsen, A. (2012). The Tobii I-VT fixation filter. Tobii Technology, 21, 4-19.\u0026nbsp;\u003c/li\u003e\n\u003c/ol\u003e"}],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":true,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":true,"hideJournal":true,"highlight":"","institution":"","isAcceptedByJournal":false,"isAuthorSuppliedPdf":false,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":true,"isPdf":false,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true},"keywords":"","lastPublishedDoi":"10.21203/rs.3.rs-4002294/v2","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-4002294/v2","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eTo understand the alignment between reasonings of humans and artificial intelligence (AI) models, this empirical study compared the human text classification performance and explainability with a traditional machine learning (ML) model and large language model (LLM). A domain-specific noisy textual dataset of injury narratives had to be classified into six cause-of-injury codes. While the ML model was trained on pre-labelled injury narratives, LLM and humans did not receive any specialized training. The explainability of different approaches was compared using the words they focused on during classification. These words were identified using eye-tracking for humans, explainable AI approach LIME for ML model, and prompts for LLM. \u0026nbsp;The classification performance of ML model was relatively better than LLM and humans- overall and particularly for complicated and challenging to classify narratives. The top-3 words used by ML and LLM for classification agreed with humans to a greater extent as compared to later words.\u003c/p\u003e","manuscriptTitle":"Comparing Human Text Classification Performance and Explainability with Large Language and Machine Learning Models Using Eye-Tracking","msid":"","msnumber":"","nonDraftVersions":[{"code":2,"date":"2024-03-07 19:07:41","doi":"10.21203/rs.3.rs-4002294/v2","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}},{"code":1,"date":"2024-03-04 10:55:15","doi":"10.21203/rs.3.rs-4002294/v1","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"056813c2-43b1-4229-8e05-3d33d894455b","owner":[],"postedDate":"March 7th, 2024","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[{"id":29206270,"name":"Social science/Language and linguistics"},{"id":29206271,"name":"Health sciences/Medical research"}],"tags":[],"updatedAt":"2024-03-07T00:51:05+00:00","versionOfRecord":[],"versionCreatedAt":"2024-03-07 19:07:41","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v2","identity":"rs-4002294","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-4002294","identity":"rs-4002294","version":["v2"]},"buildId":"qtupq5eGEP_6zYnWcrvyt","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2024) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00
unpaywall
last seen: 2026-06-04T02:00:05.705006+00:00
License: CC-BY-4.0