arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.08955cs.CL
收藏

对齐、生成、学习:一种面向跨语言上下文学习的新型闭环框架

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

Technological University of Peru(秘鲁理工大学)

Mateo Alejandro Rojas, Rafael Carranza

AI总结:

针对现有跨语言上下文学习方法依赖外部检索或任务微调、扩展性与泛化性不足的问题,提出含检索-生成对齐损失和语义连贯性损失的自监督闭环框架,在多语言基准上取得SOTA,具备强鲁棒性与泛化性。

摘要:

跨语言上下文学习(XICL)已成为利用大语言模型(LLM)处理多语言任务的变革性范式,尤其适用于低资源语言。然而现有方法通常依赖外部检索器或任务特定微调,限制了其可扩展性与泛化性。本文提出一种新型自监督框架,借助LLM的生成能力在内部选择并利用任务相关示例。该方法包含两个关键目标:用于优化所选示例质量的检索-生成对齐损失,以及用于保障跨语言一致性的语义连贯性损失。在多语言基准上开展的大量实验表明,该方法取得了当前最优性能,显著优于现有基线模型。进一步分析显示,它在不同语系中均具备鲁棒性,且能泛化到未见过的任务。人工评估证实,该方法生成的输出在流畅度、相关性和语义正确性上表现更优。本研究为跨语言上下文学习提供了一种可扩展、有效且具备泛化性的解决方案。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑