paper-with-me

Papers

CompCodeVet: A Compiler-guided Validation and Enhancement Approach for Code Dataset

2023-11-11 · Le Chen, Arijit Bhattacharjee, Nesreen K. Ahmed, Niranjan Hasabnis, Gal Oren, Bin Lei, Ali Jannesari

Large language models (LLMs) have become increasingly prominent in academia and industry due to their remarkable performance in diverse applications. As these models evolve with increasing parameters, they excel in tasks like sentiment analysis and machine translation. However, even models with billions of parameters face challenges in tasks demanding multi-step reasoning. Code generation and comprehension, especially in C and C++, emerge as significant challenges. While LLMs trained on code datasets demonstrate competence in many tasks, they struggle with rectifying non-compilable C and C++ code. Our investigation attributes this subpar performance to two primary factors: the quality of the training dataset and the inherent complexity of the problem which demands intricate reasoning. Existing "Chain of Thought" (CoT) prompting techniques aim to enhance multi-step reasoning. This approach, however, retains the limitations associated with the latent drawbacks of LLMs. In this work, we propose CompCodeVet, a compiler-guided CoT approach to produce compilable code from non-compilable ones. Diverging from the conventional approach of utilizing larger LLMs, we employ compilers as a teacher to establish a more robust zero-shot thought process. The evaluation of CompCodeVet on two open-source code datasets shows that CompCodeVet has the ability to improve the training dataset quality for LLMs.

📄 PDF Abstract BibTeX arXiv:2311.06505

Code (0)

등록된 구현이 없습니다.

Tasks

C++ codeCode GenerationMachine TranslationSentiment Analysis

Similar Papers 제목 키워드 기반

Constraint-Guided Multi-Agent Decompilation for Executable Binary Recovery

2026-04-27 · Yifan Zhang, Xiaohan Wang, Yueke Zhang, Yu Huang 외 arxiv

Decompilation -- recovering source code from compiled binaries -- is essential for security analysis, malware reverse engineering, and legacy software maintenance. However, existing decompilers produce code that often fa…

Developing a Modular Compiler for a Subset of a C-like Language

2025-01-08 · Debasish Dutta, Neeharika Sonowal, Irani Hazarika

The paper introduces the development of a modular compiler for a subset of a C-like language, which addresses the challenges in constructing a compiler for high-level languages. This modular approach will allow developer…

CoDe-R: Refining Decompiler Output with LLMs via Rationale Guidance and Adaptive Inference

2026-04-14 · Qiang Zhang, Zhongnian Li arxiv

Binary decompilation is a critical reverse engineering task aimed at reconstructing high-level source code from stripped executables. Although Large Language Models (LLMs) have recently shown promise, they often suffer f…

SymRTLO: Enhancing RTL Code Optimization with LLMs and Neuron-Inspired Symbolic Reasoning

2025-04-14 · Yiting Wang, Wanghao Ye, Ping Guo, Ziyao Wang 외

Optimizing Register Transfer Level (RTL) code is crucial for improving the power, performance, and area (PPA) of digital circuits in the early stages of synthesis. Manual rewriting, guided by synthesis feedback, can yiel…

Large Language ModelRAGRetrieval-augmented Generation

VecTrans: Enhancing Compiler Auto-Vectorization through LLM-Assisted Code Transformations

2025-03-25 · Zhongchun Zheng, Kan Wu, Long Cheng, Lu Li 외

Auto-vectorization is a fundamental optimization for modern compilers to exploit SIMD parallelism. However, state-of-the-art approaches still struggle to handle intricate code patterns, often requiring manual hints or do…

Code Generation