Align, Generate, Learn: A Novel Closed-Loop Framework for Cross-Lingual In-Context Learning

Mateo Alejandro Rojas, Rafael Carranza
12/12/2024
cs.CL

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Cross-lingual in-context learning (XICL) has emerged as a transformative paradigm for leveraging large language models (LLMs) to tackle multilingual tasks, especially for low-resource languages. However, existing approaches often rely on external retrievers or task-specific fine-tuning, limiting their scalability and generalizability. In this paper, we propose a novel self-supervised framework that harnesses the generative capabilities of LLMs to internally select and utilize task-relevant examples. Our method introduces two key objectives: a retrieval-generation alignment loss to optimize the quality of selected examples and a semantic coherence loss to ensure cross-lingual consistency. Through extensive experiments on multilingual benchmarks, our approach achieves state-of-the-art performance, significantly outperforming existing baselines. Further analysis highlights its robustness across diverse language families and its ability to generalize to unseen tasks. Human evaluations confirm the superior fluency, relevance, and semantic correctness of outputs generated by our method. This work provides a scalable, effective, and generalizable solution for cross-lingual in-context learning.

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. 2 weaker matches are hidden by default — 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{rojas2024align,
  title  = {Align, Generate, Learn: A Novel Closed-Loop Framework for Cross-Lingual In-Context Learning},
  author = {Mateo Alejandro Rojas and Rafael Carranza},
  year   = {2024},
  eprint = {2412.08955},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.08955v1}
}

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

Discussion