paper-with-me

홈 › Papers

Non-parametric, Nearest-neighbor-assisted Fine-tuning for Neural Machine Translation

2023-05-23 · Jiayi Wang, Ke Wang, Yuqi Zhang, Yu Zhao, Pontus Stenetorp

Non-parametric, k-nearest-neighbor algorithms have recently made inroads to assist generative models such as language models and machine translation decoders. We explore whether such non-parametric models can improve machine translation models at the fine-tuning stage by incorporating statistics from the kNN predictions to inform the gradient updates for a baseline translation model. There are multiple methods which could be used to incorporate kNN statistics and we investigate gradient scaling by a gating mechanism, the kNN's ground truth probability, and reinforcement learning. For four standard in-domain machine translation datasets, compared with classic fine-tuning, we report consistent improvements of all of the three methods by as much as 1.45 BLEU and 1.28 BLEU for German-English and English-German translations respectively. Through qualitative analysis, we found particular improvements when it comes to translating grammatical relations or function words, which results in increased fluency of our model.

📄 PDF Abstract BibTeX arXiv:2305.13648

Code (0)

등록된 구현이 없습니다.

Tasks

Machine TranslationTranslation

Similar Papers 제목 키워드 기반

One-Layer Transformer Provably Learns One-Nearest Neighbor In Context

2024-11-16 · Zihao Li, Yuan Cao, Cheng Gao, Yihan He 외

Transformers have achieved great success in recent years. Interestingly, transformers have shown particularly strong in-context learning capability -- even without fine-tuning, they are still able to solve unseen tasks w…

In-Context Learning

Efficiently Learning at Test-Time: Active Fine-Tuning of LLMs

2024-10-10 · Jonas Hübotter, Sascha Bongni, Ido Hakimi, Andreas Krause

Recent efforts in fine-tuning language models often rely on automatic data selection, commonly using Nearest Neighbors retrieval from large datasets. However, we theoretically show that this approach tends to select redu…

Active LearningLanguage ModelingLanguage ModellingRetrieval

Rates of Convergence for Nearest Neighbor Classification

2014-06-30 · NeurIPS 2014 12 · Kamalika Chaudhuri, Sanjoy Dasgupta

Nearest neighbor methods are a popular class of nonparametric estimators with several desirable properties, such as adaptivity to different distance scales in different regions of space. Prior work on convergence rates f…

ClassificationGeneral Classification

Nearest Neighbor Sampling for Covariate Shift Adaptation

2023-12-15 · François Portier, Lionel Truquet, Ikko Yamane

Many existing covariate shift adaptation methods estimate sample weights given to loss values to mitigate the gap between the source and the target distribution. However, estimating the optimal weights typically involves…

EconometricsEpidemiology

On the Resistance of Nearest Neighbor to Random Noisy Labels

2016-07-26 · Wei Gao, Bin-Bin Yang, Zhi-Hua Zhou

Nearest neighbor has always been one of the most appealing non-parametric approaches in machine learning, pattern recognition, computer vision, etc. Previous empirical studies partly shows that nearest neighbor is resist…