Propagating Knowledge Updates to LMs Through Distillation

Modern language models have the capacity to store and use immense amounts of knowledge about real-world entities, but it remains unclear how to update such knowledge stored in model parameters. While prior methods for updating knowledge in LMs successfully inject atomic facts, updated LMs fail to ma...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Padmanabhan, Shankar, Onoe, Yasumasa, Zhang, Michael J. Q, Durrett, Greg, Choi, Eunsol
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page
container_issue
container_start_page
container_title
container_volume
creator Padmanabhan, Shankar
Onoe, Yasumasa
Zhang, Michael J. Q
Durrett, Greg
Choi, Eunsol
description Modern language models have the capacity to store and use immense amounts of knowledge about real-world entities, but it remains unclear how to update such knowledge stored in model parameters. While prior methods for updating knowledge in LMs successfully inject atomic facts, updated LMs fail to make inferences based on injected facts. In this work, we demonstrate that a context distillation-based approach can both impart knowledge about entities and propagate that knowledge to enable broader inferences. Our approach consists of two stages: transfer set generation and distillation on the transfer set. We first generate a transfer set by prompting a language model to generate continuations from the entity definition. Then, we update the model parameters so that the distribution of the LM (the student) matches the distribution of the LM conditioned on the definition (the teacher) on the transfer set. Our experiments demonstrate that this approach is more effective at propagating knowledge updates than fine-tuning and other gradient-based knowledge-editing methods. Moreover, it does not compromise performance in other contexts, even when injecting the definitions of up to 150 entities at once.
doi_str_mv 10.48550/arxiv.2306.09306
format Article
fullrecord <record><control><sourceid>arxiv_GOX</sourceid><recordid>TN_cdi_arxiv_primary_2306_09306</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2306_09306</sourcerecordid><originalsourceid>FETCH-LOGICAL-a676-fc686def46cb40fd7f3dbc7c97d8e1fa17ab15fffe7a77468281449c8d1ee5933</originalsourceid><addsrcrecordid>eNotj8tOwzAURL1hgQofwKr-gQS7dvxYovIUQbBI19GN7ZtaCnHkhNffU1o2M5vR0RxCrjgrpakqdg35O36WG8FUyewhz4l9y2mCHpY49vR5TF9D8H2gu8nDEma6JFq_zLTZ5_TR7-ltnJc4DId1Gi_IGcIwh8v_XpHm_q7ZPhb168PT9qYuQGlVoFNG-YBSuU4y9BqF75x2VnsTOALX0PEKEYMGraUyG8OltM54HkJlhViR9Ql7_N5OOb5D_mn_HNqjg_gFS-FCSA</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>Propagating Knowledge Updates to LMs Through Distillation</title><source>arXiv.org</source><creator>Padmanabhan, Shankar ; Onoe, Yasumasa ; Zhang, Michael J. Q ; Durrett, Greg ; Choi, Eunsol</creator><creatorcontrib>Padmanabhan, Shankar ; Onoe, Yasumasa ; Zhang, Michael J. Q ; Durrett, Greg ; Choi, Eunsol</creatorcontrib><description>Modern language models have the capacity to store and use immense amounts of knowledge about real-world entities, but it remains unclear how to update such knowledge stored in model parameters. While prior methods for updating knowledge in LMs successfully inject atomic facts, updated LMs fail to make inferences based on injected facts. In this work, we demonstrate that a context distillation-based approach can both impart knowledge about entities and propagate that knowledge to enable broader inferences. Our approach consists of two stages: transfer set generation and distillation on the transfer set. We first generate a transfer set by prompting a language model to generate continuations from the entity definition. Then, we update the model parameters so that the distribution of the LM (the student) matches the distribution of the LM conditioned on the definition (the teacher) on the transfer set. Our experiments demonstrate that this approach is more effective at propagating knowledge updates than fine-tuning and other gradient-based knowledge-editing methods. Moreover, it does not compromise performance in other contexts, even when injecting the definitions of up to 150 entities at once.</description><identifier>DOI: 10.48550/arxiv.2306.09306</identifier><language>eng</language><subject>Computer Science - Computation and Language</subject><creationdate>2023-06</creationdate><rights>http://creativecommons.org/licenses/by/4.0</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>228,230,780,885</link.rule.ids><linktorsrc>$$Uhttps://arxiv.org/abs/2306.09306$$EView_record_in_Cornell_University$$FView_record_in_$$GCornell_University$$Hfree_for_read</linktorsrc><backlink>$$Uhttps://doi.org/10.48550/arXiv.2306.09306$$DView paper in arXiv$$Hfree_for_read</backlink></links><search><creatorcontrib>Padmanabhan, Shankar</creatorcontrib><creatorcontrib>Onoe, Yasumasa</creatorcontrib><creatorcontrib>Zhang, Michael J. Q</creatorcontrib><creatorcontrib>Durrett, Greg</creatorcontrib><creatorcontrib>Choi, Eunsol</creatorcontrib><title>Propagating Knowledge Updates to LMs Through Distillation</title><description>Modern language models have the capacity to store and use immense amounts of knowledge about real-world entities, but it remains unclear how to update such knowledge stored in model parameters. While prior methods for updating knowledge in LMs successfully inject atomic facts, updated LMs fail to make inferences based on injected facts. In this work, we demonstrate that a context distillation-based approach can both impart knowledge about entities and propagate that knowledge to enable broader inferences. Our approach consists of two stages: transfer set generation and distillation on the transfer set. We first generate a transfer set by prompting a language model to generate continuations from the entity definition. Then, we update the model parameters so that the distribution of the LM (the student) matches the distribution of the LM conditioned on the definition (the teacher) on the transfer set. Our experiments demonstrate that this approach is more effective at propagating knowledge updates than fine-tuning and other gradient-based knowledge-editing methods. Moreover, it does not compromise performance in other contexts, even when injecting the definitions of up to 150 entities at once.</description><subject>Computer Science - Computation and Language</subject><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2023</creationdate><recordtype>article</recordtype><sourceid>GOX</sourceid><recordid>eNotj8tOwzAURL1hgQofwKr-gQS7dvxYovIUQbBI19GN7ZtaCnHkhNffU1o2M5vR0RxCrjgrpakqdg35O36WG8FUyewhz4l9y2mCHpY49vR5TF9D8H2gu8nDEma6JFq_zLTZ5_TR7-ltnJc4DId1Gi_IGcIwh8v_XpHm_q7ZPhb168PT9qYuQGlVoFNG-YBSuU4y9BqF75x2VnsTOALX0PEKEYMGraUyG8OltM54HkJlhViR9Ql7_N5OOb5D_mn_HNqjg_gFS-FCSA</recordid><startdate>20230615</startdate><enddate>20230615</enddate><creator>Padmanabhan, Shankar</creator><creator>Onoe, Yasumasa</creator><creator>Zhang, Michael J. Q</creator><creator>Durrett, Greg</creator><creator>Choi, Eunsol</creator><scope>AKY</scope><scope>GOX</scope></search><sort><creationdate>20230615</creationdate><title>Propagating Knowledge Updates to LMs Through Distillation</title><author>Padmanabhan, Shankar ; Onoe, Yasumasa ; Zhang, Michael J. Q ; Durrett, Greg ; Choi, Eunsol</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a676-fc686def46cb40fd7f3dbc7c97d8e1fa17ab15fffe7a77468281449c8d1ee5933</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2023</creationdate><topic>Computer Science - Computation and Language</topic><toplevel>online_resources</toplevel><creatorcontrib>Padmanabhan, Shankar</creatorcontrib><creatorcontrib>Onoe, Yasumasa</creatorcontrib><creatorcontrib>Zhang, Michael J. Q</creatorcontrib><creatorcontrib>Durrett, Greg</creatorcontrib><creatorcontrib>Choi, Eunsol</creatorcontrib><collection>arXiv Computer Science</collection><collection>arXiv.org</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Padmanabhan, Shankar</au><au>Onoe, Yasumasa</au><au>Zhang, Michael J. Q</au><au>Durrett, Greg</au><au>Choi, Eunsol</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Propagating Knowledge Updates to LMs Through Distillation</atitle><date>2023-06-15</date><risdate>2023</risdate><abstract>Modern language models have the capacity to store and use immense amounts of knowledge about real-world entities, but it remains unclear how to update such knowledge stored in model parameters. While prior methods for updating knowledge in LMs successfully inject atomic facts, updated LMs fail to make inferences based on injected facts. In this work, we demonstrate that a context distillation-based approach can both impart knowledge about entities and propagate that knowledge to enable broader inferences. Our approach consists of two stages: transfer set generation and distillation on the transfer set. We first generate a transfer set by prompting a language model to generate continuations from the entity definition. Then, we update the model parameters so that the distribution of the LM (the student) matches the distribution of the LM conditioned on the definition (the teacher) on the transfer set. Our experiments demonstrate that this approach is more effective at propagating knowledge updates than fine-tuning and other gradient-based knowledge-editing methods. Moreover, it does not compromise performance in other contexts, even when injecting the definitions of up to 150 entities at once.</abstract><doi>10.48550/arxiv.2306.09306</doi><oa>free_for_read</oa></addata></record>
fulltext fulltext_linktorsrc
identifier DOI: 10.48550/arxiv.2306.09306
ispartof
issn
language eng
recordid cdi_arxiv_primary_2306_09306
source arXiv.org
subjects Computer Science - Computation and Language
title Propagating Knowledge Updates to LMs Through Distillation
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2024-12-19T10%3A58%3A15IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-arxiv_GOX&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Propagating%20Knowledge%20Updates%20to%20LMs%20Through%20Distillation&rft.au=Padmanabhan,%20Shankar&rft.date=2023-06-15&rft_id=info:doi/10.48550/arxiv.2306.09306&rft_dat=%3Carxiv_GOX%3E2306_09306%3C/arxiv_GOX%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true