In-Context Learning Dynamics with Random Binary Sequences

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Bigelow, Eric J., Lubana, Ekdeep Singh, Dick, Robert P., Tanaka, Hidenori, Ullman, Tomer D.
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916207669542912
author Bigelow, Eric J.
Lubana, Ekdeep Singh
Dick, Robert P.
Tanaka, Hidenori
Ullman, Tomer D.
author_facet Bigelow, Eric J.
Lubana, Ekdeep Singh
Dick, Robert P.
Tanaka, Hidenori
Ullman, Tomer D.
contents Large language models (LLMs) trained on huge corpora of text datasets demonstrate intriguing capabilities, achieving state-of-the-art performance on tasks they were not explicitly trained for. The precise nature of LLM capabilities is often mysterious, and different prompts can elicit different capabilities through in-context learning. We propose a framework that enables us to analyze in-context learning dynamics to understand latent concepts underlying LLMs' behavioral patterns. This provides a more nuanced understanding than success-or-failure evaluation benchmarks, but does not require observing internal activations as a mechanistic interpretation of circuits would. Inspired by the cognitive science of human randomness perception, we use random binary sequences as context and study dynamics of in-context learning by manipulating properties of context data, such as sequence length. In the latest GPT-3.5+ models, we find emergent abilities to generate seemingly random numbers and learn basic formal languages, with striking in-context learning dynamics where model outputs transition sharply from seemingly random behaviors to deterministic repetition.
format Preprint
id arxiv_https___arxiv_org_abs_2310_17639
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle In-Context Learning Dynamics with Random Binary Sequences
Bigelow, Eric J.
Lubana, Ekdeep Singh
Dick, Robert P.
Tanaka, Hidenori
Ullman, Tomer D.
Artificial Intelligence
Computation and Language
Machine Learning
Large language models (LLMs) trained on huge corpora of text datasets demonstrate intriguing capabilities, achieving state-of-the-art performance on tasks they were not explicitly trained for. The precise nature of LLM capabilities is often mysterious, and different prompts can elicit different capabilities through in-context learning. We propose a framework that enables us to analyze in-context learning dynamics to understand latent concepts underlying LLMs' behavioral patterns. This provides a more nuanced understanding than success-or-failure evaluation benchmarks, but does not require observing internal activations as a mechanistic interpretation of circuits would. Inspired by the cognitive science of human randomness perception, we use random binary sequences as context and study dynamics of in-context learning by manipulating properties of context data, such as sequence length. In the latest GPT-3.5+ models, we find emergent abilities to generate seemingly random numbers and learn basic formal languages, with striking in-context learning dynamics where model outputs transition sharply from seemingly random behaviors to deterministic repetition.
title In-Context Learning Dynamics with Random Binary Sequences
topic Artificial Intelligence
Computation and Language
Machine Learning
url https://arxiv.org/abs/2310.17639