paper-with-me

홈 › Papers

Practical token pruning for foundation models in few-shot conversational virtual assistant systems

2024-08-21 · Haode Qi, Cheng Qian, Jian Ni, Pratyush Singh, Reza Fazeli, Gengyu Wang, Zhongzheng Shu, Eric Wayne, Juergen Bross

In an enterprise Virtual Assistant (VA) system, intent classification is the crucial component that determines how a user input is handled based on what the user wants. The VA system is expected to be a cost-efficient SaaS service with low training and inference time while achieving high accuracy even with a small number of training samples. We pretrain a transformer-based sentence embedding model with a contrastive learning objective and leverage the embedding of the model as features when training intent classification models. Our approach achieves the state-of-the-art results for few-shot scenarios and performs better than other commercial solutions on popular intent classification benchmarks. However, generating features via a transformer-based model increases the inference time, especially for longer user inputs, due to the quadratic runtime of the transformer's attention mechanism. On top of model distillation, we introduce a practical multi-task adaptation approach that configures dynamic token pruning without the need for task-specific training for intent classification. We demonstrate that this approach improves the inference speed of popular sentence transformer models without affecting model performance.

📄 PDF Abstract BibTeX arXiv:2408.11799

Code (0)

등록된 구현이 없습니다.

Tasks

ClassificationContrastive Learningintent-classificationIntent ClassificationSentenceSentence EmbeddingSentence-Embedding

Methods 이 논문이 사용한 방법론

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$…
Golden Queue Managers 설명 없음
Attention 설명 없음
Pruning 설명 없음
SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…
Contrastive Learning 설명 없음

Similar Papers 제목 키워드 기반

Rethinking Token Pruning for Historical Screenshots in GUI Visual Agents: Semantic, Spatial, and Temporal Perspectives

2026-03-27 · Daiqiang Li, Zihao Pan, Zeyu Zhang, Ronghao Chen 외 arxiv

In recent years, GUI visual agents built upon Multimodal Large Language Models (MLLMs) have demonstrated strong potential in navigation tasks. However, high-resolution GUI screenshots produce a large number of visual tok…

How to Score Experts for One-Shot MoE Expert Pruning: A Unified Formulation and Selection Principle

2026-06-14 · Zongfang Liu, Jinghui Zhang, Zijian Ma, Guangyi Chen 외 arxiv

Mixture-of-Experts (MoE) language models reduce per-token computation through sparse expert activation, yet deployment still requires storing the full expert pool, making one-shot expert pruning a practical approach for …

ERA: Entropy-Guided Visual Token Pruning with Rectified Attention for Efficient MLLMs

2026-06-30 · Yuhao Wang, Mu Qiao, Haiwen Diao, Yunzhi Zhuge 외 arxiv

Multimodal Large Language Models (MLLMs) incur prohibitive inference costs due to long visual token sequences. Training-free visual token reduction provides an efficient solution. However, existing methods distort attent…

CATP: Contextually Adaptive Token Pruning for Efficient and Enhanced Multimodal In-Context Learning

2025-08-11 · Yanshu Li, Jianjiang Yang, Zhennan Shen, Ligong Han 외 arxiv

Modern large vision-language models (LVLMs) convert each input image into a large set of tokens that far outnumber the text tokens. Although this improves visual perception, it also introduces severe image token redundan…

Domain Adaptation

DiffuMask: Diffusion Language Model for Token-level Prompt Pruning

2026-04-08 · Caleb Zheng, Jyotika Singh, Fang Tu, Weiyi Sun 외 arxiv

In-Context Learning and Chain-of-Thought prompting improve reasoning in large language models (LLMs). These typically come at the cost of longer, more expensive prompts that may contain redundant information. Prompt comp…