CLAIMay 24, 2023

ExpertPrompting: Instructing Large Language Models to be Distinguished Experts

arXiv:2305.14688v2205 citationsHas Code
Originality Incremental advance
AI Analysis

This addresses the challenge of enhancing LLM performance for users needing expert-level responses, though it is incremental as it builds on existing prompting techniques.

The paper tackles the problem of improving large language model (LLM) answering quality by proposing ExpertPrompting, which uses in-context learning to create expert identity descriptions for prompts, resulting in a trained model, ExpertLLaMA, that achieves 96% of ChatGPT's capability.

The answering quality of an aligned large language model (LLM) can be drastically improved if treated with proper crafting of prompts. In this paper, we propose ExpertPrompting to elicit the potential of LLMs to answer as distinguished experts. We first utilize In-Context Learning to automatically synthesize detailed and customized descriptions of the expert identity for each specific instruction, and then ask LLMs to provide answer conditioned on such agent background. Based on this augmented prompting strategy, we produce a new set of instruction-following data using GPT-3.5, and train a competitive open-source chat assistant called ExpertLLaMA. We employ GPT4-based evaluation to show that 1) the expert data is of significantly higher quality than vanilla answers, and 2) ExpertLLaMA outperforms existing open-source opponents and achieves 96\% of the original ChatGPT's capability. All data and the ExpertLLaMA model will be made publicly available at https://github.com/OFA-Sys/ExpertLLaMA.

Code Implementations2 repos
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes