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

181

MineValiCoder: Reliable Code Generation with Test Case Quality Mining and Bipartite Graph-Based Mutual Validation

24 Jul · Zhen Zhao, Qihang Yang, Feifei Dai +2 · arXiv:2607.22471

Large Language Model (LLM)-based Test-Driven Development (TDD) has advanced automated code generation. However, existing approaches depend heavily on human-crafted test cases and cannot operate effectively when only natural-language requirements are available. Although recent work enables automatic test generation, it often overlooks the inherent stochasticity of LLMs, leading to two key defects: faulty tests…

182

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
183

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…

184

COMPAS: Difficulty-Aware Joint Search for Optimizing Code Generation

5 Aug · Jingzhi Gong, Jie M. Zhang, Gunel Jahangirova +3 · arXiv:2608.04336

Code generation systems make each LLM call with a model, a prompt, and decoding settings. However, existing optimization methods usually tune only part of these choices or use one fixed configuration for all tasks: global optimizers search one configuration for all tasks, routers choose only a model, and prompt optimizers keep the model and decoding settings fixed. This leaves their joint, group-specific…

185

TraceCoder: Explainable and Auditable Code Generation with Position-Key Snippet Versioning

28 Jul · Rwaida Alssadi, Muntaser Syed, Balaji Kasula +6 · arXiv:2607.26307

Contemporary LLM-based coding agents produce code as black-box outputs: the rationale behind each line is hidden, the evolution of the code through benchmark-driven repair is ephemeral, and post-hoc auditing is impossible. We present a code generation concept that addresses these shortcomings through three complementary mechanisms: (i) a relational snippet-history schema that records, per repair event, the benchmark…

Submitted Version (version submitted on May deadline to AGENTICS 2026). Version of Record to appear in AGENTICS proceedings Artificial intelligence Software engineering Matched by wording
186

Metaphor-Induced Algorithmic Steering: Cross-Domain Procedural Transfer in LLM Code Generation

30 Jul · Zhibo Hu, Chen Wang, Yanfeng Shu +3 · arXiv:2607.28683

Large language models benefit from elements in natural language, such as metaphors and analogies in training data and inference input to achieve generalisability across different domains. However, these language elements may also lead to unwanted behaviors when metaphorical expressions implicitly transfer inappropriate procedural patterns into new tasks. In this paper, we show that metaphorical instructions can…

187

TaPR: Test-Aware Policy Refinement for Feedback-Conditioned Code Generation

1 Aug · Aofan Liu, Jingxiang Meng, Fangxin Liu +1 · arXiv:2608.00494

Multi-turn code agents rely on execution feedback to repair incorrect programs, yet standard reinforcement learning paradigms optimize and evaluate policy performance primarily using single-shot outcome rewards. This misalignment conflates initial code generation with feedback-driven refinement, discards granular execution signals across intermediate turns, and fails to evaluate whether the policy actually acquires…

Aofan Liu and Jingxiang Meng contributed equally; Fangxin Liu and Yongbiao Chen are corresponding authors Artificial intelligence Matched by wording
188

Effective and Efficient Context Retrieval via Partial Dependency Graph for Repository-Level Code Generation

3 Aug · Zhongxin Liu, Zhonghao Jiang, Zhifan Ye +3 · arXiv:2608.01927

LLM-based repository-level code generation aims to generate code using the context available in a software repository, requiring LLMs to reason over complex code dependencies. Due to limited context windows and insufficient repository-specific understanding, LLMs typically rely on retrieval-augmented generation (RAG) to incorporate relevant code. Early RAG approaches primarily employ similarity-based retrieval,…

Accepted by ASE 2026 Software engineering Artificial intelligence Matched by wording
189

ExeCRE: Execution-Consistency Guided Reliability Estimation for Self-Correcting Code Generation

5 Aug · Yiru Dong, Richong Zhang, Fanshuang Kong +1 · arXiv:2608.04439

Large language models (LLMs) have made notable progress in code generation, but they still struggle on challenging tasks that require sophisticated algorithms or complex implementations. Recent methods increasingly use code execution as feedback, especially in self-correction pipelines that construct verification signals from generated code. However, these pipelines often depend on supervision signals whose…

Accepted at the 41st IEEE/ACM International Conference on Automated Software Engineering (ASE 2026) Software engineering Artificial intelligence Matched by wording
190

P$^{3}$: Joint Program-and-Proof Planning for Verified Code Generation

10 Aug · Zenan Li, Ziran Yang, Peiyang Song +2 · arXiv:2608.09277

Verified code generation asks a large language model (LLM) to generate both an executable program and a machine-checkable proof that the program meets a formal specification, promising software that is correct by construction. The de facto workflow decouples the two halves of the problem: first synthesize a program, then attempt to prove it correct. We observe that this sequential pipeline can be both ineffective…

191

Do Influence Tactics Matter? Investigating Prompt Framing Effects in LLM Code Generation

11 Aug · Alex Deaconu, Anubhav Gupta, Manaal Basha +2 · arXiv:2608.11513

Large Language Models (LLMs) are increasingly integrated into software engineering workflows, helping developers write, debug, test, and maintain code. While prompt wording and structure are known to influence model performance, the impact of psychologically inspired prompt framings remains unexplored. This study investigates whether different psychology-based communication strategies that humans use to persuade or…

Accepted for publication in Empirical Software Engineering. This is the accepted manuscript version Software engineering Artificial intelligence Language & NLP Matched by wording
192

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
193

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…

194

Beyond Pass@k: Measuring Reliability and Security of Agentic Code Generation

11 Aug · Jiajun Jiang, Sharon Zheng, Natan Vidra +1 · arXiv:2608.14711

AI coding agent benchmarks rank agents with the Chen et al. (2021) pass@k estimator, but current implementations misapply it: they set n to the number of unit tests in a single submission rather than the number of independent rollout attempts, conflating test-suite size with attempt independence. We diagnose this operationalization error, prove it by counterexample, and propose reliability@k, the same estimator…

Artificial intelligence Matched by wording
195

Who Leads Now? Token-Level Modality Arbitration for Chart-to-Code Generation

16 Aug · Qinghao Fu, Yarong Wang, Shunlei Ning +6 · arXiv:2608.15510

Chart-to-code generation requires a model to read the fine-grained visual details of a chart and write executable code that reproduces it. Existing chart-to-code methods either train visual and coding abilities separately, or fine-tune on chart-to-code data with the two abilities entangled. Neither strategy accounts for the distinct nature of the two abilities or the interference that arises when they are optimized…

Artificial intelligence Matched by wording
196

Securing AI-Generated Code: A Just-in-Time Vulnerability Detection and Remediation Pipeline

17 Aug · Mikhail Surikov · arXiv:2608.16187

AI-assisted development tools generate vulnerable code at significant rates, yet few automated mechanisms exist to detect, enrich, fix, and verify security issues at development velocity, particularly ones that ground remediation in real-world threat context. This paper presents an automated security evaluation pipeline that generates Python code from LLMSecEval prompts, scans for vulnerabilities using CodeQL and…

Georgia Institute of Technology Master's final practicum project. Code: https://github.com/Droidsurikov/securing-ai-generated-code Cryptography & security Artificial intelligence Software engineering Matched by wording
197

TDD-Agent: Test-Driven Reasoning for Code Generation

17 Aug · Hongyue Yu, Kefan Li, Jiakun Li +4 · arXiv:2608.16742

Large Language Models (LLMs) have achieved remarkable progress in code generation, yet ensuring correctness in complex, repository-level tasks remains challenging. Existing approaches often use generated tests as static post-hoc validators, which limits their ability to guide implementation and may introduce misleading feedback when the tests themselves are incomplete or incorrect. In this paper, we introduce…

198

Evaluating Inference-Time Defenses Against Package Hallucination in LLM-Generated Code

23 Aug · Alberick Euraste Djire, Iyiola E. Olatunji, Melissa Tessa +3 · arXiv:2608.22652

LLMs are increasingly used for code generation, yet they frequently hallucinate non-existent software packages, creating exploitable entry points into the software supply chain. We make four contributions to this problem. First, we show that prior evaluation methodologies systematically inflate hallucination rates by misclassifying standard-library modules as hallucinations in some languages. For Python, the…

Accepted ASE 2026 Software engineering Artificial intelligence Matched by wording
199

IterCAD: Iterative Program Repair for CAD Code Generation from Orthographic Views

25 Aug · Yuchuan Wu, Ke Niu, Haiyang Yu +3 · arXiv:2608.24020

Generating executable parametric CAD code from dimension-annotated orthographic drawings is a challenging task requiring geometric understanding, procedural reasoning, and precise numerical prediction. Existing vision-language approaches typically formulate this problem as one-shot generation, preventing the model from inspecting intermediate CAD results and correcting early mistakes, often leading to non-executable…

Accepted to the 34th ACM International Conference on Multimedia (ACM MM 2026) Computer vision Artificial intelligence Matched by wording
200

MACGen: Toward Functionally Correct and Secure Code Generation via Multi-Agent Collaboration

26 Aug · Miseon Yu, Jaehoon Choi, Younghan Lee +1 · arXiv:2608.25457

Despite their strong ability to generate code, large language models often fail to produce secure code, as their outputs frequently contain security vulnerabilities. Secure code generation is inherently challenging because it requires solving a multi-objective problem: functional correctness and security. Existing approaches address this challenge by injecting external security knowledge or by using agentic feedback…