The Effect of Alignment Objectives on Code-Switching Translation

Mohamed Anwar
9/10/2023
cs.CL

No confident code implementation found for this paper.

Abstract

One of the things that need to change when it comes to machine translation is the models' ability to translate code-switching content, especially with the rise of social media and user-generated content. In this paper, we are proposing a way of training a single machine translation model that is able to translate monolingual sentences from one language to another, along with translating code-switched sentences to either language. This model can be considered a bilingual model in the human sense. For better use of parallel data, we generated synthetic code-switched (CSW) data along with an alignment loss on the encoder to align representations across languages. Using the WMT14 English-French (En-Fr) dataset, the trained model strongly outperforms bidirectional baselines on code-switched translation while maintaining quality for non-code-switched (monolingual) data.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{anwar2023effect,
  title  = {The Effect of Alignment Objectives on Code-Switching Translation},
  author = {Mohamed Anwar},
  year   = {2023},
  eprint = {2309.05044},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.05044v1}
}

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/2309.05044.svg)](https://codeofpaper.com/paper/2309.05044)

Discussion