ExpertPrompting: Instructing Large Language Models to be Distinguished Experts
Benfeng Xu, An Yang, Junyang Lin, Quan Wang, Chang Zhou, Yongdong, Zhang, Zhendong Mao

TL;DR
This paper introduces ExpertPrompting, a method to enhance large language models by instructing them to act as distinguished experts, leading to higher quality responses and a new open-source model called ExpertLLaMA.
Contribution
It proposes a novel prompting strategy using in-context learning to synthesize expert identities, and trains a competitive open-source LLM with improved performance.
Findings
ExpertLLaMA achieves 96% of ChatGPT's capability.
ExpertPrompting produces higher quality, expert-like answers.
The approach outperforms existing open-source models.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Artificial Intelligence in Healthcare and Education
Methods{Dispute@FaQ-s}How to file a dispute with Expedia? · 15 Ways to Contact How can i speak to someone at Delta Airlines · Multi-Head Attention · Cosine Annealing · Softmax · Layer Normalization · Byte Pair Encoding · Dropout · Attention Is All You Need · Linear Layer
