Online Cascade Learning for Efficient Inference over Streams
Nie, Lunyiu, Ding, Zhimin, Hu, Erdong, Jermaine, Christopher, Chaudhuri, Swarat
–arXiv.org Artificial Intelligence
Large Language Models (LLMs) have a natural role in answering complex queries about data streams, but the high computational cost of LLM inference makes them infeasible in many such tasks. We propose online cascade learning, the first approach to addressing this challenge. The objective here is to learn a "cascade" of models, starting with lower-capacity models (such as logistic regressors) and ending with a powerful LLM, along with a deferral policy that determines the model that is used on a given input. We formulate the task of learning cascades online as an imitation-learning problem and give a no-regret algorithm for the problem. Experimental results across four benchmarks show that our method parallels LLMs in accuracy while cutting down inference costs by as much as 90%, underscoring its efficacy and adaptability in stream processing.
arXiv.org Artificial Intelligence
Feb-6-2024
- Country:
- North America > United States
- Texas > Travis County
- Austin (0.04)
- Oregon > Multnomah County
- Portland (0.04)
- Texas > Travis County
- Europe > Belgium
- Brussels-Capital Region > Brussels (0.04)
- Asia > Middle East
- UAE > Abu Dhabi Emirate > Abu Dhabi (0.04)
- North America > United States
- Genre:
- Instructional Material > Online (0.68)
- Research Report (0.65)
- Industry:
- Education (0.66)
- Technology: