Pith. sign in

REVIEW 1 cited by

An Effective Approach to Embedding Source Code by Combining Large Language and Sentence Embedding Models

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 2409.14644 v3 pith:ZHFIV344 submitted 2024-09-23 cs.SE cs.AI

classification cs.SEcs.AI
keywords codeembeddingsourceapproachmodelslanguagelargellms
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

The advent of large language models (LLMs) has significantly advanced artificial intelligence (AI) in software engineering (SE), with source code embeddings playing a crucial role in tasks such as source code clone detection and source code clustering. However, existing methods for source code embedding, including those based on LLMs, often rely on costly supervised training or fine-tuning for domain adaptation. This paper proposes a novel approach to embedding source code by combining large language and sentence embedding models. This approach attempts to eliminate the need for task-specific training or fine-tuning and to effectively address the issue of erroneous information commonly found in LLM-generated outputs. To evaluate the performance of our proposed approach, we conducted a series of experiments on three datasets with different programming languages by considering various LLMs and sentence embedding models. The experimental results have demonstrated the effectiveness and superiority of our approach over the state-of-the-art unsupervised approaches, such as SourcererCC, Code2vec, InferCode, TransformCode, and LLM2Vec. Our findings highlight the potential of our approach to advance the field of SE by providing robust and efficient solutions for source code embedding tasks.

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. Evaluating the Effectiveness of LLMs in Fixing Maintainability Issues in Real-World Projects

    cs.SE 2025-02 conditional novelty 6.0 of 10

    LLMs fixed 30 to 45 percent of 127 maintainability issues in Java projects, but many fixes broke compilation, tests, or behavior.

Pith tools