Vishruth Veerendranath’s scientific contributions

What is this page?


This page lists works of an author who doesn't have a ResearchGate profile or hasn't added the works to their profile yet. It is automatically generated from public (personal) data to further our legitimate goal of comprehensive and accurate scientific recordkeeping. If you are this author and want this page removed, please let us know.

Publications (2)


Figure 2: Our evaluation platform using JUDGE0.
Figure 3: Illustration of history-based editing.
Figure 4: Illustration of NL-based generation.
Figure 6: Prompt for Instruction prompting I ef f along with in-context examples
ECCO contains 1.3k problems and over 50k program pairs for code optimization evaluation.
ECCO: Can We Improve Model-Generated Code Efficiency Without Sacrificing Functional Correctness?
  • Preprint
  • File available

July 2024

·

21 Reads

·

1 Citation

Siddhant Waghjale

·

Vishruth Veerendranath

·

Zora Zhiruo Wang

·

Daniel Fried

Although large language models (LLMs) have been largely successful in generating functionally correct programs, conditioning models to produce efficient solutions while ensuring correctness remains a challenge. Further, unreliability in benchmarking code efficiency is a hurdle across varying hardware specifications for popular interpreted languages such as Python. In this paper, we present ECCO, a reproducible benchmark for evaluating program efficiency via two paradigms: natural language (NL) based code generation and history-based code editing. On ECCO, we adapt and thoroughly investigate the three most promising existing LLM-based approaches: in-context learning, iterative refinement with execution or NL feedback, and fine-tuning conditioned on execution and editing history. While most methods degrade functional correctness and moderately increase program efficiency, we find that adding execution information often helps maintain functional correctness, and NL feedback enhances more on efficiency. We release our benchmark to support future work on LLM-based generation of efficient code.

Download

Citations (1)


... Iterative refinement with execution feedback Existing LM-based code editing approaches often leverage iterative refinement with execution feedback (Huang et al., 2024;Peng et al., 2024;Xia & Zhang, 2024;Waghjale et al., 2024), which relies on the availability of test inputs. However, the code to be edited may not always be well-maintained. ...

Reference:

EditLord: Learning Code Transformation Rules for Code Editing
ECCO: Can We Improve Model-Generated Code Efficiency Without Sacrificing Functional Correctness?
  • Citing Conference Paper
  • January 2024