paper-with-me

Papers

N2C2: Nearest Neighbor Enhanced Confidence Calibration for Cross-Lingual In-Context Learning

2025-03-12 · Jie He, Simon Yu, Deyi Xiong, Víctor Gutiérrez-Basulto, Jeff Z. Pan

Recent advancements of in-context learning (ICL) show language models can significantly improve their performance when demonstrations are provided. However, little attention has been paid to model calibration and prediction confidence of ICL in cross-lingual scenarios. To bridge this gap, we conduct a thorough analysis of ICL for cross-lingual sentiment classification. Our findings suggest that ICL performs poorly in cross-lingual scenarios, exhibiting low accuracy and presenting high calibration errors. In response, we propose a novel approach, N2C2, which employs a -nearest neighbors augmented classifier for prediction confidence calibration. N2C2 narrows the prediction gap by leveraging a datastore of cached few-shot instances. Specifically, N2C2 integrates the predictions from the datastore and incorporates confidence-aware distribution, semantically consistent retrieval representation, and adaptive neighbor combination modules to effectively utilize the limited number of supporting instances. Evaluation on two multilingual sentiment classification datasets demonstrates that N2C2 outperforms traditional ICL. It surpasses fine tuning, prompt tuning and recent state-of-the-art methods in terms of accuracy and calibration errors.

📄 PDF Abstract BibTeX arXiv:2503.09218

Code (0)

등록된 구현이 없습니다.

Tasks

Cross-Lingual Sentiment ClassificationIn-Context LearningPredictionSentiment AnalysisSentiment Classification

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

Efficient Nearest Neighbor based Uncertainty Estimation for Natural Language Processing Tasks

2024-07-02 · Wataru Hashimoto, Hidetaka Kamigaito, Taro Watanabe

Trustworthy prediction in Deep Neural Networks (DNNs), including Pre-trained Language Models (PLMs) is important for safety-critical applications in the real world. However, DNNs often suffer from uncertainty estimation,…

Dimensionality Reductionnamed-entity-recognitionNamed Entity RecognitionNatural Language Inference+2

Exploiting the Potential Supervision Information of Clean Samples in Partial Label Learning

2025-05-14 · Guangtai Wang, Chi-Man Vong, Jintao Huang

Diminishing the impact of false-positive labels is critical for conducting disambiguation in partial label learning. However, the existing disambiguation strategies mainly focus on exploiting the characteristics of indiv…

AttributePartial Label Learning

Towards Robust k-Nearest-Neighbor Machine Translation

2022-10-17 · Hui Jiang, Ziyao Lu, Fandong Meng, Chulun Zhou 외

k-Nearest-Neighbor Machine Translation (kNN-MT) becomes an important research direction of NMT in recent years. Its main idea is to retrieve useful key-value pairs from an additional datastore to modify translations with…

Machine TranslationNMTTranslation

P3DC-Shot: Prior-Driven Discrete Data Calibration for Nearest-Neighbor Few-Shot Classification

2023-01-02 · Shuangmei Wang, Rui Ma, Tieru Wu, Yang Cao

Nearest-Neighbor (NN) classification has been proven as a simple and effective approach for few-shot learning. The query data can be classified efficiently by finding the nearest support class based on features extracted…

ClassificationFew-Shot Learning

Cheb-GR: Rethinking K-nearest Neighbor Search in Re-ranking for Person Re-identification

2025-01-01 · CVPR 2025 1 · Jinxi Yang, He Li, Bo Du, Mang Ye

Person re-identification (ReID) is the task of matching individuals across different camera views. Existing approaches typically employ neural networks to extract discriminative features, ranking gallery images based…

Person Re-IdentificationRe-RankingRetrieval