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

141

Micro Operational Robustness of LLMs on Code Generation

21 Nov · Debalina Ghosh Paul, Hong Zhu, Ian Bayley · arXiv:2611.28957

It is now common practice in software development for large language models (LLMs) to be used to generate program code. It is desirable to evaluate the robustness of LLMs for this usage. This paper is concerned in particular with how sensitive LLMs are to variations in descriptions of the coding tasks. However, existing techniques for evaluating this robustness are unsuitable for code generation because the input…

142

From Observation to Explanation: Mechanistic Interpretability of LLM-Generated Code for Principled Repair

19 Nov · Musfiqur Rahman · arXiv:2611.28153

Large language models (LLMs) have transformed software development, yet our understanding of how they generate code remains critically underdeveloped. We address this gap by triangulating evidence across three layers. Longitudinally, autonomous agent-attributed code is statistically indistinguishable from human code under a semantic modification definition (HR = 1.019, p = 0.490), yet attracts disproportionately…

This camera-ready version was accepted at the EASE 2026 doctoral symposium Software engineering Artificial intelligence Matched by wording
143

InteractScience: Programmatic and Visually-Grounded Evaluation of Interactive Scientific Demonstration Code Generation

10 Oct · Qiaosheng Chen, Yang Liu, Lei Li +4 · arXiv:2510.09724

Large Language Models (LLMs) are increasingly capable of generating complete applications from natural language instructions, creating new opportunities in science and education. In these domains, interactive scientific demonstrations are particularly valuable for explaining concepts, supporting new teaching methods, and presenting research findings. Generating such demonstrations requires models to combine accurate…

144

Learning to Guarantee Type Correctness in Code Generation through Type-Guided Program Synthesis

11 Oct · Zhechong Huang, Zhao Zhang, Ruyi Ji +6 · arXiv:2510.10216

Language models have shown remarkable proficiency in code generation; nevertheless, ensuring type correctness remains a challenge. Although traditional methods, such as constrained decoding, alleviate this problem by externally rejecting untypable code, the model itself does not effectively learn type reasoning internally, which ultimately limits its overall performance. This paper introduces TyFlow, a novel system…

145

Understanding and Bridging the Planner-Coder Gap: A Systematic Study on the Robustness of Multi-Agent Systems for Code Generation

12 Oct · Zongyi Lyu, Songqiang Chen, Zhenlan Ji +5 · arXiv:2510.10460

Multi-agent systems (MASs) have emerged as a promising paradigm for automated code generation, demonstrating impressive performance on established benchmarks. Despite their prosperous development, the fundamental mechanisms underlying their robustness remain poorly understood, raising critical concerns for real-world deployment. This paper conducts a systematic empirical study to uncover the internal robustness…

146

A Stochastic Differential Equation Framework for Multi-Objective LLM Interactions: Dynamical Systems Analysis with Code Generation Applications

12 Oct · Shivani Shukla, Himanshu Joshi · arXiv:2510.10739

We introduce a general stochastic differential equation framework for modelling multiobjective optimization dynamics in iterative Large Language Model (LLM) interactions. Our framework captures the inherent stochasticity of LLM responses through explicit diffusion terms and reveals systematic interference patterns between competing objectives via an interference matrix formulation. We validate our theoretical…

Peer-reviewed and accepted to the 39th Conference on Neural Information Processing Systems (NeurIPS 2025) DynaFront 2025 Workshop (https://sites.google.com/view/dynafrontneurips25) Machine learning Artificial intelligence Software engineering Matched by wording
147

ContractEval: A Benchmark for Evaluating Contract-Satisfying Assertions in Code Generation

14 Oct · Soohan Lim, Joonghyuk Hahn, Hyunwoo Park +2 · arXiv:2510.12047

Current code generation evaluation measures functional correctness on well-formed inputs that satisfy all input preconditions. This paradigm has a critical limitation: task descriptions often leave these preconditions implicit, while evaluation filters out inputs that violate them. As a result, generated code may achieve high pass@k scores while failing to enforce the preconditions that the task actually requires.…

148

Benchmarking Correctness and Security in Multi-Turn Code Generation

13 Oct · Ruchit Rawal, Jeffrey Yang Fan Chiang, Chihao Shen +4 · arXiv:2510.13859

AI coding assistants powered by large language models (LLMs) have transformed software development, significantly boosting productivity. While existing benchmarks evaluate the correctness and security of LLM-generated code, they are typically limited to single-turn tasks that do not reflect the iterative nature of real-world development. We introduce MT-Sec, the first benchmark to systematically evaluate both…

149

CodeRL+: Improving Code Generation via Reinforcement with Execution Semantics Alignment

21 Oct · Xue Jiang, Yihong Dong, Mengyang Liu +9 · arXiv:2510.18471

While Large Language Models (LLMs) excel at code generation by learning from vast code corpora, a fundamental semantic gap remains between their training on textual patterns and the goal of functional correctness, which is governed by formal execution semantics. Reinforcement Learning with Verifiable Rewards (RLVR) approaches attempt to bridge this gap using outcome rewards from executing test cases. However, solely…

150

CodeCRDT: Observation-Driven Coordination for Multi-Agent LLM Code Generation

18 Oct · Sergey Pugachev · arXiv:2510.18893

Multi-agent LLM systems fail to realize parallel speedups due to costly coordination. We present CodeCRDT, an observation-driven coordination pattern where agents coordinate by monitoring a shared state with observable updates and deterministic convergence, rather than explicit message passing. Using Conflict-Free Replicated Data Types (CRDTs), CodeCRDT enables lock-free, conflict-free concurrent code generation…

151

CosmoCore Affective Dream-Replay Reinforcement Learning for Code Generation

20 Oct · Santhosh Kumar Ravindran · arXiv:2510.18895

We introduce CosmoCore, a neuroscience-inspired reinforcement learning (RL) architecture that integrates affective signals to enhance code generation in large language models (LLMs). Motivated by human and animal learning where embarrassment from mistakes drives rapid correction, as observed in training a puppy to avoid repeating errors after a single scolding CosmoCore tags code generation trajectories with valence…

152

Lifecycle-Aware code generation: Leveraging Software Engineering Phases in LLMs

28 Oct · Xing Xing, Wei Wang, Lipeng Ma +2 · arXiv:2510.24019

Recent progress in large language models (LLMs) has advanced automatic code generation, yet most approaches rely on direct, single-step translation from problem descriptions to code, disregarding structured software engineering practices. We introduce a lifecycle-aware framework that systematically incorporates intermediate artifacts such as requirements analysis, state machine modeling, and pseudocode into both the…

153

Beyond Synthetic Benchmarks: Evaluating LLM Performance on Real-World Class-Level Code Generation

30 Oct · Musfiqur Rahman, SayedHassan Khatoonabadi, Emad Shihab · arXiv:2510.26130

Large language models (LLMs) have advanced rapidly from well-studied function-level code generation to emerging repository-level approaches, yet this progression reveals a critical gap: class-level code generation, which is the fundamental building block connecting individual functions to complete repositories, remains systematically underexplored. Understanding class-level capabilities is a prerequisite to…

Pre-print of the accepted version Software engineering Artificial intelligence Machine learning Matched by wording
154

SELF-REDRAFT: Eliciting Intrinsic Exploration-Exploitation Balance in Test-Time Scaling for Code Generation

31 Oct · Yixiang Chen, Tianshi Zheng, Shijue Huang +2 · arXiv:2511.02854

Test-time scaling without interpreter feedback is essential for real-world code generation scenarios where test cases are not readily available. While existing paradigms often rely on either greedy exploitation (i.e., iterative refinement) or stochastic exploration (i.e., relying on sample-based voting or reranking mechanisms), the balance between these two dimensions remains underexplored. To investigate the LLM's…

155

Secure Code Generation at Scale with Reflexion

5 Nov · Arup Datta, Ahmed Aljohani, Hyunsook Do · arXiv:2511.03898

Large language models (LLMs) are now widely used to draft and refactor code, but code that works is not necessarily secure. We evaluate secure code generation using the Instruct Prime, which eliminated compliance-required prompts and cue contamination, and evaluate five instruction-tuned code LLMs using a zero-shot baseline and a three-round reflexion prompting approach. Security is measured using the Insecure Code…

Accepted for publication at the 2nd IEEE International Conference on AI-powered Software (AIware 2025) Cryptography & security Artificial intelligence cs.CE Matched by wording
156

Software Defined Vehicle Code Generation: A Few-Shot Prompting Approach

6 Nov · Quang-Dung Nguyen, Tri-Dung Tran, Thanh-Hieu Chu +3 · arXiv:2511.04849

The emergence of Software-Defined Vehicles (SDVs) marks a paradigm shift in the automotive industry, where software now plays a pivotal role in defining vehicle functionality, enabling rapid innovation of modern vehicles. Developing SDV-specific applications demands advanced tools to streamline code generation and improve development efficiency. In recent years, general-purpose large language models (LLMs) have…

157

WebVIA: A Web-based Vision-Language Agentic Framework for Interactive and Verifiable UI-to-Code Generation

9 Nov · Mingde Xu, Zhen Yang, Wenyi Hong +6 · arXiv:2511.06251

User interface (UI) development requires translating design mockups into functional code, a process that remains repetitive and labor-intensive. While recent Vision-Language Models (VLMs) automate UI-to-Code generation, they generate only static HTML/CSS/JavaScript layouts lacking interactivity. To address this, we propose WebVIA, the first agentic framework for interactive UI-to-Code generation and validation. The…

158

Dynamic Stability of LLM-Generated Code

7 Nov · Prateek Rajput, Abdoul Aziz Bonkoungou, Yewei Song +4 · arXiv:2511.07463

Current evaluations of LLMs for code generation emphasize functional correctness, overlooking the fact that functionally correct solutions can differ significantly in algorithmic complexity. For instance, an $(O(n^2))$ versus $(O(n \log n))$ sorting algorithm may yield similar output but incur vastly different performance costs in production. This discrepancy reveals a critical limitation in current evaluation…

159

SemanticForge: Repository-Level Code Generation through Semantic Knowledge Graphs and Constraint Satisfaction

10 Nov · Wuyang Zhang, Chenkai Zhang, Zhen Luo +4 · arXiv:2511.07584

Large language models (LLMs) have transformed software development by enabling automated code generation, yet they frequently suffer from systematic errors that limit practical deployment. We identify two critical failure modes: \textit{logical hallucination} (incorrect control/data-flow reasoning) and \textit{schematic hallucination} (type mismatches, signature violations, and architectural inconsistencies). These…

160

Vendor-Aware Industrial Agents: RAG-Enhanced LLMs for Secure On-Premise PLC Code Generation

12 Nov · Joschka Kersting, Michael Rummel, Gesa Benndorf · arXiv:2511.09122

Programmable Logic Controllers are operated by proprietary code dialects; this makes it challenging to train coding assistants. Current LLMs are trained on large code datasets and are capable of writing IEC 61131-3 compatible code out of the box, but they neither know specific function blocks, nor related project code. Moreover, companies like Mitsubishi Electric and their customers do not trust cloud providers.…