Cargando…

Augmenting interpretable models with large language models during training

Recent large language models (LLMs), such as ChatGPT, have demonstrated remarkable prediction performance for a growing array of tasks. However, their proliferation into high-stakes domains and compute-limited settings has created a burgeoning need for interpretability and efficiency. We address thi...

Descripción completa

Detalles Bibliográficos
Autores principales: Singh, Chandan, Askari, Armin, Caruana, Rich, Gao, Jianfeng
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Nature Publishing Group UK 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10689442/
https://www.ncbi.nlm.nih.gov/pubmed/38036543
http://dx.doi.org/10.1038/s41467-023-43713-1
_version_ 1785152368372875264
author Singh, Chandan
Askari, Armin
Caruana, Rich
Gao, Jianfeng
author_facet Singh, Chandan
Askari, Armin
Caruana, Rich
Gao, Jianfeng
author_sort Singh, Chandan
collection PubMed
description Recent large language models (LLMs), such as ChatGPT, have demonstrated remarkable prediction performance for a growing array of tasks. However, their proliferation into high-stakes domains and compute-limited settings has created a burgeoning need for interpretability and efficiency. We address this need by proposing Aug-imodels, a framework for leveraging the knowledge learned by LLMs to build extremely efficient and interpretable prediction models. Aug-imodels use LLMs during fitting but not during inference, allowing complete transparency and often a speed/memory improvement of greater than 1000x for inference compared to LLMs. We explore two instantiations of Aug-imodels in natural-language processing: Aug-Linear, which augments a linear model with decoupled embeddings from an LLM and Aug-Tree, which augments a decision tree with LLM feature expansions. Across a variety of text-classification datasets, both outperform their non-augmented, interpretable counterparts. Aug-Linear can even outperform much larger models, e.g. a 6-billion parameter GPT-J model, despite having 10,000x fewer parameters and being fully transparent. We further explore Aug-imodels in a natural-language fMRI study, where they generate interesting interpretations from scientific data.
format Online
Article
Text
id pubmed-10689442
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher Nature Publishing Group UK
record_format MEDLINE/PubMed
spelling pubmed-106894422023-12-02 Augmenting interpretable models with large language models during training Singh, Chandan Askari, Armin Caruana, Rich Gao, Jianfeng Nat Commun Article Recent large language models (LLMs), such as ChatGPT, have demonstrated remarkable prediction performance for a growing array of tasks. However, their proliferation into high-stakes domains and compute-limited settings has created a burgeoning need for interpretability and efficiency. We address this need by proposing Aug-imodels, a framework for leveraging the knowledge learned by LLMs to build extremely efficient and interpretable prediction models. Aug-imodels use LLMs during fitting but not during inference, allowing complete transparency and often a speed/memory improvement of greater than 1000x for inference compared to LLMs. We explore two instantiations of Aug-imodels in natural-language processing: Aug-Linear, which augments a linear model with decoupled embeddings from an LLM and Aug-Tree, which augments a decision tree with LLM feature expansions. Across a variety of text-classification datasets, both outperform their non-augmented, interpretable counterparts. Aug-Linear can even outperform much larger models, e.g. a 6-billion parameter GPT-J model, despite having 10,000x fewer parameters and being fully transparent. We further explore Aug-imodels in a natural-language fMRI study, where they generate interesting interpretations from scientific data. Nature Publishing Group UK 2023-11-30 /pmc/articles/PMC10689442/ /pubmed/38036543 http://dx.doi.org/10.1038/s41467-023-43713-1 Text en © The Author(s) 2023 https://creativecommons.org/licenses/by/4.0/Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) .
spellingShingle Article
Singh, Chandan
Askari, Armin
Caruana, Rich
Gao, Jianfeng
Augmenting interpretable models with large language models during training
title Augmenting interpretable models with large language models during training
title_full Augmenting interpretable models with large language models during training
title_fullStr Augmenting interpretable models with large language models during training
title_full_unstemmed Augmenting interpretable models with large language models during training
title_short Augmenting interpretable models with large language models during training
title_sort augmenting interpretable models with large language models during training
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10689442/
https://www.ncbi.nlm.nih.gov/pubmed/38036543
http://dx.doi.org/10.1038/s41467-023-43713-1
work_keys_str_mv AT singhchandan augmentinginterpretablemodelswithlargelanguagemodelsduringtraining
AT askariarmin augmentinginterpretablemodelswithlargelanguagemodelsduringtraining
AT caruanarich augmentinginterpretablemodelswithlargelanguagemodelsduringtraining
AT gaojianfeng augmentinginterpretablemodelswithlargelanguagemodelsduringtraining