Pith. sign in

REVIEW 2 cited by

Using Document Similarity Methods to create Parallel Datasets for Code Translation

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2110.05423 v1 pith:G43CFVZW submitted 2021-10-11 cs.CL

classification cs.CL
keywords codetranslationdatasetsparalleltechniqueslanguagesmodelsprogramming
verification ladder T0 review T1 audit T2 compute T3 formal

Signed reviews

No signed human review yet.

0 comments
read the original abstract

Translating source code from one programming language to another is a critical, time-consuming task in modernizing legacy applications and codebases. Recent work in this space has drawn inspiration from the software naturalness hypothesis by applying natural language processing techniques towards automating the code translation task. However, due to the paucity of parallel data in this domain, supervised techniques have only been applied to a limited set of popular programming languages. To bypass this limitation, unsupervised neural machine translation techniques have been proposed to learn code translation using only monolingual corpora. In this work, we propose to use document similarity methods to create noisy parallel datasets of code, thus enabling supervised techniques to be applied for automated code translation without having to rely on the availability or expensive curation of parallel code datasets. We explore the noise tolerance of models trained on such automatically-created datasets and show that these models perform comparably to models trained on ground truth for reasonable levels of noise. Finally, we exhibit the practical utility of the proposed method by creating parallel datasets for languages beyond the ones explored in prior work, thus expanding the set of programming languages for automated code translation.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. One Size Does Not Fit All: Investigating Efficacy of Perplexity in Detecting LLM-Generated Code

    cs.SE 2024-12 conditional novelty 6.0 of 10

    Perplexity-based detectors are the most robust to unknown AI code generators, but they are less accurate and slower than supervised detectors, working best on C/C++ and large code snippets.

  2. A Systematic Literature Review on Neural Code Translation

    cs.SE 2025-05 conditional novelty 3.0 of 10

    A systematic literature review that organizes 57 neural code translation papers into seven research themes and identifies current trends and open problems.

Pith tools