STARE at the Structure: Steering ICL Exemplar Selection with Structural Alignment
Not on the map. Why?
Abstract (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.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 39 of its 53 references that are in the map. First posted on arXiv 28 Aug 2025.
Builds on
39 of 53 references.
References · 39
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2022Language Models (Mostly) Know What They Knowcited by 1,783
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
- 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 733
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
- 2018What you can cram into a single vector: Probing sentence embeddings for linguistic propertiescited by 452
- 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 402
27 more
- 2019Linguistic Knowledge and Transferability of Contextual Representationscited by 382
- 2016Fine-grained Analysis of Sentence Embeddings Using Auxiliary Prediction Taskscited by 216
- 2022In-context Examples Selection for Machine Translationcited by 172
- 2021Constrained Language Models Yield Few-Shot Semantic Parserscited by 162
- 2022Self-Adaptive In-Context Learning: An Information Compression Perspective for In-Context Example Selection and Orderingcited by 158
- 2020MTOP: A Comprehensive Multilingual Task-Oriented Semantic Parsing Benchmarkcited by 156
- 2023Compositional Exemplars for In-context Learningcited by 143
- 2023Unified Demonstration Retriever for In-Context Learningcited by 141
- 2020Bridging Textual and Tabular Data for Cross-Domain Text-to-SQL Semantic Parsingcited by 133
- 2020Task-Oriented Dialogue as Dataflow Synthesiscited by 122
- 2021Case-based Reasoning for Natural Language Queries over Knowledge Basescited by 107
- 2023Finding Support Examples for In-Context Learningcited by 104
- 2020Language Models are Open Knowledge Graphscited by 95
- 2022RASAT: Integrating Relational Structures into Pretrained Seq2Seq Model for Text-to-SQLcited by 85
- 2021Counterfactual Interventions Reveal the Causal Effect of Relative Clause Representations on Agreement Predictioncited by 58
- 2021Few-Shot Semantic Parsing with Language Models Trained On Codecited by 50
- 2023Skill-Based Few-Shot Selection for In-Context Learningcited by 46
- 2020Conversational Semantic Parsing for Dialog State Trackingcited by 40
- 2021BERTnesia: Investigating the capture and forgetting of knowledge in BERTcited by 40
- 2021What if This Modified That? Syntactic Interventions via Counterfactual Embeddingscited by 39
- 2021Controllable Semantic Parsing via Retrieval Augmentationcited by 35
- 2025M2IV: Towards Efficient and Fine-grained Multimodal In-Context Learning via Representation Engineeringcited by 34
- 2022XRICL: Cross-lingual Retrieval-Augmented In-Context Learning for Cross-lingual Text-to-SQL Semantic Parsingcited by 32
- 2025TACO: Enhancing Multimodal In-context Learning via Task Mapping-Guided Sequence Configurationcited by 23
- 2024Unraveling the Mechanics of Learning-Based Demonstration Selection for In-Context Learningcited by 9
- 2025SAFE-SQL: Self-Augmented In-Context Learning with Fine-grained Example Selection for Text-to-SQLcited by 4
- 2023Is Probing All You Need? Indicator Tasks as an Alternative to Probing Embedding Spacescited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026Verb-ICL: Rethinking In-Context Learning for Structured Prediction
- 2023Beyond Output Matching: Bidirectional Alignment for Enhanced In-Context Learning
- 2023Multilingual LLMs are Better Cross-lingual In-context Learners with Alignment
- 2026From Parameters to Data: A Task-Parameter-Guided Fine-Tuning Pipeline for Efficient LLM Alignment
- 2025Refract ICL: Rethinking Example Selection in the Era of Million-Token Models
- 2026Distributional Alignment as a Criterion for Designing Task Vectors in In-Context Learning
- 2024In-Context Language Learning: Architectures and Algorithms
- 2025RIDE: Enhancing Large Language Model Alignment through Restyled In-Context Learning Demonstration Exemplars