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

91 results for “code generation”

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

21

QuanBench+: A Unified Multi-Framework Benchmark for LLM-Based Quantum Code Generation

25 Mar · Ali Slim, Haydar Hamieh, Jawad Kotaich +5 · arXiv:2604.08570

Large Language Models (LLMs) are increasingly used for code generation, yet quantum code generation is still evaluated mostly within single frameworks, making it difficult to separate quantum reasoning from framework familiarity. We introduce QuanBench+, a unified benchmark spanning Qiskit, PennyLane, and Cirq, with 42 aligned tasks covering quantum algorithms, gate decomposition, and state preparation. We evaluate…

total, including supplementary material. Accepted to the ICLR 2026 Workshop on I Can't Believe It's Not Better Machine learning Artificial intelligence Programming languages Matched by wording
22

mcdok at SemEval-2026 Task 13: Finetuning LLMs for Detection of Machine-Generated Code

23 Apr · Adam Skurla, Dominik Macko, Jakub Simko · arXiv:2604.21365

Multi-domain detection of the machine-generated code snippets in various programming languages is a challenging task. SemEval-2026 Task~13 copes with this challenge in various angles, as a binary detection problem as well as attribution of the source. Specifically, its subtasks also cover generator LLM family detection, as well as a hybrid code co-generated by humans and machines, or adversarially modified codes…

23

Feedback Over Form: Why Execution Feedback Matters More Than Pipeline Topology in 1-3B Code Generation

23 Apr · Charles Junichi McAndrews · arXiv:2604.21950

Small language models (1-3B) are practical to run locally, but individually limited on harder code generation tasks. We ask whether composing them into pipelines can recover some of that lost capability. We study code generation pipelines built from 1-3B models with execution feedback, and use a NEAT-inspired evolutionary search to test whether more complex pipeline structure helps beyond a simple refinement loop.…

main text, references, . Code: https://github.com/L3G/feedback-over-form Software engineering Artificial intelligence Machine learning Matched by wording
24

VeriContest: A Competitive-Programming Benchmark for Verifiable Code Generation

8 May · Zichen Xie, Mrigank Pawagi, Yuxin Liu +5 · arXiv:2605.08553

Large language models can generate useful code from natural language, but their outputs come without correctness guarantees. Verifiable code generation offers a path beyond testing by requiring models to produce not only executable code, but also formal specifications and machine-checkable proofs. Progress in this direction, however, is difficult to measure: existing benchmarks are often small, cover only part of…

Accepted to NeurIPS 2026 (Evaluations & Datasets Track) Software engineering Artificial intelligence Machine learning Matched by wording
25

Semantic Voting: Execution-Grounded Consensus for LLM Code Generation

9 May · Shan Jiang, Zijian Yi, Chenguang Zhu · arXiv:2605.08680

LLM code-generation pipelines often sample multiple candidates and select one final answer without access to a complete oracle. Existing pipelines mix textual voting, ranking, and execution-based agreement, but the relative contribution of each component remains unclear. We study 18 configurations across different models, thinking levels, and benchmarks, comparing output-pattern majority voting, weighted voting,…

26

HLS-Seek: QoR-Aware Code Generation for High-Level Synthesis via Proxy Comparative Reward Reinforcement Learning

13 May · Qingyun Zou, Feng Yu, Hongshi Tan +3 · arXiv:2605.13536

High-Level Synthesis (HLS) compiles algorithmic C/C++ descriptions into hardware, with Quality of Results (QoR)---latency and resource utilization---critically governed by pragma configurations and code structure. Existing natural-language-to-HLS (NL-to-HLS) training approaches prioritize functional correctness while largely ignoring QoR. We observe that reinforcement learning (RL) for HLS does not require absolute…

Accepted at ICCAD 2026 Machine learning Artificial intelligence Matched by wording
27

Code Generation by Differential Test Time Scaling

19 May · Yifeng He, Ethan Wang, Jicheng Wang +2 · arXiv:2605.20473

Test-time scaling has emerged as a promising approach for improving code generation by exploring large solution spaces at inference time. However, existing methods often rely on public test cases that are unavailable in practice, or require extensive LLM inference for candidate selection, leading to significant token consumption and time overhead. We present DiffCodeGen, a novel test-time scaling method for code…

16 main text, with references Software engineering Artificial intelligence Machine learning Matched by wording
28

VeriScale: Adversarial Test-Suite Scaling for Verifiable Code Generation

21 May · Yifan Bai, Xiaoyang Liu, Zihao Mou +7 · arXiv:2605.22368

As large language models (LLMs) are increasingly deployed for software engineering, constructing high-quality benchmarks is crucial for evaluating not just the functional correctness, but also the formal verifiability of generated code. However, existing benchmarks are limited by the quantity and quality of positive and negative test cases, leading to an overestimation of model capabilities in generating…

29

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
30

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…

31

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…

32

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
33

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…

34

Quantum Circuit Vision: Cost-Aware Evaluation of Visual AI Agents for Quantum Code Generation

11 Jul · Dongping Liu, Aoyu Zhang, Luyao Zhang · arXiv:2607.10057

Can AI agents visually comprehend quantum circuit diagrams and generate verified executable code--and at what cost? We present Quantum Circuit Vision, a cost-aware evaluation framework for multimodal AI agents on quantum circuit visual understanding. We construct a 132-circuit benchmark spanning 13 categories ($1$--$10$ qubits) with executable Amazon Braket code and unitary-fidelity verification. Evaluating three…

35

Beyond "What to Retrieve": Uncertainty in Retrieval-Augmented Code Generation

27 Jul · Chandan Kumar Sah, Li Zhang, Xiaoli Lian · arXiv:2607.24884

Repository-level code generation relies on heterogeneous evidence whose relevance, compatibility, and completeness are inherently uncertain. Similar-code examples, repository context, and project-specific APIs may provide complementary information, but can also introduce noisy, redundant, or conflicting signals. Existing retrieval-augmented approaches primarily optimize retrieval relevance without explicitly…

Source code and supporting materials are available at https://github.com/Rocky5502/OpenCoder_V1 Software engineering Artificial intelligence Language & NLP Matched by wording
36

How Do Developers Edit AI-Generated Code, and How Well Do LLMs Infer Their Edits? Insights from 53.6K Developer Edits

27 Jul · Jenny T. Liang, Mihika Bairathi, Wayne Chi +3 · arXiv:2607.25130

Imperfections in AI-generated code require that software developers modify generations through manual code edits. However, little is known about how developers edit AI-generated code, and to what extent LLMs can infer implicit developer intent from this data, given the lack of high-quality, realistic code editing data. This information is essential for designing and building usable AI-developer interactions. To…

37

Does ISO-Grounded NFR Specification Improve LLM Code Generation? A Comparison of Rich and Structured Interventions against a Natural-Language Baseline

13 Aug · Joào Pedro Monteiro Pereira, Vinicius Cardoso Garcia · arXiv:2608.13742

In LLM-based code generation, Non-Functional Requirements (NFRs) are often specified as terse one-line phrases. We ask whether grounding those specifications in ISO/IEC 25010 Quality Model, either as rich natural-language prose (NL-rich) or as structured JSON (Structured), improves code generated on HumanEval/HumanEval-ET compared to a RobuNFR-style one-line baseline (NL-simple). We evaluate four NFRs (performance,…

Accepted for publication at the 20th Brazilian Symposium on Software Components, Architectures, and Reuse (SBCARS 2026) Software engineering Artificial intelligence Machine learning Matched by wording
38

When Uncertainty Isn't Enough: An Empirical Study of Self-Correction in Code Generation

31 Jul · Pranav Rakasi, Maanas Lalwani, Arnav Srivastava +4 · arXiv:2608.14659

Large language models for code generation often produce incorrect solutions without reliable indicators of failure. We study whether uncertainty estimation methods developed for natural language transfer to code generation, and whether such signals can improve code generation via selective self-correction. We evaluate five uncertainty methods: mean token entropy, verbalized confidence, $P(\text{True})$, entropy…

39

CodeForge-MA: Execution-Verified Multi-Agent Learning with Language-Conditioned LoRA for Multilingual Code Generation

4 Oct · Zhizhou Gu, Xianting Wu, Siyu Gu +2 · arXiv:2610.05481

Large language models for code generation often fail on execution, multilingual coverage, and contamination control, especially under frozen backbone constraints. We present CodeForge-MA, a unified framework that improves code synthesis through a multi-agent data forge, execution verified reinforced instruction tuning, and a language conditioned mixture of LoRA adapters. Four specialized agents, Composer, Reviewer,…

40

Visible Reasoning Is Not a Universal Optimizer: Persona- and Thinking-Dependent Effects in Analytics Code Generation

7 Oct · Bhawani Shankar Leelar, Pawan Chorasiya, Davin Hill +2 · arXiv:2610.10639

Visible Chain-of-Thought (CoT) is often treated as a broadly useful reasoning instruction, yet analytics code generation combines natural-language ambiguity, schema grounding, target-language constraints, and model-specific inference behavior. Because the same analytics request can be expressed in two distinct target languages-SQL and Python (pandas)-this setting provides a natural test of a common but…