Skip to main content

ORIGINAL RESEARCH article

Front. Psychol.
Sec. Quantitative Psychology and Measurement
Volume 15 - 2024 | doi: 10.3389/fpsyg.2024.1433339

SEMbeddings: how to evaluate model misfit before data collection using largelanguage models

Provisionally accepted
  • University of Padua, Padua, Veneto, Italy

The final, formatted version of the article will be published soon.

    Recent developments suggest that Large Language Models (LLMs) provide a promising approach for approximating empirical correlation matrices of item responses by utilizing item embeddings and their cosine similarities. In this paper, we introduce a novel tool, which we label SEMbeddings. This tool integrates mpnet-personality (a fine-tuned embedding model) with latent measurement models to assess model fit or misfit prior to data collection. To support our statement, we apply SEMbeddings to the 96 items of the VIA-IS-P, which measures 24 different character strengths, using responses from 31,697 participants. Our analysis shows a significant, though not perfect, correlation (r = .67) between the cosine similarities of embeddings and empirical correlations among items. We then demonstrate how to fit confirmatory factor analyses on the cosine similarity matrices produced by mpnet-personality and interpret the outcomes using modification indices. We found that relying on traditional fit indices when using SEMbeddings can be misleading as they often lead to more conservative conclusions compared to empirical results. Nevertheless, they provide valuable suggestions about possible misfit, and we argue that the modification indices obtained from these models could serve as a useful screening tool to make informed decisions about items prior to data collection. As LLMs become increasingly precise and new fine-tuned models are released, these procedures have the potential to deliver more reliable results, potentially transforming the way new questionnaires are developed.

    Keywords: Large language models, artificial intelligence, confirmatory factor analysis, validity, assessment, Structural Equation Models, Modification indices

    Received: 15 May 2024; Accepted: 09 Dec 2024.

    Copyright: © 2024 Feraco and Toffalini. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

    * Correspondence: Tommaso Feraco, University of Padua, Padua, 35122, Veneto, Italy

    Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.