Pith. sign in

REVIEW 2 cited by

Neural Code Search Revisited: Enhancing Code Snippet Retrieval through Natural Language Intent

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 2008.12193 v1 pith:WJJ45NPL submitted 2020-08-27 cs.IR cs.LGcs.SE

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

In this work, we propose and study annotated code search: the retrieval of code snippets paired with brief descriptions of their intent using natural language queries. On three benchmark datasets, we investigate how code retrieval systems can be improved by leveraging descriptions to better capture the intents of code snippets. Building on recent progress in transfer learning and natural language processing, we create a domain-specific retrieval model for code annotated with a natural language description. We find that our model yields significantly more relevant search results (with absolute gains up to 20.6% in mean reciprocal rank) compared to state-of-the-art code retrieval methods that do not use descriptions but attempt to compute the intent of snippets solely from unannotated code.

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. 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.

  2. 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.

Pith tools