Introduction
Modern deep learning models typically require vast amounts of labeled data to achieve high performance. However, for many low-resource languages like Arabic, Urdu, and Setswana, such datasets are scarce. While semi-supervised learning (SSL) attempts to use unlabeled data via pseudo-labeling, these methods often suffer from noise and error propagation, especially in morphologically complex languages.
Flick (Few Labels Text Classification using K-Aware Intermediate Learning) addresses these challenges by introducing a robust two-stage framework that filters noisy pseudo-labels through a "top-k" refinement process. This approach enables effective intermediate training even when only a handful of human-labeled examples are available.
Methodology: The Flick Framework
Flick utilizes a two-stage process to distill knowledge from unlabeled data before final fine-tuning on limited labeled sets.
Stage 1: Pseudo-Label Generation
The process begins by converting a large unlabeled corpus into dense vector representations using a Sentence Transformer. These embeddings are then grouped into $k$ clusters (typically $k=20$) using K-means clustering. Each cluster serves as an initial "pseudo-label" category.
Stage 2: Pseudo-Label Refinement
The core innovation of Flick is its refinement stage. Rather than training on all generated clusters—many of which may be noisy or poorly defined—Flick evaluates the quality of each cluster to mitigate error propagation.
As detailed in Algorithm 2, the pseudo-labeled data is split into internal training and testing sets. A language-specific pre-trained model (e.g., AraBERT for Arabic) is trained on the training portion and evaluated on the test portion per cluster. The framework then selects only the "top-k" performing clusters—those with the highest classification accuracy and internal cohesion—for intermediate training. This targeted selection prevents the model from learning incorrect patterns from low-quality clusters.
Final Fine-Tuning
The weights obtained from training on these refined pseudo-labels (PL-FT) provide a superior initialization for the final classifier (Cls-FT). This classifier is then fine-tuned on a very small set of actual human-labeled data, typically restricted to just 100 instances to simulate extreme low-resource settings.
Evaluation and Results
The authors evaluated Flick across 14 diverse datasets spanning Arabic, Urdu, Setswana, and English. Flick consistently outperformed state-of-the-art (SOTA) baselines such as Cluster&Tune and IDoFew:
- Arabic Performance: On the ArBNTopic domain classification task, Flick achieved 63% accuracy, a 12% absolute improvement over the best baseline. It also reached 87.5% accuracy on the MPOLD offensive language dataset.
- Cross-Lingual Success: The model demonstrated strong adaptability, achieving 89.6% accuracy on Urdu (UOD) and 50.3% on the challenging Setswana domain dataset.
- Efficiency: Despite being significantly smaller, Flick often matched or exceeded the performance of massive models like Llama3-8B and AceGPT on these specific low-resource tasks, suggesting that task-specific intermediate learning can be more effective than raw model scale.
Insights and Future Directions
The success of Flick highlights that quality over quantity is paramount in pseudo-labeling. By distilling high-confidence clusters, the model avoids the "garbage in, garbage out" trap common in semi-supervised learning. Furthermore, task-specific intermediate learning serves as a vital bridge, allowing the model to develop a semantic map of the target language before seeing the limited gold-standard labels.
Future work will focus on automating the cluster selection process using non-parametric methods and extending the framework to additional low-resource languages such as Pashto and Swahili.
Summary updated