Resource-efficient Inference with Foundation Model Programs
Not on the map. Why?
Abstract (arXiv)
The inference-time resource costs of large language and vision models present a growing challenge in production deployments. We propose the use of foundation model programs, i.e., programs that can invoke foundation models with varying resource costs and performance, as an approach to this problem. Specifically, we present a method that translates a task into a program, then learns a policy for resource allocation that, on each input, selects foundation model "backends" for each program module. The policy uses smaller, cheaper backends to handle simpler subtasks, while allowing more complex subtasks to leverage larger, more capable models. We evaluate the method on two new "streaming" visual question-answering tasks in which a system answers a question on a sequence of inputs, receiving ground-truth feedback after each answer. Compared to monolithic multi-modal models, our implementation achieves up to 98% resource savings with minimal accuracy loss, demonstrating its potential for scalable and resource-efficient multi-modal inference.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 45 of its 56 references that are in the map. First posted on arXiv 9 Apr 2025.
Builds on
45 of 56 references.
References · 45
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2023GPT-4 Technical Reportcited by 18,396
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,137
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2025Qwen2.5-VL Technical Reportcited by 5,587
- 2024GPT-4o System Cardcited by 4,588
- 2023Improved Baselines with Visual Instruction Tuningcited by 4,418
- 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,322
- 2023Grounding DINO: Marrying DINO with Grounded Pre-Training for Open-Set Object Detectioncited by 3,332
33 more
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
- 2016Making the V in VQA Matter: Elevating the Role of Image Understanding in Visual Question Answeringcited by 2,516
- 2015VQA: Visual Question Answeringcited by 2,506
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,653
- 2016CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoningcited by 1,457
- 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,385
- 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,298
- 2021Grounded Language-Image Pre-trainingcited by 1,156
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 853
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 832
- 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 815
- 2022OFA: Unifying Architectures, Tasks, and Modalities Through a Simple Sequence-to-Sequence Learning Frameworkcited by 745
- 2022A-OKVQA: A Benchmark for Visual Question Answering using World Knowledgecited by 710
- 2023ViperGPT: Visual Inference via Python Execution for Reasoningcited by 603
- 2022Visual Programming: Compositional visual reasoning without trainingcited by 516
- 2023Chameleon: Plug-and-Play Compositional Reasoning with Large Language Modelscited by 356
- 2024RouterBench: A Benchmark for Multi-LLM Routing Systemcited by 238
- 2023Large Language Model Routing with Benchmark Datasetscited by 172
- 2023Routing to the Expert: Efficient Reward-guided Ensemble of Large Language Modelscited by 145
- 2023MiniLLM: On-Policy Distillation of Large Language Modelscited by 139
- 2020Neural Thompson Samplingcited by 128
- 2024Language Model Cascades: Token-level uncertainty and beyondcited by 121
- 2015Yin and Yang: Balancing and Answering Binary Visual Questionscited by 109
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Modelscited by 86
- 2025Universal Model Routing for Efficient LLM Inferencecited by 86
- 2024Harder Tasks Need More Experts: Dynamic Routing in MoE Modelscited by 72
- 2023Modular Visual Question Answering via Code Generationcited by 48
- 2024MetaLLM: A High-performant and Cost-efficient Dynamic Framework for Wrapping LLMscited by 41
- 2025LLM Bandit: Cost-Efficient LLM Generation via Preference-Conditioned Dynamic Routingcited by 34
- 2021Select, Substitute, Search: A New Benchmark for Knowledge-Augmented Visual Question Answeringcited by 33
- 2021Multi-facet Contextual Bandits: A Neural Network Perspectivecited by 20
- 2024Online Cascade Learning for Efficient Inference over Streamscited by 20
- 2023Smoothing Methods for Automatic Differentiation Across Conditional Branchescited by 7
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
- 2025Toward Super Agent System with Hybrid AI Routerscited by 6
- 2026FlowCompile: An Optimizing Compiler for Structured LLM Workflowscited by 0
- 2026FlowCompile: An Optimizing Compiler for Structured LLM Workflows13 May 2026
- 2025Toward Super Agent System with Hybrid AI Routers11 Apr 2025