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

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Zhang, Qi, Xiao, Zhiqing, Xiao, Ruixuan, Gao, Lirong, Zhao, Junbo
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910835671040000
author Zhang, Qi
Xiao, Zhiqing
Xiao, Ruixuan
Gao, Lirong
Zhao, Junbo
author_facet Zhang, Qi
Xiao, Zhiqing
Xiao, Ruixuan
Gao, Lirong
Zhao, Junbo
contents 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 cross-model generalization capabilities. To tackle these challenges, we propose a novel method, \textbf{D}emonstration \textbf{VA}lidation (\textbf{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. \textbf{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.
format Preprint
id arxiv_https___arxiv_org_abs_2502_13646
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle D.Va: Validate Your Demonstration First Before You Use It
Zhang, Qi
Xiao, Zhiqing
Xiao, Ruixuan
Gao, Lirong
Zhao, Junbo
Computation and Language
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 cross-model generalization capabilities. To tackle these challenges, we propose a novel method, \textbf{D}emonstration \textbf{VA}lidation (\textbf{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. \textbf{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.
title D.Va: Validate Your Demonstration First Before You Use It
topic Computation and Language
url https://arxiv.org/abs/2502.13646