ConCSE: Unified Contrastive Learning and Augmentation for Code-Switched Embeddings

Jangyeong Jeon, Sangyeon Cho, Minuk Ma, Junyoung Kim
8/28/2024
cs.CLcs.AI

No official code found. Best implementation: jjy961228/ConCSE (0 stars, last commit 2025-01-05).

Abstract

This paper examines the Code-Switching (CS) phenomenon where two languages intertwine within a single utterance. There exists a noticeable need for research on the CS between English and Korean. We highlight that the current Equivalence Constraint (EC) theory for CS in other languages may only partially capture English-Korean CS complexities due to the intrinsic grammatical differences between the languages. We introduce a novel Koglish dataset tailored for English-Korean CS scenarios to mitigate such challenges. First, we constructed the Koglish-GLUE dataset to demonstrate the importance and need for CS datasets in various tasks. We found the differential outcomes of various foundation multilingual language models when trained on a monolingual versus a CS dataset. Motivated by this, we hypothesized that SimCSE, which has shown strengths in monolingual sentence embedding, would have limitations in CS scenarios. We construct a novel Koglish-NLI (Natural Language Inference) dataset using a CS augmentation-based approach to verify this. From this CS-augmented dataset Koglish-NLI, we propose a unified contrastive learning and augmentation method for code-switched embeddings, ConCSE, highlighting the semantics of CS sentences. Experimental results validate the proposed ConCSE with an average performance enhancement of 1.77\% on the Koglish-STS(Semantic Textual Similarity) tasks.

View on arXivView PDF

Code Implementations(1)

jjy961228/ConCSECommunity100%

(ICPR'2024 Oral) ConCSE: Unified Contrastive Learning and Augmentation for Code Switched Embeddings.

00Shell, PythonOct 13, 20241 years ago

Similar Papers

Cite this paper

@article{jeon2024concse,
  title  = {ConCSE: Unified Contrastive Learning and Augmentation for Code-Switched Embeddings},
  author = {Jangyeong Jeon and Sangyeon Cho and Minuk Ma and Junyoung Kim},
  year   = {2024},
  eprint = {2409.00120},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.00120v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.00120.svg)](https://codeofpaper.com/paper/2409.00120)

Discussion