Prompting Large Language Models (LLMs) performs impressively in zero- and few-shot settings. Hence, small and medium-sized enterprises (SMEs) that cannot afford the cost of creating large task-specific training datasets, but also the cost of pretraining their own LLMs, are increasingly turning to third-party services that allow them to prompt LLMs. However, such services currently require a payment per call, which becomes a significant operating expense (OpEx). Furthermore, customer inputs are often very similar over time, hence SMEs end-up prompting LLMs with very similar instances. We propose a framework that allows reducing the calls to LLMs by caching previous LLM responses and using them to train a local inexpensive model on the SME side. The framework includes criteria for deciding when to trust the local model or call the LLM, and a methodology to tune the criteria and measure the tradeoff between performance and cost. For experimental purposes, we instantiate our framework with two LLMs, GPT-3.5 or GPT-4, and two inexpensive students, a k-NN classifier or a Multi-Layer Perceptron, using two common business tasks, intent recognition and sentiment analysis. Experimental results indicate that significant OpEx savings can be obtained with only slightly lower performance.
When the Strongest Teacher Is Not the Best Teacher: Student-Centric Answer Selection
University of Washington(华盛顿大学);University of Texas at Austin(德克萨斯大学奥斯汀分校);University of Southern California(南加州大学);Independent Researcher(独立研究者);National University of Singapore(新加坡国立大学);Microsoft(微软);Google(谷歌);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Northwestern University(西北大学);Allen Institute for AI (AI2)(人工智能研究院(AI2))
Distantly-Supervised Named Entity Recognition with Adaptive Teacher Learning and Fine-grained Student Ensemble
Huawei Cloud(华为云);School of Software Engineering, Huazhong University of Science and Technology(华中科技大学软件工程学院);Peking University(北京大学);Hubei Key Laboratory of Distributed System Security, Hubei Engineering Research Center on Big Data Security, School of Cyber Science and Engineering, Huazhong University of Science and Technology(华中科技大学网络空间安全学院,湖北省分布式系统安全重点实验室,湖北省大数据安全工程技术研究中心)
Improving the Robustness of Distantly-Supervised Named Entity Recognition via Uncertainty-Aware Teacher Learning and Student-Student Collaborative Learning
National Key Laboratory for Multimedia Information Processing, Peking University(北京大学多媒体信息处理国家重点实验室);School of Software and Microelectronics, Peking University(北京大学软件与微电子学院);Tencent Inc.(腾讯公司);Jiangsu Collaborative Innovation Center for Language Ability, Jiangsu Normal University(江苏省语言能力协同创新中心,江苏师范大学)
In Good GRACEs: Principled Teacher Selection for Knowledge Distillation
Princeton Language and Intelligence(普林斯顿语言与智能研究所);Kempner Institute, Harvard(哈佛凯普纳研究所);Microsoft Research, New York(微软研究院(纽约));University of Pennsylvania(宾夕法尼亚大学)