REVIEW 4 cited by
SynCoBERT: Syntax-Guided Multi-Modal Contrastive Pre-Training for Code Representation
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
read the original abstract
Code representation learning, which aims to encode the semantics of source code into distributed vectors, plays an important role in recent deep-learning-based models for code intelligence. Recently, many pre-trained language models for source code (e.g., CuBERT and CodeBERT) have been proposed to model the context of code and serve as a basis for downstream code intelligence tasks such as code search, code clone detection, and program translation. Current approaches typically consider the source code as a plain sequence of tokens, or inject the structure information (e.g., AST and data-flow) into the sequential model pre-training. To further explore the properties of programming languages, this paper proposes SynCoBERT, a syntax-guided multi-modal contrastive pre-training approach for better code representations. Specially, we design two novel pre-training objectives originating from the symbolic and syntactic properties of source code, i.e., Identifier Prediction (IP) and AST Edge Prediction (TEP), which are designed to predict identifiers, and edges between two nodes of AST, respectively. Meanwhile, to exploit the complementary information in semantically equivalent modalities (i.e., code, comment, AST) of the code, we propose a multi-modal contrastive learning strategy to maximize the mutual information among different modalities. Extensive experiments on four downstream tasks related to code intelligence show that SynCoBERT advances the state-of-the-art with the same pre-training corpus and model size.
Forward citations
Cited by 4 Pith papers
-
Enhancing Code Understanding for Impact Analysis by Combining Transformers and Program Dependence Graphs
Athena beats LSI-based impact analysis by ~10% (mRR/mAP/HIT@10) by propagating transformer code embeddings over call and class-member dependence graphs.
-
MGS3: A Multi-Granularity Self-Supervised Code Search Framework
MGS3 trains code search models on multi-granularity comment-code alignments, improving retrieval across function, block, and statement-level benchmarks.
-
SECRET: Towards Scalable and Efficient Code Retrieval via Segmented Deep Hashing
SECRET converts long deep-hashing codes into segmented hash codes with hash-table lookup, cutting recall time by over 95% with a small accuracy drop.
-
Code LLMs: A Taxonomy-based Survey
This paper presents a taxonomy-based review of code-focused large language models, grouping tasks, corpora, models, benchmarks, and challenges, and compiles code-generation benchmark scores.
Discussion (0). Continue with ORCID to comment.