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

101

Verifier-First Evaluation of Agentic LLMs for Infrastructure-as-Code Generation

29 May · Mohamed Jouini · arXiv:2607.20478

Infrastructure-as-Code (IaC) generation from natural language requires satisfying provider schemas, dependency planning, and organizational policy constraints, not merely producing syntactically plausible configurations. We present a verifier-first empirical study of seven agentic strategies for Terraform generation evaluated on IaC-Eval v2, a modernized 186-task AWS/Terraform benchmark with Rego v1 intent policies.…

Benchmark dataset available at https://huggingface.co/datasets/iac-eval-v2/iac-eval-v2 Software engineering Artificial intelligence Matched by wording
102

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…

103

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
104

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…

105

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…

106

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
107

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…

108

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
109

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
110

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
111

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
112

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…

113

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
114

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…

115

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
116

FeatLens: Feature-Guided Dependency Retrieval for Repository-Level Code Generation

22 Sept · Xutian Li, Bo Xiong, Yifeng Zhu +4 · arXiv:2609.26480

Retrieving task-relevant code dependencies is critical for repository-level code generation. Existing approaches obtain dependency context through similarity-based retrieval, repository graphs, or LLM-driven exploration. A central challenge is to identify the dispersed dependencies needed to implement a functional requirement, rather than merely retrieve broadly related code. This paper presents FeatLens, a…

under review progress Software engineering Artificial intelligence Matched by wording
117

A Framework for Identifying, Categorizing, and Explaining Bias in AI-Generated Code

25 Sept · Manaal Basha, Aimee M. Ribeiro, Gema Rodriguez-Perez · arXiv:2609.30642

As Large Language Models (LLMs) become integrated into software development workflows, concerns regarding unintentional biases in AI-generated code. Although evidence suggests these biases exist, limited research has systematically identified, categorized, and explained them. This study investigates bias in AI-generated code and evaluates whether LLMs can reliably identify and explain it through a taxonomy-driven…

Under Review at ACM TOSEM Software engineering Artificial intelligence Matched by wording
118

Self-Spec Verifiable Code Generation

30 Sept · Jiaru Qian, Yihong Dong, Yongmin Li +3 · arXiv:2609.39568

Large language models (LLMs) may generate unreliable code on corner cases missed by testing, while formal verification can provide machine-checkable guarantees. Recently, researchers have proposed several benchmarks to evaluate the capabilities of LLMs in generating formally verifiable code, where LLMs need to formulate formal specifications, generate the corresponding code, and verify its correctness. However,…

119

CONTRA: Discovering and Qualifying Behavior-Changing Questions for Selective Clarification in LLM Code Generation

1 Oct · Zheng Fang, Yongmin Li, Yichang Zhang +5 · arXiv:2610.01769

Coding agents can generate code that appears correct but implements behavior the user never intended. This mismatch can arise when an agent silently resolves underspecified requirements through its own assumptions. As subsequent development builds on these assumptions, correcting the resulting behavior can become increasingly costly. Early clarification can help prevent such mismatches, but unnecessary questions can…

Code: https://github.com/fangz-cs/Contra Software engineering Artificial intelligence Matched by wording
120

Improving the Energy-Efficiency of the Code Generated by LLMs through Effective Prompting

1 Oct · Ritika Rekhi, Bing Zhang, Md Arman Islam +7 · arXiv:2610.02571

As AI-assisted programming becomes increasingly mainstream, the environmental impact of AI-generated software has emerged as an important consideration. This motivates evaluating LLM-generated code beyond functional correctness by considering execution efficiency and energy consumption. However, despite substantial advances in code generation, frontier LLMs are rarely evaluated based on the energy efficiency of the…