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

91 results for “code generation”

Matched on wording only, meaning-matching is unavailable right now

61

COBALT: Contextual Bandit Learning with Offline Trajectories for Multi-Turn Code Generation

3 Feb · Ziru Chen, Dongdong Chen, Ruinan Jin +3 · arXiv:2602.03806

Training large language models (LLMs) for multi-turn code generation typically relies on online reinforcement learning (RL), in which models learn from repeatedly generated online rollouts. Although effective, online RL can be costly and unstable. In this paper, we present contextual bandit learning with offline trajectories (COBALT), a simple method that reuses offline multi-turn trajectories to efficiently train…

62

A Theoretical Analysis of Test-Driven Code Generation

5 Feb · Nicolas Menet, Michael Hersche, Andreas Krause +1 · arXiv:2602.06098

Code assistants are increasingly utilized in test-driven software development, yet the theoretical mechanisms behind their environment-interaction strategies remain underexplored. We provide a probabilistic framework for two dominant paradigms: code selection after generation using the execution environment, and code generation conditioned on environment feedback. First, we formalize several well-established…

Accepted at NeurIPS 2026 as a spotlight paper Software engineering Artificial intelligence Machine learning Matched by wording
63

Surprisal-Guided Selection: Compute-Optimal Test-Time Strategies for Execution-Grounded Code Generation

7 Feb · Jarrod Barnes · arXiv:2602.07670

Test-time training (TTT) adapts language models through gradient-based updates at inference. But is adaptation the right strategy? We study compute-optimal test-time strategies for verifiable execution-grounded (VEG) tasks, domains like GPU kernel optimization where a deterministic evaluator provides dense, continuous reward signals. Using KernelBench as our testbed and a 120B-parameter model (GPT-OSS-120B with LoRA…

Preprint. Code: https://github.com/jbarnes850/test-time-training Machine learning Artificial intelligence Matched by wording
64

Operational Robustness of LLMs on Code Generation

21 Feb · Debalina Ghosh Paul, Hong Zhu, Ian Bayley · arXiv:2602.18800

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…

65

From Stochastic Answers to Verifiable Reasoning: Interpretable Decision-Making with LLM-Generated Code

28 Feb · Anirudh Jaidev Mahesh, Ben Griffin, Fuat Alican +8 · arXiv:2603.13287

Large language models (LLMs) are increasingly used for high-stakes decision-making, yet existing approaches struggle to reconcile scalability, interpretability, and reproducibility. Black-box models obscure their reasoning, while recent LLM-based rule systems rely on per-sample evaluation, causing costs to scale with dataset size and introducing stochastic, hallucination-prone outputs. We propose reframing LLMs as…

66

EffiPair: Improving the Efficiency of LLM-generated Code with Differential Execution Feedback

6 Apr · Samira Hajizadeh, Suman Jana · arXiv:2604.05137

Large language models (LLMs) can generate functionally correct programs that differ substantially in execution efficiency. Existing inference-time optimization methods typically refine each candidate using pointwise runtime or profiling feedback, which identifies how costly an implementation is or where the cost arises, but offers limited guidance on how the computation should change. We introduce DIFFERENTIAL…

67

Generative Visual Code Mobile World Models

2 Feb · Woosung Koh, Sungjun Han, Segyu Lee +2 · arXiv:2602.01576

Mobile Graphical User Interface (GUI) World Models (WMs) offer a promising path for improving mobile GUI agent performance at train- and inference-time. However, current approaches face a critical trade-off: text-based WMs sacrifice visual fidelity, while the inability of visual WMs in precise text rendering led to their reliance on slow, complex pipelines dependent on numerous external models. We propose a novel…

68

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…

69

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
70

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
71

Personalized Worked Example Generation from Student Code Submissions Using Pattern-based Knowledge Components

27 Apr · Griffin Pitts, Muntasir Hoq, Peter Brusilovsky +4 · arXiv:2604.24758

Adaptive programming practice often relies on fixed libraries of worked examples and practice problems, which require substantial authoring effort and may not correspond well to the logical errors and partial solutions students produce while writing code. As a result, students may receive learning content that does not directly address the concepts they are working to understand, while instructors must either invest…

Accepted to the Thirteenth ACM Conference on Learning @ Scale (L@S 2026) Human-computer interaction Artificial intelligence Computers & society Matched by wording
72

Fine-Tune an SLM or Prompt an LLM? The Case of Generating Low-Code Workflows

30 May · Orlando Marquez Ayala, Patrice Bechard, Emily Chen +2 · arXiv:2505.24189

Large Language Models (LLMs) such as GPT-4o can handle a wide range of complex tasks with the right prompt. As per token costs are reduced, the advantages of fine-tuning Small Language Models (SLMs) for real-world applications -- faster inference, lower costs -- may no longer be clear. In this work, we present evidence that, for domain-specific tasks that require structured outputs, SLMs still have a quality…

Accepted to Workshop on Structured Knowledge for Large Language Models (SKnowLLM) at KDD 2025 Machine learning Artificial intelligence Language & NLP Matched by wording
73

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…

74

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…

75

Code-Space Response Oracles: Generating Interpretable Multi-Agent Policies with Large Language Models

10 Mar · Daniel Hennes, Zun Li, John Schultz +1 · arXiv:2603.10098

Recent advances in multi-agent reinforcement learning, particularly Policy-Space Response Oracles (PSRO), have enabled the computation of approximate game-theoretic equilibria in increasingly complex domains. However, these methods rely on deep reinforcement learning oracles that produce `black-box' neural network policies, making them difficult to interpret, trust or debug. We introduce Code-Space Response Oracles…

Accepted as an Extended Abstract at the Twenty-Fifth International Conference on Autonomous Agents and Multiagent Systems (AAMAS) Game theory Artificial intelligence Machine learning Matched by wording
76

scicode-lint: Detecting Methodology Bugs in Scientific Python Code with LLM-Generated Patterns

18 Mar · Sergey V. Samsonau · arXiv:2603.17893

Methodology bugs in scientific Python code produce plausible but incorrect results that traditional linters and static analysis tools cannot detect. Several research groups have built ML-specific linters, demonstrating that detection is feasible. Yet these tools share a sustainability problem: dependency on specific pylint or Python versions, limited packaging, and reliance on manual engineering for every new…

77

DuoLens: A Framework for Robust Detection of Machine-Generated Multilingual Text and Code

21 Oct · Shriyansh Agrawal, Aidan Lau, Sanyam Shah +4 · arXiv:2510.18904

The prevalence of Large Language Models (LLMs) for generating multilingual text and source code has only increased the imperative for machine-generated content detectors to be accurate and efficient across domains. Current detectors, predominantly utilizing zero-shot methods, such as Fast DetectGPT or GPTZero, either incur high computational cost or lack sufficient accuracy, often with a trade-off between the two,…

Accepted to 39th Conference on Neural Information Processing Systems (NeurIPS 2025): 4th Workshop on Deep Learning for Code Language & NLP Artificial intelligence Information retrieval Matched by wording
78

An Initial Exploration of Contrastive Prompt Tuning to Generate Energy-Efficient Code

3 Mar · Sophie Weidmann, Fernando Castor · arXiv:2604.02352

Although LLMs are capable of generating functionally correct code, they also tend to produce less energy-efficient code in comparison to human-written solutions. As these inefficiencies lead to higher computational overhead, they are in direct conflict with Green Software Development (GSD) efforts, which aim to reduce the energy consumption of code. To support these efforts, this study aims to investigate whether…

Published at the Third International Workshop on Large Language Models for Code (LLM4Code 2026) Machine learning Artificial intelligence Software engineering Matched by wording
79

Enhancing LLM-Based Test Generation by Eliminating Covered Code

25 Feb · WeiZhe Xu, Mengyu Liu, Fanxin Kong · arXiv:2602.21997

Automated test generation is essential for software quality assurance, with coverage rate serving as a key metric to ensure thorough testing. Recent advancements in Large Language Models (LLMs) have shown promise in improving test generation, particularly in achieving higher coverage. However, while existing LLM-based test generation solutions perform well on small, isolated code snippets, they struggle when applied…

supplementary material included Software engineering Artificial intelligence Machine learning Matched by wording
80

CodeTaste: Can LLMs Generate Human-Level Code Refactorings?

4 Mar · Alex Thillen, Niels Mündler, Veselin Raychev +1 · arXiv:2603.04177

LLM coding agents can generate working code, but their solutions often accumulate complexity, duplication, and architectural debt. Human developers address such issues through refactoring: behavior-preserving program transformations that improve structure and maintainability. We investigate whether agents (i) can execute refactorings reliably and (ii) identify the refactorings that human developers actually chose in…