paper-with-me

Papers

LLM4EFFI: Leveraging Large Language Models to Enhance Code Efficiency and Correctness

2025-02-17 · Tong Ye, Weigang Huang, Xuhong Zhang, Tengfei Ma, Peiyu Liu, Jianwei Yin, Wenhai Wang

Large Language Models (LLMs), particularly Code LLMs, have demonstrated impressive performance in code generation. Current research primarily focuses on the correctness of generated code, while efficiency remains less explored. Recent works have focused on modifying the initial version of the code to improve its efficiency. However, such refinements are limited by the algorithmic design and overall logic of the initial code, resulting in only incremental improvements. In contrast, when human developers write high-quality code, they typically begin by designing several potential solutions at the logical level, evaluating various algorithms and their complexities, and then proceeding to implement and optimize the solution. In this study, we introduce \tool: \uline{L}arge \uline{L}anguage \uline{M}odel for Code \uline{Effi}ciency, a novel framework that enables LLMs to generate code that balances both efficiency and correctness. Specifically, \tool divides the efficiency optimization process into two domains: algorithmic exploration in the logic domain and implementation optimization in the code domain. The correctness of the code is then guaranteed through a synthetic test case refinement process. This approach, which prioritizes efficiency before ensuring correctness, offers a new paradigm for efficient code generation. Experiments demonstrate that \tool consistently improves both efficiency and correctness, achieving new state-of-the-art performance in code efficiency benchmarks across various LLM backbones.

📄 PDF Abstract BibTeX arXiv:2502.18489

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

Machine Translation with Large Language Models: Decoder Only vs. Encoder-Decoder

2024-09-12 · Abhinav P. M., SujayKumar Reddy M, Oswald Christopher

This project, titled "Machine Translation with Large Language Models: Decoder-only vs. Encoder-Decoder," aims to develop a multilingual machine translation (MT) model. Focused on Indian regional languages, especially Tel…

DecoderMachine TranslationTranslation

Leveraging Encoder-only Large Language Models for Mobile App Review Feature Extraction

2024-08-02 · Quim Motger, Alessio Miaschi, Felice Dell'Orletta, Xavier Franch 외

Mobile app review analysis presents unique challenges due to the low quality, subjective bias, and noisy content of user-generated documents. Extracting features from these reviews is essential for tasks such as feature …

Sentiment Analysistoken-classificationToken Classification

Multi-Programming Language Ensemble for Code Generation in Large Language Model

2024-09-06 · Tengfei Xue, Xuefeng Li, Tahir Azim, Roman Smirnov 외

Large language models (LLMs) have significantly improved code generation, particularly in one-pass code generation. However, most existing approaches focus solely on generating code in a single programming language, over…

Code GenerationHumanEvalLanguage ModelingLanguage Modelling+1

Attention Guided Alignment in Efficient Vision-Language Models

2025-11-21 · Shweta Mahajan, Hoang Le, Hyojin Park, Farzad Farhadzadeh 외 arxiv

Large Vision-Language Models (VLMs) rely on effective multimodal alignment between pre-trained vision encoders and Large Language Models (LLMs) to integrate visual and textual information. This paper presents a comprehen…

Visual Grounding

Efficient Machine Translation Corpus Generation: Integrating Human-in-the-Loop Post-Editing with Large Language Models

2025-02-18 · Kamer Ali Yuksel, Ahmet Gunduz, Abdul Baseet Anees, Hassan Sawaf

This paper introduces an advanced methodology for machine translation (MT) corpus generation, integrating semi-automated, human-in-the-loop post-editing with large language models (LLMs) to enhance efficiency and transla…

Machine TranslationTranslation