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

241

The Substrate Collapse: AI Code Generation Invalidates Authorship-Based Knowledge Metrics

18 Jun · Brett Wheeler · arXiv:2606.20882

Software engineering has long inferred where a system's knowledge resides from who authored its code. The truck factor, the Degree-of-Authorship metric, and the degree-of-knowledge model all rest on one inference -- that authoring a region of code is evidence of understanding it -- and for most of software's history it was a workable proxy, because code entered a repository only when a human wrote it, which forced…

no figures. Position paper; states a falsifiable prediction and deliberately leaves construction of the comprehension-grounded instrument open Software engineering Artificial intelligence Matched by wording
242

Text2DSL: LLM-Based Code Generation for Domain-Specific Languages

21 Jun · Alexander V. Kozachok, Alexander M. Nazimov, Shamil G. Magomedov · arXiv:2606.22586

Domain-specific languages (DSLs) are widely used for managing operating system security policies, yet manually authoring rules in such languages demands high expertise and is error-prone. This paper formalises the task of automatic DSL code generation from natural language descriptions - Text2DSL - as a distinct problem class, separate from Text-to-SQL and general-purpose code generation. We introduce the…

Accepted at KES 2026 (Knowledge-Based Intelligent Information and Engineering Systems), Procedia Computer Science, Elsevier Artificial intelligence Software engineering Matched by wording
243

LibEvoBench: Probing Temporal Knowledge Stratification in Code Generation Models

24 Jun · Daniele Cipollone, Sergey Titov, Maliheh Izadi +2 · arXiv:2606.25402

Large software projects often depend on older versions of libraries, even as APIs continue to evolve across releases. This creates a challenge for LLMs: they must maintain knowledge of multiple API versions, not merely the latest or most common one. However, current LLMs are trained on temporally mixed corpora and lack explicit mechanisms for such version-specific reasoning, leading to anachronistic errors - calling…

Accepted at NeurIPS 2026, Evaluations and Datasets Track Software engineering Artificial intelligence Matched by wording
244

Citation Discipline in Spec-Driven Development: A Cross-Model Empirical Study of Output Determinism and Automated Hallucination Detection in LLM-Generated Code

28 Jun · Subham Panda · arXiv:2606.30689

Spec-Driven Development (SDD) frameworks guide Large Language Model (LLM)-powered code generation through formal specifications, yet they differ fundamentally in how they enforce traceability between requirements and generated code. This paper presents two controlled empirical studies comparing three SDD frameworks: $traceSDD$, which enforces mandatory per-line requirement citations using hierarchical REQ-XXX.Y.Z…

245

AlgoBench: Benchmarking Algorithmic Adaptation in Code Generation

30 Jun · Xinyuan Song, Zekun Cai, Liang Zhao · arXiv:2607.00062

High pass rates on established programming benchmarks such as HumanEval and LiveCodeBench do not always show whether a model can reason about algorithms. Many fixed benchmarks eventually become part of the public training ecosystem through released problem statements, editorials, and generated solutions, allowing later models to improve partly by exposure rather than by stronger algorithmic ability. We introduce…

246

Grammar-Constrained Decoding Can Jailbreak LLMs into Generating Malicious Code

10 Jun · Yitong Zhang, Shiteng Lu, Jia Li · arXiv:2606.11817

Large Language Models (LLMs) are increasingly used for code generation, raising concerns that they may be misused to produce malicious code. Meanwhile, Grammar-Constrained Decoding (GCD) has been widely adopted to improve the reliability of LLM-generated code by enforcing syntactic validity. In this paper, we reveal a counterintuitive risk: this reliability-oriented technique can itself become an attack surface. We…

Directly Accepted by ICSE 2027 Cryptography & security Artificial intelligence Language & NLP Matched by wording
247

Tool-Guided Retrieval-Augmented Repair for Securing LLM-Generated C Code

21 Jul · Vidyut Sriram, Saatvik Pradhan, Suman Saha · arXiv:2607.21641

Large language models can generate C code from natural-language descriptions, but resulting programs often contain security vulnerabilities and compilation errors, posing risks for embedded and resource-constrained systems. This work investigates how feedback and retrieval improve reliability of LLM-generated C code. We present an analysis-and-repair workflow that combines compilation diagnostics, CodeQL static…

248

Learning to Generate Secure Code via Token-Level Rewards

26 Feb · Jiazheng Quan, Xiaodong Li, Bin Wang +5 · arXiv:2602.23407

Large language models (LLMs) have demonstrated strong capabilities in code generation, yet they remain prone to producing security vulnerabilities. Existing approaches commonly suffer from two key limitations: the scarcity of high-quality security data and coarse-grained reinforcement learning reward signals. To address these challenges, we propose Vul2Safe, a new secure code generation framework that leverages LLM…

249

LLM-Based Code Documentation Generation and Multi-Judge Evaluation

11 May · Ikbel Ghrab, Mohamed Dhieb, Ismail Khenissi +1 · arXiv:2606.09852

High-quality source code documentation is vital yet often neglected, especially in critical domains like healthcare where reliability and maintainability are essential. We presented an AI powered framework that automates documentation generation from code and repositories using eight state of the art Large Language Models (LLMs), including GPT, Gemini, Qwen, and LLaMA variants. Built on the PocketFlow orchestration…

ICAHS, \c{opyright} 2025 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works Human-computer interaction Artificial intelligence Language & NLP Matched by wording
250

Automated Root-Cause Subclassification and No-Code Fix Generation for Invalid Bug Reports

17 May · Mahmut Furkan Gon, Emre Dinc, Tevfik Emre Sungur +1 · arXiv:2605.17561

Issues faced when using software are reported in the form of bug reports. However, many bug reports are invalid, meaning they do not require code changes, and are resolved with a no-code fix. Manually determining the root cause of the invalid bug reports and providing actionable resolutions by the customer support causes a serious waste of resources. Our goal is to introduce a standardized taxonomy for root-cause…

Submitted to IEEE Transactions on Software Engineering (TSE) and currently under review Software engineering Artificial intelligence Multi-agent systems Matched by wording
251

You Don't Need Public Tests to Generate Correct Code

23 Apr · Kaushitha Silva, Srinath Perera · arXiv:2604.21598

Multi-agent systems are frequently employed for autonomous code generation, demonstrating strong utility in complex algorithmic problem-solving. Recent studies tackle the difficulty of producing functionally correct programs by leveraging simulation-guided planning and debugging, wherein language models step through execution traces to validate logic. Nevertheless, these methods rely heavily on human-authored public…

252

Real Package, Wrong Controller: Static Auditing of Vendor--Protocol Mismatches in LLM-Generated PLC Code

24 Nov · S M Zia Ur Rashid, Sazidul Islam Hira, Suman Rath · arXiv:2611.33227

Language models can generate Python that drives industrial protocols on programmable logic controllers, yet existing code-grounding checks ask whether an imported package or symbol exists rather than whether it suits the declared industrial target. We define \emph{metadata-conditioned, import-level vendor--protocol incompatibility} and build \textsc{Proteus-OT}, a label-free static verifier over a version-pinned…

253

Klear-CodeTest: Scalable Test Case Generation for Code Reinforcement Learning

7 Aug · Jia Fu, Xinyu Yang, Hongzhi Zhang +5 · arXiv:2508.05710

Precise, correct feedback is crucial for effectively training large language models (LLMs) in code reinforcement learning. However, synthesizing high-quality test cases remains a profoundly challenging and unsolved problem. In this work, we present Klear-CodeTest, a comprehensive test case synthesis framework featuring rigorous verification to ensure quality and reliability of test cases. Our approach achieves broad…

254

Benchmarking API Drift in LLM-Generated Quantum Code Across Successive SDK Versions

5 Jul · Mohammad Arif Rasyidi, Syahirul Faiz · arXiv:2607.04072

Large language models can generate plausible quantum code, but it is unclear whether they can reliably target the specific software development kit (SDK) version requested by the user. We study this problem as API drift and introduce quantum-api-drift, a benchmark for measuring version fidelity, defined here as execution success on the requested SDK version, cross-version compatibility, failure modes, and…

255

Lean Census: A Distributional Analysis of AI-Generated Lean Code

21 Nov · Justin Asher, Pietro Pellegrino · arXiv:2611.28430

We compare two human-written and four AI-generated Lean libraries with Mathlib through the distributions of simple statistics of their code. For each library we measure inline claims in proofs, proof length, how often each declaration is used, and design choices such as instances and private declarations, and we read each against the variation among Mathlib's own areas. The AI-generated libraries have more inline…

Code at https://github.com/project-numina/lean-census Machine learning Artificial intelligence Logic Matched by wording
256

Your Simulation Runs but Solves the Wrong Physics: PDE-Grounded Intent Verification for LLM-Generated Multiphysics Simulation Code

10 May · Zhenghan Song, Yulong Liu, Cheng Wan +4 · arXiv:2605.09360

Execution-based evaluation of LLM-generated code implicitly treats successful execution as a proxy for correctness. In scientific simulation, this proxy is insufficient: a generated input file can run, mesh, and converge while encoding governing equations that differ from the user's intent. We call this mismatch between intended physics and generated code the comprehension-generation gap. We instantiate this in…

257

AutoVerus: Automated Proof Generation for Rust Code

19 Sept · Chenyuan Yang, Xuheng Li, Md Rakib Hossain Misu +9 · arXiv:2409.13082

Generative AI has shown its values for many software engineering tasks. Still in its infancy, large language model (LLM)-based proof generation lags behind LLM-based code generation. In this paper, we present AutoVerus. AutoVerus uses LLMs to automatically generate correctness proof for Rust code. AutoVerus is designed to match the unique features of Verus, a verification tool that can prove the correctness of Rust…

258

Uncovering Intention through LLM-Driven Code Snippet Description Generation

18 Jun · Yusuf Sulistyo Nugroho, Farah Danisha Salam, Brittany Reid +3 · arXiv:2506.15453

Documenting code snippets is essential to pinpoint key areas where both developers and users should pay attention. Examples include usage examples and other Application Programming Interfaces (APIs), which are especially important for third-party libraries. With the rise of Large Language Models (LLMs), the key goal is to investigate the kinds of description developers commonly use and evaluate how well an LLM, in…

conference paper Software engineering Artificial intelligence Matched by wording
259

Code2LoRA: Hypernetwork-Generated Adapters for Code Language Models under Software Evolution

4 Jun · Liliana Hotsko, Yinxi Li, Yuntian Deng +1 · arXiv:2606.06492

Code language models need repository-level context to resolve imports, APIs, and project conventions. Existing methods inject this knowledge as long inputs (retrieved through RAG or dependency analysis) or through per-repository fine-tuning and LoRA---costly at repository scale and brittle to evolving codebases. We introduce Code2LoRA, a hypernetwork framework that generates repository-specific LoRA adapters,…

260

How Generation Architecture Shapes Code Complexity in Multi-Agent LLM Systems: A Paired Study on HumanEval

29 May · Nazmus Ashrafi · arXiv:2606.00308

Large-language-model code generation has shifted from single-shot prompting to multi-agent orchestrations - analyst, coder, tester, and debugger pipelines - and is evaluated almost exclusively on functional correctness. Whether these architectures also affect the structural complexity of the code they produce, and which orchestration layers carry the cost, remains largely unexamined: prior work has documented…