Reproduce “Enhancing Contrastive Demonstration Selection with Semantic Diversity for Robust In-Context Machine Translation” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Owen Patterson, Chee Ng

Researchers from Universiti Teknologi Malaysia developed DiverseConE, a method that enhances in-context machine translation by integrating semantic diversity into contrastive demonstration selection. This approach consistently outperforms strong baselines across four language pairs and two shot settings, yielding up to 1.97% relative COMET20 score improvement and higher human evaluation scores, while quantitatively increasing demonstration set diversity.

Key insights

  • Semantic diversity is a crucial factor, alongside relevance and helpfulness, for optimizing demonstration selection in In-Context Learning for complex tasks.
  • A comprehensive set of demonstrations that covers a broader range of linguistic patterns and semantic variations provides a richer context, preventing redundancy and improving LLM generalization.
  • The sequential combination of initial relevance filtering, contrastive helpfulness selection, and explicit diversity enhancement yields superior and more robust machine translation quality.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.