Adaptive Nearest Neighbor Machine Translation

被引:0
|
作者
Zheng, Xin [1 ]
Zhang, Zhirui [2 ]
Guo, Junliang [3 ]
Huang, Shujian [1 ]
Chen, Boxing [2 ]
Luo, Weihua [2 ]
Chen, Jiajun [1 ]
机构
[1] Nanjing Univ, Natl Key Lab Novel Software Technol, Nanjing, Peoples R China
[2] Alibaba DAMO Acad, Machine Intelligence Technol Lab, Shanghai, Peoples R China
[3] Univ Sci & Technol China, Hefei, Peoples R China
基金
国家重点研发计划; 美国国家科学基金会;
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
kNN-MT, recently proposed by Khandelwal et al. (2020a), successfully combines pretrained neural machine translation (NMT) model with token-level k-nearest-neighbor (kNN) retrieval to improve the translation accuracy. However, the traditional kNN algorithm used in kNN-MT simply retrieves a same number of nearest neighbors for each target token, which may cause prediction errors when the retrieved neighbors include noises. In this paper, we propose Adaptive kNN-MT to dynamically determine the number of k for each target token. We achieve this by introducing a light-weight Meta-k Network, which can be efficiently trained with only a few training samples. On four benchmark machine translation datasets, we demonstrate that the proposed method is able to effectively filter out the noises in retrieval results and significantly outperforms the vanilla kNN-MT model. Even more noteworthy is that the Meta-k Network learned on one domain could be directly applied to other domains and obtain consistent improvements, illustrating the generality of our method. Our implementation is open-sourced at https://github. com/zhengxxn/adaptive-knn-mt.
引用
收藏
页码:368 / 374
页数:7
相关论文
共 50 条
  • [41] BoostML: An Adaptive Metric Learning for Nearest Neighbor Classification
    Zaidi, Nayyar Abbas
    Squire, David McG
    Suter, David
    ADVANCES IN KNOWLEDGE DISCOVERY AND DATA MINING, PT I, PROCEEDINGS, 2010, 6118 : 142 - +
  • [42] Random projection ensemble adaptive nearest neighbor classification
    Kang, Jongkyeong
    Jhun, Myoungshic
    KOREAN JOURNAL OF APPLIED STATISTICS, 2021, 34 (03) : 401 - 410
  • [43] Locally adaptive metric nearest-neighbor classification
    Domeniconi, C
    Peng, J
    Gunopulos, D
    IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2002, 24 (09) : 1281 - 1285
  • [44] Adaptive soft k-nearest-neighbor classifiers
    Bermejo, S
    Cabestany, J
    PATTERN RECOGNITION, 1999, 32 (12) : 2077 - 2079
  • [45] Adaptive training set reduction for nearest neighbor classification
    Ramon Rico-Juan, Juan
    Inesta, Jose M.
    NEUROCOMPUTING, 2014, 138 : 316 - 324
  • [46] Locally adaptive k parameter selection for nearest neighbor classifier: one nearest cluster
    Bulut, Faruk
    Amasyali, Mehmet Fatih
    PATTERN ANALYSIS AND APPLICATIONS, 2017, 20 (02) : 415 - 425
  • [47] Locally adaptive k parameter selection for nearest neighbor classifier: one nearest cluster
    Faruk Bulut
    Mehmet Fatih Amasyali
    Pattern Analysis and Applications, 2017, 20 : 415 - 425
  • [48] kNN-TL: k-Nearest-Neighbor Transfer Learning for Low-Resource Neural Machine Translation
    Liu, Shudong
    Liu, Xuebo
    Wong, Derek F.
    Li, Zhaocong
    Jiao, Wenxiang
    Chao, Lidia S.
    Zhang, Min
    PROCEEDINGS OF THE 61ST ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, ACL 2023, VOL 1, 2023, : 1878 - 1891
  • [49] Adaptive approximate nearest neighbor search for fractal image compression
    Tong, CS
    Wong, M
    IEEE TRANSACTIONS ON IMAGE PROCESSING, 2002, 11 (06) : 605 - 615
  • [50] Adaptive nearest neighbor classification using support vector machines
    Domeniconi, C
    Gunopulos, D
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 14, VOLS 1 AND 2, 2002, 14 : 665 - 672