paper-with-me

Papers

Bridging LLM-Generated Code and Requirements: Reverse Generation technique and SBC Metric for Developer Insights

2025-02-11 · Ahilan Ayyachamy Nadar Ponnusamy

The rise of Large Language Models (LLMs) in software engineering, particularly in code generation, has garnered significant attention. However, assessing the quality of AI-generated code remains a challenge due to the inherent complexity of programming tasks and the lack of robust evaluation metrics that align well with human judgment. Traditional token-based metrics such as BLEU and ROUGE, while commonly used in natural language processing, exhibit weak correlations with human assessments in code intelligence and verification tasks. Furthermore, these metrics are primarily research focused and are not designed for seamless integration into the software development lifecycle, limiting their practical utility for developers seeking to improve code quality and security. AI-assisted coding has been shown to be more beneficial for senior developers, as they possess the expertise to critically evaluate the generated code for correctness, completeness, and compliance. In contrast, junior developers may struggle to identify hallucinations, missing functionality, or incorrect logic in AI-generated code. To bridge this gap, This paper introduces a novel scoring mechanism called the SBC score, which is based on a reverse generation technique that leverages the natural language generation capabilities of LLMs. Unlike direct code analysis, our approach reconstructs system requirements from AI-generated code and compares them with the original specifications to quantify accuracy. The SBC score combines semantic similarity, BLEU, and completeness analysis, providing actionable insights to developers by highlighting missing features and hallucinations. Our code and datasets are available on GitHub

📄 PDF Abstract BibTeX arXiv:2502.07835

Code (1)

AhilanPonnusamy/Reverse-Generation-and-SBC-Metric--Reference-Implementation 공식 구현

Tasks

Code GenerationSemantic SimilaritySemantic Textual SimilarityText Generation

Methods 이 논문이 사용한 방법론

ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…

Similar Papers 제목 키워드 기반

Technique to Baseline QE Artefact Generation Aligned to Quality Metrics

2025-11-18 · Eitan Farchi, Kiran Nayak, Papia Ghosh Majumdar, Saritha Route arxiv

Large Language Models (LLMs) are transforming Quality Engineering (QE) by automating the generation of artefacts such as requirements, test cases, and Behavior Driven Development (BDD) scenarios. However, ensuring the qu…

Project Prometheus: Bridging the Intent Gap in Agentic Program Repair via Reverse-Engineered Executable Specifications

2026-04-19 · Yongchao Wang, Zhiqiu Huang arxiv

The transition from neural machine translation to agentic workflows has revolutionized Automated Program Repair (APR). However, existing agents, despite their advanced reasoning capabilities, frequently suffer from the `…

Machine TranslationCode GenerationProgram Repair

Can Diffusion Model Achieve Better Performance in Text Generation? Bridging the Gap between Training and Inference!

2023-05-08 · Zecheng Tang, Pinzheng Wang, Keyan Zhou, Juntao Li 외

Diffusion models have been successfully adapted to text generation tasks by mapping the discrete text into the continuous space. However, there exist nonnegligible gaps between training and inference, owing to the absenc…

Text Generation

MARCO: Multi-Agent Code Optimization with Real-Time Knowledge Integration for High-Performance Computing

2025-05-06 · Asif Rahman, Veljko Cvetkovic, Kathleen Reece, Aidan Walters 외

Large language models (LLMs) have transformed software development through code generation capabilities, yet their effectiveness for high-performance computing (HPC) remains limited. HPC code requires specialized optimiz…

Code Generation

OsmT: Bridging OpenStreetMap Queries and Natural Language with Open-source Tag-aware Language Models

2025-12-04 · Zhuoyue Wan, Wentao Hu, Chen Jason Zhang, Yuanfeng Song 외 arxiv

Bridging natural language and structured query languages is a long-standing challenge in the database community. While recent advances in language models have shown promise in this direction, existing solutions often rel…