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

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
182

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
183

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…

184

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
185

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
186

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
187

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…

188

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
189

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
190

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…

191

Information-Gain Rewards over Diversity-Pruned Tests: GT-Anchored Verifier Co-Training for Reliable Code Generation

18 Sept · Ana Nunez, Peyman Najafirad · arXiv:2609.21208

Self-play methods that co-train a single language model as both coder and test author promise to move code-generation RL beyond fixed test suites, but they suffer from two coupled pathologies: permissiveness collapse, where pass-rate rewards are maximised by trivial, non-discriminative tests, and concentration bias, where i.i.d. sampled tests cluster on modal inputs and inflate estimator variance. We introduce CoVer…

Artificial intelligence Matched by wording
192

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
193

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
194

Reinforcement Learning from Intermediate Renders for Image-to-Code Generation

28 Sept · Omri Kaduri, Kate Feingold, Phillip Isola +1 · arXiv:2609.34587

Reinforcement learning is increasingly used to post-train vision-language models for image-to-code generation, such as generating SVG code from a reference image, by optimizing rewards computed from the final rendered output. However, relying on a single terminal reward provides sparse feedback that is poorly aligned with the contribution of individual tokens. A generated program may contain operations that…

Project page: https://ir4rl.github.io/ Computer vision Artificial intelligence Matched by wording
195

JevVibe: Efficient Classification-Guided Secure Code Generation

28 Sept · Arshak Rezvani, Sasha Behrouzi, Ahmad-Reza Sadeghi · arXiv:2609.34963

Large language models can generate functionally correct code that still contains security weaknesses, motivating repair pipelines that first diagnose a weakness type before deciding how to fix it. The Common Weakness Enumeration (CWE) provides a standardized vocabulary for such diagnoses, but asking an autoregressive language model to generate a CWE label and extracting it from the response raises questions about…

196

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,…

197

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
198

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…

199

WebUIProof: Benchmarking WebUI Code Generators with UI-Agent Execution Harness

2 Oct · Yun-Yun Tsai, Yuning Mao, Shiqi Wang +2 · arXiv:2610.02617

Evaluating WebUI code generation at scale is difficult: outputs may compile and look plausible yet fail under user interaction, and prior benchmarks largely rely on free-form prompts with static checks (build success, screenshots) that miss functional correctness. We introduce WebUIProof, an execution-oriented benchmark that provides structured specifications and dense, executable interaction tests for WebUI…

200

hacktrace: behavior-supervised detection of reward hacking during code generation

2 Oct · Hao Jiang, Xin Li, Annan Wang +2 · arXiv:2610.03055

A coding agent can earn a passing grade by fixing its code, or by deleting the test that exposes the bug. Detecting such reward hacking requires recognizing attempted shortcuts, including those that fail. We release 173,561 annotated multi-turn coding trajectories from Qwen3-8B and show that supervising shortcut behavior independently of exploit success substantially improves detection. We introduce HACKTRACE, a…

Artificial intelligence Matched by wording