paper-with-me

홈 › Papers

SLOT: Sample-specific Language Model Optimization at Test-time

2025-05-18 · Yang Hu, Xingyu Zhang, Xueji Fang, Zhiyang Chen, Xiao Wang, Huatian Zhang, GuoJun Qi

We propose SLOT (Sample-specific Language Model Optimization at Test-time), a novel and parameter-efficient test-time inference approach that enhances a language model's ability to more accurately respond to individual prompts. Existing Large Language Models (LLMs) often struggle with complex instructions, leading to poor performances on those not well represented among general samples. To address this, SLOT conducts few optimization steps at test-time to update a light-weight sample-specific parameter vector. It is added to the final hidden layer before the output head, and enables efficient adaptation by caching the last layer features during per-sample optimization. By minimizing the cross-entropy loss on the input prompt only, SLOT helps the model better aligned with and follow each given instruction. In experiments, we demonstrate that our method outperforms the compared models across multiple benchmarks and LLMs. For example, Qwen2.5-7B with SLOT achieves an accuracy gain of 8.6% on GSM8K from 57.54% to 66.19%, while DeepSeek-R1-Distill-Llama-70B with SLOT achieves a SOTA accuracy of 68.69% on GPQA among 70B-level models. Our code is available at https://github.com/maple-research-lab/SLOT.

📄 PDF Abstract BibTeX arXiv:2505.12392

Code (1)

maple-research-lab/slot 공식 구현 pytorch

Tasks

GSM8KLanguage ModelingLanguage ModellingModel Optimization

Similar Papers 제목 키워드 기반

Beyond Single Slot: Joint Optimization for Multi-Slot Guaranteed Display Advertising

2026-05-20 · Zhaoqi Zhang, Jiaming Deng, Miao Xie, Linyou Cai 외 arxiv

Guaranteed display advertising is crucial for platform monetization, yet existing methods often operate under a single-slot assumption, limiting their ability to optimize allocation across multi-slot page views. In this …

CALICO: Conversational Agent Localization via Synthetic Data Generation

2024-12-06 · Andy Rosenbaum, Pegah Kharazmi, Ershad Banijamali, Lu Zeng 외

We present CALICO, a method to fine-tune Large Language Models (LLMs) to localize conversational agent training data from one language to another. For slots (named entities), CALICO supports three operations: verbatim co…

Synthetic Data GenerationTranslation

Revisit Out-Of-Vocabulary Problem for Slot Filling: A Unified Contrastive Frameword with Multi-level Data Augmentations

2023-02-27 · Daichi Guo, Guanting Dong, Dayuan Fu, Yuxiang Wu 외

In real dialogue scenarios, the existing slot filling model, which tends to memorize entity patterns, has a significantly reduced generalization facing Out-of-Vocabulary (OOV) problems. To address this issue, we propose …

Contrastive Learningslot-fillingSlot Filling

SlotGCG: Exploiting the Positional Vulnerability in LLMs for Jailbreak Attacks

2026-06-04 · Seungwon Jeong, Jiwoo Jeong, Hyeonjin Kim, Yunseok Lee 외 arxiv

As large language models (LLMs) are widely deployed, identifying their vulnerability through jailbreak attacks becomes increasingly critical. Optimization-based attacks like Greedy Coordinate Gradient (GCG) have focused …

Slot-VLM: SlowFast Slots for Video-Language Modeling

2024-02-20 · Jiaqi Xu, Cuiling Lan, Wenxuan Xie, Xuejin Chen 외

Video-Language Models (VLMs), powered by the advancements in Large Language Models (LLMs), are charting new frontiers in video understanding. A pivotal challenge is the development of an efficient method to encapsulate v…

Language ModelingLanguage ModellingObjectQuestion Answering+2