Papers
Topics
Authors
Recent
Search
2000 character limit reached

On the Proper Treatment of Tokenization in Psycholinguistics

Published 3 Oct 2024 in cs.CL | (2410.02691v3)

Abstract: LLMs are widely used in computational psycholinguistics to test theories that relate the negative log probability (the surprisal) of a region of interest (a substring of characters) under a LLM to its cognitive cost experienced by readers, as operationalized, for example, by gaze duration on the region. However, the application of modern LLMs to psycholinguistic studies is complicated by the practice of using tokenization as an intermediate step in training a model. Doing so results in a LLM over token strings rather than one over character strings. Vexingly, regions of interest are generally misaligned with these token strings. The paper argues that token-level LLMs should be (approximately) marginalized into character-level LLMs before they are used in psycholinguistic studies to compute the surprisal of a region of interest; then, the marginalized character-level LLM can be used to compute the surprisal of an arbitrary character substring, which we term a focal area, that the experimenter may wish to use as a predictor. Our proposal of marginalizing a token-level model into a character-level one solves this misalignment issue independently of the tokenization scheme. Empirically, we discover various focal areas whose surprisal is a better psychometric predictor than the surprisal of the region of interest itself.

Citations (2)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.

Collections

Sign up for free to add this paper to one or more collections.

Tweets

Sign up for free to view the 1 tweet with 1 like about this paper.