Mind Scramble: Unveiling Large Language Model Psychology Via Typoglycemia

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Yu, Miao, Mao, Junyuan, Zhang, Guibin, Ye, Jingheng, Fang, Junfeng, Zhong, Aoxiao, Liu, Yang, Liang, Yuxuan, Wang, Kun, Wen, Qingsong
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866914986657316864
author Yu, Miao
Mao, Junyuan
Zhang, Guibin
Ye, Jingheng
Fang, Junfeng
Zhong, Aoxiao
Liu, Yang
Liang, Yuxuan
Wang, Kun
Wen, Qingsong
author_facet Yu, Miao
Mao, Junyuan
Zhang, Guibin
Ye, Jingheng
Fang, Junfeng
Zhong, Aoxiao
Liu, Yang
Liang, Yuxuan
Wang, Kun
Wen, Qingsong
contents Research into the external behaviors and internal mechanisms of large language models (LLMs) has shown promise in addressing complex tasks in the physical world. Studies suggest that powerful LLMs, like GPT-4, are beginning to exhibit human-like cognitive abilities, including planning, reasoning, and reflection. In this paper, we introduce a research line and methodology called LLM Psychology, leveraging human psychology experiments to investigate the cognitive behaviors and mechanisms of LLMs. We migrate the Typoglycemia phenomenon from psychology to explore the "mind" of LLMs. Unlike human brains, which rely on context and word patterns to comprehend scrambled text, LLMs use distinct encoding and decoding processes. Through Typoglycemia experiments at the character, word, and sentence levels, we observe: (I) LLMs demonstrate human-like behaviors on a macro scale, such as lower task accuracy and higher token/time consumption; (II) LLMs exhibit varying robustness to scrambled input, making Typoglycemia a benchmark for model evaluation without new datasets; (III) Different task types have varying impacts, with complex logical tasks (e.g., math) being more challenging in scrambled form; (IV) Each LLM has a unique and consistent "cognitive pattern" across tasks, revealing general mechanisms in its psychology process. We provide an in-depth analysis of hidden layers to explain these phenomena, paving the way for future research in LLM Psychology and deeper interpretability.
format Preprint
id arxiv_https___arxiv_org_abs_2410_01677
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Mind Scramble: Unveiling Large Language Model Psychology Via Typoglycemia
Yu, Miao
Mao, Junyuan
Zhang, Guibin
Ye, Jingheng
Fang, Junfeng
Zhong, Aoxiao
Liu, Yang
Liang, Yuxuan
Wang, Kun
Wen, Qingsong
Artificial Intelligence
Research into the external behaviors and internal mechanisms of large language models (LLMs) has shown promise in addressing complex tasks in the physical world. Studies suggest that powerful LLMs, like GPT-4, are beginning to exhibit human-like cognitive abilities, including planning, reasoning, and reflection. In this paper, we introduce a research line and methodology called LLM Psychology, leveraging human psychology experiments to investigate the cognitive behaviors and mechanisms of LLMs. We migrate the Typoglycemia phenomenon from psychology to explore the "mind" of LLMs. Unlike human brains, which rely on context and word patterns to comprehend scrambled text, LLMs use distinct encoding and decoding processes. Through Typoglycemia experiments at the character, word, and sentence levels, we observe: (I) LLMs demonstrate human-like behaviors on a macro scale, such as lower task accuracy and higher token/time consumption; (II) LLMs exhibit varying robustness to scrambled input, making Typoglycemia a benchmark for model evaluation without new datasets; (III) Different task types have varying impacts, with complex logical tasks (e.g., math) being more challenging in scrambled form; (IV) Each LLM has a unique and consistent "cognitive pattern" across tasks, revealing general mechanisms in its psychology process. We provide an in-depth analysis of hidden layers to explain these phenomena, paving the way for future research in LLM Psychology and deeper interpretability.
title Mind Scramble: Unveiling Large Language Model Psychology Via Typoglycemia
topic Artificial Intelligence
url https://arxiv.org/abs/2410.01677