


Is ChatGPT really a 'generalist'? Yang Di and others gave it a thorough test.
Paper link: https://arxiv.org/pdf/2302.06476.pdf
Large-scale language models (LLM) have been proven to be able to solve a variety of natural language processing (NLP) tasks, and for a given downstream task, they do not rely on any training data and can achieve model tuning with the help of appropriate prompts. This ability to perform new tasks on command can be seen as an important step towards general artificial intelligence.
Although current LLM achieves good performance in some cases, it is still prone to various errors in zero-shot learning. Additionally, the format of the prompt can have a substantial impact. For example, by adding "Let’s think step by step" to the prompt, the model performance can be significantly improved. These limitations illustrate that current LLMs are not truly universal language systems.
Recently, the ChatGPT LLM released by OpenAI has attracted great attention in the NLP community. ChatGPT was created by training the GPT-3.5 series model through "Reinforcement Learning with Human Feedback (RLHF)". RLHF mainly consists of three steps: training a language model using supervised learning; collecting comparative data and training a reward model based on human preferences; and using reinforcement learning to optimize the language model for the reward model. With RLHF training, ChatGPT was observed to have impressive capabilities in various aspects, including generating high-quality responses to human input, rejecting inappropriate questions, and self-correcting previous errors based on subsequent conversations.
Although ChatGPT shows strong conversational capabilities, the NLP community is still unclear whether ChatGPT achieves better zero-shot generalization capabilities compared to existing LLMs. To fill this research gap, researchers systematically studied ChatGPT's zero-shot learning capabilities by evaluating it on a large number of NLP datasets covering 7 representative task categories. These tasks include reasoning, natural language inference, question answering (reading comprehension), dialogue, summarization, named entity recognition, and sentiment analysis. With the help of extensive experiments, the researchers aimed to answer the following questions:
- #Is ChatGPT a general-purpose solver for NLP tasks? What types of tasks does ChatGPT perform well on?
- If ChatGPT lags behind other models on some tasks, why?
To answer these questions, the authors compared the performance of ChatGPT and the state-of-the-art GPT-3.5 model (text-davinci-003) based on experimental results. Additionally, they report zero-shot, fine-tuning, or few-shot fine-tuning results of recent works such as FLAN, T0, and PaLM.
Main conclusions
The authors stated that as far as they know, this is the first time anyone has commented on ChatGPT. The zero-shot capabilities on various NLP tasks are studied, aiming to provide a preliminary overview of ChatGPT. Their main findings are as follows:
- Although ChatGPT as a generalist model shows some ability to perform multiple tasks, it generally performs worse than models fine-tuned for a given task (see Figure 1 and Section 4.3) .
- ChatGPT’s excellent reasoning ability has been experimentally confirmed in arithmetic reasoning tasks (Section 4.2.1). However, ChatGPT generally performs worse than GPT-3.5 on common sense, symbolic, and logical reasoning tasks, as can be seen, for example, by generating uncertain responses (Section 4.2.2).
- ChatGPT outperforms GPT-3.5 in natural language inference tasks (Section 4.2.3) and question-answering (reading comprehension) tasks (Section 4.2.4) that favor reasoning ability , such as determining logical relationships among text pairs. Specifically, ChatGPT is better at processing text that is consistent with facts (i.e., better at classifying implications than non-implications).
- ChatGPT outperforms GPT-3.5 on conversational tasks (Section 4.2.5).
- In terms of summary tasks, ChatGPT generates longer summaries and performs worse than GPT-3.5. However, explicitly limiting digest length in zero-shot directives compromises digest quality, resulting in reduced performance (Section 4.2.6).
- Despite showing promise as generalist models, both ChatGPT and GPT-3.5 face challenges on certain tasks, such as sequence annotation (Section 4.2.7).
- ChatGPT’s sentiment analysis capabilities are close to GPT-3.5 (Section 4.2.8).
Method
As mentioned previously, this study This paper mainly compares the zero-shot learning performance of ChatGPT and GPT-3.5 (textdavinci-003) under different tasks. Specifically, they take task instructions P and test questions X as input, the model is represented by f, and then generate target text Y = f (P, X) to solve the test questions. The instructions and input formats for different tasks are shown in Figures 2 and 3.
Contains six tasks (sentiment analysis, natural language reasoning, named entity recognition, question and answer , dialogue, and summary) commands and input formats. Instructions are in blue font.
##Inference task description.
For example, when the model performs a sentiment analysis task, the task instruction P marks the sentiment contained in the text as positive or negative, and the output answer is Positive or negative. When the model reads the instruction P and the input content X (the content is a stunning lyrical work of considerable power and authenticity), the model is judged to be expected to output Y positive.
Different from the single-stage prompting method mentioned above, this study uses two-stage prompting (proposed by Kojima et al.) to complete zero-shot-CoT.
The first stage adopts “Let’s think step by step”, and the instruction P_1 induces the basic principle of model generation R.
The second stage uses the basic principle R generated in the first step as well as the original input X and instruction P_1 as new inputs to guide the model to generate the final answer.
After that, a new instruction P_2 is used as the trigger statement to extract the answer. All task instructions were taken from or inspired by the research of Brown, Ouyang, Zhang, et al. One last thing to note is that every time you make a new query to ChatGPT, you need to clear the conversation ahead of time to avoid the impact of the previous example.
ExperimentThe experiment uses 20 different data sets to evaluate ChatGPT and GPT-3.5, covering 7 types of tasks.
Arithmetic Reasoning
The accuracy of ChatGPT and GPT-3.5 without or with CoT on six arithmetic reasoning datasets is shown in Table 2. In experiments without CoT, ChatGPT outperformed GPT-3.5 on 5 of the datasets, demonstrating its strong arithmetic reasoning capabilities.
Figure 4 shows the case where GPT-3.5 gives the wrong answer. On the left side of the picture, ask "Wendy is playing a video game and has 43 lives. During the hard part of the game, she lost 8 lives. If she gets 39 more lives on the next level, how many lives will she have ?" ChatGPT gave the correct answer. However, GPT-3.5 generated a wrong answer. It can be seen that ChatGPT performs much better than GPT-3.5 when using CoT.
##Common sense, symbols and logical reasoning
Table 3 reports the accuracy of ChatGPT and popular LLM on common sense, symbolic and logical reasoning data sets. The following observations can be made: First, using CoT may not always provide better performance in common sense reasoning tasks, which may require more fine-grained background knowledge. Secondly, unlike arithmetic reasoning, ChatGPT performs worse than GPT-3.5 in many cases, indicating that GPT-3.5 has stronger corresponding capabilities.
To analyze the reasons, the study shows several failure cases of ChatGPT in Figure 5. We can observe that ChatGPT can easily produce undefined responses, leading to poor performance.
##Natural Language Reasoning
Table 4 shows the results of different models on two natural language reasoning tasks: RTE and CB. We can see that under zero-shot settings, ChatGPT can achieve better performance than GPT-3.5, FLAN, T0 and PaLM. This proves that ChatGPT has better zero-shot performance in NLP reasoning tasks.
Table 6 reports the accuracy of different models on the BoolQ data set. ChatGPT is better than GPT-3.5. This shows that ChatGPT can handle reasoning tasks better.
Table 8 shows the accuracy of ChatGPT and GPT-3.5 on the MuTual data set (multi-round conversation reasoning). As expected, ChatGPT significantly outperforms GPT-3.5.
Figure 6 is a specific example, we can see that ChatGPT can reason more effectively for a given context. This once again confirms ChatGPT’s super reasoning capabilities.
Table 9 reports the ROUGE scores of ChatGPT and GPT-3.5 on the SAMSum dataset. Surprisingly, ChatGPT is inferior to GPT-3.5 on all metrics.
##Named entity recognition
Table 10 reports the zero-shot performance of ChatGPT and GPT-3.5 on CoNLL03. We can see that the overall performance of ChatGPT and GPT-3.5 is very similar.
# Sentiment Analysis
Table 11 compares the accuracy of different models on the sentiment analysis data set SST2. Surprisingly, ChatGPT performs about 1% worse than GPT-3.5.
The above is the detailed content of Is ChatGPT really a 'generalist'? Yang Di and others gave it a thorough test.. For more information, please follow other related articles on the PHP Chinese website!
![[Ghibli-style images with AI] Introducing how to create free images with ChatGPT and copyright](https://img.php.cn/upload/article/001/242/473/174707263295098.jpg?x-oss-process=image/resize,p_40)
The latest model GPT-4o released by OpenAI not only can generate text, but also has image generation functions, which has attracted widespread attention. The most eye-catching feature is the generation of "Ghibli-style illustrations". Simply upload the photo to ChatGPT and give simple instructions to generate a dreamy image like a work in Studio Ghibli. This article will explain in detail the actual operation process, the effect experience, as well as the errors and copyright issues that need to be paid attention to. For details of the latest model "o3" released by OpenAI, please click here⬇️ Detailed explanation of OpenAI o3 (ChatGPT o3): Features, pricing system and o4-mini introduction Please click here for the English version of Ghibli-style article⬇️ Create Ji with ChatGPT

As a new communication method, the use and introduction of ChatGPT in local governments is attracting attention. While this trend is progressing in a wide range of areas, some local governments have declined to use ChatGPT. In this article, we will introduce examples of ChatGPT implementation in local governments. We will explore how we are achieving quality and efficiency improvements in local government services through a variety of reform examples, including supporting document creation and dialogue with citizens. Not only local government officials who aim to reduce staff workload and improve convenience for citizens, but also all interested in advanced use cases.

Have you heard of a framework called the "Fukatsu Prompt System"? Language models such as ChatGPT are extremely excellent, but appropriate prompts are essential to maximize their potential. Fukatsu prompts are one of the most popular prompt techniques designed to improve output accuracy. This article explains the principles and characteristics of Fukatsu-style prompts, including specific usage methods and examples. Furthermore, we have introduced other well-known prompt templates and useful techniques for prompt design, so based on these, we will introduce C.

ChatGPT Search: Get the latest information efficiently with an innovative AI search engine! In this article, we will thoroughly explain the new ChatGPT feature "ChatGPT Search," provided by OpenAI. Let's take a closer look at the features, usage, and how this tool can help you improve your information collection efficiency with reliable answers based on real-time web information and intuitive ease of use. ChatGPT Search provides a conversational interactive search experience that answers user questions in a comfortable, hidden environment that hides advertisements

In a modern society with information explosion, it is not easy to create compelling articles. How to use creativity to write articles that attract readers within a limited time and energy requires superb skills and rich experience. At this time, as a revolutionary writing aid, ChatGPT attracted much attention. ChatGPT uses huge data to train language generation models to generate natural, smooth and refined articles. This article will introduce how to effectively use ChatGPT and efficiently create high-quality articles. We will gradually explain the writing process of using ChatGPT, and combine specific cases to elaborate on its advantages and disadvantages, applicable scenarios, and safe use precautions. ChatGPT will be a writer to overcome various obstacles,

An efficient guide to creating charts using AI Visual materials are essential to effectively conveying information, but creating it takes a lot of time and effort. However, the chart creation process is changing dramatically due to the rise of AI technologies such as ChatGPT and DALL-E 3. This article provides detailed explanations on efficient and attractive diagram creation methods using these cutting-edge tools. It covers everything from ideas to completion, and includes a wealth of information useful for creating diagrams, from specific steps, tips, plugins and APIs that can be used, and how to use the image generation AI "DALL-E 3."

Unlock ChatGPT Plus: Fees, Payment Methods and Upgrade Guide ChatGPT, a world-renowned generative AI, has been widely used in daily life and business fields. Although ChatGPT is basically free, the paid version of ChatGPT Plus provides a variety of value-added services, such as plug-ins, image recognition, etc., which significantly improves work efficiency. This article will explain in detail the charging standards, payment methods and upgrade processes of ChatGPT Plus. For details of OpenAI's latest image generation technology "GPT-4o image generation" please click: Detailed explanation of GPT-4o image generation: usage methods, prompt word examples, commercial applications and differences from other AIs Table of contents ChatGPT Plus Fees Ch

How to use ChatGPT to streamline your design work and increase creativity This article will explain in detail how to create a design using ChatGPT. We will introduce examples of using ChatGPT in various design fields, such as ideas, text generation, and web design. We will also introduce points that will help you improve the efficiency and quality of a variety of creative work, such as graphic design, illustration, and logo design. Please take a look at how AI can greatly expand your design possibilities. table of contents ChatGPT: A powerful tool for design creation


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

WebStorm Mac version
Useful JavaScript development tools

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

Notepad++7.3.1
Easy-to-use and free code editor
