paper-with-me

Papers

Beyond the Need for Speed: Energy-Aware Code Generation via Simulation-Guided Reinforcement Learning

2026-07-06 · Saurabhsingh Rajput, Tushar Sharma arxiv

Code models strictly prioritize functional correctness, leaving software energy efficiency as an unoptimized byproduct. Training models to generate energy-efficient code requires reproducible feedback at scale, which physical hardware measurement cannot reliably provide due to variance. In this paper, we replace hardware profiling with a deterministic architectural simulation harness to build Green Tea, a corpus of $3.5$ million evaluations across $1{,}474$ C++ problems. We train an energy-aware code model via supervised fine-tuning on energy-contrastive pairs, followed by closed-loop reinforcement learning (GRPO) using simulation-in-the-loop feedback. To rigorously evaluate deployment readiness, we introduce the Correctness-Adjusted Reduction in Energy Total (CARET), a metric that explicitly penalizes code that sacrifices functionality for efficiency. On $143$ held-out problems, our simulation-in-the-loop pipeline achieves $12.63\%$ CARET, nearly tripling the gain of fine-tuning alone, and successfully beats the energy efficiency of human-expert references on $58.4\%$ of its valid outputs. Furthermore, our analysis exposes the IPC trap: standard throughput proxies like Instructions-Per-Cycle (IPC) actively misrank true energy efficiency on $67.8\%$ of problems, proving the absolute necessity of direct energy simulation. By releasing our dataset and infrastructure, we bypass the $263{,}000$ CPU-hours required for reproduction, structurally empowering the community to deploy inherently energy-efficient code generation models.

📄 PDF Abstract BibTeX arXiv:2607.04577

Code (0)

등록된 구현이 없습니다.

Tasks

Reinforcement LearningCode Generation

Similar Papers 제목 키워드 기반

MicroViTv2: Beyond the FLOPS for Edge Energy-Friendly Vision Transformers

2026-05-11 · Novendra Setyawan, Chi-Chia Sun, Mao-Hsiu Hsu, Wen-Kai Kuo 외 arxiv

The Vision Transformer (ViT) achieves remarkable accuracy across visual tasks but remains computationally expensive for edge deployment. This paper presents MicroViTv2, a lightweight Vision Transformer optimized for real…

Comparative Analysis of Evolutionary Algorithms for Energy-Aware Production Scheduling

2025-04-22 · Sascha C Burmeister, Till N Rogalski, Guido Schryen

The energy transition is driving rapid growth in renewable energy generation, creating the need to balance energy supply and demand with energy price awareness. One such approach for manufacturers to balance their energy…

Evolutionary AlgorithmsScheduling

Energy-Aware Imitation Learning for Steering Prediction Using Events and Frames

2026-03-30 · Hu Cao, Jiong Liu, Xingzhuo Yan, Rui Song 외 arxiv

In autonomous driving, relying solely on frame-based cameras can lead to inaccuracies caused by factors like long exposure times, high-speed motion, and challenging lighting conditions. To address these issues, we introd…

Autonomous Driving

Beyond FLOPs: Energy-Aware Knowledge Distillation for Sustainable LLMs on Code-Related Task

2026-08-18 · Enrique Barba Roque, Luís Cruz, Annibale Panichella arxiv

Background: Large Language Models (LLMs) are increasingly being applied to Software Engineering (SE) tasks, achieving high accuracy across problems such as clone detection, vulnerability prediction, and code summarizatio…

Knowledge Distillation

Effective Goal-oriented 6G Communications: the Energy-aware Edge Inferencing Case

2022-04-20 · Mattia Merluzzi, Miltiadis C. Filippou, Leonardo Gomes Baltar, Emilio Calvanese Strinati

Currently, the world experiences an unprecedentedly increasing generation of application data, from sensor measurements to video streams, thanks to the extreme connectivity capability provided by 5G networks. Going beyon…

Edge-computing