paper-with-me

홈 › Papers

Skill-Based Few-Shot Selection for In-Context Learning

2023-05-23 · Shengnan An, Bo Zhou, Zeqi Lin, Qiang Fu, Bei Chen, Nanning Zheng, Weizhu Chen, Jian-Guang Lou

In-context learning is the paradigm that adapts large language models to downstream tasks by providing a few examples. Few-shot selection -- selecting appropriate examples for each test instance separately -- is important for in-context learning. In this paper, we propose Skill-KNN, a skill-based few-shot selection method for in-context learning. The key advantages of Skill-KNN include: (1) it addresses the problem that existing methods based on pre-trained embeddings can be easily biased by surface natural language features that are not important for the target task; (2) it does not require training or fine-tuning of any models, making it suitable for frequently expanding or changing example banks. The key insight is to optimize the inputs fed into the embedding model, rather than tuning the model itself. Technically, Skill-KNN generates the skill-based descriptions for each test case and candidate example by utilizing a pre-processing few-shot prompting, thus eliminating unimportant surface features. Experimental results across five cross-domain semantic parsing datasets and six backbone models show that Skill-KNN significantly outperforms existing methods.

📄 PDF Abstract BibTeX arXiv:2305.14210

Code (0)

등록된 구현이 없습니다.

Tasks

In-Context LearningSemantic ParsingTask 2

Methods 이 논문이 사용한 방법론

Test 설명 없음

Similar Papers 제목 키워드 기반

RISCORE: Enhancing In-Context Riddle Solving in Language Models through Context-Reconstructed Example Augmentation

2024-09-24 · Ioannis Panagiotopoulos, Giorgos Filandrianos, Maria Lymperaiou, Giorgos Stamou

Riddle-solving requires advanced reasoning skills, pushing LLMs to engage in abstract thinking and creative problem-solving, often revealing limitations in their cognitive abilities. In this paper, we examine the riddle-…

Multiple-choiceSentence

Optimal Skill Selection for LLM Agents with Provable Bicriteria Guarantees

2026-08-20 · Yu Chen, Ruishuo Chen, Xun Wang, Zhuoran Li 외 arxiv

Loading reusable skill documents into a bounded context window is now the primary way large language model (LLM) agents acquire task-specific capabilities, which makes skill selection a first-order determinant of task pe…

The Router Within: Eliciting Native Skill Routing from a Frozen LLM

2026-09-14 · Ruishuo Chen, Xun Wang, Yu Chen, Zhuoran Li 외 hf

Skills extend an LLM agent beyond its parametric knowledge, and the gain they promise rests on picking the right one. Deployed harnesses route by preloading every skill's metadata into the context, which disperses the ag…

SKILL0: In-Context Agentic Reinforcement Learning for Skill Internalization

2026-04-02 · Zhengxi Lu, Zhiyuan Yao, Jinyang Wu, Chengcheng Han 외 arxiv

Agent skills, structured packages of procedural knowledge and executable resources that agents dynamically load at inference time, have become a reliable mechanism for augmenting LLM agents. Yet inference-time skill augm…

Reinforcement Learning

SemTra: A Semantic Skill Translator for Cross-Domain Zero-Shot Policy Adaptation

2024-02-12 · Sangwoo Shin, Minjong Yoo, Jeongwoo Lee, Honguk Woo

This work explores the zero-shot adaptation capability of semantic skills, semantically interpretable experts' behavior patterns, in cross-domain settings, where a user input in interleaved multi-modal snippets can promp…

Autonomous VehiclesContrastive LearningLanguage ModelingLanguage Modelling+1