GCUL: Ambiguity Identification in Text Emotion Classification via Cluster-Guided Learning
Organizations: Beijing Normal-Hong Kong Baptist University
Abstract
Selective classification enables a model to abstain from predictions on uncertain instances, but existing approaches typically reject them through confidence scores, predefined coverage constraints or instance-level distance measures. These approaches may overlook the collective geometric structure of difficult samples in learned representation spaces. We propose Guided Clustering-based Uncertain Learning (GCUL), a geometric-guided selective classification framework that identifies misclassified and ambiguous instances as a potential confusion attractor in the representation space. GCUL uses a three-phase procedure to initialize, cluster, and explicitly relabel this uncertain region, allowing the rejection boundary to emerge from the underlying representation geometry rather than from a prescribed rejection rate. We further derive a selectivity score and a geometric sufficient condition that characterizes when rejection can provide positive operational utility, enabling pre-deployment feasibility assessment. GCUL improves DistilBERT accuracy from 89.37 percent to 94.98 percent with less than 9 percent rejection. Beyond accuracy, our selectivity score correctly pre-detects the only dataset (GoEmotion) where all baselines fail, and controlled simulations yield 6.1 percent Type-I and 0 percent Type-II errors, validating the sufficient condition's conservatism. These results suggest that collective representation geometry provides a useful alternative perspective for selective prediction.
Figures & tables
| Model | Accuracy (%) | F1-score | Rej. Rate |
|---|---|---|---|
| Logistic Regression | 84.02 | 0.8433 | – |
| Naive Bayes [ 17 ] | 72.80 | 0.7256 | – |
| SVM [ 13 ] | 84.11 | 0.8421 | – |
| Random Forest | 84.75 | 0.8518 | – |
| TextCNN [ 14 ] | 86.35 | 0.8673 | – |
| BiLSTM + Attention [ 20 , 9 ] | 87.83 | 0.8831 | – |
| Violation Type | Count / Total | Rate (%) |
|---|---|---|
| Type-1 | 25 / 410 | 6.1% |
| Type-2 | 0 / 410 | 0% |
| Overall | 25 / 410 | 6.1% |
Appendix figures & tables19 assets
Supplementary material from the paper’s appendix.
Appendix
| Component / Phase | Configuration |
|---|---|
| Backbone / Input | DistilBERT 768-d embeddings |
| Sequence Architecture | 2-layer LSTM |
| Optimization | Adam, Batch size |
| Phase Schedule | Phase 1: 1 epoch; Phase 3: 4 epochs |
| Dimensionality Reduction | 768 10 dims via PCA / LDA |
| Method | Parameter | Configuration |
| MSP | Rejection cost | |
| Threshold range | ||
| Base classifier | Logistic Regression, max_iter | |
| SelectiveNet | Target coverage | |
| Utility penalty | ||
| Training epochs |
| Parameter | Value | Description |
|---|---|---|
| 5 | Number of classes | |
| 2,000 | Samples per clean class | |
| 2,000 | Samples in confusion region | |
| 10.0 | Feature dimensionality | |
| 10.0 | Center scale | |
| 1.5 | Cluster radius |
| Parameter | Value | Description |
|---|---|---|
| 0.15 | Target threshold | |
| Phase 1 | Logistic Regression | |
| solver | lbfgs | Optimization algorithm |
| max_iter | 500 | Maximum iterations |
| multi_class | multinomial | Multi-class strategy |
| Phase 2 |
| Parameter | Value | Description |
|---|---|---|
| Feature noise | ||
| Label flip probability | ||
| Evaluation seeds |
| Metric | Description |
|---|---|
| Base Acc | Base classifier accuracy on test set |
| Selective Acc | Accuracy after rejection |
| Acc Gain | Selective Acc Base Acc |
| Uncertain Rate | Proportion of samples rejected |
| PRE | Critical threshold predicted by theory |
| EMP | Critical threshold derived empirically |
| Base Acc (%) | Sel Acc (%) | Rej Rate (%) | |
|---|---|---|---|
| 0.1 | 88.71 | 99.04 | 16.74 |
| 0.2 | 88.71 | 99.04 | 16.74 |
| 0.3 | 88.71 | 99.04 | 16.74 |
| 0.4 | 88.71 | 99.04 | 16.74 |
| 0.5 | 88.71 | 98.12 | 14.56 |
| 0.6 | 88.71 | 96.94 | 12.40 |
| Target | Base Acc (%) | Sel Acc (%) | Rej Rate (%) |
|---|---|---|---|
| 0.60 | 89.22 | 99.92 | 39.95 |
| 0.64 | 89.18 | 99.96 | 35.83 |
| 0.68 | 89.33 | 99.92 | 31.95 |
| 0.72 | 89.13 | 99.86 | 27.58 |
| 0.76 | 89.05 | 99.89 | 23.58 |
| 0.80 | 89.17 | 99.68 | 19.83 |
| Retained | Rej Rate (%) | Base Acc (%) | Sel Acc (%) |
|---|---|---|---|
| Top 100% | 0 | 88.71 | 88.71 |
| Top 96% | 4 | 88.71 | 91.12 |
| Top 92% | 8 | 88.71 | 93.32 |
| Top 88% | 12 | 88.71 | 95.65 |
| Top 84% | 16 | 88.71 | 97.73 |
| Top 80% | 20 | 88.71 | 99.48 |
| PCA | Base Acc | Sel Acc | Rej Rate | Guaranteed | ||
|---|---|---|---|---|---|---|
| 2 | 88.71 | 92.11 | 5.80 | 0.00 | 0.00 | No |
| 3 | 88.71 | 91.95 | 5.64 | 0.03 | 0.05 | No |
| 4 | 88.71 | 93.51 | 7.47 | 0.10 | 0.12 | No |
| 5 | 88.71 | 93.04 | 6.89 | 0.15 | 0.19 | No |
| 8 | 88.71 | 93.93 | 8.07 | 0.32 | 0.38 | Yes |
| 10 | 88.71 | 95.47 | 10.22 | 0.35 | 0.46 | Yes |
| Base Acc (%) | Sel Acc (%) | Rej Rate (%) | |
|---|---|---|---|
| 0.1 | 37.99 | 100 | 99.83 |
| 0.2 | 37.99 | 100 | 99.83 |
| 0.3 | 37.99 | 100 | 99.83 |
| 0.4 | 37.99 | 100 | 99.83 |
| 0.5 | 37.99 | 100 | 99.83 |
| 0.6 | 37.99 | 100 | 99.83 |
| Target | Base Acc (%) | Sel Acc (%) | Rej Rate (%) |
|---|---|---|---|
| 0.60 | 37.75 | 45.43 | 39.94 |
| 0.64 | 37.47 | 44.30 | 35.94 |
| 0.68 | 37.46 | 43.68 | 32.12 |
| 0.72 | 37.57 | 42.79 | 28.06 |
| 0.76 | 37.94 | 42.45 | 23.82 |
| 0.80 | 37.27 | 41.00 | 19.85 |
| Retained | Rej Rate (%) | Base Acc (%) | Sel Acc (%) |
|---|---|---|---|
| Top 100% | 0 | 37.99 | 37.99 |
| Top 96% | 4 | 37.99 | 38.14 |
| Top 92% | 8 | 37.99 | 38.37 |
| Top 88% | 12 | 37.99 | 38.49 |
| Top 84% | 16 | 37.99 | 38.69 |
| Top 80% | 20 | 37.99 | 38.80 |
| PCA | Base Acc | Sel Acc | Rej Rate | Guaranteed | ||
|---|---|---|---|---|---|---|
| 2 | 37.99 | 38.15 | 3.24 | 0 | 0 | No |
| 3 | 37.99 | 38.19 | 2.48 | 0 | 0 | No |
| 4 | 37.99 | 38.09 | 3.06 | 0 | 0 | No |
| 5 | 37.99 | 38.01 | 2.48 | 0 | 0 | No |
| 8 | 37.99 | 38.35 | 4.06 | 0 | 0 | No |
| 10 | 37.99 | 38.23 | 2.81 | 0 | 0 | No |
| Base Acc (%) | Sel Acc (%) | Rej Rate (%) | |
|---|---|---|---|
| 0.1 | 92.55 | 98.81 | 11.70 |
| 0.2 | 92.55 | 98.81 | 11.70 |
| 0.3 | 92.55 | 98.81 | 11.70 |
| 0.4 | 92.55 | 97.06 | 8.25 |
| 0.5 | 92.55 | 94.09 | 3.55 |
| 0.6 | 92.55 | 93.64 | 2.45 |
| Target | Base Acc (%) | Sel Acc (%) | Rej Rate (%) |
|---|---|---|---|
| 0.60 | 93.10 | 98.82 | 40.75 |
| 0.64 | 93.00 | 98.43 | 36.50 |
| 0.68 | 93.30 | 98.67 | 32.40 |
| 0.72 | 93.45 | 98.04 | 28.45 |
| 0.76 | 93.10 | 96.74 | 24.75 |
| 0.80 | 93.20 | 96.74 | 20.25 |
| Retained | Rej Rate (%) | Base Acc (%) | Sel Acc (%) |
|---|---|---|---|
| Top 100% | 0 | 92.55 | 92.55 |
| Top 96% | 4 | 92.55 | 93.91 |
| Top 92% | 8 | 92.55 | 93.97 |
| Top 88% | 12 | 92.55 | 94.20 |
| Top 84% | 16 | 92.55 | 94.35 |
| Top 80% | 20 | 92.55 | 94.31 |
| PCA | Base Acc | Sel Acc | Rej Rate | Guaranteed | ||
|---|---|---|---|---|---|---|
| 2 | 92.6 | 93.65 | 2.35 | 0.00 | 0.00 | No |
| 3 | 92.6 | 95.92 | 5.70 | 0.00 | 0.25 | No |
| 4 | 92.6 | 95.79 | 4.95 | 0.22 | 0.27 | Yes |
| 5 | 92.6 | 95.73 | 5.10 | 0.33 | 0.31 | Yes |
| 8 | 92.6 | 95.79 | 4.95 | 0.10 | 0.24 | No |
| 10 | 92.6 | 95.69 | 4.95 | 0.11 | 0.23 | No |
| Noise | Base Acc | Sel Acc | Rej Rate | ||
|---|---|---|---|---|---|
| (%) | (%) | (%) | |||
| 0.0 | 86.50 | 100 | 16.54 | 0.96 | 0.82 |
| 0.4 | 86.54 | 100 | 16.54 | 0.96 | 0.81 |
| 0.8 | 86.88 | 100 | 16.54 | 0.95 | 0.79 |
| 1.2 | 86.92 | 100 | 16.54 | 0.94 | 0.79 |
| 1.6 | 86.92 | 100 | 16.54 | 0.92 | 0.79 |