D.Va: Validate Your Demonstration First Before You Use It

In-context learning (ICL) has demonstrated significant potential in enhancing the capabilities of large language models (LLMs) during inference.It's well-established that ICL heavily relies on selecting effective demonstrations to generate outputs that better align with the expected results.As for demonstration selection, previous approaches have typically relied on intuitive metrics to evaluate the effectiveness of demonstrations, which often results in limited robustness and poor crossmodel generalization capabilities.To tackle these challenges, we propose a novel method, Demonstration Validation (D.Va), which integrates a demonstration validation perspective into this field.By introducing the demonstration validation mechanism, our method effectively identifies demonstrations that are both effective and highly generalizable.D.Va surpasses all existing demonstration selection techniques across both natural language understanding (NLU) and natural language generation (NLG) tasks.Additionally, we demonstrate the robustness and generalizability of our approach across various language models with different retrieval models.The code is available at https://github.com/Cheungki/dva.

Authors

Institutions

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.acl-long.129
Primary Topic
Software System Performance and Reliability
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

D.Va: Validate Your Demonstration First Before You Use It

Zhiqing Xiao, Junbo Zhao, R. Xiao, Lirong Gao et al.
Software System Performance and Reliability
article

D.Va: Validate Your Demonstration First Before You Use It

Zhiqing Xiao, Junbo Zhao, R. Xiao, Lirong Gao, Qi Zhang
article en

Abstract

In-context learning (ICL) has demonstrated significant potential in enhancing the capabilities of large language models (LLMs) during inference.It's well-established that ICL heavily relies on selecting effective demonstrations to generate outputs that better align with the expected results.As for demonstration selection, previous approaches have typically relied on intuitive metrics to evaluate the effectiveness of demonstrations, which often results in limited robustness and poor crossmodel generalization capabilities.To tackle these challenges, we propose a novel method, Demonstration Validation (D.Va), which integrates a demonstration validation perspective into this field.By introducing the demonstration validation mechanism, our method effectively identifies demonstrations that are both effective and highly generalizable.D.Va surpasses all existing demonstration selection techniques across both natural language understanding (NLU) and natural language generation (NLG) tasks.Additionally, we demonstrate the robustness and generalizability of our approach across various language models with different retrieval models.The code is available at https://github.com/Cheungki/dva.

Zhejiang University (CN)
Openalex Percentile: Top 79%
Software System Performance and Reliability
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

D.Va: Validate Your Demonstration First Before You Use It — Zhiqing Xiao, Junbo Zhao, et al. · (2025) | TGRS Research Map | TGRS