paper-with-me

홈 › Papers

STARE at the Structure: Steering ICL Exemplar Selection with Structural Alignment

2025-08-28 · Jiaqian Li, Qisheng Hu, Jing Li, Wenya Wang arxiv

In-Context Learning (ICL) has become a powerful paradigm that enables LLMs to perform a wide range of tasks without task-specific fine-tuning. However, the effectiveness of ICL heavily depends on the quality of exemplar selection. In particular, for structured prediction tasks such as semantic parsing, existing ICL selection strategies often overlook structural alignment, leading to suboptimal performance and poor generalization. To address this issue, we propose a novel two-stage exemplar selection strategy that achieves a strong balance between efficiency, generalizability, and performance. First, we fine-tune a BERT-based retriever using structure-aware supervision, guiding it to select exemplars that are both semantically relevant and structurally aligned. Then, we enhance the retriever with a plug-in module, which amplifies syntactically meaningful information in the hidden representations. This plug-in is model-agnostic, requires minimal overhead, and can be seamlessly integrated into existing pipelines. Experiments on four benchmarks spanning three semantic parsing tasks demonstrate that our method consistently outperforms existing baselines with multiple recent LLMs as inference-time models.

📄 PDF Abstract BibTeX arXiv:2508.20944

Code (0)

등록된 구현이 없습니다.

Tasks

Structured PredictionSemantic Parsing

Similar Papers 제목 키워드 기반

Reasoning Graph Enhanced Exemplars Retrieval for In-Context Learning

2024-09-17 · Yukang Lin, Bingchen Zhong, Shuoran Jiang, Joanna Siebert 외

Large language models (LLMs) have exhibited remarkable few-shot learning capabilities and unified the paradigm of NLP tasks through the in-context learning (ICL) technique. Despite the success of ICL, the quality of the …

Few-Shot LearningIn-Context LearningMathRetrieval+2

Post-Incorporating Code Structural Knowledge into LLMs via In-Context Learning for Code Translation

2025-03-28 · Yali Du, Hui Sun, Ming Li

Code translation migrates codebases across programming languages. Recently, large language models (LLMs) have achieved significant advancements in software mining. However, handling the syntactic structure of source code…

Code TranslationIn-Context Learning

LLM-Guided Exemplar Selection for Few-Shot Wearable-Sensor Human Activity Recognition

2025-12-26 · Elsen Ronando, Sozo Inoue arxiv

In this paper, we propose an LLM-Guided Exemplar Selection framework to address a key limitation in state-of-the-art Human Activity Recognition (HAR) methods: their reliance on large labeled datasets and purely geometric…

Human Activity RecognitionFeature Importance

SEER : A Knapsack approach to Exemplar Selection for In-Context HybridQA

2023-10-10 · Jonathan Tonglet, Manon Reusens, Philipp Borchert, Bart Baesens

Question answering over hybrid contexts is a complex task, which requires the combination of information extracted from unstructured texts and structured tables in various ways. Recently, In-Context Learning demonstrated…

DiversityIn-Context LearningLanguage ModelingLanguage Modelling+2

Hyperband-based Bayesian Optimization for Black-box Prompt Selection

2024-12-10 · Lennart Schneider, Martin Wistuba, Aaron Klein, Jacek Golebiowski 외

Optimal prompt selection is crucial for maximizing large language model (LLM) performance on downstream tasks. As the most powerful models are proprietary and can only be invoked via an API, users often manually refine p…

Bayesian OptimizationLarge Language Model