← Latest papers
🤖 AI

Transferable Latency Prediction for Fast LLM Screening on Heterogeneous Edge Devices

This paper proposes a runtime-aware latency prediction framework that adaptively fuses static model descriptors with dynamic hardware telemetry to enable accurate, transferable LLM deployment screening across heterogeneous edge devices with minimal calibration.

Original authors: Xiaolong Tu, Vinod K. Mishra, Venkat R. Dasari, Anu G. Bourgeois, Haoxin Wang

Published 2026-07-27
📖 8 min read🧠 Deep dive

Original authors: Xiaolong Tu, Vinod K. Mishra, Venkat R. Dasari, Anu G. Bourgeois, Haoxin Wang

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to pick the perfect video game to play on a handheld console. You have a massive library of games, from tiny puzzle adventures to massive, sprawling role-playing epics. But here's the catch: your console is a bit finicky. It gets hot if you play too long, its battery drains fast, and it handles different games in weird ways depending on how you hold it or what time of day it is. If you try to download and test every single game to see which one runs smoothly, you'd spend all day waiting for downloads, only to find out half of them crash or lag. You need a way to guess, just by looking at the game's description and your console's current mood, which one will actually work. This is the exact problem facing the world of Artificial Intelligence on our phones and small gadgets.

Scientists are trying to run "Large Language Models" (LLMs)—super-smart AI brains that can write stories, answer questions, and solve problems—directly on our devices instead of sending data to giant cloud servers. This is great for privacy and speed, but it's a nightmare to predict. An AI model might run perfectly on one phone but freeze on another, even if the phones look similar. Why? Because the AI's speed depends on a chaotic mix of things: how long the question is, how hot the phone is getting, how much battery is left, and even the specific software used to run the AI. If we can't predict how fast an AI will run before we actually try it, we waste huge amounts of time and energy testing models that might fail. This is where the story of "predicting the future" comes in.

The Crystal Ball for AI Speed

In this paper, a team of researchers from Georgia State University and the Army Research Laboratory built a "crystal ball" for AI speed. They call it a runtime-aware latency prediction framework. Let's break that down. "Latency" is just a fancy word for how long something takes to happen. "Runtime-aware" means the system pays attention to what's happening while the AI is working, not just what the AI looks like on paper. And "transferable" means this crystal ball works even if you move from one type of device to another.

The researchers realized that trying to test every AI model on every single device is like trying to taste every flavor of ice cream in the world to find your favorite. It's too slow and expensive. Instead, they wanted a system that could look at a new device and a new AI model and say, "Hey, this combo will probably take about 10 seconds to answer."

How the Crystal Ball Works

The secret sauce of their system is that it doesn't just look at the static facts. Imagine you are trying to guess how fast a car will drive. A "static" guess would just look at the car's engine size and weight. But a "runtime-aware" guess would also check the weather, the traffic, and whether the driver is sleepy.

The researchers' system does two things at once:

  1. The Static Path: It looks at the "ID card" of the setup. This includes the model's size, the type of phone or gadget, and the settings.
  2. The Dynamic Path: It watches the "heartbeat" of the device while it runs. It tracks things like how hot the chip gets, how fast the processor is spinning, and how much memory is being used.

The system splits the AI's work into two phases, like a two-part race:

  • The Prefill Phase: This is when the AI reads your question and gets its thoughts together. It's usually a quick, bursty sprint.
  • The Decode Phase: This is when the AI writes out the answer, word by word. This is a longer, steady jog.

By treating these two phases separately and mixing the "ID card" info with the "heartbeat" data, the system builds a much smarter prediction. They used a special "gated fusion" mechanism, which is like a smart traffic light that decides whether to listen more to the static facts or the live traffic conditions depending on the situation.

The Magic of Calibration

Here is the most important trick: the system isn't perfect right out of the box. If you train it on a Pixel 8 phone and try to use it on a Pixel 8 Pro, it might get the numbers wrong because the two phones are slightly different.

To fix this, the researchers use a calibration set. Think of this as a quick "test drive." You run the AI on the new device just a few times (maybe 6 to 20 times) to see how it actually behaves. The system then uses these few real results to tweak its crystal ball, aligning its predictions with the new device's reality.

The results of this calibration are dramatic. Without it, the system's predictions for how long the AI takes to "decode" (write the answer) on a Pixel 8 Pro were wildly off, with a score (called R2R^2) of -1.085. That's a terrible score, meaning the prediction was worse than just guessing randomly. But after just a tiny bit of calibration, that score jumped to 0.927, which is nearly perfect. It's like taking a blurry photo and suddenly snapping it into crystal clear focus with just a few adjustments.

Testing the System

The team tested their idea on a variety of gadgets to make sure it wasn't just a fluke for one specific phone. They used:

  • Pixel 8 and Pixel 8 Pro: The main stars of the show, representing modern mobile phones.
  • Jetson Nano: A tiny computer often used for robots and drones.
  • Orange Pi 5 Pro: A small, single-board computer.
  • RTX 3090: A powerful graphics card usually found in high-end gaming PCs.

They found that the same AI model could be incredibly fast on the big gaming card (64.38 tokens per second) but painfully slow on the small Orange Pi (8.42 tokens per second). This proves that you can't just guess speed based on the model alone; you have to know the device.

Why This Matters: The Screening Process

The ultimate goal isn't just to predict speed; it's to save time. Imagine you have 100 different AI models and you need to pick the best one for your specific phone. Without this system, you'd have to download and test all 100. With this system, you can predict the speed of all 100 instantly.

The researchers then use a strategy called Pareto optimization. This is a fancy way of saying they look for the "sweet spot." They want a model that is fast and smart. If Model A is slower than Model B but not smarter, Model A is useless. The system filters out the bad options and leaves you with a short list of the best candidates to test for real.

In their tests, this screening process successfully kept the best possible models in the running. For example, when moving from a Pixel 8 Pro to a Pixel 8, the system filtered out half the candidates but made sure the absolute best one was still there.

What They Found (and What They Didn't)

The paper suggests that this method is a powerful tool for making AI deployment faster and cheaper. They found that:

  • Static guesses aren't enough: Just knowing the model size doesn't tell you how fast it will run on a specific phone.
  • Calibration is key: You can't just copy-paste a prediction from one device to another; you need a tiny bit of real data to fix the prediction.
  • Phase matters: Treating the "reading" part and the "writing" part of the AI differently makes the prediction much more accurate.

However, the authors are careful to note that this is a starting point. Their best results came from the Pixel phones, and while they showed the system could work on other devices like the Jetson and Orange Pi, they didn't do a full, deep-dive training on those yet. They also noted that sometimes, on powerful computers, smaller models don't always run faster than big ones, which is a weird quirk that their system helps explain.

In short, this paper offers a clever, flexible way to guess how fast an AI will run on your gadget without having to wait around for hours to find out. It turns a chaotic guessing game into a calculated, data-driven decision, helping us get the best AI experiences on our devices without burning through our time or battery.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →