paper-with-me

Papers

Enhancing Input-Label Mapping in In-Context Learning with Contrastive Decoding

2025-02-19 · Keqin Peng, Liang Ding, Yuanxin Ouyang, Meng Fang, Yancheng Yuan, DaCheng Tao

Large language models (LLMs) excel at a range of tasks through in-context learning (ICL), where only a few task examples guide their predictions. However, prior research highlights that LLMs often overlook input-label mapping information in ICL, relying more on their pre-trained knowledge. To address this issue, we introduce In-Context Contrastive Decoding (ICCD), a novel method that emphasizes input-label mapping by contrasting the output distributions between positive and negative in-context examples. Experiments on 7 natural language understanding (NLU) tasks show that our ICCD method brings consistent and significant improvement (up to +2.1 improvement on average) upon 6 different scales of LLMs without requiring additional training. Our approach is versatile, enhancing performance with various demonstration selection methods, demonstrating its broad applicability and effectiveness. The code and scripts will be publicly released.

📄 PDF Abstract BibTeX arXiv:2502.13738

Code (0)

등록된 구현이 없습니다.

Tasks

In-Context LearningNatural Language Understanding

Similar Papers 제목 키워드 기반

Contrastive Bi-Encoder Models for Multi-Label Skill Extraction: Enhancing ESCO Ontology Matching with BERT and Attention Mechanisms

2026-01-14 · Yongming Sun arxiv

Fine-grained labor market analysis increasingly relies on mapping unstructured job advertisements to standardized skill taxonomies such as ESCO. This mapping is naturally formulated as an Extreme Multi-Label Classificati…

Multi-Label Classification

Larger language models do in-context learning differently

2023-03-07 · Jerry Wei, Jason Wei, Yi Tay, Dustin Tran 외

We study how in-context learning (ICL) in language models is affected by semantic priors versus input-label mappings. We investigate two setups-ICL with flipped labels and ICL with semantically-unrelated labels-across va…

In-Context Learning

Semantic Segmentation on VSPW Dataset through Contrastive Loss and Multi-dataset Training Approach

2023-06-06 · Min Yan, Qianxiong Ning, Qian Wang

Video scene parsing incorporates temporal information, which can enhance the consistency and accuracy of predictions compared to image scene parsing. The added temporal dimension enables a more comprehensive understandin…

Scene ParsingSemantic SegmentationVideo Semantic Segmentation

Think Bright, Diffuse Nice: Enhancing T2I-ICL via Inductive-Bias Hint Instruction and Query Contrastive Decoding

2026-01-07 · Zhiyong Ma, Zhenpeng Li, Yuanjie Shi, Zhengping Li 외 arxiv

Text-to-Image In-Context Learning (T2I-ICL) enables customized image synthesis via interleaved text-image examples but faces two mutually reinforcing bottlenecks, compliance failure and prior-dominated hallucination, tha…

Prompt Engineering

Improving Input-label Mapping with Demonstration Replay for In-context Learning

2023-10-30 · Zhuocheng Gong, Jiahao Liu, Qifan Wang, Jingang Wang 외

In-context learning (ICL) is an emerging capability of large autoregressive language models where a few input-label demonstrations are appended to the input to enhance the model's understanding of downstream NLP tasks, w…

In-Context LearningLanguage ModelingLanguage Modelling