Adversarial Training with Contrastive Learning in NLP 


Vol. 52,  No. 1, pp. 52-61, Jan.  2025
10.5626/JOK.2025.52.1.52


PDF

  Abstract

Adversarial training has been extensively studied in natural language processing (NLP) settings to make models robust so that similar inputs derive similar outcomes semantically. However, since language has no objective measure of semantic similarity, previous works use an external pre-trained NLP model to ensure this similarity, introducing an extra training stage with huge memory consumption. This work proposes adversarial training with contrastive learning (ATCL) to train a language processing model adversarially using the benefits of contrastive learning. The core idea is to make linear perturbations in the embedding space of the input via fast gradient methods (FGM) and train the model to keep the original and perturbed representations close via contrastive learning. We apply ATCL to language modeling and neural machine translation tasks showing an improvement in the quantitative (perplexity and BLEU) scores. Furthermore, ATCL achieves good qualitative results in the semantic level for both tasks without using a pre-trained model through simulation.


  Statistics
Cumulative Counts from November, 2022
Multiple requests among the same browser session are counted as one view. If you mouse over a chart, the values of data points will be shown.


  Cite this article

[IEEE Style]

D. N. Rim, D. Heo, H. Choi, "Adversarial Training with Contrastive Learning in NLP," Journal of KIISE, JOK, vol. 52, no. 1, pp. 52-61, 2025. DOI: 10.5626/JOK.2025.52.1.52.


[ACM Style]

Daniela N. Rim, DongNyeong Heo, and Heeyoul Choi. 2025. Adversarial Training with Contrastive Learning in NLP. Journal of KIISE, JOK, 52, 1, (2025), 52-61. DOI: 10.5626/JOK.2025.52.1.52.


[KCI Style]

다니엘라 림, 허동녕, 최희열, "자연어 처리에서 대조 학습을 이용한 적대적 훈련," 한국정보과학회 논문지, 제52권, 제1호, 52~61쪽, 2025. DOI: 10.5626/JOK.2025.52.1.52.


[Endnote/Zotero/Mendeley (RIS)]  Download


[BibTeX]  Download



Search




Journal of KIISE

  • ISSN : 2383-630X(Print)
  • ISSN : 2383-6296(Electronic)
  • KCI Accredited Journal

Editorial Office

  • Tel. +82-2-588-9240
  • Fax. +82-2-521-1352
  • E-mail. chwoo@kiise.or.kr