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

40 results for “code structure”

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

1

Co-Located Tests, Better AI Code: How Test Syntax Structure Affects Foundation Model Code Generation

20 Apr · Éric Jacopin · arXiv:2604.19826

AI coding assistants increasingly generate code alongside tests. How developers structure test code, whether inline with the implementation or in separate blocks, has traditionally been a matter of testing philosophy. We investigate whether this choice affects AI code generation quality. We conduct a large-scale empirical study (830+ generated files, 12 models, 3 providers) using SEGA, a three-dimensional evaluation…

Preprint; arXiv long version of a paper accepted at AIware 2026. Adds Appendices A (cross-language) and B (Python isolation) not present in the ACM camera-ready Software engineering Artificial intelligence Machine learning Matched by wording
2

Code Isn't Memory: A Structural Codebase Index Inside a Coding Agent

21 Jun · Ishaan Bhola, Adithyan Krishnan, Sravanth Kurmala +1 · arXiv:2606.22417

Coding agents now interleave LLMs with retrieval over the working repository, and retrieval implementations vary widely across deployed harnesses. Inside a fixed coding-agent harness on a fixed model, does adding a structural codebase index actually change cost or resolve? We ran three arms (the harness with the index, the same harness without it, and an agentic-grep comparator) on SWE-PolyBench Verified and…

Code and data: https://github.com/TransformerOptimus/supercoder-eval Artificial intelligence Matched by wording
3

Post-Incorporating Code Structural Knowledge into Pretrained Models via ICL for Code Translation

28 Mar · Yali Du, Hui Sun, Ming Li · arXiv:2503.22776

Code translation migrates codebases across programming languages. Recently, large language models (LLMs) have achieved significant advancements in software mining. However, handling the syntactic structure of source code remains a challenge. Classic syntax-aware methods depend on intricate model architectures and loss functions, rendering their integration into LLM training resource-intensive. This paper employs…

IEEE Transactions on Software Engineering Software engineering Artificial intelligence Matched by wording
4

Tree-of-Code: A Tree-Structured Exploring Framework for End-to-End Code Generation and Execution in Complex Task Handling

19 Dec · Ziyi Ni, Yifan Li, Ning Yang +3 · arXiv:2412.15305

Solving complex reasoning tasks is a key real-world application of agents. Thanks to the pretraining of Large Language Models (LLMs) on code data, recent approaches like CodeAct successfully use code as LLM agents' action, achieving good results. However, CodeAct greedily generates the next action's code block by relying on fragmented thoughts, resulting in inconsistency and instability. Moreover, CodeAct lacks…

This idea was first submitted to the NeuralPS Workshop "System 2 Reasoning At Scale" in September 2024. Its OpenReview: https://openreview.net/forum?id=8NKAL8Ngxk&noteId=8NKAL8Ngxk. It was then submitted to the NAACL 2025 in October 2024, which is recorded in: https://openreview.net/forum?id=S0ZUWD3Vy5&noteId=S0ZUWD3Vy5. Now this paper has been accepted for publication in ACL 2025 Findings Software engineering Artificial intelligence Matched by wording
5

CodeMimicry: Exploiting Safety Generalization Lag in Large Language Models via Structured Code Completion

30 Sept · Zhen Liang, Hai Huang, Wentao Chen · arXiv:2609.39902

Large language models have achieved remarkable capabilities across diverse domains, yet their safety alignment remains vulnerable to jailbreak attacks. In this work, we identify a previously underexplored failure mode - safety generalization lag - where alignment trained predominantly on natural language fails to transfer to the code domain. We show that this lag induces a code-completion blind spot, allowing…

This paper will be accepted at NeurIPS 2026 Cryptography & security Artificial intelligence Matched by wording
6

The body is not there to compute: Comment on "Informational embodiment: Computational role of information structure in codes and robots" by Pitti et al

28 Dec · Matej Hoffmann · arXiv:2512.22868

Applying the lens of computation and information has been instrumental in driving the technological progress of our civilization as well as in empowering our understanding of the world around us. The digital computer was and for many still is the leading metaphor for how our mind operates. Information theory (IT) has also been important in our understanding of how nervous systems encode and process information. The…

Comment on Pitti, A., Austin, M., Nakajima, K., & Kuniyoshi, Y. (2025). Informational Embodiment: Computational role of information structure in codes and robots. Physics of Life Reviews 53, 262-276. https://doi.org/10.1016/j.plrev.2025.03.018. Also available as arXiv:2408.12950 Robotics Artificial intelligence Neurons & cognition Matched by wording
7

Wrong Code, Right Structure: Learning Netlist Representations from Imperfect LLM-Generated RTL

10 Mar · Siyang Cai, Cangyuan Li, Haoyu Gao +3 · arXiv:2603.09161

Learning effective netlist representations is fundamentally constrained by the scarcity of labeled datasets, as real designs are protected by Intellectual Property (IP) and costly to annotate. Existing work therefore focuses on small-scale circuits with clean labels, limiting scalability to realistic designs. Meanwhile, Large Language Models (LLMs) can generate Register-Transfer-Level (RTL) at scale, but their…

8

Enhancing LLM Medical Coding with Structured External Knowledge

9 Apr · Yidong Gan, David D. Nguyen, Yang Lin +4 · arXiv:2605.27377

Accurate medical coding requires consulting authoritative resources such as the ICD tabular list and coding guidelines. Existing LLM-based automated methods largely rely on LLMs' internal knowledge, which is prone to hallucination and cannot keep pace with guideline updates. We introduce RAG-Coding, an agentic, training-free method that augments LLMs with structured external knowledge: the tabular list is encoded as…

9

Skeleton Coding: Program Structure as Control for AI Agents

28 Oct · Aditya Golatkar, Alessandro Achille, Renos Zabounidis +9 · arXiv:2610.38214

Coding agents are typically provided end-to-end behavioral specifications that the code they produce should satisfy, such as tests and input-output examples. How many such specifications must users provide, and which ones, for the agent to implement a program that fulfills their intent? We argue that this cannot be determined a priori, because it depends on the structure of the implementation, which is left to the…

10

Verication-driven closed-loop multi-agent large language modelframework for code-compliant structural design

8 Aug · Jianbin Luo, Weibin Lin, Yiran Lin +2 · arXiv:2608.07978

Multi-agent large language model(LLM)systems are applied to structural design,yet most use one-shot generation and cannot verify their output,leaving themill-suited to safety-critical tasks.Rather than trusting LLM self-correction,thisframework injects feedback from an external physics-based verier into a closedrepair loop.The framework couples a three-layernite-element verication systemwith a dual-node loop.Node 1…

11

Large-Language-Model Discovery of Quantum LDPC Codes through Structured Concept Evolution

23 Jun · Zidu Liu, Florian Marquardt · arXiv:2606.24808

Quantum low-density parity-check codes promise low-overhead error correction, but high-performing constructions remain hard to find. Here we introduce structured concept evolution, in which a large language model (LLM) evolves construction programs and their internal search strategies by modifying the finite group, protograph shapes or entry-assignment rule. We search for codes with fewer than $600$ data qubits and…

12

CODESTRUCT: Code Agents over Structured Action Spaces

7 Apr · Myeongsoo Kim, Joe Hsu, Dingmin Wang +3 · arXiv:2604.05407

LLM-based code agents treat repositories as unstructured text, applying edits through brittle string matching that frequently fails due to formatting drift or ambiguous patterns. We propose reframing the codebase as a structured action space where agents operate on named AST entities rather than text spans. Our framework, CODESTRUCT, provides readCode for retrieving complete syntactic units and editCode for applying…

Accepted at ACL 2026 main conference Artificial intelligence Software engineering Matched by wording
13

Improved Iterative Refinement for Chart-to-Code Generation via Structured Instruction

15 Jun · Chengzhi Xu, Yuyang Wang, Lai Wei +2 · arXiv:2506.14837

Recently, multimodal large language models (MLLMs) have attracted increasing research attention due to their powerful visual understanding capabilities. While they have achieved impressive results on various vision tasks, their performance on chart-to-code generation remains suboptimal. This task requires MLLMs to generate executable code that can reproduce a given chart, demanding not only precise visual…

14

Formally Verified Code Synthesis for Structured Data Translation in a Medical Internet of Things

18 Jun · Colin Samplawski, Adam D. Cobb · arXiv:2606.20776

In this work we present a LLM powered, evolutionary code synthesis system for structured data translation in a Medical Internet of Things settings. A key challenge in this domain is ensuring that the synthesized code is trustworthy and reliable. To this end, we integrate a formal verification step into our code synthesis pipeline to ensure that any generated code is guaranteed to satisfy predefined requirements. In…

Spotlight Paper at the Workshop on Structured Data for Health at ICML 2026 Software engineering Artificial intelligence Neural & evolutionary computing Matched by wording
15

Beyond Summaries: Structure-Aware Labeling of Code Changes with Large Language Models

25 May · Bar Weiss, Antonio Abu-Nassar, Adi Sosnovich +1 · arXiv:2605.26100

Code review is a critical practice in software engineering, yet the growing scale and frequency of code patches in modern projects, together with the widespread adoption of AI code assistants, make manual review increasingly challenging. Identifying the types of changes within a patch, such as renames, moves, or logic modifications, can substantially improve review efficiency by enabling prioritization, filtering,…

16

VeriGRAG: Enhancing LLM-Based Verilog Code Generation with Structure-Aware Soft Prompts

27 Sept · Jiayu Zhao, Zehua Pei, Zetao Guo +2 · arXiv:2510.15914

Large language models (LLMs) have demonstrated remarkable capabilities in generating Verilog code from natural language descriptions. However, Verilog code inherently encodes the structural characteristics of hardware circuits, including data path organization and interconnections among components. Effectively leveraging these structural characteristics to enhance the functional and syntactic correctness of…

Accepted at ASP-DAC 2027; updated to the camera-ready version Hardware architecture Artificial intelligence Programming languages Matched by wording
17

EHVC: Efficient Hierarchical Reference and Quality Structure for Neural Video Coding

4 Sept · Junqi Liao, Yaojun Wu, Chaoyi Lin +4 · arXiv:2509.04118

Neural video codecs (NVCs), leveraging the power of end-to-end learning, have demonstrated remarkable coding efficiency improvements over traditional video codecs. Recent research has begun to pay attention to the quality structures in NVCs, optimizing them by introducing explicit hierarchical designs. However, less attention has been paid to the reference structure design, which fundamentally should be aligned with…

Accepted to ACMMM 2025 Image & video processing Artificial intelligence Matched by wording
18

StoryCoder: Narrative Reformulation for Structured Reasoning in LLM Code Generation

16 Apr · Geonhui Jang, Dongyoon Han, YoungJoon Yoo · arXiv:2604.14631

Effective code generation requires both model capability and a problem representation that carefully structures how models reason and plan. Existing approaches augment reasoning steps or inject specific structure into how models think, but leave scattered problem conditions unchanged. Inspired by the way humans organize fragmented information into coherent explanations, we propose StoryCoder, a narrative…

ACL 2026 Main Conference Language & NLP Artificial intelligence Matched by wording
19

Reasoning Distillation and Structural Alignment for Improved Code Generation

20 Oct · Amir Jalilifard, Anderson de Rezende Rocha, Marcos Medeiros Raimundo · arXiv:2510.17598

Effective code generation with language models hinges on two critical factors: accurately understanding the intent of the prompt and generating code that applies algorithmic reasoning to produce correct solutions capable of passing diverse test cases while adhering to the syntax of the target programming language. Unlike other language tasks, code generation requires more than accurate token prediction; it demands…

20

Kerkoporta: Injecting Structured-Output Backdoors in Reasoning Coding Agents

29 Oct · Georgios Syros, Blake Bullwinkel, Alina Oprea +4 · arXiv:2611.00138

Existing large language model (LLM) backdoor attacks operate primarily in chat settings, where the risk is bounded by free-form text outputs. AI agents remove that bound by performing actions and executing commands on the user's machine. We introduce structured-output backdoor attacks against reasoning models in agentic coding settings. A trigger placed anywhere in the agent's context causes the model to emit an…