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

141

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
142

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…

143

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…

144

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…

145

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…

146

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
147

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…

148

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
149

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
150

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
151

Do LLMs Favor Their Providers? Measuring Vertical Integration Bias in Code Generation

27 May · Melih Catal, Alex Wolf, Tiago Ferreiro Matos +2 · arXiv:2605.28515

Large Language Models (LLMs) have become an integral part of software development, especially with the advent of agentic capabilities. Yet, many frontier LLMs are affiliated with specific providers. This raises the question of whether generated code favors the provider's own ecosystem over comparable alternatives, potentially constraining developers' choices and increasing dependence on a single provider. We define…

152

CodeGolf Bench: A Multi-Language Benchmark for Evaluating Concise Code Generation Capabilities of Large Language Models

28 May · Vedant Padwal · arXiv:2605.30394

This paper introduces Code Bench, a benchmark capable of evaluating Large Language Models (LLMs) concise code generation abilities in 60 programming languages. Based on code golf, a recreational programming competition focused on minimal character or byte solutions, the benchmark provides a distinctive measure of LLMs ability to produce efficient, concise code. Unlike existing benchmarks limited by fixed problem…

153

Measuring and Mitigating Bias in Code Generated by Large Language Models

5 May · Yuxi Chen, Yutian Tang, Timothy Storer · arXiv:2606.00049

Large language models (LLMs) are widely recognised for their applications in natural language generation and are increasingly used for code generation tasks. However, concerns about bias in their generated outputs remain significant. This paper focuses on GPT-4o and Gemini, mainstream tools for code generation, and proposes a framework for evaluating bias in LLM-generated code, specifically examining the influence…

154

Benchmarking Multimodal LLMs on Code Generation for Complex Interactive Webpages

29 May · Fan Wu, Lishuai Dong, Cuiyun Gao +4 · arXiv:2606.00154

Recent advancements in multimodal large language models (MLLMs) have achieved remarkable progress in multimodal reasoning and code generation, catalyzing a new paradigm for front-end development. In particular, these models can directly transform visual designs into executable code, significantly improving the efficiency and adaptability of web development. Modern web applications are dynamic and interactive,…

155

The Invisible Lottery: How Subtle Cues Steer Algorithm Choice in LLM Code Generation

2 Jun · Akanksha Narula, Mofasshara Binte Rafique, Laurent Bindschaedler · arXiv:2606.04057

Large language models (LLMs) now generate substantial production code, often for tasks with multiple valid algorithmic solutions. Incidental prompt cues, meaning contextual words or metadata outside the task specification, can steer which algorithm the model selects, even when all outputs pass the same tests. Prompt sensitivity is well studied as a tool to improve output quality. Here, output policy means algorithm…

156

Microskill Architecture: A Modular Skill-Driven Framework for AI-Native Code Generation

4 Jun · Mohammad Zare, Omid Abdolrahmani · arXiv:2606.05720

Large language models and AI coding agents have reshaped software development, but the path to fully AI-native systems faces structural challenges. Chief among them is managing context windows without losing accuracy or efficiency. When developers inject full project documentation and code into a model's memory, the model loses mid-sequence information, token costs spiral, and architecture drifts. This paper…

157

Towards the Readability of LLM-Generated Codes through Multitask Representation Engineering

4 Jun · Huifan Gao, Liuhua He, Yinghui Pan +4 · arXiv:2606.06214

Correctness and readability are key measures of code quality, respectively ensuring functional fidelity and ease of comprehension. While most existing research focuses on improving the correctness of large language models~(LLMs) generated codes, readability remains under-addressed. Enhancing readability through targeted control is challenging due to its subjective nature. In this article, we employ representation…

158

EstRTL: Functional Estimation Guided RTL Code Generation

1 Jun · Qi Xiong, Renzhi Chen, Bowei Wang +3 · arXiv:2606.09867

Optimizing register transfer level (RTL) code is of vital importance in hardware design. Large language models (LLMs) provide new methods for the automatic generation and optimization of RTL code, offering the potential to significantly accelerate the design process and reduce human effort. However, existing methods for generating RTL code often focus on model fine-tuning and the use of various expansion techniques…

159

Ocassionally Secure: A Comparative Analysis of Code Generation Assistants

1 Feb · Ran Elgedawy, Porter Dosch, John Sadik +8 · arXiv:2402.00689

$ $Large Language Models (LLMs) are being increasingly utilized in various applications, with code generations being a notable example. While previous research has shown that LLMs have the capability to generate both secure and insecure code, the literature does not take into account what factors help generate secure and effective code. Therefore in this paper we focus on identifying and understanding the conditions…

160

Activating Latent Security Knowledge through LLM-Guided Risk Analysis for Secure Code Generation

15 Jun · Xiaoyun Xu, Lichao Wu, Jona te Lintelo +3 · arXiv:2606.16244

Large language models are pretrained on extensive software and security corpora, yet they frequently generate functionally correct code containing well-known vulnerabilities. Existing defenses commonly treat this behavior as a knowledge deficit, addressing it through model-specific fine-tuning or retrieval from large collections of vulnerability code examples. We argue that insecure generation can arise from a…