Probing Large Language Models from A Human Behavioral Perspective

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wang, Xintong, Li, Xiaoyu, Li, Xingshan, Biemann, Chris
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914752206209024
author Wang, Xintong
Li, Xiaoyu
Li, Xingshan
Biemann, Chris
author_facet Wang, Xintong
Li, Xiaoyu
Li, Xingshan
Biemann, Chris
contents Large Language Models (LLMs) have emerged as dominant foundational models in modern NLP. However, the understanding of their prediction processes and internal mechanisms, such as feed-forward networks (FFN) and multi-head self-attention (MHSA), remains largely unexplored. In this work, we probe LLMs from a human behavioral perspective, correlating values from LLMs with eye-tracking measures, which are widely recognized as meaningful indicators of human reading patterns. Our findings reveal that LLMs exhibit a similar prediction pattern with humans but distinct from that of Shallow Language Models (SLMs). Moreover, with the escalation of LLM layers from the middle layers, the correlation coefficients also increase in FFN and MHSA, indicating that the logits within FFN increasingly encapsulate word semantics suitable for predicting tokens from the vocabulary.
format Preprint
id arxiv_https___arxiv_org_abs_2310_05216
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Probing Large Language Models from A Human Behavioral Perspective
Wang, Xintong
Li, Xiaoyu
Li, Xingshan
Biemann, Chris
Computation and Language
Large Language Models (LLMs) have emerged as dominant foundational models in modern NLP. However, the understanding of their prediction processes and internal mechanisms, such as feed-forward networks (FFN) and multi-head self-attention (MHSA), remains largely unexplored. In this work, we probe LLMs from a human behavioral perspective, correlating values from LLMs with eye-tracking measures, which are widely recognized as meaningful indicators of human reading patterns. Our findings reveal that LLMs exhibit a similar prediction pattern with humans but distinct from that of Shallow Language Models (SLMs). Moreover, with the escalation of LLM layers from the middle layers, the correlation coefficients also increase in FFN and MHSA, indicating that the logits within FFN increasingly encapsulate word semantics suitable for predicting tokens from the vocabulary.
title Probing Large Language Models from A Human Behavioral Perspective
topic Computation and Language
url https://arxiv.org/abs/2310.05216