paper-with-me

홈 › Papers

All Language Models Large and Small

2024-02-19 · Zhixun Chen, Yali Du, David Mguni

Many leading language models (LMs) use high-intensity computational resources both during training and execution. This poses the challenge of lowering resource costs for deployment and faster execution of decision-making tasks among others. We introduce a novel plug-and-play LM framework named Language Optimising Network Distribution (LONDI) framework. LONDI learns to selectively employ large LMs only where complex decision-making and reasoning are required while using low-resource LMs (i.e. LMs require less GPU usage, but may not be able to solve the problem alone) everywhere else. LONDI consists of a system of two (off-)policy networks, an LM, a large LM (LLM), and a reinforcement learning module that uses switching controls to quickly learn which system states to call the LLM. We then introduce a variant of LONDI that maintains budget constraints on LLM calls and hence its resource usage. Theoretically, we prove LONDI learns the subset of system states to activate the LLM required to solve the task. We then prove that LONDI converges to optimal solutions while also preserving budgetary constraints on LLM calls almost surely enabling it to solve various tasks while significantly lowering computational costs. We test LONDI's performance in a range of tasks in ScienceWorld and BabyAI-Text and demonstrate that LONDI can solve tasks only solvable by resource-intensive LLMs while reducing GPU usage by up to 30%.

📄 PDF Abstract BibTeX arXiv:2402.12061

Code (0)

등록된 구현이 없습니다.

Tasks

AllDecision MakingGPU

Similar Papers 제목 키워드 기반

Two LRL \& Distractor Corpora from Web Information Retrieval and a Small Case Study in Language Identification without Training Corpora

2020-05-01 · LREC 2020 5 · Armin Hoenen, Cemre Koc, Marc Rahn

In recent years, low resource languages (LRLs) have seen a surge in interest after certain tasks have been solved for larger ones and as they present various challenges (data sparsity, sparsity of experts and expertise, …

Information RetrievalLanguage IdentificationRetrieval

Scaling Smart: Accelerating Large Language Model Pre-training with Small Model Initialization

2024-09-19 · Mohammad Samragh, Iman Mirzadeh, Keivan Alizadeh Vahid, Fartash Faghri 외

The pre-training phase of language models often begins with randomly initialized parameters. With the current trends in scaling models, training their large number of parameters can be extremely slow and costly. In contr…

GPULanguage ModelingLanguage ModellingLarge Language Model+1

InfiR : Crafting Effective Small Language Models and Multimodal Small Language Models in Reasoning

2025-02-17 · Congkai Xie, Shuo Cai, Wenjun Wang, Pengxiang Li 외

Large Language Models (LLMs) and Multimodal Large Language Models (MLLMs) have made significant advancements in reasoning capabilities. However, they still face challenges such as high computational demands and privacy c…

Small Language Models are Good Too: An Empirical Study of Zero-Shot Classification

2024-04-17 · Pierre Lepagnol, Thomas Gerald, Sahar Ghannay, Christophe Servan 외

This study is part of the debate on the efficiency of large versus small language models for text classification by prompting.We assess the performance of small language models in zero-shot text classification, challengi…

Classificationtext-classificationText Classificationzero-shot-classification+2

What Happens When Small Is Made Smaller? Exploring the Impact of Compression on Small Data Pretrained Language Models

2024-04-06 · Busayo Awobade, Mardiyyah Oduwole, Steven Kolawole

Compression techniques have been crucial in advancing machine learning by enabling efficient training and deployment of large-scale language models. However, these techniques have received limited attention in the contex…

Knowledge DistillationLanguage ModelingLanguage ModellingQuantization