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

84 results for “code generation”

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

61

Secure Code Generation via Online Reinforcement Learning with Vulnerability Reward Model

7 Feb · Tianyi Wu, Mingzhe Du, Yue Liu +4 · arXiv:2602.07422

Large language models (LLMs) are increasingly used in software development, yet their tendency to generate insecure code remains a major barrier to real-world deployment. Existing secure code alignment methods often suffer from a functionality--security paradox, improving security at the cost of substantial utility degradation. We propose SecCoderX, an online reinforcement learning framework for…

62

AlgoVeri: An Aligned Benchmark for Verified Code Generation on Classical Algorithms

10 Feb · Haoyu Zhao, Ziran Yang, Jiawei Li +6 · arXiv:2602.09464

Vericoding refers to the generation of formally verified code from rigorous specifications. Recent AI models show promise in vericoding, but a unified methodology for cross-paradigm evaluation is lacking. Existing benchmarks test only individual languages/tools (e.g., Dafny, Verus, and Lean) and each covers very different tasks, so the performance numbers are not directly comparable. We address this gap with…

63

Code2World: A GUI World Model via Renderable Code Generation

10 Feb · Yuhao Zheng, Li'an Zhong, Yi Wang +6 · arXiv:2602.09856

Autonomous GUI agents interact with environments by perceiving interfaces and executing actions. As a virtual sandbox, the GUI World model empowers agents with human-like foresight by enabling action-conditioned prediction. However, existing text- and pixel-based approaches struggle to simultaneously achieve high visual fidelity and fine-grained structural controllability. To this end, we propose Code2World, a…

github: https://github.com/AMAP-ML/Code2World project page: https://amap-ml.github.io/Code2World/ Computer vision Artificial intelligence Language & NLP Matched by wording
64

An Online Reference-Free Evaluation Framework for Flowchart Image-to-Code Generation

13 Feb · Giang Son Nguyen, Zi Pong Lim, Sarthak Ketanbhai Modi +2 · arXiv:2602.13376

Vision-Language Models (VLMs) are increasingly used in document processing pipelines to convert flowchart images into structured code (e.g., Mermaid). In production, these systems process arbitrary inputs for which no ground-truth code exists, making output quality difficult to assess. We propose a reference-free evaluation framework that monitors flowchart image-to-code generation quality at inference time, using…

This manuscript was inadvertently made publicly available before all necessary internal review processes had been completed. The authors are withdrawing the manuscript Computer vision Artificial intelligence Language & NLP Matched by wording
65

To See is Not to Master: Teaching LLMs to Use Private Libraries for Code Generation

16 Mar · Yitong Zhang, Chengze Li, Ruize Chen +4 · arXiv:2603.15159

Large Language Models (LLMs) have shown strong potential for code generation, yet they remain limited in private-library-oriented code generation, where the goal is to generate code using APIs from private libraries. Existing approaches mainly rely on retrieving private-library API documentation and injecting relevant knowledge into the context at inference time. However, our study shows that this is insufficient:…

66

IndustryCode: A Benchmark for Industry Code Generation

3 Apr · Puyu Zeng, Zhaoxi Wang, Zhixu Duan +7 · arXiv:2604.02729

Code generation and comprehension by Large Language Models (LLMs) have emerged as core drivers of industrial intelligence and decision optimization, finding widespread application in fields such as finance, automation, and aerospace. Although recent advancements have demonstrated the remarkable potential of LLMs in general code generation, existing benchmarks are mainly confined to single domains and languages.…

67

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…

68

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
69

ACE-TA: An Agentic Teaching Assistant for Grounded Q&A, Quiz Generation, and Code Tutoring

20 Feb · Himanshu Tripathi, Charlottee Crowell, Kaley Newlin +3 · arXiv:2604.09572

We introduce ACE-TA, the Agentic Coding and Explanations Teaching Assistant framework, that autonomously routes conceptual queries drawn from programming course material to grounded Q&A, stepwise coding guidance, and automated quiz generation using pre-trained Large Language Models (LLMs). ACE-TA consists of three coordinated modules: a retrieval grounded conceptual Q&A system that provides precise,…

70

Conditioning LLMs to Generate Code-Switched Text

18 Feb · Maite Heredia, Gorka Labaka, Jeremy Barnes +1 · arXiv:2502.12924

Code-switching (CS) is still a critical challenge in Natural Language Processing (NLP), due to the limited availability of large-scale, diverse CS datasets for robust training and evaluation. Despite recent advances, the capabilities and limitations of LLMs in handling CS are still not fully understood. In this work, we investigate the extent to which LLMs can be used in a framework for CS text generation, focusing…

[v2]Added new experiments and analyses [v3]Added out-of-domain evaluation; Accepted to LREC 2026 Language & NLP Artificial intelligence Matched by wording
71

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
72

Can Large Language Models Understand, Reason About, and Generate Code-Switched Text?

12 Jan · Genta Indra Winata, David Anugraha, Patrick Amadeus Irawan +9 · arXiv:2601.07153

Code-switching is a pervasive phenomenon in multilingual communication, yet the robustness of large language models (LLMs) in mixed-language settings remains insufficiently understood. In this work, we present a comprehensive evaluation of LLM capabilities in understanding, reasoning over, and generating code-switched text. We introduce CodeMixQA a novel benchmark with high-quality human annotations, comprising 16…

73

TeachMaster: Generative Teaching via Code

7 Dec · Yuheng Wang, Runde Yang, Lin Wu +9 · arXiv:2601.04204

The scalability of high-quality online education is hindered by the high costs and slow cycles of manual content creation. Despite advancements in video generation, current approaches often fail to ensure pedagogical structure and precise control due to their pixel-level, black-box nature. In this paper, we propose Generative Teaching, a novel paradigm shifting educators from manual creators to high-level directors…

Accepted to ACL 2026; https://www.teachmaster.cn/ Computers & society Artificial intelligence Language & NLP Matched by wording
74

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
75

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

76

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…

77

cAST: Enhancing Code Retrieval-Augmented Generation with Structural Chunking via Abstract Syntax Tree

18 Jun · Yilin Zhang, Xinran Zhao, Zora Zhiruo Wang +3 · arXiv:2506.15655

Retrieval-Augmented Generation (RAG) has become essential for large-scale code generation, grounding predictions in external code corpora to improve actuality. However, a critical yet underexplored aspect of RAG pipelines is chunking -- the process of dividing documents into retrievable units. Existing line-based chunking heuristics often break semantic structures, splitting functions or merging unrelated code,…

78

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
79

Diffusion is a code repair operator and generator

14 Aug · Mukul Singh, Gust Verbruggen, Vu Le +1 · arXiv:2508.11110

Code diffusion models generate code by iteratively removing noise from the latent representation of a code snippet. During later steps of the diffusion process, when the code snippet has almost converged, differences between discrete representations of these snippets look like last-mile repairs applied to broken or incomplete code. We evaluate the extent to which this resemblance can be exploited to leverage…

80

SchGen: PCB Schematic Generation with Semantic-Grounded Code Representations

28 May · Qinpei Luo, Ruichun Ma, Xinyu Zhang +1 · arXiv:2605.30345

Printed circuit board (PCB) schematic design defines nearly all electronic hardware, but it remains manual and expertise-intensive. While generative AI has advanced digital and analog IC design, PCB schematic generation from natural-language intent is largely unexplored. This paper presents SchGen, the first large language model that generates editable PCB schematics from natural-language requests. The key challenge…