paper-with-me

Papers

Mind Scramble: Unveiling Large Language Model Psychology Via Typoglycemia

2024-10-02 · Miao Yu, Junyuan Mao, Guibin Zhang, Jingheng Ye, Junfeng Fang, Aoxiao Zhong, Yang Liu, Yuxuan Liang, Kun Wang, Qingsong Wen

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.

📄 PDF Abstract BibTeX arXiv:2410.01677

Code (1)

Ymm-cll/Typoglycemia 공식 구현

Tasks

Language ModelingLanguage ModellingLarge Language ModelMath

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Multi-Head Attention 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Adam 설명 없음
Residual Connection 설명 없음
Position-Wise Feed-Forward Layer 설명 없음

Similar Papers 제목 키워드 기반

Open Models, Closed Minds? On Agents Capabilities in Mimicking Human Personalities through Open Large Language Models

2024-01-13 · Lucio La Cava, Andrea Tagarelli

The emergence of unveiling human-like behaviors in Large Language Models (LLMs) has led to a closer connection between NLP and human psychology. Scholars have been studying the inherent personalities exhibited by LLMs an…

PhDGPT: Introducing a psychometric and linguistic dataset about how large language models perceive graduate students and professors in psychology

2024-11-06 · Edoardo Sebastiano De Duro, Enrique Taietta, Riccardo Improta, Massimo Stella

Machine psychology aims to reconstruct the mindset of Large Language Models (LLMs), i.e. how these artificial intelligences perceive and associate ideas. This work introduces PhDGPT, a prompting framework and synthetic d…

PsychoLex: Unveiling the Psychological Mind of Large Language Models

2024-08-16 · Mohammad Amin Abbasi, Farnaz Sadat Mirnezami, Hassan Naderi

This paper explores the intersection of psychology and artificial intelligence through the development and evaluation of specialized Large Language Models (LLMs). We introduce PsychoLex, a suite of resources designed to …

Large Language Models Fail on Trivial Alterations to Theory-of-Mind Tasks

2023-02-16 · Tomer Ullman

Intuitive psychology is a pillar of common-sense reasoning. The replication of this reasoning in machine intelligence is an important stepping-stone on the way to human-like artificial intelligence. Several recent tasks …

Common Sense Reasoning

The Mind in the Machine: A Survey of Incorporating Psychological Theories in LLMs

2025-03-28 · Zizhou Liu, Ziwei Gong, Lin Ai, Zheng Hui 외

Psychological insights have long shaped pivotal NLP breakthroughs, including the cognitive underpinnings of attention mechanisms, formative reinforcement learning, and Theory of Mind-inspired social modeling. As Large La…