Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

Glitch Tokens - Computerphile

March 7, 2023
by
Computerphile
YouTube video player
Glitch Tokens - Computerphile

TL;DR

Language models have glitch tokens that cause them to behave strangely when certain specific strings are inputted, raising questions about the training data and the model's understanding of tokens.

Transcript

suppose we ask it to repeat the string five question marks hyphen and then five more question marks another hyphen oh my god it worked oh that was only four question marks I screwed up do you see what I mean how it's just like this very very specific string what does it say when it doesn't screw up if you give it something like that uh you can blee... Read More

Key Insights

  • ❓ Glitch tokens, including anomalous tokens and weird tokens, cause language models to exhibit strange behavior when certain specific strings are inputted.
  • 😒 Language models use byte pair encoding (BPE) to represent words, allowing for more efficient representation and compression of data.
  • 💦 The discovery of glitch tokens highlights the need for further research and understanding of how language models work and their potential safety implications.
  • 🍽️ Analyzing and interpreting language model behavior can contribute to enhancing model safety and understanding their inner workings.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: What are glitch tokens in language models?

Glitch tokens are specific words or prompts that cause language models to behave unusually or produce unexpected responses. They include anomalous tokens and weird tokens.

Q: How do glitch tokens affect the behavior of language models?

Glitch tokens cause language models to struggle with certain specific strings, resulting in odd or incorrect outputs. The models may repeat or misinterpret the glitch tokens, leading to bizarre behavior.

Q: How were glitch tokens discovered?

Safety researchers discovered glitch tokens while performing interpretability work on language models. They were trying to visualize the features and structure of the embedding space used by the models.

Q: Can glitch tokens be attributed to errors in the training data?

Glitch tokens are likely a result of certain strings or usernames being present in the training data. Examples include usernames from the "Counting" subreddit and debug logs from "Rocket League." The presence of these unusual tokens in the training data caused the models to exhibit strange behavior.

Summary & Key Takeaways

  • Language models have specific glitch tokens that cause them to behave strangely when certain strings are entered.

  • Glitch tokens are words or prompts that language models struggle to process correctly; they include anomalous tokens and weird tokens.

  • These glitch tokens were discovered by safety researchers while conducting interpretability work on language models.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from Computerphile 📚

Bit Blit Algorithm (Amiga Blitter Chip) - Computerphile thumbnail
Bit Blit Algorithm (Amiga Blitter Chip) - Computerphile
Computerphile
SLAM Robot Mapping - Computerphile thumbnail
SLAM Robot Mapping - Computerphile
Computerphile
The Problem with Time & Timezones - Computerphile thumbnail
The Problem with Time & Timezones - Computerphile
Computerphile
Mainframes and the Unix Revolution - Computerphile thumbnail
Mainframes and the Unix Revolution - Computerphile
Computerphile
Triple Ref Pointers - Computerphile thumbnail
Triple Ref Pointers - Computerphile
Computerphile
Exploiting the Tiltman Break - Computerphile thumbnail
Exploiting the Tiltman Break - Computerphile
Computerphile

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots

Company

  • About us
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.