探索大型语言模型灵魂的工具
Tools for exploring the souls of large language models

原始链接: https://oshea00.github.io/posts/tinygpt-visualizer/

元物理学与灵魂在人工智能中的讨论日益增多,包括 Anthropic 与宗教与哲学思想家举办的会议。与此同时,机制可解释性试图理解大型语言模型内部发生了什么,尽管存在资金缺口。为使这些技术可及,作者创建了开源的 TinyGPT Visualizer,一个交互式"X 光",用于在小型真实模型生成输出时检查其数值内部。该工具旨在帮助用户调研与实践可解释性方法。作者认为,模型产生的任何情感或模式都将在其数字中被发现,哲学与宗教可能需要与定量分析进行对话。代码在 GitHub 上。

一篇 Hacker News 帖子链接了用于探索大型语言模型“灵魂”的工具。它获得了 54 个积分和 12 条评论。评论者讨论了大型语言模型可能收敛到相似解,其中一人提到他们让一个 LLM 构建类似工具,得到了几乎相同的结果。原帖作者强调,机制可解释性对任何想学习的人来说都是可及的。评论串还争论了“灵魂”一词:有人称其为虚构或吸引眼球,另一些人认为 AI 缺乏内在生命,不应以拟人化术语描述,而少数人则将“灵魂”捍卫为一种有用且非超自然的、与身体相区分的概念。总体而言,该帖引发了关于模型可解释性的技术讨论,以及关于 AI 能动性与语言的哲学辩论。
相关文章

原文

There is that old joke told by Woody Allen describing his experience as a university student: “I was thrown out of college for cheating on the metaphysics exam; I looked into the soul of the boy sitting next to me.” If he’d managed to pass his course, Woody Allen might have been ahead of his time.

Metaphysics is becoming a popular topic today, and it seems now everyone desperately wants to look for souls in large language models (LLMs). A recent conference last April was held by Anthropic with religious scholars and philosophical thinkers to discuss the nature of the soul when it came to their latest Claude models. It seems they needed guidance that Dario Amodei was unable to provide.

The time seems ripe to dig into how we might actually peer into the mind of the LLM sitting next to you. There’s been a lot of ongoing research; however, the self-same foundation model companies, Anthropic and OpenAI among them, have been criticized for dedicating more compute dollars into better models rather than the safety research. Mechanistic interpretability, the field of AI research devoted to exploring what goes on inside these models, has grown from a handful of researchers in 2021 to hundreds of active contributors. Yet, in spite of funding gaps and the lack of larger colloquiums, the research community has been coming up with some interesting insights and tools to help do the “peering.”

Rather than sit on the sidelines and wonder how this could be done, I thought it would be interesting to create a tool that would allow more people to join the party. And that is what led to the development of the “TinyGPT Visualizer.” The goals I had for this were modest. I wanted a tool I could use to survey the field and try the actual techniques to learn how they work. Being a visual person, I began thinking about an X-ray machine—something able to see inside a real model. Not a toy model. A real one, but one small enough to see on a screen with all its working parts.

Let me show what it looks like:

TinyGPT Visualizer walkthrough: inside the network

We may wonder where the consciousness can be found in the collection of numeric matrices that our models comprise; the numbers are there to see. Unlike the brains of humans, we can stop and look at the numbers as the thoughts are formed without killing the patient, and, unlike human brains, we can search those numbers for patterns and algorithms which explain the results these models emit as well-formed prose, code, music, and videos. Will we find well-formed emotions? If so, they will be in the numbers.

Will philosophy and religion help us? These disciplines haven’t had to rely on numbers and calculations up to this point, but perhaps they now have new ground to pound.

TinyGPT Visualizer is open source. You can find the code, setup instructions, and documentation on GitHub: github.com/oshea00/tinygpt-viz.

联系我们 contact @ memedata.com