Hostname: page-component-5db58dd55d-688nx Total loading time: 0 Render date: 2026-07-08T21:56:14.678Z Has data issue: false hasContentIssue false

High-Dimensional Perception with the Double Machine Learning Lens Model

Published online by Cambridge University Press:  21 April 2026

Raymond Vincent Li*
Affiliation:
Department of Psychology, The University of British Columbia – Vancouver Campus , Canada
Jeremy C. Biesanz
Affiliation:
Department of Psychology, The University of British Columbia – Vancouver Campus , Canada
*
Corresponding author: Raymond Vincent Li; Email: raymond.li@ubc.ca
Rights & Permissions [Opens in a new window]

Abstract

Traditional perceptual models are ill-equipped for the high-dimensional data, such as text embeddings, central to modern psychology and AI. We introduce the double machine learning lens model, a framework that utilizes machine learning to handle such data. We applied this model to analyze how a modern AI and human perceivers judge social class from 9,513 aspirational essays written by 11-year-olds in 1969. A systematic comparison of 45 analytical approaches revealed that regularized linear models using dimensionality-reduced language embeddings significantly outperformed traditional dictionary-based methods and more complex non-linear models. Our top model accurately predicted human $(R^{2}_{CV} =0.61)$ and AI $(R^{2}_{CV} =0.56)$ social class perceptions, capturing over 85% of the total accuracy. These results suggest that “unmodeled knowledge” in perception may be an artifact of insufficient measurement tools rather than an unmeasurable intuitive process. We find that both AI and humans use many of the same textual cues (e.g., grammar, occupations, and cultural activities), only a subset of which are valid. Both appear to amplify subtle, real-world patterns into powerful, yet potentially discriminatory heuristics, where a small difference in actual social class creates a large difference in perception.

Information

Type
Application and Case Studies - Original
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2026. Published by Cambridge University Press on behalf of Psychometric Society
Figure 0

Figure 1 Comparison of the traditional lens model and the double machine learning framework.Note: The left panel illustrates the classic Brunswik lens model, where a validity measure (X) and a judgment (Y) are modeled as linear combinations of k cues (Z). The right panel depicts the double machine learning (DML) framework, which uses machine learning models (m0$m_0$ and g0$g_0$) to partial out high-dimensional confounders (Z) to estimate the direct effect (βˇ1$\check {\beta }_1$) of X on Y.Figure 1 long description.

Figure 1

Figure 2 Conceptual illustration of dimensionality reduction techniques for the DML-LM.Note: A conceptual illustration of how different approaches handle the high-dimensional cues (Z). Panel (a) represents the full, unstructured feature set. Panel (b) illustrates a dimensionality reduction (e.g., principal component analysis), where the original features are combined into a smaller set of broader components. Panel (c) depicts a feature selection approach (e.g., Lasso) which identifies and retains a sparse subset of the most important original features.Figure 2 long description.

Figure 2

Figure 3 Model performance in predicting AI judgments and the social class validity.Note: The scatterplots compare the cross-validated (CV) judgmental consistency (RYAI2$R^2_{Y_{AI}}$) against the environmental predictability (RX2$R^2_X$) for five learning algorithms (OLS, XGBoost, Lasso, Ridge, and Random Forest [RF]) across three text representation methods (LIWC, MiniLM, and NV-Embed). Marker color corresponds to the dimensionality of the feature sets used, where black is the full dimensionality, dark gray is the complete set of 200 PCs (or 30, in the case of LIWC), and light gray is the set of top 6 PCs. Two data points representing models with full NV-Embed features were omitted to improve axis scaling: OLS (RX2=−0.94$R^2_{X} = -0.94$) and Ridge (RX2=−0.68$R^2_{X} = -0.68$).Figure 3 long description.

Figure 3

Table 1 Performance metrics for five machine learning algorithms across text representationsTable 1 long description.

Figure 4

Table 2 Decomposition of accuracy: OLS total effects and DML direct effects for human and AI judgmentsTable 2 long description.

Figure 5

Figure 4 The DML-LM decomposing AI and human judgment.Note: The model displays the results of the DML-LM analysis using 200 principal components (PCs) as cues (Z). The diagram shows the variance in the validity (X) explained by the cues (RCV2=0.112$R^2_{CV} = 0.112$), the variance in AI and Human (HU) judgments explained by cues (RCV2=0.560$R^2_{CV} = 0.560$ and 0.605$0.605$, respectively), and the direct effects after accounting for the cues. The percentages represent the proportion of mediated accuracy (PoMA). The values in parentheses below each principal component (e.g., PC3) correspond to the post-LASSO coefficients for the validity measure (X), AI judgments, and Human (HU) judgments, respectively. aWe caution against over-interpreting the magnitude of this percentage exceeding 100%. As the direct effect approached zero, stochastic fluctuations inherent to the cross-fitting procedure in double machine learning likely resulted in a slightly negative, albeit non-significant, coefficient estimate. Thus, we interpret this simply as evidence that the cue set and modeling technique effectively captured the entirety of the mediated effect, treating the excess as statistical noise.Figure 4 long description.

Figure 6

Table 3 Principal component predictors of social class: Validity and judgment coefficientsTable 3 long description.

Figure 7

Figure 5 Interpreting social class perception: UMAP visualization of essay topic clusters.Note: 3D UMAP projection of essay embeddings, clustered into topics via HDBSCAN. Cluster colors indicate the level and consensus (i.e., agreement between social class validity, AI, and human ratings) of social class judgments, as detailed in the legend. Left: For each of the 15 predictive principal components (PCs), the corresponding word cloud is generated from the combined content of the three lowest-scoring (right) and three highest-scoring (left) topic clusters. Lines then connect each PC to its single highest- and lowest-scoring cluster on the plot.Figure 5 long description.

Figure 8

Figure D1 Distributions of human judgments, AI judgments, and social class validity.Note: The figure displays histograms for the three key variables in the study. Panel (a) shows the distribution of social class ratings from human perceivers (n=547$n = 547$) on a 10-point scale. Panel (b) shows the distribution of social class ratings from the AI model for all essays (n=9,513$n = 9,513$) on the same 10-point scale. Panel (c) shows the distribution of the ground-truth social class validity measure, based on the reverse-coded 5-point Registrar General’s Social Class scale (n=9,513$n = 9,513$). Dashed vertical lines indicate the mean for each distribution.Figure D1 long description.