Pith. sign in

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

arxiv 2108.04556 v3 pith:6PUCUZAT submitted 2021-08-10 cs.CL cs.AIcs.PL

classification cs.CLcs.AIcs.PL
keywords codepre-trainingsourcecontrastiveinformationintelligencemodelmulti-modal
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
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.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 4 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. OpenAlex reports about 70 citations worldwide. Full citation record

  1. Enhancing Code Understanding for Impact Analysis by Combining Transformers and Program Dependence Graphs

    cs.SE 2026-07 conditional novelty 6.0 of 10

    Athena beats LSI-based impact analysis by ~10% (mRR/mAP/HIT@10) by propagating transformer code embeddings over call and class-member dependence graphs.

  2. MGS3: A Multi-Granularity Self-Supervised Code Search Framework

    cs.SE 2025-05 conditional novelty 6.0 of 10

    MGS3 trains code search models on multi-granularity comment-code alignments, improving retrieval across function, block, and statement-level benchmarks.

  3. SECRET: Towards Scalable and Efficient Code Retrieval via Segmented Deep Hashing

    cs.SE 2024-12 conditional novelty 5.0 of 10

    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.

  4. Code LLMs: A Taxonomy-based Survey

    cs.CL 2024-12 reject novelty 2.0 of 10

    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.

Pith tools