Sunita Sarawagi, Soumen Chakrabarti, Gaurav Arora, Srujana Merugu, Mayank Kothyari
We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
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 to minimize interference from irrelevant content and improve generalization on test instances. 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 1 , 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.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2504.03541")
get_code_for_paper("2504.03541")
have("2504.03541")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2504.03541.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2504.03541)
Connect an agent — have() is free.