paper-with-me

Papers

Diverse In-Context Example Selection After Decomposing Programs and Aligned Utterances Improves Semantic Parsing

2025-04-04 · Mayank Kothyari, Sunita Sarawagi, Soumen Chakrabarti, Gaurav Arora, Srujana Merugu

LLMs are increasingly used as seq2seq translators from natural language utterances to structured programs, a process called semantic interpretation. Unlike atomic labels or token sequences, programs are naturally represented as abstract syntax trees (ASTs). Such structured representation raises novel issues related to the design and selection of in-context examples (ICEs) presented to the LLM. We focus on decomposing the pool of available ICE trees into fragments, some of which may be better suited to solving the test instance. Next, we propose how to use (additional invocations of) an LLM with prompted syntax constraints to automatically map the fragments to corresponding utterances. Finally, we adapt and extend a recent method for diverse ICE selection to work with whole and fragmented ICE instances. We evaluate our system, SCUD4ICL, on popular diverse semantic parsing benchmarks, showing visible accuracy gains from our proposed decomposed diverse demonstration method. Benefits are particularly notable for smaller LLMs, ICE pools having larger labeled trees, and programs in lower resource languages.

📄 PDF Abstract BibTeX arXiv:2504.03541

Code (1)

imayk/scud4icl 공식 구현

Tasks

Semantic Parsing

Methods 이 논문이 사용한 방법론

Sigmoid Activation 설명 없음
Tanh Activation 설명 없음
LSTM An LSTM is a type of recurrent neural network that addresses the vanishing gradient problem in vanilla…
Seq2Seq Seq2Seq, or Sequence To Sequence, is a model used in sequence prediction tasks, such as language modelling and machine translation. The idea is to use one…
Focus 설명 없음

Similar Papers 제목 키워드 기반

In-Context Learning with Iterative Demonstration Selection

2023-10-15 · Chengwei Qin, Aston Zhang, Chen Chen, Anirudh Dagar 외

Spurred by advancements in scale, large language models (LLMs) have demonstrated strong few-shot learning ability via in-context learning (ICL). However, the performance of ICL has been shown to be highly sensitive to th…

Few-Shot LearningIn-Context LearningQuestion AnsweringSentiment Analysis+1

Ungrammatical-syntax-based In-context Example Selection for Grammatical Error Correction

2024-03-28 · Chenming Tang, Fanyi Qu, Yunfang Wu

In the era of large language models (LLMs), in-context learning (ICL) stands out as an effective prompting strategy that explores LLMs' potency across various tasks. However, applying LLMs to grammatical error correction…

Grammatical Error CorrectionIn-Context Learning

CIFLEX: Contextual Instruction Flow for Sub-task Execution in Multi-Turn Interactions with a Single On-Device LLM

2025-09-24 · Juntae Lee, Jihwan Bang, Seunghan Yang, Simyung Chang arxiv

We present CIFLEX (Contextual Instruction Flow for Sub-task Execution), which is a novel execution system for efficient sub-task handling in multi-turn interactions with a single on-device large language model (LLM). As …

Holdout-Loss-Based Data Selection for LLM Finetuning via In-Context Learning

2025-10-16 · Ling Zhang, Xianliang Yang, Juwon Yu, Park Cheonyoung 외 arxiv

Fine-tuning large pretrained language models is a common approach for aligning them with human preferences, but noisy or off-target examples can dilute supervision. While small, well-chosen datasets often match the perfo…

Holdout Set

Bayesian Example Selection Improves In-Context Learning for Speech, Text, and Visual Modalities

2024-04-23 · Siyin Wang, Chao-Han Huck Yang, Ji Wu, Chao Zhang

Large language models (LLMs) can adapt to new tasks through in-context learning (ICL) based on a few examples presented in dialogue history without any model parameter update. Despite such convenience, the performance of…

In-Context Learning