ChatGPT as a blurry jpeg of the web

by | Sunday, February 12, 2023

Ted Chiang is one of the greatest, insightful writers working today. I had written previously about one his short stories in a post titled: Truth of fact and feeling: Unpacking McLuhan (2/3) about his short story The truth of fact and the truth of feeling. (If you haven’t read it – please do so).

In a recent piece in the New Yorker, (ChatGPT is a blurry jpeg of the web) Ted Chiang focuses on ChatGPT, and offers one of the best descriptions of the technology, making an analogy with lossy compressions systems (such as the Jpeg file format that we usually use to compress images). The essay is worth reading in full, but here are some key quotes:

… Think of ChatGPT as a blurry jpeg of all the text on the Web. It retains much of the information on the Web, in the same way that a jpeg retains much of the information of a higher-resolution image, but, if you’re looking for an exact sequence of bits, you won’t find it; all you will ever get is an approximation. But, because the approximation is presented in the form of grammatical text, which ChatGPT excels at creating, it’s usually acceptable. You’re still looking at a blurry jpeg, but the blurriness occurs in a way that doesn’t make the picture as a whole look less sharp.

This analogy makes even more sense when we remember that a common technique used by lossy compression algorithms is interpolation—that is, estimating what’s missing by looking at what’s on either side of the gap. When an image program is displaying a photo and has to reconstruct a pixel that was lost during the compression process, it looks at the nearby pixels and calculates the average. This is what ChatGPT does when it’s prompted to describe, say, losing a sock in the dryer using the style of the Declaration of Independence: it is taking two points in “lexical space” and generating the text that would occupy the location between them. (“When in the Course of human events, it becomes necessary for one to separate his garments from their mates, in order to maintain the cleanliness and order thereof. . . .”) ChatGPT is so good at this form of interpolation that people find it entertaining: they’ve discovered a “blur” tool for paragraphs instead of photos, and are having a blast playing with it.

Given GPT-3’s failure at a subject taught in elementary school, how can we explain the fact that it sometimes appears to perform well at writing college-level essays? Even though large language models often hallucinate, when they’re lucid they sound like they actually understand subjects like economic theory. Perhaps arithmetic is a special case, one for which large language models are poorly suited. Is it possible that, in areas outside addition and subtraction, statistical regularities in text actually do correspond to genuine knowledge of the real world?

I think there’s a simpler explanation. Imagine what it would look like if ChatGPT were a lossless algorithm. If that were the case, it would always answer questions by providing a verbatim quote from a relevant Web page. We would probably regard the software as only a slight improvement over a conventional search engine, and be less impressed by it. The fact that ChatGPT rephrases material from the Web instead of quoting it word for word makes it seem like a student expressing ideas in her own words, rather than simply regurgitating what she’s read; it creates the illusion that ChatGPT understands the material. In human students, rote memorization isn’t an indicator of genuine learning, so ChatGPT’s inability to produce exact quotes from Web pages is precisely what makes us think that it has learned something. When we’re dealing with sequences of words, lossy compression looks smarter than lossless compression.

Do read the actual piece… it is worth your time: ChatGPT is a blurry jpeg of the web

Topics related to this post: Essay

A few randomly selected blog posts…

Structured Improvisation and creativity

Structured Improvisation and creativity

Improv(e) Design by Punya Mishra In this article, in our ongoing series on Rethinking technology & creativity in the 21st century, we interview Dr. Keith Sawyer, Morgan Distinguished Professor in Educational Innovations at the University of North...

Funny TPACK mashups, the Aussie way

TPACK is huge in Australia (for instance see this note TPACK underpins Aussie Teacher Ed Restructuring). I am hopeful that one of these days this interest will translate into a trip down-under... It would be great to travel around the continent, giving talks, meeting...

Taare Zameen Par

Taare Zameen Par (loosely translated as "Stars on the earth") is a new movie produced and directed by Aamir Khan, one of Bollywood's biggest stars. He also acts in it. What is unique about this movie is that despite its Bollywood trappings, it is a somewhat serious...

Unlocking education… news story

Our very own Leigh Wolf is quoted in a story in today's State News. Check out, Education unlocked: MSU professors use open courseware to provide class materials for students Leigh manages to bring in the MAET program in to the picture (why am I not surprised?) and how...

11/26/2008

Mumbai, 11/26/08 Nov. 27: School children hold candles as they pay tribute to the victims of terrorist attacks in Mumbai at a school in Ahmadabad, India, on Thursday. (Photo credit: washingtonpost.com) The last few days have been very strange... dream and nightmare in...

Looking for design in Barcelona

Readers of this blog know that I am always looking for examples of good / bad design (actually I am usually not looking for bad design - it just sort of comes and slaps me on the side of the head!). I thought I might share one with you today, that I found in my hotel...

Modeling human behavior: The new dark art of silicon sampling

Modeling human behavior: The new dark art of silicon sampling

A couple of months ago I had written this post, On merging with our technologies – which was essentially quotes from a conversation Ezra Klein had with the novelist Mohsin Hamid. I finished the post with a quote speaking the dangers of predictive technologies on human...

Why blog

Andrew Sullivan is one of my favorite bloggers, not because I agree with all that he says there is a certain sensibility that emerges as you follow his blog for a while that appeals to me. He has a great piece in The Atlantic Monthly titled Why I blog?. Speaking of...

Principled innovation in hiring

Principled innovation in hiring

We, in the Office of Scholarship and Innovation (OofSI), have never been big fans of the typical interview and hiring process. We are not sure that the process helps us identify the right people, and more importantly, we find the process to be unnecessarily opaque and...

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *