Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

AnySimLite: A Lightweight Few-Shot Similarity Encoder for On-Device Speech-Adjacent Classification

About

To minimize privacy concerns and inference latency on edge devices like smartphones, lightweight on-device models remain important for end-user applications. Many of these applications involve natural language classification, but deploying multiple specialized models creates a memory footprint challenge. We investigate: Can a single lightweight architecture solve multiple Speech-Adjacent (SA) classification tasks through reduction to a nuanced text similarity formulation? We propose AnySimLite, a lightweight similarity encoder that combines word-level and character-level channels. Together with a dataset transformation strategy, we evaluate AnySimLite across multiple SA classification tasks and show that it consistently achieves state-of-the-art (SOTA) or SOTA-competitive performance in few-shot settings while maintaining a low memory footprint. Even in the worst case, the performance drop remains below 7% while using $<\frac{1}{250}^{\mathrm{th}}$ of the model size of the SOTA qLLaMA_LoRA-7B baseline.

Sourav Ghosh, Yash Bhatia, Keshav Goyal, Sahil Singh Bagri, Mohamed Akram Ulla Shariff, Saravana Balaji Shanmugam• 2026

Related benchmarks

TaskDatasetResultRank
Topic ClassificationAG-News
Accuracy91.12
228
Sentiment ClassificationIMDB
Accuracy88.68
77
SMS Spam ClassificationSMS Spam
F1-score97.5
21
Sentiment ClassificationSentiment140
Accuracy80.22
13
Text SimilarityQuora Question Pairs Classes = 2
F1 Score82.96
5
Text SimilarityTitleSimCurated Classes = 2
Accuracy88.73
4
Toxicity DetectionToxic Comment Classes = 6
ROC Score94.2
4
Intent DetectionSNIPS 7 classes
Accuracy98.21
3
Intent DetectionATIS 8 (coarse), 21
Accuracy97.62
3
Showing 9 of 9 rows

Other info

Follow for update