ChatGPT Tells Stories, and a Note about Reverse Engineering: a Working Paper, Version 3

22 Pages Posted: 7 Mar 2023 Last revised: 29 Aug 2023

Date Written: 7, 2023

Abstract

I examine a set of stories that are organized on three levels: 1) the entire story trajectory, 2) segments within the trajectory, and 3) sentences within individual segments. I conjecture that the probability distribution from which ChatGPT draws next tokens seems to follow a hierarchy nested according to those three levels and that is encoded in the weights of ChatGPT’s parameters. I arrived at this conjecture to account for the results of experiments in which I give ChatGPT a prompt with two components: 1) a story and, 2) instructions to create a new story based on that story but changing a key character: the protagonist or the antagonist. That one change ripples through the rest of the story. The pattern of differences between the old and the new story indicates how ChatGPT maintains story coherence. The nature and extent of the differences between the original story and the new one depends roughly on the degree of difference between the original key character and the one substituted for it. I end with a methodological coda: ChatGPT’s behavior must be described and analyzed on three strata: 1) The experiments exhibit behavior at the phenomenal level. 2) The conjecture is about a middle stratum, the matrix, that generates the nested hierarchy of probability distributions. 3) The transformer virtual machine is the bottom, the code stratum.

Keywords: ChatGPT, GPT, deep learning, large language models, story, narrative, machine learning

Suggested Citation

Benzon, William L., ChatGPT Tells Stories, and a Note about Reverse Engineering: a Working Paper, Version 3 ( 7, 2023). Available at SSRN: https://ssrn.com/abstract=4377178 or http://dx.doi.org/10.2139/ssrn.4377178

Do you have a job opening that you would like to promote on SSRN?

Paper statistics

Downloads
184
Abstract Views
765
Rank
354,291
PlumX Metrics