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

121

On Developers' Self-Declaration of AI-Generated Code: An Analysis of Practices

23 Apr · Syed Mohammad Kashif, Peng Liang, Amjed Tahir · arXiv:2504.16485

AI code generation tools have gained significant popularity among developers, who use them to assist in software development due to their capability to generate code. Existing studies mainly explored the quality, e.g., correctness and security, of AI-generated code, while in real-world software development, the prerequisite is to distinguish AI-generated code from human-written code, which emphasizes the need to…

Preprint accepted for publication in ACM Transactions on Software Engineering and Methodology (TOSEM), 2025 Software engineering Artificial intelligence Matched by wording
122

CLEVER: A Curated Benchmark for Formally Verified Code Generation

20 May · Amitayush Thakur, Jasper Lee, George Tsoukalas +6 · arXiv:2505.13938

We introduce ${\rm C{\small LEVER}}$, a high-quality, curated benchmark of 161 problems for end-to-end verified code generation in Lean. Each problem consists of (1) the task of generating a specification that matches a held-out ground-truth specification, and (2) the task of generating a Lean implementation that provably satisfies this specification. Unlike prior benchmarks, ${\rm C{\small LEVER}}$ avoids test-case…

123

SEW: Self-Evolving Agentic Workflows for Automated Code Generation

24 May · Siwei Liu, Jinyuan Fang, Han Zhou +2 · arXiv:2505.18646

Large Language Models (LLMs) have demonstrated effectiveness in code generation tasks. To enable LLMs to address more complex coding challenges, existing research has focused on crafting multi-agent systems with agentic workflows, where complex coding tasks are decomposed into sub-tasks, assigned to specialized agents. Despite their effectiveness, current approaches heavily rely on hand-crafted agentic workflows,…

124

Style2Code: A Style-Controllable Code Generation Framework with Dual-Modal Contrastive Representation Learning

26 May · Dutao Zhang, Nicolas Rafael Arroyo Arias, YuLong He +1 · arXiv:2505.19442

Controllable code generation, the ability to synthesize code that follows a specified style while maintaining functionality, remains a challenging task. We propose a two-stage training framework combining contrastive learning and conditional decoding to enable flexible style control. The first stage aligns code style representations with semantic and structural features. In the second stage, we fine-tune a language…

Artificial intelligence Matched by wording
125

VERINA: Benchmarking Verifiable Code Generation

29 May · Zhe Ye, Zhengxu Yan, Jingxuan He +3 · arXiv:2505.23135

Large language models (LLMs) are increasingly integrated in software development, but ensuring correctness in LLM-generated code remains challenging and often requires costly manual review. Verifiable code generation -- jointly generating code, specifications, and proofs of code-specification alignment -- offers a promising path to address this limitation and further unleash LLMs' benefits in coding. Yet, there…

126

VisCoder: Fine-Tuning LLMs for Executable Python Visualization Code Generation

4 Jun · Yuansheng Ni, Ping Nie, Kai Zou +2 · arXiv:2506.03930

Large language models (LLMs) often struggle with visualization tasks like plotting diagrams, charts, where success depends on both code correctness and visual semantics. Existing instruction-tuning datasets lack execution-grounded supervision and offer limited support for iterative code correction, resulting in fragile and unreliable plot generation. We present VisCode-200K, a large-scale instruction tuning dataset…

127

ScaleRTL: Scaling LLMs with Reasoning Data and Test-Time Compute for Accurate RTL Code Generation

5 Jun · Chenhui Deng, Yun-Da Tsai, Guan-Ting Liu +2 · arXiv:2506.05566

Recent advances in large language models (LLMs) have enabled near-human performance on software coding benchmarks, but their effectiveness in RTL code generation remains limited due to the scarcity of high-quality training data. While prior efforts have fine-tuned LLMs for RTL tasks, they do not fundamentally overcome the data bottleneck and lack support for test-time scaling due to their non-reasoning nature. In…

Accepted to MLCAD 2025 Hardware architecture Artificial intelligence Matched by wording
128

Deployability-Centric Infrastructure-as-Code Generation: Fail, Learn, Refine, and Succeed through LLM-Empowered DevOps Simulation

5 Jun · Tianyi Zhang, Shidong Pan, Zejun Zhang +2 · arXiv:2506.05623

Infrastructure-as-Code (IaC) generation holds significant promise for automating cloud infrastructure provisioning. Recent advances in Large Language Models (LLMs) present a promising opportunity to democratize IaC development by generating deployable infrastructure templates from natural language descriptions. However, current evaluation focuses on syntactic correctness while ignoring deployability, the critical…

129

SafeGenBench: A Benchmark Framework for Security Vulnerability Detection in LLM-Generated Code

6 Jun · Xinghang Li, Jingzhe Ding, Chao Peng +4 · arXiv:2506.05692

The code generation capabilities of large language models(LLMs) have emerged as a critical dimension in evaluating their overall performance. However, prior research has largely overlooked the security risks inherent in the generated code. In this work, we introduce SafeGenBench, a benchmark specifically designed to assess the security of LLM-generated code. The dataset encompasses a wide range of common software…

130

DesignBench: A Comprehensive Benchmark for MLLM-based Front-end Code Generation

6 Jun · Jingyu Xiao, Ming Wang, Man Ho Lam +4 · arXiv:2506.06251

Multimodal Large Language Models (MLLMs) have demonstrated remarkable capabilities in automated front-end engineering, e.g., generating UI code from visual designs. However, existing front-end UI code generation benchmarks have the following limitations: (1) While framework-based development becomes predominant in modern front-end programming, current benchmarks fail to incorporate mainstream development frameworks.…

131

CoSPlay: Cooperative Self-Play at Test-Time with Self-Generated Code and Unit Test

22 May · Zhangyi Hu, Chenhui Liu, Tian Huang +6 · arXiv:2605.23491

Recently, Reinforcement Learning with Verifiable Rewards (RLVR) and Test-Time Scaling (TTS) have advanced LLM code generation through executable verification. Yet Ground-Truth Unit Tests (GT UTs) remain a bottleneck: SOTA RLVR methods require them for costly training, while existing TTS methods lose competitiveness without them. This motivates GT-free TTS, where existing methods directly use self-generated UTs to…

Code is available at: https://github.com/sanae-ai/CosPlay | Data & log is available at: https://huggingface.co/datasets/yomi017/CosPlay Machine learning Artificial intelligence Language & NLP Matched by wording
132

Isomorphism Is Not Enough: An Agentic Audit of Verified Code Generation in Lean

22 May · Alessandro Sosso, Akhil Arora, Bas Spitters · arXiv:2605.23772

Agentic systems have recently emerged as state-of-the-art approaches for automated theorem proving in formal mathematics. To assess how far these capabilities extend to program verification and how reliably existing benchmarks can measure them, we audit CLEVER, a Lean 4 benchmark for verifiable code generation, using three independent agentic stacks based on Claude Opus 4.6, GPT-5.4, and Kimi K2.5. Our audit finds…

133

An Empirical Evaluation of LLM-Generated Code Security Across Prompting Methods

22 May · Mohammed Kharma, Ahmed Sabbah, Mohammad Alkhanafseh +2 · arXiv:2605.24298

The growing use of Large Language Models (LLMs) for automated code generation has enhanced software development efficiency, but often at the cost of security. Generated code frequently overlooks critical concerns, leaving it vulnerable to issues such as weak encryption and improper input validation. To investigate this problem, we present a comprehensive empirical evaluation of the security quality of LLM-generated…

134

Enhancing Reliability in LLM-Based Secure Code Generation

22 May · Mohammed F. Kharma, Mohammad Alkhanafseh, Ahmed Sabbah +1 · arXiv:2605.24300

Large language models (LLMs) are widely used for code generation, but their security reliability remains inconsistent across languages and prompting strategies. Existing prompt engineering improves functional correctness but rarely ensures consistent security outcomes. We introduce the \textit{Mitigation-Aware Chain-of-Thought (MA-CoT)} framework, which embeds task-specific CWE mitigation guidance and language-aware…

135

A Tertiary Review of Large Language Model-Based Code Generating Tasks: Trends, Challenges, and Future Directions

25 May · Muslim Chochlov, Michael English, Jim Buckley · arXiv:2605.25536

Context. Large language models (LLMs) are increasingly applied to code-generating tasks (CGTs) in software engineering. While reported results are promising, the broader effects of such application and their integration into real-world development remain insufficiently understood with existing tertiary studies provide little in this area. Objective. This tertiary study consolidates secondary evidence on LLM-based…

136

PennySynth: RAG-Driven Data Synthesis for Automated Quantum Code Generation

25 May · Minghao Shao, Nouhaila Innan, Hariharan Janardhanan +3 · arXiv:2605.25572

The growing complexity of quantum programming frameworks has exposed a critical limitation in existing large language model (LLM)-based code assistants: general-purpose models hallucinate PennyLane-specific gate names, misplace device configurations, and produce structurally invalid circuits when faced with specialized quantum coding challenges. We present PennySynth, a retrieval-augmented generation framework that…

Accepted at the IEEE International Conference on Quantum Computing and Engineering (QCE), 2026 Language & NLP Artificial intelligence Matched by wording
137

FPMoE: A Sparse Mixture-of-Experts Approach to Functional Code Generation

27 May · Loc Pham, Lang Hong Nguyet Anh, Thanh Le-Cong · arXiv:2605.27849

Despite rapid progress in LLM-based code generation, existing models are predominantly trained on imperative languages, leaving functional programming languages (FPLs) such as Haskell, OCaml, and Scala chronically underexplored, with even frontier models performing substantially worse on FPLs. Fine-tuning is a natural remedy, but our experiments show that per-language fine-tuning fails to capture shared functional…

138

Efficient Post-training of LLMs for Code Generation With Offline Reinforcement Learning

27 May · Mingze Wu, Abhinav Anand, Shweta Verma +1 · arXiv:2605.28409

Post-training using online reinforcement learning (RL) is an important training step for LLMs, including code-generating models. However, online RL for code generation involves LLM inference and verification of the generated output, which can take considerable time and resources. In this paper, we explore the application of offline RL to code-generating models by leveraging existing code datasets. Our experiments…

Artificial intelligence Matched by wording
139

Functional Entropy: Predicting Functional Correctness in LLM-Generated Code with Uncertainty Quantification

27 May · Dylan Bouchard, Mohit Singh Chauhan, Zeya Ahmad +1 · arXiv:2605.28500

Large language models have shown impressive capabilities in code generation, yet they often produce functionally incorrect code. Uncertainty quantification (UQ) methods have emerged as a promising approach for detecting hallucinations in natural language generation, but their effectiveness for code generation tasks remains underexplored. We systematically evaluate how UQ techniques transfer to code generation across…

Accepted at EMNLP 2026 (Main) Language & NLP Artificial intelligence Machine learning Matched by wording
140

Efficient and Scalable Provenance Tracking for LLM-Generated Code Snippets

27 May · Andrea Gurioli, Davide D'Ascenzo, Federico Pennino +2 · arXiv:2605.28510

Large language models (LLMs) for code completion and generation are increasingly used in software development, yet they may reproduce training examples verbatim and without authorship attribution, raising legal and ethical concerns around plagiarism and license compliance. Classical fingerprint-based plagiarism detectors, such as Winnowing, remain highly effective, yet the inspection requires comparing fragments of…

Article accepted at The Journal of Systems & Software Software engineering Artificial intelligence Information retrieval Matched by wording