INAR-VL: Input-Aware Routing for Edge-Cloud Vision-Language Inference
INAR-VL is a lightweight edge-cloud routing system that dynamically selects between local and cloud-based Vision-Language Models based on input complexity, achieving significant reductions in latency and energy consumption while maintaining near-cloud accuracy.
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 have a smart assistant that can "see" pictures and "read" text to answer your questions. This is called a Vision-Language Model (VLM). The paper introduces a new system called INAR-VL that acts like a smart traffic controller for these assistants, deciding whether to answer a question right on your device (the "Edge") or send it to a supercomputer in the cloud.
Here is the simple story of the problem and the solution, using everyday analogies.
The Problem: The "Fast but Dumb" vs. "Slow but Smart" Dilemma
Think of your phone or a robot's camera as a local mechanic's shop.
- The Local Shop (Edge): It's right next to you. It's super fast to get a diagnosis, and it doesn't cost much fuel to run. However, the mechanic there only has a basic toolkit. If you bring them a simple problem (like "Is this tire flat?"), they fix it instantly. But if you bring them a complex engine issue or a blurry photo of a tiny part, they might guess wrong because their tools aren't powerful enough.
- The Master Garage (Cloud): This is a massive, high-tech facility miles away. It has every tool imaginable and the best mechanics. It can solve any problem, even the hardest ones. But, you have to drive your car there (sending data over the internet), which takes time and gas (energy). If the road is bad (slow internet), you might wait forever.
The Catch: Not every problem needs the Master Garage. Sending a simple "Is the tire flat?" question to the Master Garage is a waste of time and gas. But sending a complex "Why is this engine making a weird noise?" question to the Local Shop might result in a wrong answer.
Most systems today are like a stubborn manager who says, "We only use the Local Shop" or "We only use the Master Garage," regardless of the problem. This leads to either slow answers or wrong answers.
The Solution: INAR-VL (The Smart Dispatcher)
The authors built INAR-VL, a smart dispatcher that looks at every question before it is answered to decide the best path.
How it works:
- The Quick Scan: Before sending a question anywhere, INAR-VL does a lightning-fast check (taking only a fraction of a second). It looks at two things:
- The Photo: Is it blurry? Is it dark? Is it a simple picture or a complex diagram?
- The Question: Is it a simple "What is this?" or a complex "Explain the reasoning behind this chart"?
- The Decision:
- If the photo is clear and the question is simple, the dispatcher says, "Handle this locally!" The Local Shop (Edge) answers it instantly.
- If the photo is blurry or the question requires deep thinking, the dispatcher says, "Send this to the Master Garage!" The Cloud takes over to ensure accuracy.
The "Complementary" Team:
The system doesn't just have one Local Shop and one Master Garage. It has a small team of different experts. Some are better at reading text (OCR), while others are better at logical reasoning. INAR-VL picks the right expert for the job, not just the right location.
The Results: Getting the Best of Both Worlds
The researchers tested this system on thousands of questions. Here is what happened:
- Speed: By keeping simple questions local, the system became 24% faster on average compared to sending everything to the cloud.
- Energy: It used 26% less energy, because it didn't waste power sending data back and forth for easy tasks.
- Accuracy: It didn't sacrifice quality. It kept 97% of the accuracy you would get if you sent everything to the supercomputer.
- The Split: About 36% of the requests were handled locally (saving time and energy), while the harder 64% were sent to the cloud (ensuring they were answered correctly).
The Bottom Line
INAR-VL is like a smart traffic light for AI. Instead of forcing every car to take the long highway (Cloud) or every car to stay in the neighborhood (Edge), it looks at the destination and the traffic conditions. It sends the easy trips down the local road and reserves the highway for the heavy haulers.
The result? You get answers that are almost as smart as the supercomputer, but much faster and cheaper to run, especially when your internet connection isn't perfect.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.