Regression Language Models for Code
Summary
We study code-to-metric regression: predicting numeric outcomes of code executions, a challenging task due to the open-ended nature of programming languages. While prior methods have resorted to heavy and domain-specific feature engineering, we show that a single unified Regression Language Model (RLM) using a frozen L…
- Venue
- arXiv 2509.26476
- Publisher
- arXiv 2509.26476
- Source
- arxiv
- Access
- open arXiv PDF/abs
- Purpose
- Regression Language Models for Code
- Domain
- code / SQL
- Used for
- LLM research reference
- Time period
- arXiv 2025/09/30; Discord LinkedIn mid harvested 2026-09-15
- Author type
- academic/industry (see abs)
- Added
- Sep 15, 2026
- Verified
- Sep 15, 2026
- Research status
- done
- Found via
- #random-papers
From the source
- Published
- Sep 30, 2025
- Last revised
- Jun 16, 2026
- arXiv categories
- cs.CL, cs.AI, cs.LG, cs.PF, cs.SE
- Author comment
- Published in International Conference on Machine Learning (ICML) 2026
- Citations
- 9 (3 influential)
- References
- 61
Abstract (from arXiv)
We study code-to-metric regression: predicting numeric outcomes of code executions, a challenging task due to the open-ended nature of programming languages. While prior methods have resorted to heavy and domain-specific feature engineering, we show that a single unified Regression Language Model (RLM) using a frozen LLM encoder can simultaneously predict directly from text, (i) the memory footprint of code across multiple high-level languages such as Python and C++, (ii) the latency of Triton GPU kernels, and (iii) the accuracy and speed of trained neural networks represented in ONNX. In particular, a relatively small 300M parameter RLM based on T5Gemma, obtains >0.9 Spearman-rank on competitive programming submissions from APPS, and a single unified model achieves >0.5 average Spearman-rank across 24 different programming languages from CodeNet. Furthermore, the RLM can obtain the highest average Kendall-Tau of 0.46 on five classic NAS design spaces previously dominated by graph neural networks, and simultaneously predict architecture latencies on numerous hardware platforms.
Tags
Topics
code / SQL
Research notes
- From LinkedIn thread (Discord mid 1309948451122974821). Primary: https://www.linkedin.com/posts/clement-bonnet16_what-does-it-take-to-train-ai-to-do-genuine-activity-7263552440266903552-jBMU?utm_source=share&utm_medium=member_ios.
Related entries
- Dataset
Code-Regression
Train/eval Regression Language Models that map code strings to numeric metrics (latency/memory)
Similar entries
- Paper Graph-Reward-SQL: Execution-Free Reinforcement Learning for Text-to-SQL via Graph Matching and Stepwise Reward
- Paper CodeGenLink: A Tool to Find the Likely Origin and License of Automatically Generated Code
- Paper TROLL: Trust Regions improve Reinforcement Learning for Large Language Models
- Paper Variational Reasoning for Language Models
- Paper Are Large Reasoning Models Interruptible?
- Paper DAG-Math: Graph-of-Thought Guided Mathematical Reasoning in LLMs