semanticfa: An R Package for Response-Free Semantic Factor Analysis of Psychometric Scales
Organizations: Department of Psychology, University of Alberta, Edmonton, Alberta, Canada
Abstract
The items of a reflective psychometric scale can be read as a proposal about a construct's structure. Language models make that proposal measurable by converting each item into an embedding, a list of numbers, similar for similar meanings. We introduce semanticfa, an R package for semantic factor analysis, which factors item-embedding similarities. It also interprets factors, flags redundant items, builds short forms, and screens new items. A worked example analyzes the 50-item International Personality Item Pool Big-Five Factor Markers, embedded with Qwen3-Embedding-8B, and compares the results with a factor analysis of 874,434 respondents. Retention criteria tied between five and six factors, and the tie rule kept five. Three corresponded mainly to single domains, and two blended most Extraversion items with five Agreeableness items. Each factor's congruence with its best-matching human factor (1 = identical) ranged from .92 for Openness to .52 for Agreeableness. Item pairs more similar in meaning tended to be answered more alike (r = .46 with raw responses), but same-domain reverse-keyed opposites, answered oppositely, were about as similar as cross-domain pairs (.58 vs. .57). Sign-flipping reverse-keyed items' embeddings did not improve agreement with raw responses and worsened it with reverse-scored ones. With five factors, a 25-item short form matched the domains better than all 200 random five-per-domain sets, but parallel analysis kept only three. We propose semantic-behavioral coherence, the agreement between semantic and response structures, as a measurable property of a scale, given an embedding model. Semantic factor analysis complements, and does not replace, response-based factor analysis.
Figures & tables
| Diagnostic | What it measures | How to read it |
|---|---|---|
| Kaiser–Meyer–Olkin (KMO) | How large the correlations among items are compared with the partial correlations between pairs of items once all other items are held constant | From 0 to 1. Higher values mean the matrix is better suited to factor analysis. |
| Root mean square residual (RMSR) | The typical size of the differences between the observed similarities and those the factors reproduce | Lower is better. The range from random embeddings (see Note) shows how little the conventional cutoff discriminates for embeddings. A value above that range is not evidence of misfit. |
| Common part accounted for (CAF) | How much of the common variance the factors capture. It is one minus the KMO of what the factors leave unexplained | From 0 to 1. Higher is better. A low value means factorable structure remains after the factors are removed. |
| Total entropy fit index (TEFI) | How cleanly the factors divide the items, measured with Von Neumann entropy ( golino-etal-2021 ) | Lower is better. It has no conventional cutoff and is read against other solutions. The range from random embeddings (see Note) shows only whether the solution can be told apart from one fitted to random embeddings. |
| McDonald’s omega total | The share of the variance of the summed score of a factor’s items that the factor accounts for, computed from the factor’s loadings. It indexes internal consistency | From 0 to 1. Higher is better. It is computed twice, over the items whose largest loading is on the factor and over the items of the theoretical domain the factor matches best (ten items in the worked example). |
| Theoretical domain | |||||||
| Factor (matched domain) | O | C | E | A | N | Items | Reverse-keyed |
| MR4 (O) | 7 | 0 | 0 | 0 | 0 | 7 | 1 |
| MR1 (C) | 1 | 10 | 1 | 1 | 1 | 14 | 6 |
| MR5 (E) | 0 | 0 | 5 | 2 | 0 | 7 | 0 |
| MR2 (A) | 2 | 0 | 4 | 3 | 1 | 10 | 10 |
| MR3 (N) | 0 | 0 | 0 | 4 | 8 | 12 | 1 |
| Human factor | |||||
|---|---|---|---|---|---|
| Semantic factor | O (MR5) | C (MR2) | E (MR4) | A (MR3) | N (MR1) |
| O (MR4) | .92 | .14 | .18 | .17 | .02 |
| C (MR1) | .28 | .84 | .27 | .10 | .11 |
| E (MR5) | .16 | .11 | .64 | .52 | .07 |
| A (MR2) | .27 | .05 | .41 | .52 | .01 |
| N (MR3) | .12 | .13 | .03 | .30 | .80 |
| Theory | Human data | Diagnostics | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Encoding or matrix | NMI | ARI | KMO | TEFI | RMSR | CAF | ||||
| atomic | .527 | .402 | .744 | .434 | .456 | .707 | .971 | .032 | .412 | |
| atomic_reversed | .527 | .402 | .450 | .137 | .444 | – | .971 | .032 | .412 | |
| squid | .391 | .272 | .622 | .567 | .490 | 1.000 | .022 | .072 | .996 | |
| mean_centered_pearson | .527 | .402 | .744 | .434 | .456 | .707 | .971 | .032 | .412 | |
| nli | .548 | .448 | .286 | .063 | .561 | – | .551 | .094 | .688 | |
| Item | Domain | MR3 | MR1 | MR2 | MR5 | MR4 |
|---|---|---|---|---|---|---|
| E1 | Extraversion | .093 | .308 | .076 | .354 | .148 |
| E2 | Extraversion | .051 | .196 | .449 | .203 | .122 |
| E3 | Extraversion | .084 | .061 | .127 | .752 | .013 |
| E4 | Extraversion | .001 | .546 | .206 | .161 | .008 |
| E5 | Extraversion | .037 | .205 | .117 | .385 | .257 |
| E6 | Extraversion | .093 | .175 | .432 | .065 | .190 |
| Item | Domain | MR4 | MR1 | MR3 | MR2 | MR5 |
|---|---|---|---|---|---|---|
| E1 | Extraversion | .712 | .042 | .010 | .015 | .012 |
| E2 | Extraversion | .713 | .086 | .053 | .026 | .008 |
| E3 | Extraversion | .623 | .189 | .179 | .061 | .068 |
| E4 | Extraversion | .755 | .023 | .039 | .018 | .027 |
| E5 | Extraversion | .714 | .012 | .123 | .067 | .034 |
| E6 | Extraversion | .522 | .005 | .073 | .010 | .235 |
| Scale | Model | 95% interval | Gap | NMI | ARI | Consensus | |
|---|---|---|---|---|---|---|---|
| Big Five | 0.6B | .398 | [.286, .515] | .077 | .497 | .393 | 6 |
| 4B | .458 | [.372, .548] | .077 | .693 | .574 | 6 | |
| 8B | .416 | [.316, .535] | .079 | .527 | .402 | 5 | |
| DASS | 0.6B | .481 | [.344, .612] | .099 | .412 | .271 | 5 |
| 4B | .505 | [.349, .649] | .106 | .700 | .650 | 4 | |
| 8B | .510 | [.343, .664] | .124 | .834 | .801 | 4 |
Psychometric Validation
Psychometric validation tests whether assessments reliably measure their intended traits or abilities across people, settings, and uses.
See all 67 papers