code-translation

Tag

Cards List
#code-translation

Improving Code Translation with Syntax-Guided and Semantic-aware Preference Optimization

arXiv cs.AI · 2026-05-14 Cached

This paper proposes CTO, a method that improves code translation by combining syntax-guided and semantic-aware preference optimization through contrastive learning and direct preference optimization, achieving significant improvements over existing baselines in C++, Java, and Python translations.

0 favorites 0 likes
← Back to home

Submit Feedback