Reverse-Engineering the Reader

Samuel Kiegeland, Ethan Gotlieb Wilcox, Afra Amini, David Robert Reich, Ryan Cotterell
10/16/2024
cs.CLcs.AIcs.LG

No official code found. Best implementation: samuki/reverse-engineering-the-reader (2 stars, last commit 2025-03-15).

Abstract

Numerous previous studies have sought to determine to what extent language models, pretrained on natural language text, can serve as useful models of human cognition. In this paper, we are interested in the opposite question: whether we can directly optimize a language model to be a useful cognitive model by aligning it to human psychometric data. To achieve this, we introduce a novel alignment technique in which we fine-tune a language model to implicitly optimize the parameters of a linear regressor that directly predicts humans' reading times of in-context linguistic units, e.g., phonemes, morphemes, or words, using surprisal estimates derived from the language model. Using words as a test case, we evaluate our technique across multiple model sizes and datasets and find that it improves language models' psychometric predictive power. However, we find an inverse relationship between psychometric power and a model's performance on downstream NLP tasks as well as its perplexity on held-out test data. While this latter trend has been observed before (Oh et al., 2022; Shain et al., 2024), we are the first to induce it by manipulating a model's alignment to psychometric data.

View on arXivView PDF

Code Implementations(1)

Aligning language models to human psychometric data.

21PythonOct 17, 20241 years ago
alignmentllmpsycholinguistics

Similar Papers

Cite this paper

@article{kiegeland2024reverseengineering,
  title  = {Reverse-Engineering the Reader},
  author = {Samuel Kiegeland and Ethan Gotlieb Wilcox and Afra Amini and David Robert Reich and Ryan Cotterell},
  year   = {2024},
  eprint = {2410.13086},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.13086v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.13086.svg)](https://codeofpaper.com/paper/2410.13086)

Discussion