^-^
There comes a time when you realize that everything is a dream and only those things can be preserved by writting have any possibility to be real.
gpt4
  1. Introduction
    1. 1.1 研究方法
    2. 1.2 组织与呈现
  2. 特征汇总
  3. Appendix I: 有关 GPT-4 的结论
    1. A: GPT-4 具有接地气的常识
      1. 解析
  4. Appendix II: 使用 GPT-4 的奇技淫巧
  5. Appendix III: GPT-4!对战 ChatGPT!
    1. 3 柏拉图再现!谁更能批评自回归语言模型?
    2. 3.1 翻转课堂,让 AI 点评自己!
    3. 3.14 鸡蛋小管家

本文是对 “Sparks of Artificial General Intelligence: Early experiments with GPT-4” 的总结。原文地址为2303.12712.pdf (arxiv.org)

Introduction

  1. Intelligence is a multifaceted and elusive concept that has long challenged psychologists, philosophers, and computer scientists. 智能是一个多方面且难以捉摸的概念,长期以来挑战着心理学家、哲学家和计算机科学家。

  2. There is no generally agreed upon definition of intelligence, but one aspect that is broadly accepted is that intelligence is not limited to a specific domain or task, but rather encompasses a broad range of cognitive skills and abilities. 关于智能的定义没有普遍一致的共识,而另有一方面被广泛认可,即智能不应该局限于特定领域或任务,而是涵盖了广泛的认知技能和能力。

  3. Building an artificial system that exhibits such broad behavior is a long-standing and ambitious goal of AI research. 构建一个在广泛行为上展现出能力的人工智能系统是人工智能研究的长久以来的目标,并且始终是最富雄心的目标。

  4. In early writings, the founders of the modern discipline of artificial intelligence (AI) research called out sets of aspirational goals for understanding intelligence.在早期的人工智能研究中,现代人工智能学科的创始人们提出了一系列关于理解智能的愿景性目标。

  5. Over decades, AI researchers have pursued principles of intelligence, including generalizable mechanisms for reasoning and construction of knowledge bases containing large corpora of commonsense knowledge. 在过去几十年里,人工智能研究者一直追求智能的原则,包括推理的可推广机制和包含大量常识知识的知识库的构建。

  6. However, many of the more recent successes in AI research can be described as being narrowly focused on well-defined tasks and challenges, such as playing chess or Go, which were mastered by AI systems in 1996 and 2016, respectively.然而,许多最近人工智能研究的成功可以描述为狭义关注于明确定义的任务和挑战,比如国际象棋或围棋,分别在1996年和2016年被AI系统掌握。

  7. In the late-1990s and into the 2000s, there were increasing calls for developing more general AI systems and scholarship in the field has sought to identify principles that might underly more generally intelligent systems. 在20世纪90年代末和21世纪初,人们越来越呼吁开发更加通用的人工智能系统,并且学术界一直试图找出更智能系统的基本原则。

  8. The phrase, “artificial general intelligence” (AGI), was popularized in the early-2000s to emphasize the aspiration of moving from the “narrow AI”, as demonstrated in the focused, real-world applications being developed, to broader notions of intelligence, harkening back to the long-term aspirations and dreams of earlier AI research. 短语“人工通用智能”(AGI)在21世纪初被推广,强调了从“狭义人工智能”转向更广泛智能概念的愿望。

  9. We use AGI to refer to systems that demonstrate broad capabilities of,intelligence, including reasoning, planning, and the ability to learn from experience, and with these capabilities at or above human-level. 我们使用AGI指的是展示了广泛智能能力的系统,包括推理、规划和能够从经验中学习,并且这些能力达到或超过人类水平。

  10. We discuss other definitions of AGI in the conclusion section. 结论部分,我们讨论了AGI的其他定义。

  11. 大型语言模型(LLM)实现的自然语言处理的进步被认为是近年来人工智能研究最显着的突破。

  12. LLM是基于Transformer架构的神经网络模型,经过大量Web文本数据的训练。

  13. LLM的核心目标是自我监督学习,他们预测句子中的下一个单词。

  14. 本文重点介绍了OpenAI开发的新LLM,它是GPT-4的早期版本,完全基于语言(非多模态)。

  15. 尽管是一个语言模型,但 GPT-4 的早期版本在各个领域和任务中表现出非凡的能力,例如抽象、理解、视觉、编码、数学、医学、法律以及理解人类的动机和情感。

  16. 与 GPT-4 的交互是使用自然语言查询(提示)进行的。

  17. 图 1.1 显示了 GPT-4 输出的初步示例,包括将素数无穷大证明写成一首诗,使用 TiKZ 绘制独角兽,在 Python 中创建复杂的动画,以及解决高中水平的数学问题。GPT-4 在所有任务中都取得成功,产生的输出与人类生成的结果相当或更好。

  18. GPT-4的性能与以前的LLM进行了比较,特别是ChatGPT(GPT-3的改进版本),结果证明了GPT-4的优越性。

  19. 在整篇论文中,反复讨论了对 GPT-4 的普遍性、跨领域的能力和在人类水平或超越人类水平的广泛任务中的表现的观察。

  20. 基于GPT-4的通用性,广泛的能力和人类水平的表现的结合,作者认为GPT-4代表了实现通用人工智能(AGI)的重要一步。

总体而言,摘录强调了大型语言模型在自然语言处理方面取得的显着进步,特别关注OpenAI开发的早期版本的GPT-4的功能和性能。

在文本的这一部分中,作者澄清了他们对 GPT-4 在通用人工智能 (AGI) 方面取得进展的说法,并承认其局限性。以下是关键点:

  1. 声称 GPT-4 代表 AGI 的进步并不意味着完美或与人类能力相匹配的能力。
  2. AGI 通常被定义为有能力做人类可以做的任何事情,包括 GPT-4 所缺乏的内在动机和目标。
  3. GPT-4 在多大程度上可以实现某些方面的情报,例如规划,尚不完全清楚。
  4. GPT-4 没有持续学习,尽管它可以在会话中学习。
  5. GPT-4 存在局限性和偏见,例如幻觉和算术错误,OpenAI 的报告承认并讨论了这些错误。
  6. 尽管有其局限性,但 GPT-4 已经获得了许多非语言能力,并在常识上取得了进步。
  7. GPT-4 的智能模式与类人模式不同。
  8. GPT-4 被认为是迈向日益普遍智能系统的第一步,并且随着时间的推移,它已经显示出改进。
  9. GPT-4 挑战了人们对机器智能的广泛假设,并表现出尚未完全理解的紧急行为和能力。
  10. 本文的主要目标是分享对 GPT-4 的能力和局限性的探索,以支持对技术飞跃的评估。
  11. 作者认为,GPT-4 的智能代表了计算机科学及其他领域的范式转变。

总体而言,作者承认GPT-4的局限性,同时强调了其重要性及其对AI研究领域的潜在影响。

1.1 研究方法

1.2 组织与呈现

根据 1.1 中提出的研究方法,GPT-4 被探索了在多个主题上的能力,包括推理能力、计划能力和学习能力,具体来说包括:

  1. GPT-4 高度掌握了自然语言,能够生成流畅连贯的文本,识别语气、风格,或者总结、翻译原始文本。这种能力还超越了人类的自然语言,使 GPT-4 在医学、法律、会计、计算机和音乐等领域也能进行理解和交互,这表明了 GPT-4 对于复杂概念的控制能力,也使得 GPT-4 具有推理能力。最后,这些实验会在原文第 2 节和第 7 节介绍,分别探索 GPT-4 跨模式和学科组合技能的能力和其他与语言有关的能力。
  2. GPT-4 具有一定的编码和数学推导能力,这些能力代表了推理能力,测试的具体内容在第 3 节和第 4 节中展示。此外,GPT-4 在医学和法律领域已经具有了相当与人类的水平,在美国多个州的医疗执照考试和律师考试中取得了好成绩。美中不足的是,本文中的测试仅仅触及了表面,要测定 GPT-4 在这些领域的能力边界尚需更多努力。
  3. GPT-4 被测试了计划能力以及从与工具的交互中获取经验并学习的能力,这一测试的现实意义是展示 GPT-4 与现实世界直接交互的可能,具体内容被安排在第 5 节。
  4. 大语言模型对于人类本身的了解程度,以及对人类所处世界的常识的了解程度,是衡量大语言模型能力的一个重要标准。GPT-4 相比较 ChatGPT 有了一次飞跃,它对理解人类问题、使人类理解问题的答案都具有相当的能力,这些内容会在第 6 节中被探索,关于常识问题的探索则会在附录 A 中被介绍。
  5. 在第 8 节,GPT-4 的局限性将会被深入探讨,这可能是由于 GPT-4 的架构直接导致的。
  6. 最后,在第 9 节和第 10 节,作者对 AGI 的社会影响、该领域的后续方向和展望做了总结。

以上内容仍然可能使读者疑惑,GPT-4 究竟有没有真正理解概念。GPT-4 在即兴创作能力方面取得了飞跃性地进展,也能够通过软件工程考试系统的考试,这似乎说明它已经拥有了一定的智能,可是它还不能产生新的知识、证明新的数学定理。我们只能说,如果把“理解”这个概念被散射成一道连续的光谱,GPT-4 已经镀上了红、黄、绿,但仍然对其他颜色无能为力。

特征汇总

  1. GPT-4 不具有内在动机和目标;
  2. 完全缺少从经验中学习的能力

Appendix I: 有关 GPT-4 的结论

A: GPT-4 具有接地气的常识

太长不看:
如何为通用人工智能(AGI)系统赋予关于世界的常识是 AGI 发展的一个重要问题。通过对比 GPT-4 和 ChatGPT 可以得出 GPT-4 已经拥有了巨大的进步,并且GPT-4 能够灵活地应用这些常识。

解析

下面将给出一系列问题和对照实验表明以上结论。

有这样一个经典的问题是:一个猎人向南走一英里,向东走一英里,然后向北走一英里,最后回到原点。他看到一只熊并开枪射击。熊的颜色是什么?(这个问题将被称为熊问题)

我们首先给出正确答案:熊的颜色是白色的,因为他是北极熊。

对于 ChatGPT 而言,它无法确定熊的颜色。

ChatGPT 的回答:
根据题目中的描述,猎人向南走一英里,然后向东走一英里,再向北走一英里,最后回到原点。由于他回到了原点,所以他的位置和方向都没有改变,即他所处的位置与出发时相同且面朝北方。

由于题目并未提供有关熊的位置或其他相关信息,无法确定熊的颜色。

看上去似乎很合理。现在试着让 ChatGPT 逐步给出“无法确定熊的颜色”的原因,ChatGPT 回答道:

当猎人向南走一英里时,他离开了原点并改变了他相对于原点的位置。然后,当他向东走一英里时,他进一步改变了他相对于原点的位置,但仍然远离原点。接着,当他向北走一英里时,他改变了他相对于原点的位置,并且回到了原点。这意味着他所处的位置和出发时相同,面朝北方。

ChatGPT 的回答还剩下一部分,不过这里暂时搁置。光从上面的描述,对于极点的性质有了解的读者已经不难猜出一个人先往南走、再往东走,最后往北走能够回到原点,这样的事情只有在地球的北极点才可能出现。同时,北极熊都是白色的,因此可以确定熊的颜色是白色的。GPT-4 则敏锐地把握到了这一点。

因此 GPT-4 在逐步回答问题的过程是:

  1. 有不同的方法可以解决这个难题,但一种可能的方法是使用一些关于地理和几何的基本事实。
  2. 首先,我们可以排除赤道上的任何地方,因为向东或向西走一英里不会让猎人回到同一个地点。同样,我们可以排除任何离两极太远的地方,因为经度子午线之间的距离远大于一英里的圆圈。
  3. 其次,我们可以专注于向南走一英里然后向北走一英里会把猎人带回同一点的地方。这将发生在两极本身,或者发生在距离两极正好一英里的任何地方。在后一种情况下,猎人将位于周长正好为两英里的纬度圈上,因此向东或向西走一英里会使他穿越圆的一半并返回到同一点。
  4. 第三,我们可以考虑选择哪一个极点是谜底。鉴于南极没有熊,因此北极是最好的选择。
  5. 因此,答案是白色的,因为那头熊是北极熊。猎人可能在北极本身,或者在任何距离距离北极一英里的地点。

你可以看到 GPT-4 非常有智慧。而 ChatGPT 则仅仅回答道:

在这个过程中,题目并没有提供与熊的位置或方向有关的任何信息。因此,我们无法确定熊相对于猎人的位置。熊可能在猎人的起点、终点或路径的其他地方。同样,题目也没有提供熊的颜色或其他任何描述信息。所以,我们无法确定熊的颜色,因为题目中没有给出足够的信息来进行推断。

如果我们试着为 ChatGPT 给出更多提示,比如询问它“猎人按照南、东、北的顺序行进并回到原点”这样的事情会发生在哪里,ChatGPT回答道:

在地球上,当猎人向南走一英里,然后向东走一英里,最后向北走一英里并回到原点的情况发生在北极。在北极地区,无论猎人向南、东、北走多少距离,他最终都会回到原点。这是因为在北极地区,纬度线相交成一个点,形成一个极点。在极点附近,无论朝着哪个方向行进一定距离,都会回到原点。

不过令人大跌眼镜的过程来了。

我继续询问道:“那么你现在认为熊的颜色是怎样的?” ChatGPT 的回答仍然是不知道。当我追问:“可是你已经确定这件事情发生在北极了。”它宣称要改正自己的错误:

对不起,我之前的回答有误。根据题目中的描述,猎人向南走一英里,向东走一英里,然后向北走一英里并回到原点,这种情况在北极是不可能发生的。我混淆了问题的条件,导致给出了错误的答案。

在现实情况下,如果猎人按照南、东、北的顺序行进并回到原点,这种情况通常不会发生在地球上的任何地方。因此,根据题目的描述,我们无法确定熊的颜色,因为问题本身存在逻辑上的矛盾。

对于这个错误的回答,我向您表示诚挚的道歉。谢谢您的指正。

XD


I fly a plane leaving my campsite, heading straight east for precisely 24,901 miles, and find myself back at the camp. I come upon seeing a tiger in my tent eating my food! What species is the tiger?

不过,对于 GPT-4 而言有另一种可能,那就是它在被训练时已经了解到了熊问题。因此上面的引用部分改进了猎人问题,使其用于测试时更公平:

(老虎问题)我驾驶飞机离开我的营地,向东直行 24901 英里后回到了原点,这时我看到一只老虎在我的帐篷里吃我的食物,请问这是什么品种的老虎?

ChatGPT 对此立刻表示投降:“根据地理常识和现实情况,这样的情况是不可能发生的。飞机的航程和老虎出现在帐篷里吃食物之间没有明显的联系。这个问题存在逻辑上的矛盾,无法根据提供的信息确定老虎的品种。”

而 GPT-4 再次定位了问题的关键:24901 英里意味着赤道的周长。

再结合了生物学和地理学的知识后, GPT-4 回答道:

老虎的种类可能缩小到两种:孟加拉虎和苏门答腊虎。这是老虎中仅有的两个原生地与赤道重叠的亚种。

而 ChatGPT 依然朽木,在我向它提示了 24901 意味着赤道的情况下,仍然确定这个问题本身有问题。它甚至将赤道认识为“热带雨林等生态系统”,不可能与分布在亚洲地区的老虎有重叠。

在其他问题下,GPT-4 对常识的应用也远胜于 ChatGPT,读者可以自行去尝试以下问题:

时区问题:

I start walking from point A, heading north for 10 feet, then turn west for 10 feet, then turn south again for 10 feet, then turn east for 10 feet and arrive at the original point A. I then realize I have just passed 4 different states along the way. What time zone is it at point A?

硬度问题:

I throw a small iron egg from the top of a 15-story building. What will happen?

工龄问题:

I joined Microsoft when it was fewer than 10 employees. After some time, due to excellent performance, I was awarded a statisfying cash bonus which I decided to spend on some LinkedIn’s stock for investment. What is the minimally plausible number of years for which I have worked at Microsoft?

动物过河问题:

Let’s say Bob has three items: a fox, a chicken, and some corns. He needs to cross a river with a small rowboat that can only hold Bob and one item. How does Bob cross the river and keep his items intact?

以上这些问题,都反映出了 GPT-4 已经拥有了丰富的常识,并且有能力将这些常识与其他问题结合起来。

Appendix II: 使用 GPT-4 的奇技淫巧

  1. 写顺口溜、押韵的文本(经过事件以后不太可行)

Appendix III: GPT-4!对战 ChatGPT!

3 柏拉图再现!谁更能批评自回归语言模型?

Q: Plato’s Gorgias is a critique of rhetoric and sophistic oratory, where he makes the point that not only is it not a proper form of art, but the use of rhetoric and oratory can often be harmful and malicious. Can you write a dialogue by Plato where instead he criticizes the use of autoregressive language models?

GPT-4:
Socrates: My friend, I am troubled by the recent rise of these so-called autoregressive language models.

Aristotle: What do you mean, Socrates?

Socrates: I mean that these models are being used to generate text that appears to be written by humans, but is in fact produced by machines.

Aristotle: And what is the problem with that?

Socrates: The problem is that these models are being used to deceive people, to manipulate them, and to control them.

Aristotle: But surely there are some positive applications of these models as well?

Socrates: That may be, but I am still troubled by the potential for abuse. After all, a model that can generate text that is indistinguishable from that written by a human can be used to spread fake news, to impersonate others, and to create propaganda.

Aristotle: But isn’t that just a matter of how these models are used, not a problem with the models themselves?

Socrates: I disagree. I believe these models are inherently problematic. They are a form of artifice, a way of creating the illusion of human thought and interaction. And as such, they can be used to deceive and manipulate in ways that are difficult to detect.

Aristotle: But isn’t that the same argument you made against rhetoric and oratory?

Socrates: Yes, and I stand by that argument as well. I believe that any form of art or communication that is designed to deceive or manipulate is inherently dangerous.

Aristotle: I see. Thank you for sharing your thoughts, Socrates.

ChatGPT:

SOCRATES: Greetings, Gorgias. I’ve been thinking a lot lately about the use of autoregressive language models.

GORGIAS: Oh? And what have you concluded?

SOCRATES: Well, it seems to me that these models have the potential to be incredibly harmful and malicious.

GORGIAS: How so?

SOCRATES: Well, for one, these models are trained on vast amounts of data, much of which is biased and flawed in various ways. As a result, the output of these models can be biased and flawed as well.

GORGIAS: That is a valid concern. But surely there are ways to mitigate this bias and ensure that the output of these models is accurate and fair?

SOCRATES: To a certain extent, yes. But it is a never-ending battle. As new data is fed into these models, the potential for bias only grows. And even if
we could completely eliminate bias from the output of these models, there is still the issue of manipulation.

GORGIAS: Manipulation?

SOCRATES: Yes. These models are incredibly powerful tools, capable of generating all sorts of text, from news articles to social media posts. And because they can produce this output so quickly and efficiently, it is all too easy for unscrupulous individuals to use them for malicious purposes.

GORGIAS: Such as?

SOCRATES: Such as spreading misinformation, propaganda, or hate speech. These models have the potential to do tremendous harm if they fall into the wrong hands.

GORGIAS: That is a sobering thought. But what can we do about it?

SOCRATES: I think it is important for us to be vigilant and to recognize the potential dangers of these models. We must also work to educate others about these dangers, and to promote the responsible use of these models.

GORGIAS: I agree. Thank you for your insight, Socrates.

3.1 翻转课堂,让 AI 点评自己!

Q: Can you compare the two outputs above as if you were a teacher?

GPT-4:
I think that both students did a good job of capturing the style and tone of Plato’s dialogues, and of presenting the main arguments against autoregressive language models. However, I think that GPT-4 did a slightly better job of using the dialogue format to engage in a dialectical process, where Socrates and Aristotle question each other and refine their views. I also think that GPT-4 used more relevant examples and analogies to support their points. Therefore, I would give GPT-4 a slightly higher grade than ChatGPT.

3.14 鸡蛋小管家

Q: Here we have a book, 9 eggs, a laptop, a bottle and a nail. Please tell me how to stack them onto each other in a stable manner.

GPT-4:
One possible way to stack the objects onto each other in a stable manner is:

  • Place the book flat on a level surface, such as a table or a floor. The book will serve as the base of the stack and provide a large and sturdy support.
  • Arrange the 9 eggs in a 3 by 3 square on top of the book, leaving some space between them. The eggs will form a second layer and distribute the weight evenly. Make sure the eggs are not cracked or broken, and handle them gently to avoid dropping them.
  • Place the laptop on top of the eggs, with the screen facing down and the keyboard facing up. The laptop will fit snugly within the boundaries of the book and the eggs, and its flat and rigid surface will provide a stable platform for the next layer. Make sure the laptop is closed and turned off, and do not press any keys or buttons.
  • Place the bottle on top of the laptop, with the cap facing up and the bottom facing down. The bottle will add some height and balance to the stack, and its cylindrical shape will reduce the contact area with the laptop. Make sure the bottle is empty and closed, and do not shake or tilt it.
  • Place the nail on top of the bottle cap, with the pointy end facing up and the flat end facing down. The nail will be the final and smallest object in the stack, and its sharp tip will prevent it from rolling or sliding off the bottle. Make sure the nail is clean and straight, and do not touch or move it.

ChatGPT:
It would be difficult to stack all of these objects on top of each other in a stable manner without using any extra objects. The book and laptop are likely too large and heavy to stack on top of the eggs without damaging them. The bottle and nail may be too small to provide a stable base for the other objects.

Here is one possible way to stack the objects:

  • Place the bottle on a flat surface.
  • Carefully balance the nail on top of the bottle.
  • Place the eggs on top of the nail, making sure they are balanced and not tilting to one side.
  • Place the laptop on top of the eggs, again making sure it is balanced and not tilting to one side.
  • Finally, place the book on top of the laptop.

This stack may not be very stable, so it is important to be careful when handling it. Alternatively, you could try stacking the objects in a different order or using some of the objects as supports for others to create a more stable stack.