Tech Studies

91,965 research papers, searchable by meaning as well as exact wording. So “steering vectors” also surfaces work on “activation steering.”

Papers
91,965
Semantically indexed
91,965
Subject areas
145
Authors
199,823
Newest paper
25 Nov

300+ results for “code generation”

Matched on wording only, meaning-matching is unavailable right now

41

AI-Generated Code Is Not Reproducible (Yet): An Empirical Study of Dependency Gaps in LLM-Based Coding Agents

26 Dec · Bhanu Prakash Vangala, Ali Adibifar, Ashish Gehani +1 · arXiv:2512.22387

The rise of Large Language Models (LLMs) as coding agents promises to accelerate software development, but their impact on generated code reproducibility remains largely unexplored. This paper presents an empirical study investigating whether LLM-generated code can be executed successfully in a clean environment with only OS packages and using only the dependencies that the model specifies. We evaluate three…

42

Reward-Free Code Alignment from Pretrained or Fine-Tuned LLM: Unpacking the Trade-offs for Code Generation

27 Jun · Sanjeepan Sivapiran, Gias Uddin · arXiv:2606.28998

Large Language Model (LLM) alignment trains an LLM using preference data to produce outputs that better meet established quality standards. While LLM alignment techniques are studied for non-coding tasks, we know little about their usefulness for coding tasks. It is unclear whether LLM code alignment could support both functional requirements (producing executable, correct code) and non-functional requirements (code…

43

Eliminating Hallucination-Induced Errors in LLM Code Generation with Functional Clustering

16 May · Chaitanya Ravuri, Saman Amarasinghe · arXiv:2506.11021

Modern code-generation LLMs can already solve a large fraction of programming problems, yet they still hallucinate subtle bugs that make their outputs unsafe for autonomous deployment. We present functional clustering, a black-box wrapper that eliminates nearly all hallucination-induced errors while providing a tunable confidence score. The wrapper samples many candidate programs, executes each on a self-generated…

44

Security Degradation in Iterative AI Code Generation -- A Systematic Analysis of the Paradox

19 May · Shivani Shukla, Himanshu Joshi, Romilla Syed · arXiv:2506.11022

The rapid adoption of Large Language Models(LLMs) for code generation has transformed software development, yet little attention has been given to how security vulnerabilities evolve through iterative LLM feedback. This paper analyzes security degradation in AI-generated code through a controlled experiment with 400 code samples across 40 rounds of "improvements" using four distinct prompting strategies. Our…

Keywords - Large Language Models, Security Vulnerabilities, AI-Generated Code, Iterative Feedback, Software Security, Secure Coding Practices, Feedback Loops, LLM Prompting Strategies Software engineering Artificial intelligence Language & NLP Matched by wording
45

Improved Iterative Refinement for Chart-to-Code Generation via Structured Instruction

15 Jun · Chengzhi Xu, Yuyang Wang, Lai Wei +2 · arXiv:2506.14837

Recently, multimodal large language models (MLLMs) have attracted increasing research attention due to their powerful visual understanding capabilities. While they have achieved impressive results on various vision tasks, their performance on chart-to-code generation remains suboptimal. This task requires MLLMs to generate executable code that can reproduce a given chart, demanding not only precise visual…

46

TeXpert: A Multi-Level Benchmark for Evaluating LaTeX Code Generation by LLMs

20 Jun · Sahil Kale, Vijaykant Nadadur · arXiv:2506.16990

LaTeX's precision and flexibility in typesetting have made it the gold standard for the preparation of scientific documentation. Large Language Models (LLMs) present a promising opportunity for researchers to produce publication-ready material using LaTeX with natural language instructions, yet current benchmarks completely lack evaluation of this ability. By introducing TeXpert, our benchmark dataset with natural…

Accepted to the SDProc Workshop @ ACL 2025 Language & NLP Artificial intelligence Matched by wording
47

QHackBench: Benchmarking Large Language Models for Quantum Code Generation Using PennyLane Hackathon Challenges

24 Jun · Abdul Basit, Minghao Shao, Muhammad Haider Asif +4 · arXiv:2506.20008

Recent advances in Large Language Models (LLMs) have demonstrated strong potential in code generation, yet their effectiveness in quantum computing remains underexplored. This paper benchmarks LLMs for PennyLane-based quantum code generation using real-world challenges from the Quantum Hackathon (QHack). We introduce QHackBench, a novel benchmark dataset derived from QHack competitions, and evaluate model…

To appear at the IEEE International Conference on Quantum Artificial Intelligence (QAI), Naples, Italy, November 2025 Artificial intelligence Programming languages Software engineering Matched by wording
48

Learning Game-Playing Agents with Generative Code Optimization

27 Aug · Zhiyi Kuang, Ryan Rong, YuCheng Yuan +1 · arXiv:2508.19506

We present a generative optimization approach for learning game-playing agents, where policies are represented as Python programs and refined using large language models (LLMs). Our method treats decision-making policies as self-evolving code, with current observation as input and an in-game action as output, enabling agents to self-improve through execution traces and natural language feedback with minimal human…

ICML 2025 Workshop on Programmatic Representations for Agent Learning, Vancouver, Canada Machine learning Artificial intelligence Matched by wording
49

Data Dependency-Aware Code Generation from Enhanced UML Sequence Diagrams

5 Aug · Wenxin Mao, Zhitao Wang, Long Wang +7 · arXiv:2508.03379

Large language models (LLMs) excel at generating code from natural language (NL) descriptions. However, the plain textual descriptions are inherently ambiguous and often fail to capture complex requirements like intricate system behaviors, conditional logic, and architectural constraints; implicit data dependencies in service-oriented architectures are difficult to infer and handle correctly. To bridge this gap, we…

50

Refining Critical Thinking in LLM Code Generation: A Faulty Premise-based Evaluation Framework

5 Aug · Jialin Li, Jinzhe Li, Gengxu Li +2 · arXiv:2508.03622

With the advancement of code generation capabilities in large language models (LLMs), their reliance on input premises has intensified. When users provide inputs containing faulty premises, the probability of code generation hallucinations rises significantly, exposing deficiencies in their self-scrutiny capabilities. This paper proposes Faulty Premises Bench (FPBench), the first code generation evaluation framework…

Artificial intelligence Matched by wording
51

Smaller = Weaker? Benchmarking Robustness of Quantized LLMs in Code Generation

28 Jun · Sen Fang, Weiyuan Ding, Antonio Mastropaolo +1 · arXiv:2506.22776

Quantization has emerged as a mainstream method for compressing Large Language Models (LLMs), reducing memory requirements and accelerating inference without architectural modifications. While existing research primarily focuses on evaluating the effectiveness of quantized LLMs compared to their original counterparts, the impact on robustness remains largely unexplored.In this paper, we present the first systematic…

52

Incoherence as Oracle-less Measure of Error in LLM-Based Code Generation

26 Jun · Thomas Valentin, Ardi Madadi, Gaetano Sapia +1 · arXiv:2507.00057

Generating code from a natural language programming task is one of the most successful applications of Large Language Models (LLMs). Yet, the generated program may be buggy. Without an oracle, such as an existing, correct implementation or a formal specification, can we somehow estimate how likely the generated program is correct? In this paper, we propose a measure of incorrectness, called *incoherence*, that can…

Accepted at AAAI'26 (extended version). + refs and appendix Programming languages Artificial intelligence Machine learning Matched by wording
53

Multilingual Multimodal Software Developer for Code Generation

11 Jul · Linzheng Chai, Jian Yang, Shukai Liu +9 · arXiv:2507.08719

The rapid advancement of Large Language Models (LLMs) has significantly improved code generation, yet most models remain text-only, neglecting crucial visual aids like diagrams and flowcharts used in real-world software development. To bridge this gap, we introduce MM-Coder, a Multilingual Multimodal software developer. MM-Coder integrates visual design inputs-Unified Modeling Language (UML) diagrams and flowcharts…

54

$\texttt{Droid}$: A Resource Suite for AI-Generated Code Detection

11 Jul · Daniil Orel, Indraneil Paul, Iryna Gurevych +1 · arXiv:2507.10583

In this work, we compile $\textbf{$\texttt{DroidCollection}$}$, the most extensive open data suite for training and evaluating machine-generated code detectors, comprising over a million code samples, seven programming languages, outputs from 43 coding models, and over three real-world coding domains. Alongside fully AI-generated samples, our collection includes human-AI co-authored code, as well as adversarial…

55

GitChameleon 2.0: Evaluating AI Code Generation Against Python Library Version Incompatibilities

16 Jul · Diganta Misra, Nizar Islah, Victor May +9 · arXiv:2507.12367

The rapid evolution of software libraries poses a considerable hurdle for code generation, necessitating continuous adaptation to frequent version updates while preserving backward compatibility. While existing code evolution benchmarks provide valuable insights, they typically lack execution-based evaluation for generating code compliant with specific library versions. To address this, we introduce GitChameleon…

Version 2 of the dataset from: arXiv:2411.05830 Software engineering Artificial intelligence Programming languages Matched by wording
56

QSpark: Towards Reliable Qiskit Code Generation

16 Jul · Kiana Kheiri, Aamna Aamir, Andriy Miranskyy +1 · arXiv:2507.12642

Quantum circuits must be error-resilient, yet LLMs like Granite-20B-Code and StarCoder often output flawed Qiskit code. We fine-tuned the Qwen2.5-Coder-32B model with two RL methods, Group Relative Policy Optimization (GRPO) and Odds-Ratio Preference Optimization (ORPO), using a richly annotated synthetic dataset. On the Qiskit HumanEval benchmark, ORPO reaches 56.29% Pass@1 ($\approx+10$ pp over Granite-8B-QK) and…

57

Towards Formal Verification of LLM-Generated Code from Natural Language Prompts

17 Jul · Aaron Councilman, David Jiahao Fu, Aryan Gupta +4 · arXiv:2507.13290

In the past few years LLMs have emerged as a tool that can aid programmers by taking natural language descriptions and generating code based on it. However, the reliability of LLM code generation and current validation techniques for it are far from strong enough to be used for mission-critical or safety-critical applications. In this work we explore ways to offer formal guarantees of correctness to LLM generated…

58

SimdBench: Benchmarking Large Language Models for SIMD-Intrinsic Code Generation

21 Jul · Yibo He, Shuoran Zhao, Jiaming Huang +4 · arXiv:2507.15224

SIMD (Single Instruction Multiple Data) instructions and their compiler intrinsics are widely supported by modern processors to accelerate performance-critical tasks. SIMD intrinsic programming, a trade-off between coding productivity and high performance, is widely used in the development of mainstream performance-critical libraries and daily computing tasks. Large Language Models (LLMs), which have demonstrated…

59

ReCatcher: Towards LLMs Regression Testing for Code Generation

25 Jul · Altaf Allah Abbassi, Leuson Da Silva, Amin Nikanjam +1 · arXiv:2507.19390

Large Language Models (LLMs) for code generation evolve rapidly through fine-tuning, merging, or new model releases. However, such updates can introduce regressions, not only in correctness but also in code quality and performance. To address this, we present ReCatcher, a regression testing framework for Python code generation. ReCatcher systematically compares two LLMs, typically a current model and a candidate…

60

PennyCoder: Efficient Domain-Specific LLMs for PennyLane-Based Quantum Code Generation

25 Jul · Abdul Basit, Minghao Shao, Muhammad Haider Asif +4 · arXiv:2507.19562

The growing demand for robust quantum programming frameworks has unveiled a critical limitation: current large language model (LLM) based quantum code assistants heavily rely on remote APIs, introducing challenges related to privacy, latency, and excessive usage costs. Addressing this gap, we propose PennyCoder, a novel lightweight framework for quantum code generation, explicitly designed for local and embedded…

paper accepted to QCE 2025 quant-ph Artificial intelligence Matched by wording