paper-with-me

Papers

Supervised Knowledge Makes Large Language Models Better In-context Learners

2023-12-26 · Linyi Yang, Shuibai Zhang, Zhuohao Yu, Guangsheng Bao, Yidong Wang, Jindong Wang, Ruochen Xu, Wei Ye, Xing Xie, Weizhu Chen, Yue Zhang

Large Language Models (LLMs) exhibit emerging in-context learning abilities through prompt engineering. The recent progress in large-scale generative models has further expanded their use in real-world language applications. However, the critical challenge of improving the generalizability and factuality of LLMs in natural language understanding and question answering remains under-explored. While previous in-context learning research has focused on enhancing models to adhere to users' specific instructions and quality expectations, and to avoid undesired outputs, little to no work has explored the use of task-Specific fine-tuned Language Models (SLMs) to improve LLMs' in-context learning during the inference stage. Our primary contribution is the establishment of a simple yet effective framework that enhances the reliability of LLMs as it: 1) generalizes out-of-distribution data, 2) elucidates how LLMs benefit from discriminative models, and 3) minimizes hallucinations in generative tasks. Using our proposed plug-in method, enhanced versions of Llama 2 and ChatGPT surpass their original versions regarding generalizability and factuality. We offer a comprehensive suite of resources, including 16 curated datasets, prompts, model checkpoints, and LLM outputs across 9 distinct tasks. The code and data are released at: https://github.com/YangLinyi/Supervised-Knowledge-Makes-Large-Language-Models-Better-In-context-Learners. Our empirical analysis sheds light on the advantages of incorporating discriminative models into LLMs and highlights the potential of our methodology in fostering more reliable LLMs.

📄 PDF Abstract BibTeX arXiv:2312.15918

Code (1)

yanglinyi/supervised-knowledge-makes-large-language-models-better-in-context-learners 공식 구현 pytorch

Tasks

In-Context LearningNatural Language UnderstandingPrompt EngineeringQuestion Answering

Similar Papers 제목 키워드 기반

OntoProtein: Protein Pretraining With Gene Ontology Embedding

2022-01-23 · ICLR 2022 4 · Ningyu Zhang, Zhen Bi, Xiaozhuan Liang, Siyuan Cheng 외

Self-supervised protein language models have proved their effectiveness in learning the proteins representations. With the increasing computational power, current protein language models pre-trained with millions of dive…

Contrastive LearningKnowledge GraphsOntology EmbeddingProtein Function Prediction

Linguistic Knowledge and Transferability of Contextual Representations

2019-03-21 · NAACL 2019 6 · Nelson F. Liu, Matt Gardner, Yonatan Belinkov, Matthew E. Peters 외

Contextual word representations derived from large-scale neural language models are successful across a diverse set of NLP tasks, suggesting that they encode useful and transferable features of language. To shed light on…

Language ModelingLanguage Modelling

Lifelong Learning CRF for Supervised Aspect Extraction

2017-04-29 · ACL 2017 7 · Lei Shu, Hu Xu, Bing Liu

This paper makes a focused contribution to supervised aspect extraction. It shows that if the system has performed aspect extraction from many past domains and retained their results as knowledge, Conditional Random Fiel…

Aspect ExtractionLifelong learning

Visual link retrieval and knowledge discovery in painting datasets

2020-03-18 · Giovanna Castellano, Eufemia Lella, Gennaro Vessio

Visual arts are of inestimable importance for the cultural, historic and economic growth of our society. One of the building blocks of most analysis in visual arts is to find similarity relationships among paintings of d…

Retrieval

What makes instance discrimination good for transfer learning?

2020-06-11 · ICLR 2021 1 · Nanxuan Zhao, Zhirong Wu, Rynson W. H. Lau, Stephen Lin

Contrastive visual pretraining based on the instance discrimination pretext task has made significant progress. Notably, recent work on unsupervised pretraining has shown to surpass the supervised counterpart for finetun…

object-detectionObject DetectionTransfer Learning