• bitcoinBitcoin(BTC)$76,826.00-0.23%
  • ethereumEthereum(ETH)$2,260.730.28%
  • tetherTether(USDT)$1.000.03%
  • binancecoinBNB(BNB)$692.81-0.98%
  • rippleXRP(XRP)$1.250.37%
  • usd-coinUSDC(USDC)$1.000.01%
  • solanaSolana(SOL)$91.75-0.61%
  • tronTRON(TRX)$0.3219670.70%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.03-0.22%
  • zcashZcash(ZEC)$1,199.674.20%
  • HyperliquidHyperliquid(HYPE)$83.16-1.38%
  • moneroMonero(XMR)$625.573.56%
  • dogecoinDogecoin(DOGE)$0.074149-0.34%
  • USDSUSDS(USDS)$1.000.00%
  • whitebitWhiteBIT Coin(WBT)$73.84-0.20%
  • leo-tokenLEO Token(LEO)$9.30-1.01%
  • chainlinkChainlink(LINK)$10.85-2.62%
  • cardanoCardano(ADA)$0.187094-1.25%
  • stellarStellar(XLM)$0.159948-1.47%
  • bitcoin-cashBitcoin Cash(BCH)$271.51-1.77%
  • nearNEAR Protocol(NEAR)$3.79-2.11%
  • RainRain(RAIN)$0.006594-3.46%
  • daiDai(DAI)$1.000.00%
  • Ethena USDeEthena USDe(USDE)$1.000.10%
  • uniswapUniswap(UNI)$7.120.74%
  • litecoinLitecoin(LTC)$53.40-1.12%
  • CantonCanton(CC)$0.0949220.73%
  • USD1USD1(USD1)$1.000.12%
  • avalanche-2Avalanche(AVAX)$8.40-0.25%
  • suiSui(SUI)$0.880.69%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.16-1.55%
  • tether-goldTether Gold(XAUT)$3,916.13-0.51%
  • hedera-hashgraphHedera(HBAR)$0.068766-1.34%
  • Global DollarGlobal Dollar(USDG)$1.000.01%
  • quant-networkQuant(QNT)$189.59-2.28%
  • paypal-usdPayPal USD(PYUSD)$1.00-0.01%
  • shiba-inuShiba Inu(SHIB)$0.000005-0.58%
  • BittensorBittensor(TAO)$222.32-0.86%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • crypto-com-chainCronos(CRO)$0.049696-1.07%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.150.14%
  • EthenaEthena(ENA)$0.169519-1.18%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • okbOKB(OKB)$106.53-2.90%
  • pepePepe(PEPE)$0.000005-0.04%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • MemeCoreMemeCore(M)$0.861.05%
  • Pump.funPump.fun(PUMP)$0.0042506.37%
  • aaveAave(AAVE)$125.17-0.90%
  • Spiko Amundi Overnight Swap Fund (EUR)Spiko Amundi Overnight Swap Fund (EUR)(EURSAFO)$1.140.26%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

Can a Small Language Model Predict Kernel Latency, Memory, and Model Accuracy from Code? A New Regression Language Model (RLM) Says Yes

October 4, 2025
in AI & Technology
Reading Time: 9 mins read
A A
Can a Small Language Model Predict Kernel Latency, Memory, and Model Accuracy from Code? A New Regression Language Model (RLM) Says Yes
ShareShareShareShareShare




Researchers from Cornell and Google introduce a unified Regression Language Model (RLM) that predicts numeric outcomes directly from code strings—covering GPU kernel latency, program memory usage, and even neural network accuracy and latency—without hand-engineered features. A 300M-parameter encoder–decoder initialized from T5-Gemma achieves strong rank correlations across heterogeneous tasks and languages, using a single text-to-number decoder that emits digits with constrained decoding.

What exactly is new?

  • Unified code-to-metric regression: One RLM predicts (i) peak memory from high-level code (Python/C/C++ and more), (ii) latency for Triton GPU kernels, and (iii) accuracy and hardware-specific latency from ONNX graphs—by reading raw text representations and decoding numeric outputs. No feature engineering, graph encoders, or zero-cost proxies are required.
  • Concrete results: Reported correlations include Spearman ρ ≈ 0.93 on APPS LeetCode memory, ρ ≈ 0.52 for Triton kernel latency, ρ > 0.5 average across 17 CodeNet languages, and Kendall τ ≈ 0.46 across five classic NAS spaces—competitive with and in some cases surpassing graph-based predictors.
  • Multi-objective decoding: Because the decoder is autoregressive, the model conditions later metrics on earlier ones (e.g., accuracy → per-device latencies), capturing realistic trade-offs along Pareto fronts.
https://arxiv.org/abs/2509.26476

Why is this important?

Performance prediction pipelines in compilers, GPU kernel selection, and NAS typically rely on bespoke features, syntax trees, or GNN encoders that are brittle to new ops/languages. Treating regression as next-token prediction over numbers standardizes the stack: tokenize inputs as plain text (source code, Triton IR, ONNX), then decode calibrated numeric strings digit-by-digit with constrained sampling. This reduces maintenance cost and improves transfer to new tasks via fine-tuning.

YOU MAY ALSO LIKE

Ouster Revenue Rises 50% as Physical AI Sensor Shipments Set Record – Unite.AI

Meta’s Quest 2 And Quest Pro Reach ‘End Of Feature Development’

Data and benchmarks

  • Code-Regression dataset (HF): Curated to support code-to-metric tasks spanning APPS/LeetCode runs, Triton kernel latencies (KernelBook-derived), and CodeNet memory footprints.
  • NAS/ONNX suite: Architectures from NASBench-101/201, FBNet, Once-for-All (MB/PN/RN), Twopath, Hiaml, Inception, and NDS are exported to ONNX text to predict accuracy and device-specific latency.

How does it work?

  • Backbone: Encoder–decoder with a T5-Gemma encoder initialization (~300M params). Inputs are raw strings (code or ONNX). Outputs are numbers emitted as sign/exponent/mantissa digit tokens; constrained decoding enforces valid numerals and supports uncertainty via sampling.
  • Ablations: (i) Language pretraining accelerates convergence and improves Triton latency prediction; (ii) decoder-only numeric emission outperforms MSE regression heads even with y-normalization; (iii) learned tokenizers specialized for ONNX operators increase effective context; (iv) longer contexts help; (v) scaling to a larger Gemma encoder further improves correlation with adequate tuning.
  • Training code. The regress-lm library provides text-to-text regression utilities, constrained decoding, and multi-task pretraining/fine-tuning recipes.

Stats that matters

  • APPS (Python) memory: Spearman ρ > 0.9.
  • CodeNet (17 languages) memory: average ρ > 0.5; strongest languages include C/C++ (~0.74–0.75).
  • Triton kernels (A6000) latency: ρ ≈ 0.52.
  • NAS ranking: average Kendall τ ≈ 0.46 across NASNet, Amoeba, PNAS, ENAS, DARTS; competitive with FLAN and GNN baselines.

Key Takeaways

  1. Unified code-to-metric regression works. A single ~300M-parameter T5Gemma-initialized model (“RLM”) predicts: (a) memory from high-level code, (b) Triton GPU kernel latency, and (c) model accuracy + device latency from ONNX—directly from text, no hand-engineered features.
  2. The research shows Spearman ρ > 0.9 on APPS memory, ≈0.52 on Triton latency, >0.5 average across 17 CodeNet languages, and Kendall-τ ≈ 0.46 on five NAS spaces.
  3. Numbers are decoded as text with constraints. Instead of a regression head, RLM emits numeric tokens with constrained decoding, enabling multi-metric, autoregressive outputs (e.g., accuracy followed by multi-device latencies) and uncertainty via sampling.
  4. The Code-Regression dataset unifies APPS/LeetCode memory, Triton kernel latency, and CodeNet memory; the regress-lm library provides the training/decoding stack.

It is very interesting how this work reframes performance prediction as text-to-number generation: a compact T5Gemma-initialized RLM reads source (Python/C++), Triton kernels, or ONNX graphs and emits calibrated numerics via constrained decoding. The reported correlations—APPS memory (ρ>0.9), Triton latency on RTX A6000 (~0.52), and NAS Kendall-τ ≈0.46—are strong enough to matter for compiler heuristics, kernel pruning, and multi-objective NAS triage without bespoke features or GNNs. The open dataset and library make replication straightforward and lower the barrier to fine-tuning on new hardware or languages.

🚨 [Recommended Read] ViPE (Video Pose Engine): A Powerful and Versatile 3D Video Annotation Tool for Spatial AI

Check out the Paper, GitHub Page and Dataset Card. Feel free to check out our GitHub Page for Tutorials, Codes and Notebooks. Also, feel free to follow us on Twitter and don’t forget to join our 100k+ ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.


Asif Razzaq is the CEO of Marktechpost Media Inc.. As a visionary entrepreneur and engineer, Asif is committed to harnessing the potential of Artificial Intelligence for social good. His most recent endeavor is the launch of an Artificial Intelligence Media Platform, Marktechpost, which stands out for its in-depth coverage of machine learning and deep learning news that is both technically sound and easily understandable by a wide audience. The platform boasts of over 2 million monthly views, illustrating its popularity among audiences.

🙌 Follow MARKTECHPOST: Add us as a preferred source on Google.






Previous articleA Coding Guide to Build an Autonomous Agentic AI for Time Series Forecasting with Darts and Hugging Face


Credit: Source link

ShareTweetSendSharePin

Related Posts

Ouster Revenue Rises 50% as Physical AI Sensor Shipments Set Record – Unite.AI
AI & Technology

Ouster Revenue Rises 50% as Physical AI Sensor Shipments Set Record – Unite.AI

November 3, 2026
Meta’s Quest 2 And Quest Pro Reach ‘End Of Feature Development’
AI & Technology

Meta’s Quest 2 And Quest Pro Reach ‘End Of Feature Development’

November 3, 2026
Traversal Raises 0M Series B at B Valuation to Expand AI SRE – Unite.AI
AI & Technology

Traversal Raises $120M Series B at $1B Valuation to Expand AI SRE – Unite.AI

November 3, 2026
Netflix Thinks AI Might Save You From Scrolling Aimlessly For Something To Watch
AI & Technology

Netflix Thinks AI Might Save You From Scrolling Aimlessly For Something To Watch

November 3, 2026
Next Post
New York City Mayor Eric Adams drops out of mayoral race

New York City Mayor Eric Adams drops out of mayoral race

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
Clorox: Valuation Bleached Clean

Clorox: Valuation Bleached Clean

October 31, 2026
Nearly 6 million coffee makers recalled as cracked glass poses burn risk

Nearly 6 million coffee makers recalled as cracked glass poses burn risk

October 30, 2026
S&P 500: This Setup Is 19-0

S&P 500: This Setup Is 19-0

November 1, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!