Nowadays, Large Language Models (LLMs) are extensively applied in various situations from writing to solving complex problems. However, how to effectively interact with Artificial Intelligence and explore its potential remains to receive little attention.
Recently, Researcher LIN Zhicheng from Department of Psychology, University of Science and Technology of China (USTC) proposed practical strategies and guidelines to help us better understand and utilize LLMs. He emphasized that well-crafted prompts can enhance the accuracy and relevance of responses, preventing poor performance due to low-quality instructions. This commentary was published in Nature Human Behavior on 4th March.
Trained with deep learning, LLMs simulate neural network, with a distinctive feature of self-attention. LLMs are able to understand human language, thus being more user-friendly. Effective engagement with LLMs adds to the accuracy and relevance of the outputs, while reversely, poorly structured prompts can lead to inadequate answers. Though interacting with LLMs is seemingly simple, LIN pointed out that, designing effective prompts for LLMs is challenging.
The commentary highlighted the importance of "prompt engineering", a technique to optimize LLMs outputs through accurate input control. LIN proposed a series of strategies, including giving explicit instructions, adding relevant context, asking for multiple options and so on. These methods can help lead to ideal answers and reduce the compounding effect of errors.
This commentary serves as a practical guide for interactions with LLMs, helping users achieve ideal outcomes from LLMs and adding to our understanding on their potential. The strategies and opinions can provide valuable reference for the users who are expecting an enhanced efficiency in the interaction with LLMs.
(Written by SHI Yutian, Edited by WU Yuyang, USTC News Center)