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

22 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

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
3

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
4

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…

5

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…

6

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
7

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
8

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

9

Lore: Repurposing Git Commit Messages as a Structured Knowledge Protocol for AI Coding Agents

16 Mar · Ivan Stetsenko · arXiv:2603.15566

As AI coding agents become both primary producers and consumers of source code, the software industry faces an accelerating loss of institutional knowledge. Each commit captures a code diff but discards the reasoning behind it - the constraints, rejected alternatives, and forward-looking context that shaped the decision. I term this discarded reasoning the Decision Shadow. This paper proposes Lore, a lightweight…

Preprint available at https://doi.org/10.5281/zenodo.19051840 Software engineering Artificial intelligence Systems & control Matched by wording
10

Adversarial Review: Structured Disagreement for Grounded Agentic Code Review

16 Aug · Eric S. Qiu, Joyce Gill · arXiv:2608.18167

Early multi-agent LLM systems often used role-separated teams, yet scaling agent count yields diminishing returns on repository-level coding tasks. Recent alternatives treat agents as passive tools (subagents), yet this removes the benefits of agent interaction entirely. We study whether a subagent paradigm can support a middle ground: minimal agentic cooperation without the overhead of large multi-agent teams. We…

Accepted to ICML 2026 Workshop on DL4C Artificial intelligence Software engineering Matched by wording
11

Runtime-Structured Task Decomposition for Agentic Coding Systems

14 May · Shubhi Asthana, Bing Zhang, Chad DeLuca +2 · arXiv:2605.15425

Agentic coding systems increasingly use large language models (LLMs) for software engineering tasks such as debugging, root cause analysis, and code review. However, many existing systems encode task logic, execution flow, and output generation inside monolithic prompts. This design creates brittle behavior, limited debuggability, and high retry costs because failures often require rerunning the full workflow. We…

Paper presented at ACM Conference on AI and Agentic Systems 2026 at the Agentic Software Engineering workshop Software engineering Artificial intelligence Matched by wording
12

Structuring agentic AI for HPC code modernization

7 Jun · Anthony Marinov, Igor Sfiligoi · arXiv:2606.08710

Modernization of legacy scientific codes is often necessary to keep up with the ever-evolving changes in the compute resource ecosystem. Parallelization and migration from poorly supported software ecosystems are two of the most time-consuming activities in the research software engineering field. This paper presents our experience in the successful, two-phase AI-assisted modernization of NMAP-RKPM, a roughly…

13

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

14

CGP-Tuning: Structure-Aware Soft Prompt Tuning for Code Vulnerability Detection

8 Jan · Ruijun Feng, Hammond Pearce, Pietro Liguori +1 · arXiv:2501.04510

Large language models (LLMs) have been proposed as powerful tools for detecting software vulnerabilities, where task-specific fine-tuning is typically employed to provide vulnerability-specific knowledge to the LLMs. However, existing fine-tuning techniques often treat source code as plain text, losing the graph-based structural information inherent in code. Graph-enhanced soft prompt tuning addresses this by…

Accepted by IEEE Transactions on Software Engineering Software engineering Artificial intelligence Matched by wording
15

Spine: Compiling Subtask Trees into Structured Context for Long-Horizon Coding Agents

27 Oct · Jiahong Xiang, Kunqiu Chen, Lingming Zhang +1 · arXiv:2610.37224

Long-horizon coding tasks contain nested subtasks. Typically, agents record interactions sequentially into a growing history, causing context inflation and performance degradation. Compressing or trimming the history without explicit subtask boundaries can discard information needed by unfinished subtasks. Conversely, recursive subagent delegation isolates completed subtasks through child agents by assigning every…

16

FEM-Bench: A Structured Scientific Reasoning Benchmark for Evaluating Code-Generating LLMs

23 Dec · Saeed Mohammadzadeh, Erfan Hamdi, Joel Shor +1 · arXiv:2512.20732

As LLMs advance their reasoning capabilities about the physical world, the absence of rigorous benchmarks for evaluating their ability to generate scientifically valid physical models has become a critical gap. Computational mechanics, which develops and applies mathematical models and numerical methods to predict the behavior of physical systems under forces, deformation, and constraints, provides an ideal…

17

Effective LLM Code Refinement via Property-Oriented and Structurally Minimal Feedback

23 Jun · Lehan He, Zeren Chen, Zhe Zhang +2 · arXiv:2506.18315

LLMs excel at code generation, yet ensuring the functional correctness of their outputs remains a persistent challenge. While recent studies have applied Test-Driven Development (TDD) to refine code, these methods are often undermined by poor feedback quality, stemming from the scarcity of high-quality test cases and noisy signals from auto-generated ones. In this work, we shift the focus from test quantity to…

18

Contract-Coding: Towards Repo-Level Generation via Structured Symbolic Paradigm

10 Apr · Yi Lin, Lujin Zhao, Yijie Shi · arXiv:2604.13100

The shift toward intent-driven software engineering (often termed "Vibe Coding") exposes a critical Context-Fidelity Trade-off: vague user intents overwhelm linear reasoning chains, leading to architectural collapse in complex repo-level generation. We propose Contract-Coding, a structured symbolic paradigm that bridges unstructured intent and executable code via Autonomous Symbolic Grounding. By projecting…

19

Does ISO-Grounded NFR Specification Improve LLM Code Generation? A Comparison of Rich and Structured Interventions against a Natural-Language Baseline

13 Aug · Joào Pedro Monteiro Pereira, Vinicius Cardoso Garcia · arXiv:2608.13742

In LLM-based code generation, Non-Functional Requirements (NFRs) are often specified as terse one-line phrases. We ask whether grounding those specifications in ISO/IEC 25010 Quality Model, either as rich natural-language prose (NL-rich) or as structured JSON (Structured), improves code generated on HumanEval/HumanEval-ET compared to a RobuNFR-style one-line baseline (NL-simple). We evaluate four NFRs (performance,…

Accepted for publication at the 20th Brazilian Symposium on Software Components, Architectures, and Reuse (SBCARS 2026) Software engineering Artificial intelligence Machine learning Matched by wording
20

Your Code Agent Can Grow Alongside You with Structured Memory

25 Feb · Yi-Xuan Deng, Xiaoqin Liu, Yi Zhang +2 · arXiv:2603.13258

While "Intent-oriented programming" (or "Vibe Coding") redefines software engineering, existing code agents remain tethered to static code snapshots. Consequently, they struggle to model the critical information embedded in the temporal evolution of projects, failing to leverage the "reasoning trajectories" implicit in past successful practices. This limitation results in rigid behavioral logic and a lack of…