Loading…

LLM Augmented LLMs: Expanding Capabilities through Composition

Foundational models with billions of parameters which have been trained on large corpora of data have demonstrated non-trivial skills in a variety of domains. However, due to their monolithic structure, it is challenging and expensive to augment them or impart new skills. On the other hand, due to t...

Full description

Saved in:
Bibliographic Details
Published in:arXiv.org 2024-01
Main Authors: Bansal, Rachit, Samanta, Bidisha, Dalmia, Siddharth, Gupta, Nitish, Vashishth, Shikhar, Ganapathy, Sriram, Bapna, Abhishek, Jain, Prateek, Talukdar, Partha
Format: Article
Language:English
Subjects:
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
cited_by
cites
container_end_page
container_issue
container_start_page
container_title arXiv.org
container_volume
creator Bansal, Rachit
Samanta, Bidisha
Dalmia, Siddharth
Gupta, Nitish
Vashishth, Shikhar
Ganapathy, Sriram
Bapna, Abhishek
Jain, Prateek
Talukdar, Partha
description Foundational models with billions of parameters which have been trained on large corpora of data have demonstrated non-trivial skills in a variety of domains. However, due to their monolithic structure, it is challenging and expensive to augment them or impart new skills. On the other hand, due to their adaptation abilities, several new instances of these models are being trained towards new domains and tasks. In this work, we study the problem of efficient and practical composition of existing foundation models with more specific models to enable newer capabilities. To this end, we propose CALM -- Composition to Augment Language Models -- which introduces cross-attention between models to compose their representations and enable new capabilities. Salient features of CALM are: (i) Scales up LLMs on new tasks by 're-using' existing LLMs along with a few additional parameters and data, (ii) Existing model weights are kept intact, and hence preserves existing capabilities, and (iii) Applies to diverse domains and settings. We illustrate that augmenting PaLM2-S with a smaller model trained on low-resource languages results in an absolute improvement of up to 13\% on tasks like translation into English and arithmetic reasoning for low-resource languages. Similarly, when PaLM2-S is augmented with a code-specific model, we see a relative improvement of 40\% over the base model for code generation and explanation tasks -- on-par with fully fine-tuned counterparts.
format article
fullrecord <record><control><sourceid>proquest</sourceid><recordid>TN_cdi_proquest_journals_2910701410</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2910701410</sourcerecordid><originalsourceid>FETCH-proquest_journals_29107014103</originalsourceid><addsrcrecordid>eNpjYuA0MjY21LUwMTLiYOAtLs4yMDAwMjM3MjU15mSw8_HxVXAsTc9NzStJTVEA8oqtFFwrChLzUjLz0hWcEwsSkzJzMksyU4sVSjKK8kvTMxSc83ML8ouBYvl5PAysaYk5xam8UJqbQdnNNcTZQ7egKL-wNLW4JD4rv7QoDygVb2RpaGBuYGhiaGBMnCoAZCI3ww</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype><pqid>2910701410</pqid></control><display><type>article</type><title>LLM Augmented LLMs: Expanding Capabilities through Composition</title><source>Publicly Available Content Database</source><creator>Bansal, Rachit ; Samanta, Bidisha ; Dalmia, Siddharth ; Gupta, Nitish ; Vashishth, Shikhar ; Ganapathy, Sriram ; Bapna, Abhishek ; Jain, Prateek ; Talukdar, Partha</creator><creatorcontrib>Bansal, Rachit ; Samanta, Bidisha ; Dalmia, Siddharth ; Gupta, Nitish ; Vashishth, Shikhar ; Ganapathy, Sriram ; Bapna, Abhishek ; Jain, Prateek ; Talukdar, Partha</creatorcontrib><description>Foundational models with billions of parameters which have been trained on large corpora of data have demonstrated non-trivial skills in a variety of domains. However, due to their monolithic structure, it is challenging and expensive to augment them or impart new skills. On the other hand, due to their adaptation abilities, several new instances of these models are being trained towards new domains and tasks. In this work, we study the problem of efficient and practical composition of existing foundation models with more specific models to enable newer capabilities. To this end, we propose CALM -- Composition to Augment Language Models -- which introduces cross-attention between models to compose their representations and enable new capabilities. Salient features of CALM are: (i) Scales up LLMs on new tasks by 're-using' existing LLMs along with a few additional parameters and data, (ii) Existing model weights are kept intact, and hence preserves existing capabilities, and (iii) Applies to diverse domains and settings. We illustrate that augmenting PaLM2-S with a smaller model trained on low-resource languages results in an absolute improvement of up to 13\% on tasks like translation into English and arithmetic reasoning for low-resource languages. Similarly, when PaLM2-S is augmented with a code-specific model, we see a relative improvement of 40\% over the base model for code generation and explanation tasks -- on-par with fully fine-tuned counterparts.</description><identifier>EISSN: 2331-8422</identifier><language>eng</language><publisher>Ithaca: Cornell University Library, arXiv.org</publisher><subject>Composition ; Languages ; Large language models ; Mathematical models ; Parameters ; Skills</subject><ispartof>arXiv.org, 2024-01</ispartof><rights>2024. This work is published under http://creativecommons.org/licenses/by/4.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktohtml>$$Uhttps://www.proquest.com/docview/2910701410?pq-origsite=primo$$EHTML$$P50$$Gproquest$$Hfree_for_read</linktohtml><link.rule.ids>780,784,25753,37012,44590</link.rule.ids></links><search><creatorcontrib>Bansal, Rachit</creatorcontrib><creatorcontrib>Samanta, Bidisha</creatorcontrib><creatorcontrib>Dalmia, Siddharth</creatorcontrib><creatorcontrib>Gupta, Nitish</creatorcontrib><creatorcontrib>Vashishth, Shikhar</creatorcontrib><creatorcontrib>Ganapathy, Sriram</creatorcontrib><creatorcontrib>Bapna, Abhishek</creatorcontrib><creatorcontrib>Jain, Prateek</creatorcontrib><creatorcontrib>Talukdar, Partha</creatorcontrib><title>LLM Augmented LLMs: Expanding Capabilities through Composition</title><title>arXiv.org</title><description>Foundational models with billions of parameters which have been trained on large corpora of data have demonstrated non-trivial skills in a variety of domains. However, due to their monolithic structure, it is challenging and expensive to augment them or impart new skills. On the other hand, due to their adaptation abilities, several new instances of these models are being trained towards new domains and tasks. In this work, we study the problem of efficient and practical composition of existing foundation models with more specific models to enable newer capabilities. To this end, we propose CALM -- Composition to Augment Language Models -- which introduces cross-attention between models to compose their representations and enable new capabilities. Salient features of CALM are: (i) Scales up LLMs on new tasks by 're-using' existing LLMs along with a few additional parameters and data, (ii) Existing model weights are kept intact, and hence preserves existing capabilities, and (iii) Applies to diverse domains and settings. We illustrate that augmenting PaLM2-S with a smaller model trained on low-resource languages results in an absolute improvement of up to 13\% on tasks like translation into English and arithmetic reasoning for low-resource languages. Similarly, when PaLM2-S is augmented with a code-specific model, we see a relative improvement of 40\% over the base model for code generation and explanation tasks -- on-par with fully fine-tuned counterparts.</description><subject>Composition</subject><subject>Languages</subject><subject>Large language models</subject><subject>Mathematical models</subject><subject>Parameters</subject><subject>Skills</subject><issn>2331-8422</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2024</creationdate><recordtype>article</recordtype><sourceid>PIMPY</sourceid><recordid>eNpjYuA0MjY21LUwMTLiYOAtLs4yMDAwMjM3MjU15mSw8_HxVXAsTc9NzStJTVEA8oqtFFwrChLzUjLz0hWcEwsSkzJzMksyU4sVSjKK8kvTMxSc83ML8ouBYvl5PAysaYk5xam8UJqbQdnNNcTZQ7egKL-wNLW4JD4rv7QoDygVb2RpaGBuYGhiaGBMnCoAZCI3ww</recordid><startdate>20240104</startdate><enddate>20240104</enddate><creator>Bansal, Rachit</creator><creator>Samanta, Bidisha</creator><creator>Dalmia, Siddharth</creator><creator>Gupta, Nitish</creator><creator>Vashishth, Shikhar</creator><creator>Ganapathy, Sriram</creator><creator>Bapna, Abhishek</creator><creator>Jain, Prateek</creator><creator>Talukdar, Partha</creator><general>Cornell University Library, arXiv.org</general><scope>8FE</scope><scope>8FG</scope><scope>ABJCF</scope><scope>ABUWG</scope><scope>AFKRA</scope><scope>AZQEC</scope><scope>BENPR</scope><scope>BGLVJ</scope><scope>CCPQU</scope><scope>DWQXO</scope><scope>HCIFZ</scope><scope>L6V</scope><scope>M7S</scope><scope>PIMPY</scope><scope>PQEST</scope><scope>PQQKQ</scope><scope>PQUKI</scope><scope>PRINS</scope><scope>PTHSS</scope></search><sort><creationdate>20240104</creationdate><title>LLM Augmented LLMs: Expanding Capabilities through Composition</title><author>Bansal, Rachit ; Samanta, Bidisha ; Dalmia, Siddharth ; Gupta, Nitish ; Vashishth, Shikhar ; Ganapathy, Sriram ; Bapna, Abhishek ; Jain, Prateek ; Talukdar, Partha</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-proquest_journals_29107014103</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2024</creationdate><topic>Composition</topic><topic>Languages</topic><topic>Large language models</topic><topic>Mathematical models</topic><topic>Parameters</topic><topic>Skills</topic><toplevel>online_resources</toplevel><creatorcontrib>Bansal, Rachit</creatorcontrib><creatorcontrib>Samanta, Bidisha</creatorcontrib><creatorcontrib>Dalmia, Siddharth</creatorcontrib><creatorcontrib>Gupta, Nitish</creatorcontrib><creatorcontrib>Vashishth, Shikhar</creatorcontrib><creatorcontrib>Ganapathy, Sriram</creatorcontrib><creatorcontrib>Bapna, Abhishek</creatorcontrib><creatorcontrib>Jain, Prateek</creatorcontrib><creatorcontrib>Talukdar, Partha</creatorcontrib><collection>ProQuest SciTech Collection</collection><collection>ProQuest Technology Collection</collection><collection>Materials Science &amp; Engineering Collection</collection><collection>ProQuest Central (Alumni)</collection><collection>ProQuest Central</collection><collection>ProQuest Central Essentials</collection><collection>AUTh Library subscriptions: ProQuest Central</collection><collection>Technology Collection</collection><collection>ProQuest One Community College</collection><collection>ProQuest Central Korea</collection><collection>SciTech Premium Collection</collection><collection>ProQuest Engineering Collection</collection><collection>ProQuest Engineering Database</collection><collection>Publicly Available Content Database</collection><collection>ProQuest One Academic Eastern Edition (DO NOT USE)</collection><collection>ProQuest One Academic</collection><collection>ProQuest One Academic UKI Edition</collection><collection>ProQuest Central China</collection><collection>Engineering collection</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Bansal, Rachit</au><au>Samanta, Bidisha</au><au>Dalmia, Siddharth</au><au>Gupta, Nitish</au><au>Vashishth, Shikhar</au><au>Ganapathy, Sriram</au><au>Bapna, Abhishek</au><au>Jain, Prateek</au><au>Talukdar, Partha</au><format>book</format><genre>document</genre><ristype>GEN</ristype><atitle>LLM Augmented LLMs: Expanding Capabilities through Composition</atitle><jtitle>arXiv.org</jtitle><date>2024-01-04</date><risdate>2024</risdate><eissn>2331-8422</eissn><abstract>Foundational models with billions of parameters which have been trained on large corpora of data have demonstrated non-trivial skills in a variety of domains. However, due to their monolithic structure, it is challenging and expensive to augment them or impart new skills. On the other hand, due to their adaptation abilities, several new instances of these models are being trained towards new domains and tasks. In this work, we study the problem of efficient and practical composition of existing foundation models with more specific models to enable newer capabilities. To this end, we propose CALM -- Composition to Augment Language Models -- which introduces cross-attention between models to compose their representations and enable new capabilities. Salient features of CALM are: (i) Scales up LLMs on new tasks by 're-using' existing LLMs along with a few additional parameters and data, (ii) Existing model weights are kept intact, and hence preserves existing capabilities, and (iii) Applies to diverse domains and settings. We illustrate that augmenting PaLM2-S with a smaller model trained on low-resource languages results in an absolute improvement of up to 13\% on tasks like translation into English and arithmetic reasoning for low-resource languages. Similarly, when PaLM2-S is augmented with a code-specific model, we see a relative improvement of 40\% over the base model for code generation and explanation tasks -- on-par with fully fine-tuned counterparts.</abstract><cop>Ithaca</cop><pub>Cornell University Library, arXiv.org</pub><oa>free_for_read</oa></addata></record>
fulltext fulltext
identifier EISSN: 2331-8422
ispartof arXiv.org, 2024-01
issn 2331-8422
language eng
recordid cdi_proquest_journals_2910701410
source Publicly Available Content Database
subjects Composition
Languages
Large language models
Mathematical models
Parameters
Skills
title LLM Augmented LLMs: Expanding Capabilities through Composition
url http://sfxeu10.hosted.exlibrisgroup.com/loughborough?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2024-12-28T07%3A41%3A46IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest&rft_val_fmt=info:ofi/fmt:kev:mtx:book&rft.genre=document&rft.atitle=LLM%20Augmented%20LLMs:%20Expanding%20Capabilities%20through%20Composition&rft.jtitle=arXiv.org&rft.au=Bansal,%20Rachit&rft.date=2024-01-04&rft.eissn=2331-8422&rft_id=info:doi/&rft_dat=%3Cproquest%3E2910701410%3C/proquest%3E%3Cgrp_id%3Ecdi_FETCH-proquest_journals_29107014103%3C/grp_id%3E%3Coa%3E%3C/oa%3E%3Curl%3E%3C/url%3E&rft_id=info:oai/&rft_pqid=2910701410&rft_id=info:pmid/&rfr_iscdi=true