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

38 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

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
5

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…

6

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
7

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
8

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…

9

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…

10

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…

11

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…

12

Enhancing SLMs for Sustainable Code Optimization in Radio-Astronomy

23 Jul · Elisa Chiarotto, Jingbo Li, P. Chris Broekema +1 · arXiv:2607.21677

Recent Large Language Models (LLMs) can produce and optimize complex code. We investigate the use of LLMs to generate and optimize code for large-scale sciences, focusing on radio astronomy and sustainability. The LOFAR telescope is currently being upgraded, significantly increasing the sky area observed, while simultaneously processing more data faster. However, this is expected to increase the computational…

13

COMPAS: Difficulty-Aware Joint Search for Optimizing Code Generation

5 Aug · Jingzhi Gong, Jie M. Zhang, Gunel Jahangirova +3 · arXiv:2608.04336

Code generation systems make each LLM call with a model, a prompt, and decoding settings. However, existing optimization methods usually tune only part of these choices or use one fixed configuration for all tasks: global optimizers search one configuration for all tasks, routers choose only a model, and prompt optimizers keep the model and decoding settings fixed. This leaves their joint, group-specific…

14

Pattern-Driven Evaluation of LLM Code Optimization: Isolating Compiler-Transcendent Semantic Reasoning

17 Oct · Wesley Lu, Runzhou Liu, Hongru Du +1 · arXiv:2610.24835

Existing evaluations of LLM-based code optimization primarily measure end-to-end speedup, obscuring whether a model actually performs the intended optimization. For compiled languages, this is especially problematic: observed gains may reflect transformations already recoverable by modern optimizing compilers rather than optimization behavior attributable to the model itself. We present PatternBench, a benchmark for…

Published at the AI Measurement Science Workshop at COLM 2026 Artificial intelligence Programming languages Software engineering Matched by wording
15

Function-Level Execution Feedback for Code Preference Optimization

23 Aug · Idris Nechnech, Sehwan Kim, Jimin Seo +4 · arXiv:2608.23632

Process supervision has improved mathematical reasoning, where intermediate steps are naturally expressed as chains of thought. In code generation, however, process supervision remains underexplored because there is no standard notion of a step. Supervision can target lines, reasoning traces, or program states, making it unclear what to label and optimize. We propose STEP-KTODER, a framework for code preference…

Accepted to Findings of the Association for Computational Linguistics: EMNLP 2026 Artificial intelligence Software engineering Matched by wording
16

PerfCoder: Large Language Models for Interpretable Code Performance Optimization

16 Dec · Jiuding Yang, Shengyao Lu, Hongxuan Liu +4 · arXiv:2512.14018

Large language models (LLMs) have achieved remarkable progress in automatic code generation, yet their ability to produce high-performance code remains limited--a critical requirement in real-world software systems. We argue that current LLMs struggle not only due to data scarcity but, more importantly, because they lack supervision that guides interpretable and effective performance improvements. In this work, we…

17

Optimizing LLM Code Suggestions: Feedback-Driven Timing with Lightweight State Bounds

24 Nov · Mohammad Nour Al Awad, Sergey Ivanov, Olga Tikhonova · arXiv:2511.18842

Large Language Models (LLMs) have transformed code auto-completion by generating context-aware suggestions. Yet, deciding when to present these suggestions remains underexplored, often leading to interruptions or wasted inference calls. We propose an adaptive timing mechanism that dynamically adjusts the delay before offering a suggestion based on real-time developer feedback. Our suggested method combines a…

\c{opyright} 2025 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses Software engineering Artificial intelligence Human-computer interaction Matched by wording
18

AI-PROPELLER: Warehouse-Scale Interprocedural Code Layout Optimization with AlphaEvolve

28 May · Chaitanya Mamatha Ananda, Rajiv Gupta, Mircea Trofin +4 · arXiv:2606.00131

Post-link optimizers (PLOs) such as Propeller and BOLT have demonstrated that precise, profile-guided code layout can extract significant performance gains from heavily optimized binaries. However, these systems are currently restricted to intraprocedural techniques, leaving the global potential of interprocedural layout largely untapped. Interprocedural code layout is historically difficult due to a combinatorially…

19

FasterPy: An LLM-based Code Execution Efficiency Optimization Framework

28 Dec · Yue Wu, Minghao Han, Ruiyin Li +5 · arXiv:2512.22827

Code often suffers from performance bugs. These bugs necessitate the research and practice of code optimization. Traditional rule-based methods rely on manually designing and maintaining rules for specific performance bugs (e.g., redundant loops, repeated computations), making them laborintensive and limited in applicability. In recent years, machine learning and deep learning-based methods have emerged as promising…

6 images, Manuscript revision submitted to a Journal (2026) Software engineering Artificial intelligence Matched by wording
20

Don't Claim Benchmark-Oriented Optimization Improves General Coding Capability -- Diverse Evaluation Is Required

26 Jun · Egor Shibaev, Vera Kudrevskaia, Timur Galimzyanov +9 · arXiv:2608.13566

Post-training papers, model cards, and blog posts often treat scores on a small set of coding benchmarks (e.g., SWE-bench and LiveCodeBench) as evidence of broad coding capability, both for research artifacts and user-facing systems. We argue that optimization for these benchmarks leads to measuring task-specific performance, creating a meaning gap between measured scores and claims of general coding ability. We…

Accepted to the DL4Code workshop @ ICLR2026 Machine learning Artificial intelligence Software engineering Matched by wording