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

79 results for “code optimization”

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

1

ECO: Enhanced Code Optimization via Performance-Aware Prompting for Code-LLMs

12 Oct · Su-Hyeon Kim, Joonghyuk Hahn, Sooyoung Cha +1 · arXiv:2510.10517

Code runtime optimization-the task of rewriting a given code to a faster one-remains challenging, as it requires reasoning about performance trade-offs involving algorithmic and structural choices. Recent approaches employ code-LLMs with slow-fast code pairs provided as optimization guidance, but such pair-based methods obscure the causal factors of performance gains and often lead to superficial pattern imitation…

2

Beyond Local Code Optimization: Multi-Agent Reasoning for Software System Optimization

16 Mar · Huiyun Peng, Parth Vinod Patil, Antonio Zhong Qiu +2 · arXiv:2603.14703

Large language models and AI agents have recently shown promise in automating software performance optimization, but existing approaches predominantly rely on local, syntax-driven code transformations. This limits their ability to reason about program behavior and capture whole system performance interactions. As modern software increasingly comprises interacting components - such as microservices, databases, and…

3

Green Code or Costly Code? Evaluating the Energy Costs of Iterative LLM-Based Code Optimizations

23 Oct · Sadra Emami, Benjamin Weigell, Mohammad Reza Mousavi +3 · arXiv:2610.32891

Large Language Models (LLMs) are increasingly used to optimize code for performance. This practice often assumes that improvements in execution speed naturally translate into overall lower energy consumption. We challenge this assumption empirically by measuring whether performance-optimized code produced by LLM self-refinement pipelines is also energy-efficient relative to canonical human reference solutions, and…

Accepted at the 49th IEEE/ACM International Conference on Software Engineering (ICSE 2027) Software engineering Artificial intelligence Matched by wording
4

SymRTLO: Enhancing RTL Code Optimization with LLMs and Neuron-Inspired Symbolic Reasoning

14 Apr · Yiting Wang, Wanghao Ye, Ping Guo +9 · arXiv:2504.10369

Optimizing Register Transfer Level (RTL) code is crucial for improving the power, performance, and area (PPA) of digital circuits in the early stages of synthesis. Manual rewriting, guided by synthesis feedback, can yield high-quality results but is time-consuming and error-prone. Most existing compiler-based approaches have difficulty handling complex design constraints. Large Language Model (LLM)-based methods…

5

Autocomp: A Powerful and Portable Code Optimizer for Tensor Accelerators

24 May · Charles Hong, Sahil Bhatia, Alvin Cheung +1 · arXiv:2505.18574

Hardware accelerators, especially those designed for tensor processing, have become ubiquitous in today's computing landscape. However, even with significant efforts in building compilers, programming these tensor accelerators remains challenging, leaving much of their potential underutilized. Recently, large language models (LLMs), trained on large amounts of code, have shown significant promise in code generation…

6

T-LLM Compiler: Trusted LLM-based Code Optimization and Verification Framework

15 Aug · Zahra Fazel, Sunanda Gamage, Shayan Shirahmad Gale Bagi +5 · arXiv:2608.14953

Recent advances in Large Language Models (LLMs) have opened opportunities to apply high-level code transformations to the field of code optimization, and it has since emerged as one of the most fundamental tasks for LLMs to perform; however, at present, LLMs struggle to apply wide-ranging code optimization tasks due to both the complexity of the code and the inability to independently verify the correctness of the…

7

A Problem-Oriented Perspective and Anchor Verification for Code Optimization

17 Jun · Tong Ye, Tengfei Ma, Xuhong Zhang +3 · arXiv:2406.11935

Large Language Models (LLMs) have shown remarkable capabilities in solving various programming tasks, such as code generation. However, their potential for code optimization, particularly in performance enhancement, remains largely unexplored. This paper investigates the capabilities of LLMs in optimizing code for minimal execution time, addressing a critical gap in current research. The recently proposed code…

8

FALCON: Feedback-driven Adaptive Long/short-term memory reinforced Coding Optimization system

28 Oct · Zeyuan Li, Yangfan He, Lewei He +5 · arXiv:2410.21349

Recently, large language models (LLMs) have achieved significant progress in automated code generation. Despite their strong instruction-following capabilities, these models frequently struggled to align with user intent in coding scenarios. In particular, they were hampered by datasets that lacked diversity and failed to address specialized tasks or edge cases. Furthermore, challenges in supervised fine-tuning…

9

Learning Game-Playing Agents with Generative Code Optimization

27 Aug · Zhiyi Kuang, Ryan Rong, YuCheng Yuan +1 · arXiv:2508.19506

We present a generative optimization approach for learning game-playing agents, where policies are represented as Python programs and refined using large language models (LLMs). Our method treats decision-making policies as self-evolving code, with current observation as input and an in-game action as output, enabling agents to self-improve through execution traces and natural language feedback with minimal human…

ICML 2025 Workshop on Programmatic Representations for Agent Learning, Vancouver, Canada Machine learning Artificial intelligence Matched by wording
10

Industrial LLM-based Code Optimization under Regulation: A Mixture-of-Agents Approach

5 Aug · Mari Ashiga, Vardan Voskanyan, Fateme Dinmohammadi +7 · arXiv:2508.03329

Recent advancements in Large Language Models (LLMs) for code optimization have enabled industrial platforms to automate software performance engineering at unprecedented scale and speed. Yet, organizations in regulated industries face strict constraints on which LLMs they can use - many cannot utilize commercial models due to data privacy regulations and compliance requirements, creating a significant challenge for…

Submitted to ASE'25 Industry Showcase Software engineering Artificial intelligence Matched by wording
11

Rethinking LLM-Based RTL Code Optimization Via Timing Logic Metamorphosis

22 Jul · Zhihao Xu, Bixin Li, Lulu Wang · arXiv:2507.16808

Register Transfer Level(RTL) code optimization is crucial for achieving high performance and low power consumption in digital circuit design. However, traditional optimization methods often rely on manual tuning and heuristics, which can be time-consuming and error-prone. Recent studies proposed to leverage Large Language Models(LLMs) to assist in RTL code optimization. LLMs can generate optimized code snippets…

with 9 pictures and Software engineering Artificial intelligence Matched by wording
12

Tuning LLM-based Code Optimization via Meta-Prompting: An Industrial Perspective

2 Aug · Jingzhi Gong, Rafail Giavrimis, Paul Brookes +8 · arXiv:2508.01443

There is a growing interest in leveraging multiple large language models (LLMs) for automated code optimization. However, industrial platforms deploying multiple LLMs face a critical challenge: prompts optimized for one LLM often fail with others, requiring expensive model-specific prompt engineering. This cross-model prompt engineering bottleneck severely limits the practical deployment of multi-LLM systems in…

Accepted by ASE'25 Industry Showcase Software engineering Artificial intelligence Matched by wording
13

How Do Agents Perform Code Optimization? An Empirical Study

25 Dec · Huiyun Peng, Antonio Zhong, Ricardo Andrés Calvo Méndez +2 · arXiv:2512.21757

Performance optimization is a critical yet challenging aspect of software development, often requiring a deep understanding of system behavior, algorithmic tradeoffs, and careful code modifications. Although recent advances in AI coding agents have accelerated code generation and bug fixing, little is known about how these agents perform on real-world performance optimization tasks. We present the first empirical…

14

A New Benchmark for the Appropriate Evaluation of RTL Code Optimization

5 Jan · Yao Lu, Shang Liu, Hangan Zhou +3 · arXiv:2601.01765

The rapid progress of artificial intelligence increasingly relies on efficient integrated circuit (IC) design. Recent studies have explored the use of large language models (LLMs) for generating Register Transfer Level (RTL) code, but existing benchmarks mainly evaluate syntactic correctness rather than optimization quality in terms of power, performance, and area (PPA). This work introduces RTL-OPT, a benchmark for…

15

Controlled Self-Evolution for Algorithmic Code Optimization

12 Jan · Tu Hu, Ronghao Chen, Shuo Zhang +9 · arXiv:2601.07348

Self-evolution methods enhance code generation through iterative "generate-verify-refine" cycles, yet existing approaches suffer from low exploration efficiency, failing to discover solutions with superior complexity within limited budgets. This inefficiency stems from initialization bias trapping evolution in poor solution regions, uncontrolled stochastic operations lacking feedback guidance, and insufficient…

16

Large Language Model-Powered Evolutionary Code Optimization on a Phylogenetic Tree

20 Jan · Leyi Zhao, Weijie Huang, Yitong Guo +3 · arXiv:2601.14523

Optimizing scientific computing algorithms for modern GPUs is a labor-intensive and iterative process involving repeated code modification, benchmarking, and tuning across complex hardware and software stacks. Recent work has explored large language model (LLM)-assisted evolutionary methods for automated code optimization, but these approaches primarily rely on outcome-based selection and random mutation,…

17

Adaptive Confidence Gating in Multi-Agent Collaboration for Efficient and Optimized Code Generation

29 Jan · Haoji Zhang, Yuzhe Li, Zhenqiang Liu +3 · arXiv:2601.21469

While Large Language Models (LLMs) have catalyzed breakthroughs in automated code generation, Small Language Models (SLMs) often encounter reasoning bottlenecks and failure loops when addressing complex logical requirements. To overcome these challenges, we propose DebateCoder, a multi-agent collaborative framework designed to improve the reasoning ability of SLMs (e.g., Pangu-1B) in resource-constrained…

18

TextBFGS: A Case-Based Reasoning Approach to Code Optimization via Error-Operator Retrieval

20 Jan · Zizheng Zhang, Yuyang Liao, Chen Chen +8 · arXiv:2602.00059

Iterative code generation with Large Language Models (LLMs) can be viewed as an optimization process guided by textual feedback. However, existing LLM self-correction methods predominantly operate in a stateless, trial-and-error manner akin to first-order search, failing to leverage past problem-solving experiences. To bridge this gap, we introduce TextBFGS, a Case-Based Reasoning (CBR) framework inspired by the…

19

Prior Knowledge or Search? A Study of LLM Agents in Hardware-Aware Code Optimization

19 May · Dmitry Redko, Albert Fazlyev, Konstantin Sozykin +3 · arXiv:2605.19782

LLM discovery and optimization systems are increasingly applied across domains, implementing a common propose-evaluate-revise loop. Such optimization or discovery progresses via context conditioning on received feedback from an environment. However, as modern LLM agents are increasingly complex in their structure, it is difficult to evaluate which components contribute the most, and when and how this exploration may…

20

Cross-Lingual Token Arbitrage: Optimizing Code Agent Context Windows via Local LLM Preprocessing

2 Jun · Mehmet Utku Colak · arXiv:2606.03618

AI-assisted coding agents are bottlenecked by input-token cost. Two pathologies of raw human input drive much of this overhead: tokenization inefficiency for non-English text and structural entropy in conversational prompts. Existing approaches act reactively by compressing already-bloated contexts or intervening after failures occur. We introduce a pre-flight, edge-side prompt-rewriting middleware that operates…

Updated References Artificial intelligence Matched by wording