ProtoSiTex: Learning Semi-Interpretable Prototypes for Multi-label Text Classification


Abstract

The rapid growth of user-generated text across digital platforms has intensified the need for interpretable models capable of fine-grained text classification and explanation. Existing prototype-based models offer intuitive explanations but typically operate at coarse granularity (sentence or document level) and fail to address the multi-label nature of real-world text classification. We propose ProtoSiTex, a semi-interpretable framework designed for fine-grained multi-label text classification. ProtoSiTex employs a dual-phase alternate training strategy: an unsupervised prototype discovery phase that learns semantically coherent and diverse prototypes, and a supervised classification phase that maps these prototypes to class labels. A hierarchical loss function enforces consistency across subsentence, sentence, and document levels, enhancing interpretability and alignment. Unlike prior approaches, ProtoSiTex captures overlapping and conflicting semantics using adaptive prototypes and multi-head attention. We also introduce a benchmark dataset of hotel reviews annotated at the subsentence level with multiple labels. Experiments on this dataset and two public benchmarks (binary and multi-class) show that ProtoSiTex achieves state-of-the-art performance while delivering faithful, human-aligned explanations, establishing it as a robust solution for semi-interpretable multi-label text classification.

Text Classification, Prototype Learning, Semi-interpretable Models

1 Introduction↩︎

In recent years, user-generated text across domains such as e-commerce, hospitality, and social media has grown rapidly [1], providing abundant but highly unstructured linguistic data [2][4]. Extracting meaningful information from such textual content is essential for a wide range of NLP applications, and transformer-based language models (LMs) [5] have achieved state-of-the-art performance in tasks including sentiment analysis [6], question answering [7], and text classification [8]. Despite their effectiveness, these models operate as opaque black boxes, offering limited interpretability, an increasingly critical requirement for trust, fairness, and regulatory compliance [9], [10]. To mitigate the limitations of black-box behavior, post-hoc explanation techniques such as LIME [11] and SHAP [12] have been widely adopted. However, these methods often struggle with faithfulness and consistency, producing approximations that may be difficult to interpret or unreliable for decision support [13], [14]. These challenges have motivated growing interest in inherently interpretable models that provide transparency by design [15].

Prototype-Based Networks (PBNs) follow the paradigm of inherent interpretability, mimicking human reasoning via similarity to class-representative prototypes [16]. While effective in vision [17], [18] and recently adapted to NLP [19], [20], most PBNs are limited to single-label, sentence- or document-level tasks. This limits their use in real-world, multi-label classification scenarios, e.g., “The view was breathtaking, but the staff was rude” expresses opposing sentiments, challenging coarse-grained prototype models [21].

Efforts to improve interpretability in text classification often come at the expense of predictive strength. Transformer-based models capture rich semantic structures and typically outperform simpler methods in benchmarks [22], yet their lack of transparency limits trust in sensitive applications. Prototype-driven approaches [20], [23] provide clearer, case-based explanations that are easier for users to follow. However, they may sacrifice raw accuracy or struggle to scale to complex domains. This creates a persistent issue: optimizing solely for accuracy risks overlooking fairness and accountability, while prioritizing interpretability may reduce competitiveness in performance-driven evaluations. The issue becomes even more pronounced in multi-label classification [24], [25], where models must balance fine-grained predictive capability with explanations that remain faithful and comprehensible.

To address these limitations, we propose ProtoSiTex, a semi-interpretable prototype-based framework for fine-grained multi-label classification. ProtoSiTex effectively handles overlapping sentiments and multi-label scenarios via three key innovations: (a) adaptive prototype learning using multi-head attention for subsentence-level semantic alignment, (b) a dual-phase alternate training strategy that combines unsupervised prototype discovery with supervised classification to improve generalization and reduce overfitting, and (c) a hierarchical loss function that enforces consistency across subsentence, sentence, and document levels for structured and faithful predictions. We use the term semi-interpretable to denote models that provide faithful, prototype-based explanations for their predictions while still relying on latent neural mechanisms (e.g., attention, embeddings, hierarchical aggregation) that are not inherently transparent. Our key contributions are summarized as follows:

(i) A semi-interpretable prototype-based framework for fine-grained multi-label text classification: We propose ProtoSiTex, a prototype-driven framework that performs fine-grained multi-label text classification while providing intrinsic interpretability. Unlike prior prototype-based methods operating at sentence- or document-level granularity, ProtoSiTex learns adaptive prototypes aligned with subsentence-level semantic patterns. This enables effective disentanglement of overlapping and conflicting semantics through localized prototype specialization. Furthermore, the integration of multi-head attention facilitates context-aware prototype assignment and improves semantic alignment between textual evidence and labels.

(ii) Dual-phase alternate optimization and hierarchical supervision for structured semantic learning: We introduce a dual-phase alternate training strategy that decouples unsupervised prototype discovery from supervised classification. The clustering phase promotes semantically coherent, diverse, and well-separated prototype representations, improving latent-space geometry and reducing prototype collapse. The classification phase employs hierarchical supervision across subsentence, sentence, and document levels, enforcing semantic consistency and structured label propagation. This formulation improves generalization, stabilizes prototype evolution, and enables reliable multi-label prediction with faithful prototype-grounded explanations.

(iii) Prototype-grounded interpretability with adaptive semantic aggregation: ProtoSiTex establishes explicit alignment between subsentence-level evidence, adaptive prototypes, and document-level predictions through hierarchical differentiable aggregation. The aggregation mechanism acts as a continuous relaxation of set-union style label propagation, enabling end-to-end optimization while preserving semantic consistency across subsentence, sentence, and document levels. This facilitates traceable prototype-grounded explanations for multi-label predictions while maintaining competitive predictive performance.

We introduce a hotel reviews dataset (HR) annotated at the subsentence level with multi-label aspect annotations and explanation spans, supporting interpretability-grounded evaluation. Extensive experiments on HR, IMDb, and TweetEval demonstrate that ProtoSiTex consistently outperforms existing interpretable and prototype-based baselines while achieving competitive performance with strong black-box transformer and LLM-based models across binary, multi-class, and multi-label classification tasks.

The rest of the paper is organized as follows: Section 2 briefly reviews the literature, Section 3 presents our proposed approach, Section 4 details the experiments, and Section 5 concludes with directions for future work.

2 Related Work↩︎

Interpretable Text Classification: Deep models like CNNs, RNNs, and transformers have achieved strong performance across NLP tasks [22], but their opaque nature hinders transparency. Post-hoc explanation methods, such as LIME [11] and SHAP [12], aim to interpret predictions by approximating local feature importance. However, these techniques operate independently of model training and often produce inconsistent or non-faithful rationales [26]. This has spurred interest in interpretable models that learn to classify and explain simultaneously.

Prototype-Based Networks (PBNs): PBNs classify instances based on similarity to learned prototype vectors, offering human-aligned explanations via exemplar-based reasoning [27]. Early works such as ProSeNet [28] and ClassVector [29] introduced prototype learning for document-level, single-label tasks with limited interpretability. Subsequent methods like ProtoryNet [19] and ProtoLens [23] learned finer-grained prototypes at the sentence or subsentence level. GAProtoNet [20] integrated graph-attention with prototypes for relational reasoning. Yet, most PBNs focus on single-label classification, lacking the granularity and compositionality required for multi-label classification.

Multi-Label Text Classification (MLTC): MLTC involves assigning multiple labels to a document, making it more challenging than single-label tasks due to inherent label dependencies and data imbalance [30]. Early approaches relied primarily on problem transformation methods, such as binary relevance, label power set, and classifier chains, as well as algorithm adaptation methods, including multi-label SVMs and KNNs [31]. Models based on CNNs and RNNs improved text representation learning [32], [33], while GCNs were introduced to explicitly capture label correlations [34]. More recently, transformer-based architectures, including BERT [5] have emerged as strong baselines. Despite these advances, existing methods either treat MLTC as a flat classification problem or rely on complex black-box architectures with limited interpretability. Furthermore, there is hardly any dataset that provides subsentence-level multi-label annotations, limiting empirical benchmarking.

Positioning of Our Work: ProtoSiTex overcomes these limitations by unifying prototype-based interpretability with fine-grained multi-label classification. Unlike prior works, it learns adaptive prototypes aligned with subsentence semantics and leverages a dual-phase learning strategy, combining unsupervised prototype discovery and supervised hierarchical classification. This design enables structured predictions from subsentence to document level while providing reliable, human-understandable explanations.

3 Proposed Methodology↩︎

Figure 1: Proposed solution architecture: ProtoSiTex

3.1 Problem Formulation↩︎

Given a document \(\mathcal{D}\) composed of multiple sentences, our goal is to predict its associated class(es), accommodating both single-label and multi-label classification. ProtoSiTex performs document-level prediction while highlighting the specific content segments responsible for each label.

Each document \(\mathcal{D}\) comprises \(n\) sentences, represented as \(\mathcal{S} = \{\mathcal{S}_1, \mathcal{S}_2, \ldots, \mathcal{S}_n\}\). Each sentence \(\mathcal{S}_i\) is further segmented into \(t_i\) subsentences, defined as \(\mathcal{S}_i = \{s_{i1}, s_{i2}, \ldots, s_{it_i}\}\), where punctuation marks such as commas and semicolons are used as segmentation cues. The total number of subsentences in a document is denoted by \(t = \sum_{i=1}^{n} t_i\). To assign fine-grained class labels, we apply the LLM-based engine to generate multi-label annotations at the subsentence level. These annotations are encoded in a binary label matrix \(\mathcal{C} \in \{0,1\}^{t \times l}\), where \(l\) is the total number of classes. A matrix entry \(c_{ij} = 1\) indicates that the \(i^\text{th}\) subsentence is associated with the \(j^\text{th}\) label. For hierarchical supervision, we aggregate subsentence labels to form sentence-level labels, while document-level labels are directly provided. This bottom-up strategy ensures consistent multi-level annotation. To support structured supervision and hierarchical loss modeling, we construct two binary mapping matrices. The first, \(\mathcal{M}^1 \in \{0,1\}^{1 \times n}\), captures the mapping from a document to its sentences. The second, \(\mathcal{M}^2 \in \{0,1\}^{n \times t}\), captures the mapping from each sentence to its associated subsentences. An entry \(\mathcal{M}^2_{ij} = 1\) indicates that sentence or subsentence \(j\) belongs to sentence or document \(i\), respectively.

3.2 ProtoSiTex Architecture↩︎

The proposed framework, ProtoSiTex (Fig. 1), consists of three core stages: (i) encoding subsentences into high-dimensional semantic representations using a language model (LM)-based encoder, (ii) employing a dual-phase learning strategy that first discovers representative prototypes through unsupervised learning, then performs supervised classification guided by hierarchical supervision using document-level taxonomy, and (iii) performing inference through prototype-based reasoning applied to the learned embeddings. We detail each component below.

3.2.1 Subsentence Representation via LM-based Encoder↩︎

Effective text classification relies on context-aware representations. While traditional embeddings (e.g., Word2Vec, GloVe, FastText) are static, LM-based encoders offer dynamic, context-sensitive embeddings but lack interpretability. To balance expressiveness and transparency, we use an LM-based encoder to generate subsentence embeddings.

For each \(s_{ij} \in \mathcal{S}_i\), the encoder outputs \(e_{ij} \in \mathbb{R}^d\), producing a feature matrix \(\mathcal{E} \in \mathbb{R}^{t \times d}\) over \(t\) subsentences. This matrix feeds into the prototype discovery and classification modules, enabling both semantic precision and interpretability. We next describe the dual-phase learning.

3.2.2 Dual Phase Learning↩︎

The clustering and classification phases aim to learn prototypes and capture multi-granular document representations, respectively, as elaborated below.

3.2.2.1 Clustering-phase for Prototypes Learning

The first stage of our dual-phase learning aims to discover semantically meaningful and interpretable prototypes that facilitate multi-label classification. To achieve this, we introduce a learnable prototype layer coupled with a multi-head attention (MHA) mechanism, enabling diverse alignment between subsentence embeddings and prototypes.

We first initialize \(q\) prototypes \(\mathcal{P} = \{p_1, p_2, \ldots, p_q\};~ \forall p_i \in \mathbb{R}^d\). Subsentence embeddings \(\mathcal{E} \in \mathbb{R}^{t \times d}\) are then projected into the prototype space using MHA, which learns flexible, context-aware alignments. For each attention head \(i\), we compute query \(\mathcal{Q}_i = \mathcal{P}{\cdot}\mathcal{W}^{{Q}_i}\), key \(\mathcal{K}_i = \mathcal{E}{\cdot}\mathcal{W}^{{K}_i}\), and value \(\mathcal{V}_i = \mathcal{E}{\cdot}\mathcal{W}^{{V}_i}\) matrices, where \(\mathcal{W}^{Q_i}, \mathcal{W}^{K_i}, \mathcal{W}^{V_i} \in \mathbb{R}^{d \times d}\) are learnable parameters. Scaled dot-product attention computes the alignment: \[\label{eq:prototype95repr} \scriptsize \begin{align} \mathcal{H}_i = \sigma\left( \left(\mathcal{Q}_i{\cdot}\mathcal{K}_i^\top\right)/ \sqrt{d} \right){\cdot}\mathcal{V}_i; \qquad \mathcal{H} = \left(\mathcal{H}_1 ~\lVert~ \mathcal{H}_2 ~\lVert ... \lVert~ \mathcal{H}_h \right){\cdot}\mathcal{W}^h \end{align}\tag{1}\] where, \(\sigma\) denotes softmax function. The resulting matrix \(\mathcal{H} \in \mathbb{R}^{q \times d}\) encodes prototype-aware representations of subsentences, which are used in the subsequent classification phase to associate prototypes with class labels.

3.2.2.2 Classification-phase for Learning Multi-granular Document Details

In the classification phase, we learn hierarchical label predictions using prototype embeddings \(\mathcal{P} \in \mathbb{R}^{q \times d}\), subsentence embeddings \(\mathcal{E} \in \mathbb{R}^{t \times d}\), and prototype-aware representations \(\mathcal{H} \in \mathbb{R}^{q \times d}\). To improve generalization and interpretability, we employ multi-granular supervision without introducing separate classifiers, enabling two-way explainability: (i) subsentences \(\rightarrow\) prototypes, and (ii) prototypes \(\rightarrow\) class labels.

Prototype-to-subsentence assignment: We first compute the similarity between prototypes and subsentence embeddings: \[\mathcal{X} = \mathcal{P}{\cdot}\mathcal{E}^\top / (\lVert \mathcal{P} \rVert \lVert \mathcal{E}^\top \rVert) \in \mathbb{R}^{q \times t} .\] This similarity matrix is binarized to obtain the prototype-to-subsentence assignment matrix \(\mathcal{Y} \in \{0,1\}^{q \times t}\): \[\mathcal{Y}_{ij} = \begin{cases} 1, & \text{if } i = \arg\max_{k \in \{1,\dots,q\}} \mathcal{X}_{kj}, \\ 0, & \text{otherwise}. \end{cases}\]

Dynamic ground-truth construction: Using \(\mathcal{Y}\) and the subsentence label matrix \(\mathcal{C} \in \{0,1\}^{t \times l}\), we construct prototype-level ground-truth labels: \[\mathcal{G}_1 = \mathcal{Y}\mathcal{C} .\]

Sentence-level ground-truth labels are obtained by aggregating subsentence labels using the sentence-to-subsentence mapping matrix \(\mathcal{M}^2 \in \{0,1\}^{n \times t}\): \[\mathcal{G}_2 = f_{\text{clamp}}(\mathcal{M}^2 \mathcal{C}) .\] The function \(f_{\text{clamp}}(\cdot)\) performs element-wise clipping to the \([0,1]\) interval and serves as a continuous relaxation of the logical OR (set union) operator used in multi-label aggregation. Specifically, matrix products such as \(\mathcal{M}^2 \mathcal{C}\) compute the count of label occurrences across subsentences. The clamping operation maps these counts to bounded presence indicators, where any non-zero value is saturated to \(1\). Formally, this corresponds to approximating the union operation by \(f_{\text{clamp}}(.)\), preserving monotonicity while ensuring numerical stability and compatibility with gradient-based optimization. This formulation enables efficient hierarchical aggregation without introducing non-differentiable operators.

The document-level ground truth \(\mathcal{G}_3 \in \mathbb{R}^{1 \times l}\) is directly obtained from the dataset.

Prototype-to-label prediction: To map prototypes to class labels, we transform the prototype-aware representations \(\mathcal{H}\) through a feed-forward network: \[\tilde{\mathcal{G}}_1 = \sigma\left(\mathcal{W}_3 \cdot \mathrm{ReLU}\left( \mathcal{W}_2 \cdot \mathrm{ReLU}\left(\mathcal{W}_1 \cdot \mathcal{H} \right)\right)\right), \quad \tilde{\mathcal{G}}_1 \in \mathbb{R}^{q \times l}.\]

Hierarchical prediction aggregation: Using \(\tilde{\mathcal{G}}_1\) and the assignment matrix \(\mathcal{Y}\), we compute sentence-level predictions: \[\tilde{\mathcal{G}}_2 = f_{\text{clamp}}\left(\mathcal{M}^2 \mathcal{Y}^\top \tilde{\mathcal{G}}_1\right), \quad \tilde{\mathcal{G}}_2 \in \mathbb{R}^{n \times l}.\] Finally, document-level predictions are obtained via the document-to-sentence mapping matrix \(\mathcal{M}^1 \in \{0,1\}^{1 \times n}\): \[\tilde{\mathcal{G}}_3 = f_{\text{clamp}}\left(\mathcal{M}^1 \tilde{\mathcal{G}}_2\right), \quad \tilde{\mathcal{G}}_3 \in \mathbb{R}^{1 \times l}.\] Both \(\mathcal{G}_1\) and \(\mathcal{G}_2\) are dynamically generated and depend on the current prototype configuration. This enables adaptive supervision, allowing the model to refine prototype–label associations as training evolves.

3.2.3 Prototype Projection and Label Classification↩︎

Each prototype \({\mathcal{P}}_i \in \mathcal{P}\) is a high-dimensional vector residing in the same semantic space as subsentence embeddings. To ensure interpretability, we associate each prototype with its top-\(K\) most similar subsentences from the training set, using cosine similarity. The top-\(K\) nearest subsentences \(\mathcal{T}_K({\mathcal{P}}_i)\) are consolidated and passed to Gemini Pro-2.5 [35] to generate a concise summary reflecting their shared theme. This strategy ensures each prototype is grounded in semantically diverse and representative text snippets, offering robust explanations.

Given a test document \(\mathcal{D}\), we segment it into subsentences, and encode them using the LM-based encoder to get \(\mathcal{E} {\in} \mathbb{R}^{t \times d}\). These embeddings are projected to the prototype space via the trained multi-head attention module to produce prototype-aware representations \(\mathcal{H}\), which are then passed through the proto-to-label classifier \(\tilde{\mathcal{G}}_1\). Sentence- and document-level predictions (\(\tilde{\mathcal{G}}_2\), \(\tilde{\mathcal{G}}_3\)) are obtained via hierarchical mappings using \(\mathcal{M}^2\) and \(\mathcal{M}^1\). The final predicted class labels for the document are taken as \(\tilde{\mathcal{G}}_3\). Simultaneously, we generate textual explanations by linking each subsentence to its closest prototype, and retrieving that prototype’s associated exemplars \(\mathcal{T}_K({\mathcal{P}}_i)\). This enables transparent reasoning behind predictions, making ProtoSiTex both accurate and interpretable.

ProtoSiTex is best described as semi-interpretable because it combines prototype-based explanations with deep neural components. On the one hand, its adaptive prototypes provide human-understandable evidence by aligning subsentences with semantically coherent exemplars, allowing users to see why particular text spans support specific class predictions. On the other hand, the model relies on latent mechanisms, multi-head attention, embedding transformations, and hierarchical aggregation across subsentence, sentence, and document levels, which are not directly transparent to human reasoning. As a result, the explanations are faithful and intuitive at the prototype level but do not offer full interpretability of the entire decision process. This balance between interpretability and accuracy justifies labeling the model as semi-interpretable rather than fully interpretable.

3.3 Training Strategy of ProtoSiTex↩︎

We adopt an alternate dual-phase training strategy, where each epoch comprises \(i_1\) clustering and \(i_2\) classification iterations. Prototype parameters are updated in the clustering phase (with classifiers frozen), and vice versa in the classification phase. This decoupling stabilizes training, prevents early overfitting, and allows prototypes to evolve independently before being used for label prediction. We now describe the loss functions associated with each phase.

3.3.1 Loss Functions for Classification Phase↩︎

The classification phase is designed to facilitate hierarchical supervision by capturing semantic patterns from fine-grained (subsentence) to coarse-grained (document) levels. To train this phase, we use three loss components: (i) a prototype-to-label interpretability loss that reinforces the semantic alignment between prototypes and classes, (ii) a sentence-wise supervision loss that captures mid-level contextual cues, and (iii) a document-level loss leveraging the provided annotations. Each loss component is computed using binary cross entropy [36], and the combined loss is expressed as: \[\label{eq:cs95loss}\mathcal{L}_{cs} = \lambda_1 ~ \mathcal{L}_1(\mathcal{G}_1, \tilde{\mathcal{G}}_1) + \lambda_2 ~ \mathcal{L}_2 (\mathcal{G}_2, \tilde{\mathcal{G}}_2) + \lambda_3 ~ \mathcal{L}_3 (\mathcal{G}_3, \tilde{\mathcal{G}}_3)\tag{2}\]

where, \(\mathcal{G}_i\) and \(\tilde{\mathcal{G}}_i\) (for \(i = 1, 2, 3\)) represent ground-truth and predicted labels at prototype, sentence, and document levels. The weights \(\lambda_i\) control each loss term, with \(\sum_{i=1}^3 \lambda_i = 1\). Subsentence and prototype-level annotations are optional; when unavailable, \(\lambda_1\) and \(\lambda_2\) can be reduced or set to zero, enabling the model to rely solely on document-level labels and support flexible supervision.

3.3.2 Loss Functions for Clustering Phase↩︎

The clustering loss comprises two complementary components: proximity-based losses that enforce alignment between subsentence embeddings and prototypes, and structure regularization losses that ensure sparsity and diversity among the learned prototypes.

3.3.2.1 Proximity-based Losses

These losses promote semantic alignment and coverage. The prototype matching loss ensures that each subsentence \(\mathcal{E}_i\) is closely aligned to its nearest prototype \(\mathcal{P}_{j^*_i}\), encouraging relevance. Simultaneously, the interpretability loss ensures each prototype remains active by encouraging proximity to at least one subsentence, thus achieving coverage and preventing prototype collapse. The joint formulation is given by: \[\label{eq:proximity95loss}\begin{align} \mathcal{L}_{prox} = -\frac{1}{b} \sum_{i=1}^{b} \left(\frac{\mathcal{E}_i^\top \mathcal{P}_{j^*_i}}{\lVert\mathcal{E}_i\rVert \lVert\mathcal{P}_{j^*_i}\rVert} \right) + \frac{1}{q} \sum_{j=1}^{q} \left(1 - \max_{i = 1}^b \left(\frac{\mathcal{E}_i^\top \mathcal{P}_{j}}{\lVert\mathcal{E}_i\rVert \lVert\mathcal{P}_{j}\rVert}\right) \right) \end{align}\tag{3}\] where \(j^*_i\) is the index of the prototype closest to subsentence \(\mathcal{E}_i\) based on cosine similarity, and \(b\) denotes the total number of subsentences across all documents in a mini-batch.

3.3.2.2 Structure Regularization Losses

To enhance interpretability, we impose sparsity and diversity through regularization. The sparsity loss encourages selective activation, ensuring a limited set of subsentences influences each prototype. This reduces overlap and enhances clarity. The diversity loss, implemented via orthogonality regularization, pushes prototypes apart in embedding space, minimizing redundancy. The combined regularization is: \[\label{eq:reg95loss}\begin{align} \mathcal{L}_{reg} = -\frac{1}{q} \sum_{j=1}^{q} \log\left( \sum_{i=1}^{b} \frac{\exp(-\left\lVert \mathcal{E}_i - \mathcal{P}_j \right\rVert_2)}{\sum_{k=1}^{q} \exp(-\left\lVert \mathcal{E}_i - \mathcal{P}_k \right\rVert_2)} + \epsilon \right) \\ + \frac{1}{q(q-1)} \sum_{\substack{i,j=1; \\ i \ne j}}^{q} \left( \frac{\mathcal{P}_i^\top \mathcal{P}_j}{\lVert\mathcal{P}_i\rVert \lVert\mathcal{P}_j\rVert} \right)^2 \end{align}\tag{4}\] where, the first term encourages peaked assignment distributions (sparsity), and the second term enforces pairwise dissimilarity (diversity) between prototypes.

To enforce semantic alignment with classes, we augment the clustering loss with the supervised classification loss \(\mathcal{L}_{cs}\). The final clustering-phase loss (\(\mathcal{L}_{cr}\)) is: \[\label{eq:cl95loss}\mathcal{L}_{cr} = \alpha_1 ~ \mathcal{L}_{prox} + \alpha_2 ~\mathcal{L}_{reg} + \alpha_3 ~ \mathcal{L}_{cs}\tag{5}\] where, \(\alpha_1, \alpha_2, \alpha_3\) are tunable weights summing to 1, controlling the influence of each component.

The classification phase refines prototypes into interpretable classes, enhancing clustering and enabling generalizable, multi-granular predictions.

The computational complexity of ProtoSiTex is analyzed in Appendix A of the supplementary file. Appendix B provides a detailed discussion on the stability of prototype updates and the influence of loss-weight parameters on model behavior.

4 Experiments↩︎

4.1 Datasets↩︎

To evaluate the effectiveness of ProtoSiTex and compare it against state-of-the-art (SOTA) methods, we conducted comprehensive experiments on benchmark datasets IMDb [37], TweetEVAL [38], and our newly proposed hotel reviews dataset (HR). These datasets encompass a diverse range of classification tasks: binary, multi-class, and multi-label, respectively.

(i) IMDb [37]: Consisting of 50K movie reviews for binary sentiment classification (positive/ negative).

(ii) TweetEVAL [38]: A multiclass dataset comprising 5052 tweets, with each tweet annotated with one of four emotion labels: anger, joy, optimism, or sadness.

Figure 2: Distribution of eight aspects in HR

(iii) Proposed Dataset on Hotel Reviews (HR): To support fine-grained, interpretable, multi-aspect classification in the hospitality domain, we introduce a novel dataset comprising hotel reviews, curated from tripadvisor.com. The reviews were collected via web scraping, ensuring a diverse coverage across locations, and customer sentiments. We identified \(8\) key aspects based on extensive consultations with experts in travel management and linguistics (Fig. 2). These aspects were chosen to reflect both operational and experiential dimensions of hotel service quality. Each review may correspond to multiple aspect labels, reflecting the inherently multi-label nature of user opinions. To ensure high-quality annotations, we employed \(10\) trained human annotators for each review. For every review, the annotators assigned one or more aspect labels as applicable, and highlighted the exact subsentence or phrase responsible for each aspect label, thereby providing ground-truth supervision for interpretability evaluation. Prior to annotation, all annotators underwent training. We implemented a quality control mechanism using in-context learning via GPT-4o [39]. Annotator performance was iteratively assessed by comparing human-labeled segments, enabling correction and refinement through active feedback loops. To ensure annotation consistency and reliability, we quantified inter-annotator agreement using Krippendorff’s alpha (\(\require{upgreek} \upalpha\)) [40]. The obtained \(\require{upgreek} \upalpha = 0.85\) indicates strong inter-annotator agreement, validating the annotation procedure. The resulting dataset consists of 3002 document-level and 26519 sentence-level reviews, annotated at the subsentence level with multi-label aspect tags and text spans responsible for each label, making it one of the first of its kind to support interpretability-grounded multi-aspect classification at such fine granularity. Brief statistical details of HR are presented in Table ¿tbl:tab:dataset95overview?.

Notably, subsentence level annotations are absent in the IMDb and TweetEVAL datasets.

4.2 Experimental Setup↩︎

All experiments were conducted on a Dell Precision 5860 Tower equipped with PyTorch 2.5.1, CUDA 12.2, an NVIDIA A100 GPU with 80 GB VRAM, and 196 GB RAM. The HR dataset was split into training, validation, and test sets in \(7{:}1{:}2\). For IMDb [37] and TweetEVAL [38], we used the given training/ validation/ test sets. Each experiment was run five times, and the mean test performance is reported here.

Table [tbl:tab:hyperparameter] presents the hyperparameters engaged in ProtoSiTex. To obtain high-dimensional, contextually rich text embeddings, we incorporate a language model, called RoBERTa [41]. Specifically, it is a robustly optimized BERT variant, which we employed in its large-weight version pretrained on large English-language internet corpora using the masked language modeling objective; RoBERTa-Large remains tunable within our framework. We maintain a consistent dropout rate of 0.1 across all trainable weights. To avoid overfitting, early stopping with a patience of three epochs based on validation performance is applied. Additionally, we set a maximum training limit of 100 epochs. Each epoch includes 10 (\(=i_1\)) iterations of the clustering phase and 100 (\(=i_2\)) iterations of the classification phase, ensuring a balanced optimization of both phases.

width=0.37

width=0.43

width=0.8

width=0.8

4.3 Evaluation Metrics↩︎

We evaluate model performance using task-specific metrics. For binary and multi-class classification, we report Accuracy (\(\mathcal{A}\)) and F1-score (\(\mathcal{F}\)); aspect-wise evaluation additionally includes Precision (\(\mathcal{P}r\)) and Recall (\(\mathcal{R}\)); for multi-label classification, we use macro-averaged F1-score (\(\mathcal{F}_m\)) and Balanced Accuracy (\(\mathcal{BA}_m\)); all are in percentages. We also compute Hamming loss (\(\mathcal{HL}\)) to analyze label-wise prediction performance, and report complementary Hamming loss \({\mathcal{HL}}^c\) here; \({\mathcal{HL}}^c = (1 - \mathcal{HL}) \times 100\%\).

4.4 Results & Comparative Study↩︎

To comprehensively evaluate ProtoSiTex, we compare it against a diverse set of baselines and SOTA models, as summarized in Table ¿tbl:tab:sota?.

4.4.1 Comparison with Black-box Models↩︎

As observed from Table ¿tbl:tab:sota?, compared with traditional, graph-based, and advanced black-box models, ProtoSiTex demonstrates consistent performance improvements, highlighting the limitations of static embeddings, recurrent encoders, and global representation learning in capturing contextual semantics and fine-grained label interactions. While graph-based methods improved over traditional baselines through corpus-level structural modeling, they remained coarse-grained and relied on global propagation, limiting sensitivity to localized semantics. Similarly, classical multi-label approaches (e.g., Binary Relevance, Classifier Chains, ML-KNN) underperformed due to their reliance on label independence or shallow correlations, failing to model overlapping and context-dependent semantics. Recent state-of-the-art models such as BERTweet, TweetNLP, SetFit, SentiCSE, and transformer-based architectures (e.g., BERT, RoBERTa, DeBERTaV3, GPT, LLaMA) achieved strong performance via contextual or contrastive representation learning; however, they primarily operate on global embeddings and lack mechanisms for fine-grained, faithful explanation. In contrast, ProtoSiTex integrates contextual subsentence representations with adaptive prototype learning and hierarchical supervision, enabling explicit alignment between localized textual evidence and labels. This results in improved balanced accuracy and reduced Hamming loss, indicating better handling of class imbalance and more reliable label-wise predictions, while providing intrinsic, prototype-driven interpretability and a favorable trade-off between predictive performance and transparency.

4.4.2 Comparison with Explainable Models↩︎

Compared with closed-source (e.g., GPT-family, Gemini, DeepSeek) and open-source LLMs (e.g., LLaMA, Mistral, Qwen), ProtoSiTex achieved comparable performance on IMDb while consistently outperforming them on more challenging datasets such as HR and TweetEval, reflecting its strength in modeling fine-grained and multi-label semantics. Although LLMs benefit from large-scale pretraining, they are primarily optimized for generative objectives and rely on distributed representations, resulting in limited label-wise consistency and a lack of inherent mechanisms for faithful attribution. Existing prototype-based approaches provide interpretability but rely on static or weakly adaptive prototypes at coarse granularity, leading to poor alignment with labels, reduced discriminative power, and instability across datasets. In contrast, ProtoSiTex integrates adaptive prototype learning within a dual-phase framework and hierarchical supervision across subsentence, sentence, and document levels, enabling precise alignment between localized evidence and labels. This results in improved handling of overlapping semantics, more reliable label-wise predictions, and intrinsically interpretable, prototype-grounded explanations, achieving a principled balance between performance and transparency.

4.4.3 Performance of ProtoSiTex↩︎

Across datasets, ProtoSiTex demonstrates stable performance, remaining comparable on simpler tasks such as IMDb while achieving clear gains on more challenging settings like HR and TweetEval. The improvements in balanced accuracy and Hamming loss indicate better handling of class imbalance and more reliable label-wise predictions. This is driven by its dual-phase optimization and hierarchical supervision, which promote well-structured representation geometry and effective multi-label disentanglement through alignment of subsentence-level evidence with labels, resulting in improved generalization.

4.5 Impact of Different Encoders↩︎

Table ¿tbl:tab:different95encoder? presents the performance of ProtoSiTex with different encoders. We consider three masked-based encoders: Nomic Embed Text V2 [42], ELECTRA [43], and RoBERTa-Large [41], and three autoregressive encoders: XLNet [44], Qwen3-4B [45], and LLaMA3.2-3B [46], as this categorization aligns with the internal working of ProtoSiTex.

ProtoSiTex depends on the quality of text representations for clustering and similarity-based prototype matching. Masked-based encoders, trained with bidirectional context, generally produce dense and semantically well-structured embeddings, making them highly suitable for ProtoSiTex. This is evident in the HR dataset, where masked-based models consistently outperformed autoregressive models. RoBERTa-Large achieved the performance (\({\mathcal{F}}_{m}\)=87.22), followed by ELECTRA and Nomic. In contrast, autoregressive models with unidirectional context, such as Qwen3-4B and LLaMA3.2-3B, showed notable degradation. However, XLNet, an autoregressive model with bidirectional context, also exhibited competitive performance. This suggests that the effectiveness of ProtoSiTex is not solely determined by the encoder category, but by the quality of text representations.

On simpler tasks such as IMDb, the performance gap between encoder types was reduced. Autoregressive models performed competitively, with LLaMA3.2-3B (\({\mathcal{A}}\)=96.89) slightly outperforming RoBERTa-Large (\({\mathcal{A}}\)=96.57). This suggests that coarse-grained tasks depend more on overall semantic understanding. TweetEVAL shows an intermediate trend. RoBERTa-Large outperforms others, while autoregressive models remain competitive.

Overall, the results demonstrate that ProtoSiTex is more compatible with masked-based encoders, particularly for fine-grained, multi-label tasks requiring interpretability. Their structured embedding space supports effective prototype clustering and hierarchical learning. However, despite strong general language understanding, autoregressive models are less suitable for fine-grained semantic alignment. Appendix G provides a detailed latent space analysis of these encoders.

Figure 3: Performance analysis of ProtoSiTex on HR:(a) with various prototype initializers;(b) without alternate training (w/o AT);(c) across different similarity measures;with a varying number of (d) prototypes, and (e) heads
Figure 4: Impact of hyperparameters \alpha_i and \lambda_i on HR

4.6 Impact of Model Components↩︎

We here report the impact of modules of ProtoSiTex on HR dataset only due to space constraints, which is representative enough to illustrate the observed trends.

4.6.1 Impact of Different Prototype Initializers↩︎

We evaluated four prototype initialization strategies: random, K-means centroids, Kaiming, and Xavier. As shown in Fig. 3 (a), random initialization consistently outperformed the others across \(\mathcal{F}_m\), \(\mathcal{BA}_m\), and \({\mathcal{HL}}^c\). This performance gain may be attributed to the increased diversity introduced early in the training, which helps avoid premature convergence and overfitting.

4.6.2 Impact of Alternate Training↩︎

ProtoSiTex adopts a dual-phase training strategy, alternating between unsupervised prototype learning and supervised classification. To evaluate its efficacy, we compared model variants trained with and without alternation. As shown in Fig. 3 (b), alternate training significantly improved performance by enabling the model to discover semantically meaningful prototype clusters, and align them with downstream classification objectives. In contrast, without alternation, the model struggled to learn task-specific prototypes, lowering performance.

4.6.3 Impact of Similarity Function↩︎

We evaluated three similarity metrics: MHA, cosine similarity, and Euclidean distance, for associating subsentence embeddings with prototypes. As presented in Fig. 3 (c), MHA of ProtoSiTex achieved superior \(\mathcal{F}_m\), \(\mathcal{BA}_m\), and \({\mathcal{HL}}^c\) scores by capturing richer embedding relationships, leading to more discriminative and interpretable prototype assignments.

4.7 Impact of Hyperparameters↩︎

ProtoSiTex includes several key hyperparameters: the number of prototypes (\(q\)), number of heads (\(h\)), loss weights for clustering (\(\alpha_1\), \(\alpha_2\), \(\alpha_3\)), and classification (\(\lambda_1\), \(\lambda_2\), \(\lambda_3\)). To systematically investigate the influence of these hyperparameters on model performance, we conducted a series of experiments on the HR. As shown in Fig. 3 (d), increasing \(q\) initially boosts performance by capturing diverse semantic concepts, but excessive values lead to redundancy and over-smoothing. A similar trend is observed for \(h\) in Fig. 3 (e). Furthermore, Fig. 4 shows that assigning \(\alpha_1=0.01\), \(\alpha_2=0.98\), \(\alpha_3=0.01\), and \(\lambda_1=0.6\), \(\lambda_2=0.2\), \(\lambda_3=0.2\) yields optimal results. This multi-level supervision prevented the model from overfitting to a single level of granularity, supporting both local and global interpretability and accuracy.

Figure 5: Aspect-wise performance of ProtoSiTex on HR
Figure 6: Correctly predicted examples of ProtoSiTex on (a) HR, (b) TweetEVAL [38], and (c) IMDb [37]. Best viewed in color.
Figure 7: Misprediction examples of ProtoSiTex on (a) HR, (b) TweetEVAL [38], and (c) IMDb [37]. Best viewed in color.

4.8 Aspect-wise Performance Analysis↩︎

Fig. 5 presents a detailed aspect-wise evaluation of ProtoSiTex on the HR dataset, offering insights into the model’s performance across individual aspect categories. Notably, the aspects Guest Experience, Food, and Concierge not only appear the most frequently in HR but also exhibit strong predictive performance. In contrast, Pricing & Value and Personalization are the least represented. Despite the challenges posed by class imbalance, ProtoSiTex shows a strong ability to identify the Pricing & Value aspect, achieving \(\mathcal{F}\) and \(\mathcal{A}\) scores comparable to those of the more frequent categories. However, Personalization remains the most challenging aspect, particularly in terms of \(\mathcal{R}\), as the model often fails to capture all relevant instances. This difficulty is likely due to both its low frequency in the dataset and its inherent subjective nature. Unlike more explicit aspects such as Food or Location & Surrounding, Personalization is often expressed through subtle, indirect, and context-dependent language, making it more difficult to detect.

4.9 Qualitative Analysis of ProtoSiTex↩︎

To illustrate ProtoSiTex’s interpretability and prediction quality, we present correctly predicted examples from the HR, TweetEVAL, and IMDb datasets in Fig. 6. In each case here, the model accurately predicts aspect or sentiment labels while grounding them in semantically coherent subsentence segments via learned prototypes. In the HR example, ProtoSiTex correctly identifies multi-label aspects (Room & Amenities, Food, Pricing & Value, etc.) from a single review, while providing text-grounded justifications. This highlights its ability to disentangle overlapping review aspects and attribute them to distinct prototype-based explanations. In the TweetEVAL sample, ProtoSiTex captures the emotion joy and connects it to meaningful prototypes reflecting positive sentiment, demonstrating its effectiveness in emotional reasoning with minimal text context. Similarly, in the IMDb example, ProtoSiTex predicts the positive label and supports it with a rich prototype cluster centered on artistic and narrative appreciation, confirming alignment with human sentiment. Overall, these examples demonstrate that ProtoSiTex offers not only accurate predictions but also transparent, faithful interpretations at the subsentence level, making it suitable for real-world applications requiring interpretability.

4.10 Misprediction Analysis↩︎

To better understand the behavior and limitations of ProtoSiTex, we conducted a detailed analysis of mispredictions. This analysis highlights recurring patterns that lead to incorrect predictions. The most notable cases of mispredictions are discussed below:

4.10.1 Boundary Ambiguity in Prototype↩︎

In multi-label classification, ProtoSiTex occasionally exhibits boundary ambiguity among prototypes, where semantically related class representations capture overlapping evidence. This ambiguity leads to confusion in distinguishing co-occurring categories, resulting in the assignment of only a single dominant label instead of multiple relevant ones. For example, in Fig. 7 (a), the review “Spacious room with balcony with amazing view of the valley and the falls”. The actual labels are Room & Amenities and Location & Surrounding. However, ProtoSiTex predicts only Room & Amenities. Here, Room & Amenities dominates and captures shared contextual characteristics such as “spacious room”, “balcony”, overshadowing the equally valid cues of “view of the valley and the falls” that should activate Location & Surrounding.

4.10.2 Lexical Cue Dominance↩︎

Sometimes the mispredictions in ProtoSiTex were caused by lexical bias, the tendency to rely excessively on high-intensity words when making predictions. Words such as “angry’‘, “worst’’, or”best’’ often dominate the model’s decision process, even when their contextual meaning is softened/ inverted by surrounding text. For instance, in Fig. 7 (b) the review”@user i love ur angry comments”, the actual emotion is affectionate teasing or joy, yet the ProtoSiTex incorrectly predicts anger due to the presence of the word “angry”.

4.10.3 Absence of Fine-Grained Annotation↩︎

This observation highlights an important takeaway: even when only coarse document-level supervision is available, prototype-based explanations remain highly useful for error analysis and model trust. By showing how individual subsentences align with prototypes tied to different target classes, ProtoSiTex offers interpretable evidence that pinpoints why a misclassification occurred, rather than treating it as a black-box error. From a technical perspective, the misclassification arises due to aggregation bias, while subsentence–prototype mappings are accurate, the hierarchical aggregation process (from prototype-level activations to the final document-level decision) can overweight strong local cues and misjudge the overall label. In practice, this means even when the document-level prediction is wrong, the prototype-level reasoning still faithfully explains the decision path, helping to uncover issues such as prototype imbalance, lack of discourse-level cues, or dataset limitations tied to coarse supervision. Thus, beyond accuracy metrics, our approach demonstrates that interpretable prototype assignments provide actionable insights for debugging and model refinement. As illustrated in Fig. 7 (c), the identified prototypes, explanations, and associated class mappings are correct, even though the final document-level prediction was misclassified.

Additional experimental analyses are provided in the supplementary file. Appendix C presents the convergence behavior of the individual and joint loss functions during training. Appendix D offers a comprehensive evaluation of prototype interpretability using multiple metrics, including coverage, contrastivity, centered kernel alignment, and fidelity. Appendix E reports a detailed nonparametric statistical significance analysis based on the Friedman and Nemenyi tests. Finally, Appendix F provides extensive qualitative results, illustrating representative prototypes generated across the three benchmark datasets.

5 Conclusion↩︎

We proposed ProtoSiTex, a semi-interpretable framework for fine-grained, multi-label text classification. By combining adaptive prototype learning, dual-phase alternate training, and hierarchical supervision, ProtoSiTex delivers accurate and transparent predictions across multiple levels of granularity. To support evaluation, we introduced the hotel reviews dataset (HR) with subsentence-level multi-aspect annotations. Extensive experiments on HR, along with the publicly available IMDb and TweetEVAL datasets, show that ProtoSiTex matches or exceeds baseline and state-of-the-art models, while providing faithful, human-aligned interpretations. Future directions include extending ProtoSiTex to cross-domain and multilingual settings, incorporating multimodal cues, and integrating large language models for interactive, user-centric explanations.

Acknowledgment↩︎

The authors heartily thank all the researchers/ interns/ annotators who helped in hotel reviews dataset preparation.

Supplementary Appendix↩︎

Appendices A, B, C, D, E, F and G can be found in https://github.com/Utsav30/ProtoSiTex1.

References↩︎

[1]
G. O. Diaz et al., “Modeling and prediction of online product review helpfulness: A survey,” in ACL, 2018, pp. 698–708.
[2]
W. Duan et al., “Do online reviews matter?—an empirical investigation of panel data,” Decision support systems, vol. 45, pp. 1007–1016, 2008.
[3]
S. Banerjee et al., “Whose online reviews to trust? Understanding reviewer trustworthiness and its impact on business,” Decision Support Systems, vol. 96, pp. 17–26, 2017.
[4]
K. Floyd et al., “How online product reviews affect retail sales: A meta-analysis,” Journal of retailing, vol. 90, no. 2, pp. 217–232, 2014.
[5]
J. Devlin et al., BERT: Pre-training of deep bidirectional transformers for language understanding,” in NAACL-HLT, Jun. 2019, pp. 4171–4186, doi: 10.18653/v1/N19-1423.
[6]
M. Wankhade et al., “A survey on sentiment analysis methods, applications, and challenges,” Artificial Intelligence Review, vol. 55, no. 7, pp. 5731–5780, 2022.
[7]
A. Rogers et al., QA dataset explosion: A taxonomy of nlp resources for question answering and reading comprehension,” ACM CSUR, vol. 55, no. 10, pp. 1–45, 2023.
[8]
S. Minaee et al., “Deep learning–based text classification: A comprehensive review,” ACM CSUR, vol. 54, no. 3, pp. 1–40, 2021.
[9]
C. Rudin, “Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead,” Nature machine intelligence, vol. 1, no. 5, pp. 206–215, 2019.
[10]
D. Castelvecchi, “Can we open the black box of AI?” Nature News, vol. 538, no. 7623, p. 20, 2016.
[11]
M. T. Ribeiro et al., “"Why should i trust you?" explaining the predictions of any classifier,” in ACM SIGKDD, 2016, pp. 1135–1144.
[12]
S. M. Lundberg et al., “A unified approach to interpreting model predictions,” NIPS, vol. 30, 2017.
[13]
J. Crabbé et al., “Evaluating the robustness of interpretability methods through explanation invariance and equivariance,” in NIPS, 2023, vol. 36, pp. 71393–71429.
[14]
D. Alvarez-Melis et al., “On the robustness of interpretability methods,” arXiv:1806.08049, 2018.
[15]
C. Molnar, Interpretable machine learning. Lulu. com, 2020.
[16]
E. Rosch, “Cognitive representations of semantic categories.” Journal of experimental psychology: General, vol. 104, no. 3, p. 192, 1975.
[17]
C. Chen et al., “This looks like that: Deep learning for interpretable image recognition,” NIPS, vol. 32, 2019.
[18]
M. Nauta et al., PIP-Net: Patch-based intuitive prototypes for interpretable image classification,” in CVPR, 2023, pp. 2744–2753.
[19]
D. Hong et al., ProtoryNet - interpretable text classification via prototype trajectories,” JMLR, vol. 24, no. 1, Jan. 2023.
[20]
X. Wen et al., GAProtoNet: A multi-head graph attention-based prototypical network for interpretable text classification,” in COLING, Jan. 2025, pp. 9891–9901.
[21]
Z. Sourati et al., “Robust text classification: Analyzing prototype-based networks,” in EMNLP, Nov. 2024, pp. 12736–12757.
[22]
Q. Li et al., “A survey on text classification: From traditional to deep learning,” ACM Trans. Intell. Syst. Technol., vol. 13, no. 2, Apr. 2022, doi: 10.1145/3495162.
[23]
B. Wei et al., “ProtoLens: Advancing prototype learning for fine-grained interpretability in text classification,” in ACL, 2025, pp. 4503–4523.
[24]
M. Pontiki et al., SemEval-2016 task 5: Aspect based sentiment analysis,” in SemEval, 2016, pp. 19–30.
[25]
K. Schouten et al., “A survey of text classification algorithms,” CICLing, pp. 1–14, 2015.
[26]
M. Cesarini et al., “Explainable ai for text classification: Lessons from a comprehensive evaluation of post hoc methods,” Cognitive Computation, pp. 1–19, 2024.
[27]
J. Snell et al., “Prototypical networks for few-shot learning,” in NIPS, 2017, pp. 4080–4090.
[28]
Y. Ming et al., “Interpretable and steerable sequence learning via prototypes,” in ACM SIGKDD, 2019, pp. 903–913.
[29]
J. Yao et al., ClassVector: A parameterized prototype-based model for text classification,” 2019, pp. 322–326.
[30]
W. Liu et al., “The emerging trends of multi-label learning,” IEEE TPAMI, vol. 44, no. 11, pp. 7955–7974, 2021.
[31]
M.-L. Zhang et al., “A review on multi-label learning algorithms,” IEEE TKDE, vol. 26, no. 8, pp. 1819–1837, 2013.
[32]
Z. Yang et al., “Hierarchical attention networks for document classification,” in NAACL-HLT, 2016, pp. 1480–1489.
[33]
J. Liu et al., “Deep learning for extreme multi-label text classification,” in ACM SIGIR, 2017, pp. 115–124.
[34]
Q. Ma et al., “Label-specific dual graph neural network for multi-label text classification,” in ACL, 2021, pp. 3855–3864.
[35]
G. Team et al., Gemini: A Family of Highly Capable Multimodal Models,” vol. arXiv:2312.11805, 2023.
[36]
A. Paszke et al., PyTorch: An Imperative Style, High-Performance Deep Learning Library,” in NeurIPS, 2019, pp. 8024–8035.
[37]
A. L. Maas et al., “Learning word vectors for sentiment analysis,” in ACL, 2011, pp. 142–150.
[38]
F. Barbieri et al., TweetEval: Unified benchmark and comparative evaluation for tweet classification,” in EMNLP, 2020, pp. 1644–1650.
[39]
S. Dutta et al., ARTICLE: Annotator reliability through in-context learning,” in AAAI, 2025, pp. 14230–14237.
[40]
K. Krippendorff, “Estimating the reliability, systematic error and random error of interval data,” Educational and Psychological Measurement, vol. 30, no. 1, pp. 61–70, 1970.
[41]
Y. Liu et al., RoBERTa: A robustly optimized bert pretraining approach,” arXiv:1907.11692, 2019.
[42]
Z. Nussbaum et al., “Training sparse mixture of experts text embedding models,” arXiv:2502.07972, 2025.
[43]
K. Clark et al., ELECTRA: Pre-training text encoders as discriminators rather than generators,” in ICLR, 2020.
[44]
Z. Yang et al., XLNet: Generalized autoregressive pretraining for language understanding,” NIPS, vol. 32, 2019.
[45]
A. Yang et al., “Qwen3 technical report,” arXiv:2505.09388, 2025.
[46]
A. Grattafiori et al., “The llama 3 herd of models,” arXiv:2407.21783, 2024.

  1. U.K. Nareti and C. Adak are with the Dept. of CSE, IIT Patna, India. S. Kumar, S. Pandey, and S. Chattopadhyay are with the Dept. of CSE, IIT Indore, India. S.S. Mullick is with Dolby Laboratories, India. Corresponding author: U.K. Nareti (email: utsav_2221cs28@iitp.ac.in)↩︎