Large language models (LLMs) have revolutionized natural language processing (NLP). Yet when used to assess psychological constructs in text, they are generally not evaluated for the types of validity, reliability, and standardization typically expected from traditional questionnaires with rating scales. This study bridges that gap by proposing a framework for evaluating the psychometric properties of NLP-based psychological assessments (including LLMs-based ones), an area of research we refer to as Text Psychometrics. We first review different NLP methods, compare their ability to address key challenges in psychological research such as explainability, and outline ways of evaluating them on many desirable psychometric properties. Our goal is to describe most psychometric properties that may be of interest, especially for psychology and NLP researchers who are less familiar with psychometrics or psychometricians who are less familiar with NLP. We then illustrate the tradeoffs of different NLP methods through two empirical studies. Study 1 classifies thousands of crisis counseling conversations and Reddit posts into different types of mental health issues and introduces a novel method to evaluate text models for content validity—the extent to which a test captures the full range of expressions of a single construct. Study 2 examines prospective criterion validity by estimating how 49 known suicide risk factors predict imminent risk in crisis counseling conversations. We find that mentioning lethal means for suicide, the police, depressed mood, and anxiety in text as well as the texter writing more than the counselor characterize the conversations that end up needing an emergency service intervention for imminent suicide risk, which showcases the interpretability of the method that was used. In sum, NLP studies in psychology often rely on only a few validation metrics; here, we demonstrate the need for broader psychometric evaluation and, as a step towards Text Psychometrics, provide practical examples and future directions that can help researchers evaluate these models.
مدلهای زبان بزرگ (LLMs) انقلابی در پردازش زبان طبیعی (NLP) ایجاد کردهاند. با این حال، هنگامی که برای ارزیابی سازههای روانشناختی در متن به کار میروند، معمولاً برای انواع روایی، پایایی و استانداردسازی که معمولاً از پرسشنامههای سنتی با مقیاسهای رتبهبندی انتظار میرود، ارزیابی نمیشوند. این مطالعه این شکاف را با ارائه چارچوبی برای ارزیابی ویژگیهای روانسنجی ارزیابیهای روانشناختی مبتنی بر NLP (از جمله آنهایی که مبتنی بر LLMs هستند) پر میکند؛ حوزهای از پژوهش که ما آن را روانسنجی متن مینامیم. ابتدا روشهای مختلف NLP را مرور میکنیم، توانایی آنها را در پرداختن به چالشهای کلیدی در پژوهش روانشناختی مانند قابلیت توضیحپذیری مقایسه میکنیم و راههایی برای ارزیابی آنها بر اساس ویژگیهای روانسنجی مطلوب متعدد ترسیم میکنیم. هدف ما توصیف بیشتر ویژگیهای روانسنجی است که ممکن است مورد علاقه باشند، به ویژه برای پژوهشگران روانشناسی و NLP که کمتر با روانسنجی آشنا هستند یا روانسنجانی که کمتر با NLP آشنا هستند. سپس با دو مطالعه تجربی، مبادلات روشهای مختلف NLP را نشان میدهیم. مطالعه اول هزاران گفتگوی مشاوره بحران و پستهای Reddit را به انواع مختلف مسائل سلامت روان طبقهبندی میکند و روش نوینی برای ارزیابی مدلهای متنی از نظر روایی محتوا معرفی میکند—میزانی که یک آزمون دامنه کامل ابرازهای یک سازه واحد را در بر میگیرد. مطالعه دوم روایی معیار پیشبینی را با برآورد اینکه چگونه ۴۹ عامل شناختهشده خطر خودکشی، خطر قریبالوقوع را در گفتگوهای مشاوره بحران پیشبینی میکنند، بررسی میکند. یافتهها نشان میدهد که اشاره به وسایل کشنده برای خودکشی، پلیس، خلق افسرده و اضطراب در متن و همچنین نوشتن بیشتر متننگار نسبت به مشاور، ویژگیهای گفتگوهایی است که در نهایت نیاز به مداخله خدمات اضطراری برای خطر قریبالوقوع خودکشی دارند، که قابلیت تفسیر روش بهکاررفته را نشان میدهد. در مجموع، مطالعات NLP در روانشناسی اغلب تنها به چند معیار اعتبارسنجی متکی هستند؛ در اینجا، نیاز به ارزیابی روانسنجی گستردهتر را نشان میدهیم و به عنوان گامی به سوی روانسنجی متن، مثالهای عملی و جهتگیریهای آیندهای ارائه میکنیم که میتواند به پژوهشگران در ارزیابی این مدلها کمک کند.
Ageing and sleep disorders are closely linked, as physiological changes can increase sleep fragmentation in older adults. Although sleep stage transition probability (STP) features provide useful markers of sleep disruption, age-related variability presents challenges for generalised sleep disorder classification. This study investigated the influence of chronological age on sleep disorder detectability and compared age-agnostic, age-involved, and age-specific machine learning (ML) approaches. Using single-night hypnograms across three data groups, two-stage STP features were extracted and evaluated through five experimental configurations, including models without age information, models incorporating age as a feature, and models stratified by age group. Statistical validation using absolute differences between transition probability matrices was performed to assess healthy–disordered differences across age cohorts and thresholds. Age-involved models provided modest improvements of approximately 2–4% in accuracy and F1-score over age-agnostic models, which achieved approximately 85% performance. Age-specific modelling demonstrated greater benefits, particularly among older subjects (age≥60), with improvements of approximately 8–12%. Older cohorts generally achieved 12–18% higher performance than younger cohorts, with XGBoost and other ensemble models producing the strongest results. In contrast, younger age-specific models showed lower or more variable performance, suggesting reduced discriminability of two-stage STP features. Statistical analysis identified more pronounced healthy–disordered differences in NREM transitions involving N2 and N3 among older subjects. Age-threshold analysis indicated that discriminability increased from the 50s and was strongest around 55–60 years. These findings suggest that chronological age influences the diagnostic relevance of hypnogram-derived transition features and that age-specific modelling may offer advantages for sleep disorder screening, particularly in older adults. However, independent external and prospective validation remains necessary before clinical implementation.
پیری و اختلالات خواب بهطور نزدیک با یکدیگر مرتبط هستند، زیرا تغییرات فیزیولوژیک میتواند منجر به افزایش تکهتکه شدن خواب در بزرگسالان مسن شود. اگرچه ویژگیهای احتمال گذار از مرحله خواب (STP) نشانگرهای مفیدی از اختلال خواب ارائه میدهند، اما تغییرپذیری مرتبط با سن چالشهایی را برای طبقهبندی عمومی اختلالات خواب ایجاد میکند. این مطالعه تأثیر سن تقویمی بر قابلیت تشخیص اختلالات خواب را بررسی کرد و رویکردهای یادگیری ماشین (ML) بدون در نظر گرفتن سن، مرتبط با سن و خاصِ سن را مقایسه نمود. با استفاده از هیپنوگرامهای تکشبانه در سه گروه داده، ویژگیهای STP دو مرحلهای استخراج و از طریق پنج پیکربندی آزمایشی ارزیابی شدند که شامل مدلهای بدون اطلاعات سنی، مدلهای شامل سن بهعنوان یک ویژگی، و مدلهای لایهبندیشده بر اساس گروه سنی بود. اعتبارسنجی آماری با استفاده از تفاوتهای مطلق بین ماتریسهای احتمال گذار انجام شد تا تفاوتهای سالم-اختلالیافته را در همگروههای سنی و آستانهها ارزیابی کند. مدلهای مرتبط با سن بهبودهای modestی حدود ۲-۴٪ در دقت و نمره F1 نسبت به مدلهای بدون در نظر گرفتن سن ارائه دادند که عملکردی حدود ۸۵٪ کسب کردند. مدلسازی خاصِ سن مزایای بیشتری نشان داد، بهویژه در میان افراد مسنتر (سن≥۶۰)، با بهبودهای حدود ۸-۱۲٪. همگروههای سنی مسنتر بهطور کلی عملکردی ۱۲-۱۸٪ بالاتر از همگروههای جوانتر کسب کردند، که در آن مدلهای انبوهسازی مانند XGBoost و سایر مدلها قویترین نتایج را تولید کردند. در مقابل، مدلهای خاصِ سن برای گروههای جوانتر عملکرد پایینتر یا متغیرتری نشان دادند که نشاندهنده کاهش تمایزپذیری ویژگیهای STP دو مرحلهای است. تحلیل آماری تفاوتهای بارزتر سالم-اختلالیافته را در گذارهای NREM شامل N2 و N3 در میان افراد مسنتر شناسایی کرد. تحلیل آستانه سنی نشان داد که تمایزپذیری از دهه پنجم زندگی افزایش مییابد و در حدود ۵۵-۶۰ سالگی قویترین است. این یافتهها پیشنهاد میکنند که سن تقویمی بر ارتباط تشخیصی ویژگیهای گذار مشتقشده از هیپنوگرام تأثیر میگذارد و مدلسازی خاصِ سن ممکن است مزایایی برای غربالگری اختلالات خواب، بهویژه در بزرگسالان مسن، ارائه دهد. با این حال، اعتبارسنجی خارجی مستقل و پیشبینانه پیش از اجرای بالینی ضروری است.