Pith. sign in

REVIEW 1 cited by

Language-Agnostic Representation Learning of Source Code from Structure and Context

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 2103.11318 v1 pith:TLVFB6CW submitted 2021-03-21 cs.LG cs.SE

classification cs.LGcs.SE
keywords codecontextstructurelanguagessourcelearningmodelfeatures
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Source code (Context) and its parsed abstract syntax tree (AST; Structure) are two complementary representations of the same computer program. Traditionally, designers of machine learning models have relied predominantly either on Structure or Context. We propose a new model, which jointly learns on Context and Structure of source code. In contrast to previous approaches, our model uses only language-agnostic features, i.e., source code and features that can be computed directly from the AST. Besides obtaining state-of-the-art on monolingual code summarization on all five programming languages considered in this work, we propose the first multilingual code summarization model. We show that jointly training on non-parallel data from multiple programming languages improves results on all individual languages, where the strongest gains are on low-resource languages. Remarkably, multilingual training only from Context does not lead to the same improvements, highlighting the benefits of combining Structure and Context for representation learning on code.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

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

  1. Recommending Variable Names for Extract Local Variable Refactorings

    cs.SE 2025-07 conditional novelty 6.0 of 10

    VarNamer recommends variable names for extract local variable refactorings using homogeneous-variable reuse and mined naming rules, improving exact-match precision over Eclipse, IntelliJ, and Incoder.

Pith tools