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

295 results for “code generation”

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

201

Self-Improving Code Generation via Semantic Entropy and Behavioral Consensus

31 Mar · Huan Zhang, Wei Cheng, Wei Hu · arXiv:2603.29292

Improving the code generation capabilities of large language models (LLMs) typically relies on supervised fine-tuning or preference optimization, both of which require costly external resources such as powerful teacher models or reliable test units. However, in real-world scenarios, it is much harder to obtain reference solutions and test oracles than problem descriptions and test inputs. In this paper, we tackle a…

Accepted in the 34th IEEE/ACM International Conference on Program Comprehension (ICPC 2026) Software engineering Artificial intelligence Programming languages Matched by wording
202

IndustryCode: A Benchmark for Industry Code Generation

3 Apr · Puyu Zeng, Zhaoxi Wang, Zhixu Duan +7 · arXiv:2604.02729

Code generation and comprehension by Large Language Models (LLMs) have emerged as core drivers of industrial intelligence and decision optimization, finding widespread application in fields such as finance, automation, and aerospace. Although recent advancements have demonstrated the remarkable potential of LLMs in general code generation, existing benchmarks are mainly confined to single domains and languages.…

203

Toward Executable Repository-Level Code Generation via Environment Alignment

4 Apr · Ruwei Pan, Junlei Shen, Linhao Wu +5 · arXiv:2604.03622

Large language models (LLMs) have achieved strong performance on code generation, but existing methods still struggle with repository-level code generation under executable validation. Under this evaluation setting, success is determined not by the plausibility of isolated code fragments, but by whether a generated multi-file repository can be successfully installed, have its dependencies and internal references…

204

Persistent Cross-Attempt State Optimization for Repository-Level Code Generation

4 Apr · Ruwei Pan, Jiangshuai Wang, Qisheng Zhang +6 · arXiv:2604.03632

Large language models (LLMs) have achieved substantial progress in repository-level code generation. However, solving the same repository-level task often requires multiple attempts, while existing methods still optimize each attempt in isolation and do not preserve or reuse task-specific state across attempts. In this paper, we propose LiveCoder, a novel framework for repository-level code generation based on…

205

EffiPair: Improving the Efficiency of LLM-generated Code with Differential Execution Feedback

6 Apr · Samira Hajizadeh, Suman Jana · arXiv:2604.05137

Large language models (LLMs) can generate functionally correct programs that differ substantially in execution efficiency. Existing inference-time optimization methods typically refine each candidate using pointwise runtime or profiling feedback, which identifies how costly an implementation is or where the cost arises, but offers limited guidance on how the computation should change. We introduce DIFFERENTIAL…

206

Compiled AI: Deterministic Code Generation for LLM-Based Workflow Automation

6 Apr · Geert Trooskens, Aaron Karlsberg, Anmol Sharma +6 · arXiv:2604.05150

We study compiled AI, a paradigm in which large language models generate executable code artifacts during a compilation phase, after which workflows execute deterministically without further model invocation. This paradigm has antecedents in prior work on declarative pipeline optimization (DSPy) and hybrid neural-symbolic planning (LLM+P); our contribution is a systems-oriented study of its application to…

207

Broken by Default: A Formal Verification Study of Security Vulnerabilities in AI-Generated Code

7 Apr · Dominik Blain, Maxime Noiseux · arXiv:2604.05292

AI coding assistants are now used to generate production code in security-sensitive domains, yet the exploitability of their outputs remains unquantified. We address this gap with Broken by Default: a formal verification study of 3,500 code artifacts generated by seven widely-deployed LLMs across 500 security-critical prompts (five CWE categories, 100 prompts each). Each artifact is subjected to the Z3 SMT solver…

208

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
209

DeepGuard: Secure Code Generation via Multi-Layer Semantic Aggregation

10 Apr · Li Huang, Zhongxin Liu, Yifan Wu +6 · arXiv:2604.09089

Large Language Models (LLMs) for code generation can replicate insecure patterns from their training data. To mitigate this, a common strategy for security hardening is to fine-tune models using supervision derived from the final transformer layer. However, this design may suffer from a final-layer bottleneck: vulnerability-discriminative cues can be distributed across layers and become less detectable near the…

210

How Many Tries Does It Take? Iterative Self-Repair in LLM Code Generation Across Model Scales and Benchmarks

12 Apr · Johin Johny Arimbur · arXiv:2604.10508

Large language models frequently fail to produce correct code on their first attempt, yet most benchmarks evaluate them in a single-shot setting. We investigate iterative self-repair (feeding execution errors back to the model for correction) across seven models spanning three families and both open-weight and proprietary providers: Llama 3.1 8B, Llama 3.3 70B, Llama 4 Scout (MoE, 16 experts), Llama 4 Maverick (MoE,…

211

SolidCoder: Bridging the Mental-Reality Gap in LLM Code Generation through Concrete Execution

20 Apr · Woojin Lee, Jin-Xia Huang · arXiv:2604.19825

State-of-the-art code generation frameworks rely on mental simulation, where LLMs internally trace execution to verify correctness. We expose a fundamental limitation: the Mental-Reality Gap -- where models hallucinate execution traces and confidently validate buggy code. This gap manifests along two orthogonal dimensions: the Specification Gap (overlooking edge cases during planning) and the Verification Gap…

Accepted at Findings of ACL 2026 Software engineering Artificial intelligence Matched by wording
212

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…

213

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
214

No Test Cases, No Problem: Distillation-Driven Code Generation for Scientific Workflows

25 Apr · Siddeshwar Raghavan, Tanwi Mallick · arXiv:2604.23106

Existing multi-agent Large Language Model (LLM) frameworks for code generation typically use execution feedback and improve iteratively using Input/Output (I/O) test cases. However, this does not work for scientific workflows, where I/O test cases do not exist, and generating them requires solving the very problem at hand. To address this, we introduce MOSAIC, a training-free multi-agent framework for scientific…

215

Learning from Execution: Self-Evolving Memory for Private-Library Code Generation

27 Apr · Mofei Li, Taozhi Chen, Guowei Yang +1 · arXiv:2604.24222

Large Language Models (LLMs) have achieved strong performance on general code generation, but their effectiveness drops sharply in enterprise settings where software development relies on internal private libraries absent from public pre-training corpora. Existing Retrieval-Augmented Generation (RAG) methods provide a training-free solution by retrieving static API documentation, but our analysis shows that…

216

Leveraging LLMs for Multi-File DSL Code Generation: An Industrial Case Study

27 Apr · Sivajeet Chand, Kevin Nguyen, Peter Kuntz +1 · arXiv:2604.24678

Large language models (LLMs) perform strongly on general-purpose code generation, yet their applicability to enterprise domain-specific languages (DSLs) remains underexplored, especially for repository-scale change generation spanning multiple files and folder structures from a single natural-language (NL) instruction. We report an industrial case study at BMW that adapts code-oriented LLMs to generate and modify…

Accepted at EASE'26 Software engineering Artificial intelligence Matched by wording
217

Defective Task Descriptions in LLM-Based Code Generation: Detection and Analysis

27 Apr · Amal Akli, Mike Papadakis, Maxime Cordy +1 · arXiv:2604.24703

Large language models are widely used for code generation, yet they rely on an implicit assumption that the task descriptions are sufficiently detailed and well-formed. However, in practice, users may provide defective descriptions, which can have a strong effect on code correctness. To address this issue, we develop SpecValidator, a lightweight classifier based on a small model that has been parameter-efficiently…

218

TDD Governance for Multi-Agent Code Generation via Prompt Engineering

29 Apr · Tarlan Hasanli, Shahbaz Siddeeq, Bishwash Khanal +3 · arXiv:2604.26615

Large language models (LLMs) accelerate software development but often exhibit instability, non-determinism, and weak adherence to development discipline in unconstrained workflows. While test-driven development (TDD) provides a structured Red-Green-Refactor process, existing LLM-based approaches typically use tests as auxiliary inputs rather than enforceable process constraints. We present an AI-native TDD…

Submitted to the 1st International Workshop on Empirical Prompt Engineering for Software Engineering (PROMPT-SE 2026) Software engineering Artificial intelligence Matched by wording
219

From Mirage to Grounding: Towards Reliable Multimodal Circuit-to-Verilog Code Generation

30 Apr · Guang Yang, Xing Hu, Xiang Chen +1 · arXiv:2604.27969

Multimodal large language models (MLLMs) are increasingly used to translate visual artifacts into code, from UI mockups into HTML to scientific plots into Python scripts. A circuit diagram can be viewed as a visual domain-specific language for hardware: it encodes timing, topology, and bit level semantics that are invisible to casual inspection yet safety critical once fabricated in silicon. Translating such…

220

Social Bias in LLM-Generated Code: Benchmark and Mitigation

1 May · Fazle Rabbi, Lin Ling, Song Wang +1 · arXiv:2605.00382

Large Language Models (LLMs) are increasingly deployed to generate code for human-centered applications where demographic fairness is critical. However, existing evaluations focus almost exclusively on functional correctness, leaving social bias in LLM-generated code largely unexamined. Extending our prior work on Solar, we conduct a comprehensive empirical study using SocialBias-Bench, a benchmark of 343 real-world…