paper-with-me

홈 › Papers

Beyond the Hype: Embeddings vs. Prompting for Multiclass Classification Tasks

2025-04-05 · Marios Kokkodis, Richard Demsyn-Jones, Vijay Raghavan

Are traditional classification approaches irrelevant in this era of AI hype? We show that there are multiclass classification problems where predictive models holistically outperform LLM prompt-based frameworks. Given text and images from home-service project descriptions provided by Thumbtack customers, we build embeddings-based softmax models that predict the professional category (e.g., handyman, bathroom remodeling) associated with each problem description. We then compare against prompts that ask state-of-the-art LLM models to solve the same problem. We find that the embeddings approach outperforms the best LLM prompts in terms of accuracy, calibration, latency, and financial cost. In particular, the embeddings approach has 49.5% higher accuracy than the prompting approach, and its superiority is consistent across text-only, image-only, and text-image problem descriptions. Furthermore, it yields well-calibrated probabilities, which we later use as confidence signals to provide contextualized user experience during deployment. On the contrary, prompting scores are overly uninformative. Finally, the embeddings approach is 14 and 81 times faster than prompting in processing images and text respectively, while under realistic deployment assumptions, it can be up to 10 times cheaper. Based on these results, we deployed a variation of the embeddings approach, and through A/B testing we observed performance consistent with our offline analysis. Our study shows that for multiclass classification problems that can leverage proprietary datasets, an embeddings-based approach may yield unequivocally better results. Hence, scientists, practitioners, engineers, and business leaders can use our study to go beyond the hype and consider appropriate predictive models for their classification use cases.

📄 PDF Abstract BibTeX arXiv:2504.04277

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Graph Self-Attention 설명 없음
RAdam 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
HypE Hyperboloid Embeddings (HypE) is a novel self-supervised dynamic reasoning framework, that utilizes positive first-order existential queries on a KG to learn representations of…

Similar Papers 제목 키워드 기반

Word-Class Embeddings for Multiclass Text Classification

2019-11-26 · Alejandro Moreo, Andrea Esuli, Fabrizio Sebastiani

Pre-trained word embeddings encode general word semantics and lexical regularities of natural language, and have proven useful across many NLP tasks, including word sense disambiguation, machine translation, and sentimen…

ClassificationGeneral ClassificationMachine TranslationSentiment Analysis+5

The Optimal Sample Complexity of Multiclass and List Learning

2026-04-27 · Chirag Pabbaraju arxiv

While the optimal sample complexity of binary classification in terms of the VC dimension is well-established, determining the optimal sample complexity of multiclass classification has remained open. The appropriate com…

Binary Classification

Rumour Evaluation with Very Large Language Models

2024-04-11 · Dahlia Shehata, Robin Cohen, Charles Clarke

Conversational prompt-engineering-based large language models (LLMs) have enabled targeted control over the output creation, enhancing versatility, adaptability and adhoc retrieval. From another perspective, digital misi…

MisinformationPrompt EngineeringRumour DetectionStance Classification

Lexico-semantic and affective modelling of Spanish poetry: A semi-supervised learning approach

2021-09-09 · Alberto Barbado, María Dolores González, Débora Carrera

Text classification tasks have improved substantially during the last years by the usage of transformers. However, the majority of researches focus on prose texts, with poetry receiving less attention, specially for Span…

SentenceSentence Embeddingstext-classificationText Classification

Multiclass feature learning for hyperspectral image classification: sparse and hierarchical solutions

2016-06-23 · Devis Tuia, Rémi Flamary, Nicolas Courty

In this paper, we tackle the question of discovering an effective set of spatial filters to solve hyperspectral classification problems. Instead of fixing a priori the filters and their parameters using expert knowledge,…

ClassificationGeneral ClassificationHyperspectral Image Classificationimage-classification+1