paper-with-me

홈 › Papers

CodeDSI: Differentiable Code Search

2022-10-01 · Usama Nadeem, Noah Ziems, Shaoen Wu

Reimplementing solutions to previously solved software engineering problems is not only inefficient but also introduces inadequate and error-prone code. Many existing methods achieve impressive performance on this issue by using autoregressive text-generation models trained on code. However, these methods are not without their flaws. The generated code from these models can be buggy, lack documentation, and introduce vulnerabilities that may go unnoticed by developers. An alternative to code generation -- neural code search -- is a field of machine learning where a model takes natural language queries as input and, in turn, relevant code samples from a database are returned. Due to the nature of this pre-existing database, code samples can be documented, tested, licensed, and checked for vulnerabilities before being used by developers in production. In this work, we present CodeDSI, an end-to-end unified approach to code search. CodeDSI is trained to directly map natural language queries to their respective code samples, which can be retrieved later. In an effort to improve the performance of code search, we have investigated docid representation strategies, impact of tokenization on docid structure, and dataset sizes on overall code search performance. Our results demonstrate CodeDSI strong performance, exceeding conventional robust baselines by 2-6% across varying dataset sizes.

📄 PDF Abstract BibTeX arXiv:2210.00328

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationCode SearchNatural Language QueriesText Generation

Similar Papers 제목 키워드 기반

ConCoDE: Hard-constrained Differentiable Co-Exploration Method for Neural Architectures and Hardware Accelerators

2021-09-29 · Deokki Hong, Kanghyun Choi, Hey Yoon Lee, Joonsang Yu 외

While DNNs achieve over-human performances in a number of areas, it is often accompanied by the skyrocketing computational costs. Co-exploration of an optimal neural architecture and its hardware accelerator is an appro…

Neural Architecture Search

UNAS: Differentiable Architecture Search Meets Reinforcement Learning

2019-12-16 · CVPR 2020 6 · Arash Vahdat, Arun Mallya, Ming-Yu Liu, Jan Kautz

Neural architecture search (NAS) aims to discover network architectures with desired properties such as high accuracy or low latency. Recently, differentiable NAS (DNAS) has demonstrated promising results while maintaini…

Neural Architecture Searchreinforcement-learningReinforcement LearningReinforcement Learning (RL)

Differentiable and Learnable Robot Models

2022-02-22 · Franziska Meier, Austin Wang, Giovanni Sutanto, Yixin Lin 외

Building differentiable simulations of physical processes has recently received an increasing amount of attention. Specifically, some efforts develop differentiable robotic physics engines motivated by the computational …

DASViT: Differentiable Architecture Search for Vision Transformer

2025-07-17 · Pengjin Wu, Ferrante Neri, ZhenHua Feng

Designing effective neural networks is a cornerstone of deep learning, and Neural Architecture Search (NAS) has emerged as a powerful tool for automating this process. Among the existing NAS approaches, Differentiable Ar…

Evolutionary AlgorithmsNeural Architecture Search

Differentiable Synthesis of Program Architectures

2021-12-01 · NeurIPS 2021 12 · Guofeng Cui, He Zhu

Differentiable programs have recently attracted much interest due to their interpretability, compositionality, and their efficiency to leverage differentiable training. However, synthesizing differentiable programs requi…

Program Synthesis