医学伦理研究助手
前沿
论文精读

预印本 · 队列研究

TALQ:一种可重复的语言模型问卷,用于密集测量抑郁与焦虑状态

medRxiv · 2026年11月15日 · Levesque 等 4 位作者

这是预印本,还没有经过同行评议预印本是作者先公开的稿件,结论可能在正式发表前被修改。
问这篇
一分钟了解要点用大语言模型对文本评分52项症状,每两周追踪抑郁焦虑动态结果睡眠障碍和自我伤害内容分别持续领先于两周后的不堪重负感和情绪痛苦;个体差异主要体现在所处状态而非状态转换,13%的人以危机状态进入研究并在数月内缓解。

不需要生物学背景,多打比方

正在阅读全文并生成讲解…

已等待 0 秒大约需要 10–20 秒

可以先看别的,做好了会自动出现在这里。

这篇还没有动画

动画会把研究的流程、作用机制和关键结果一步一步演示出来,每一步都标明出自原文哪里。制作大约需要一两分钟。

Front matter

第 1 段问这一段

TALQ: A reproducible language model questionnaire for dense measurement of depressive and anxious states

第 2 段问这一段

Maxine E. Levesque1, Kira E. Poskanzer2, Joshua Woolley3, Reza Abbasi-Asl1,4,* 1 Department of Neurology, University of California, San Francisco (UCSF)

第 3 段问这一段

2 Department of Biochemistry and Biophysics, University of California, San Francisco (UCSF)

第 4 段问这一段

3 Department of Psychiatry and Behavioral Sciences, University of California, San Francisco (UCSF)

第 5 段问这一段

4 Department of Bioengineering and Therapeutic Sciences, University of California, San Francisco (UCSF)

第 6 段问这一段

* Correspondence: Reza Abbasi-Asl (Reza.AbbasiAsl@ucsf.edu)

摘要Abstract

第 7 段问这一段

Depression and anxiety are often assessed weeks or months apart with brief questionnaires covering few symptoms, leaving changes between assessments unobserved. Here, we introduce TALQ, a scoring system in which a large language model rates 52 symptoms from text, and use it to score 491 members of two online mental health communities every two weeks for a year. Ratings were stable across samples, predicted human annotations of interpersonal risk factors, low self-esteem and depression severity, and agreed with inventories completed by the same model. The scores mapped into 12 replicable symptom factors, including fearful preoccupation and social strain. Sleep disturbance and self-harm content consistently preceded overwhelm and emotional pain, respectively, two weeks later. People differed mainly in the states they occupied rather than transitions between them, and 13% entered in a crisis that remitted over months. Overall, our findings suggest that TALQ can measure expressed mental states densely and quantify longitudinal dynamics.

第 8 段问这一段

Depression and anxiety disorders are among the largest causes of disability worldwide.1 Antidepressants are modestly more effective than placebo,2 and fewer than half of patients remit after a first course of treatment.3 These limited outcomes have been traced to how depression is defined and measured.4 Hundreds of symptom combinations satisfy the same diagnostic criteria,5 common rating scales have little content overlap,6 and sum scores obscure effects of treatment on specific symptoms.7 Symptoms are also measured only at visits weeks or months apart, if at all,8 so most of what happens between assessments goes unobserved. In network and dynamical accounts, symptoms influence one another over time, and the longitudinal dynamics of mental states may themselves characterize a disorder.9–12 Studying these dynamics requires repeated reliable measurement of many symptoms in many people over long periods.13 Clinical trials rely on clinician-administered scales such as the Montgomery-Åsberg Depression Rating Scale (MADRS)14, and routine care on questionnaires such as the Patient Health Questionnaire (PHQ-9)15 and the Beck Depression Inventory (BDI-II),16 but both cover few symptoms at visits usually weeks or months apart. Experience sampling provides dense data within individuals, but usually for a few items over days or weeks.11 Passive sensing with smartphones records behavior continuously, but mood and other experiences have to be inferred from it.17,18 People describe their mental states in their own words, for example in online communities, and the language of social media carries clinically relevant signal.19–21 Large language models (LLMs) annotate text with an accuracy approaching that of human annotators on many tasks22,23 and can infer mental health conditions from text without training on the task.24,25 Unlike a human rater, an LLM can be fixed and versioned, applied again to the same text, given any questionnaire and prompted repeatedly to quantify its own uncertainty.26,27 Dense ratings of naturalistic text also carry risks. People post irregularly, so analyses that assume evenly spaced observations can misjudge how symptoms change over time. It has not been established whether LLM ratings of such text are reliable and valid, what structure they have or whether they support claims about symptom dynamics.

第 9 段问这一段

Here we designed a mental health scoring system in which an LLM acts as a structured rater that answers a symptom questionnaire about the author of a set of posts, which we call TALQ (text assessment with language model questionnaires). We rated 52 symptoms compiled from depression rating scales6 every two weeks during the first year of sustained activity of 491 members of two Reddit communities, r/depression and r/Anxiety. We assessed the reliability and validity of the ratings, identified 12 replicable mental health factors and examined how they change within each person, across weeks and months.

结果Results

第 10 段问这一段

TALQ, a mental health scoring system built on an LLM Scoring mental states from what people write requires a rater that applies the same symptom items in the same way to every person and period. We therefore built TALQ, a scoring system in which an LLM rates the author of a text on 52 symptoms compiled from seven depression rating scales,6 namely the MADRS, BDI-II, Hamilton Rating Scale for Depression (HRSD)28, Center for Epidemiologic Studies Depression Scale (CES-D)29, Inventory of Depressive Symptomatology (IDS)30, Quick Inventory of Depressive Symptomatology (QIDS)31 and Zung Self-Rating Depression Scale (SDS)32 (Fig. 1a). The 52 symptoms come from a content analysis of the combined 125 items of these scales that merged items with the same content.6 For each of these 52 predefined symptoms, the LLM reads all text a person wrote during a period and returns a rating from 0 (absent) to 100 (present), a short justification and its confidence for each symptom (Supplementary Note 1). Within each period, the LLM rates each symptom several times from the same text, and these repeated ratings are averaged into one score for that period. Here we applied TALQ to posts and comments by 491 users of two online communities, grouped into windows of two weeks and rated by Llama-3.1-8B-Instruct, an LLM with 8 billion parameters.33 The users had 9,886 two-week windows with any posts or comments (median 22 per user and 417 words per window, Extended Data Fig. 1 and Methods), and rating each window on all 52 symptoms five times yielded 2.54 million valid ratings (Fig. 1b and Extended Data Fig. 2).

第 11 段问这一段

To obtain a reliable and robust34 score for each symptom, we prompted the LLM five times with the same input for each window and symptom and took the average of the five ratings per symptom. The five ratings differed only by the randomness with which the model generates its answers. We found that across the five repeats, the ratings agreed moderately (median intraclass correlation, ICC, 0.64 across symptoms, range 0.15–0.85, Fig. 1c), but the mean of all five was highly reliable (median ICC of the mean 0.90). Therefore, we used the mean as the score of each window and symptom. Because the posts of a window may not contain enough information to rate every symptom, we also used the confidence that the model reported with each rating. Our main analyses used the 7,094 windows from 481 users in which the mean confidence exceeded 40 of 100 for all 52 symptoms (Extended Data Fig. 1). We chose this threshold by examining the LLM’s generated confidence scores, which tracked the reliability of its ratings across five repeats (Supplementary Table 4). Agreement between the five ratings of a window and symptom rose steadily with confidence, from a median ICC of 0.19 for confidence scores below 40 (0.5% of ratings) to 0.90 for those above 80. We chose a threshold of 40 to exclude windows with the least reliable ratings while keeping 73% of complete windows.

第 12 段问这一段

The users in our cohort are anonymous, so no clinical assessments are available for them, and no public dataset has human annotations of all 52 symptoms. We therefore asked whether TALQ ratings can predict available human annotations of single posts in three other Reddit datasets,35–37 where we have access to the following annotations: Two interpersonal risk factors, (1) thwarted belongingness and (2) perceived burdensomeness, as well as (3) low self-esteem and (4) depression severity. As in the cohort, each post was rated five times on each of the symptoms associated with the annotations (see Methods), and the five ratings were averaged. We used a regularized regression model (lasso)38, cross-validated over posts, to predict the human annotations from these ratings. The model discriminated perceived burdensomeness (area under the receiver operating characteristic curve, AUROC, 0.89, 95% CI 0.85–0.93), thwarted belongingness (AUROC 0.81, 95% CI 0.76–0.86) and low self-esteem (AUROC 0.75, 95% CI 0.70–0.81), and separated severe from minimum depression (AUROC 0.75, 95% CI 0.67–0.83) (Fig. 1d). In a symptom importance analysis, we counted a symptom as important when the lasso kept it in at least 80% of the 50 training folds (Extended Data Fig. 3a,b). Perceived burdensomeness relied on suicidal ideation alone, and the other labels mainly on loneliness (thwarted belongingness), worthlessness and self-dislike (low self-esteem) and concentration problems, psychomotor agitation and suicidal ideation (depression severity). The first three annotations (perceived burdensomeness, thwarted belongingness and low selfesteem) each corresponded to one symptom, which alone predicted the annotation label as well as all symptoms combined (suicidal ideation AUROC 0.89, loneliness 0.80 and self-dislike 0.73, against 0.89, 0.81 and 0.75 for the lasso). Depression severity drew on eight symptoms, but combining them did not significantly improve on the best one, concentration problems (AUROC 0.75 against 0.74, difference 0.01, 95% CI −0.04 to 0.05). To test whether a nonlinear model could improve the predictive performance, we also trained a small neural network (multilayer perceptron), which did not improve on the lasso (AUROC 0.88, 0.79, 0.75 and 0.74, within 0.02 of the lasso, Fig. 1d).

第 13 段问这一段

Fig. 1 | TALQ, a mental health scoring system built on an LLM. a, Design, with the components of TALQ in the dashed frame. Users with at least 360 active days in r/depression or r/Anxiety were followed through 27 windows of two weeks from the onset of sustained activity. For each window, the LLM rater (Llama-3.1-8B-Instruct) received all posts and comments of the person and one of 52 symptoms compiled from depression rating scales,6 and it returned a rating from 0 to 100, its confidence and a short justification, five times per window and symptom. b, Ratings (mean of five samples) of all 52 symptoms across the year of one illustrative user, in the order of Supplementary Table 1, where the full titles of the abbreviated names are given. Light gray cells mark windows without posts. c, Agreement between the five samples of the rater, shown as the ICC(1) of single ratings for each symptom against the mean rating of that symptom. The dashed line marks the median. d, Prediction of human annotations for four labels in three datasets of single Reddit posts, scored with the same prompt by a local deployment of the rater. The ratings of all scored symptoms of a post, each the mean of five samples, are combined by a lasso (blue) or by a neural network with one hidden layer (pink), cross-validated over posts, and compared with nine lexicon and length features combined by the same lasso (orange) and with a supervised classifier (green), a logistic regression on term frequency–inverse document frequency features of the words of the posts, trained on the labels with fivefold crossvalidation. Points show the area under the receiver operating characteristic curve (AUROC), lines show 95% bootstrap intervals and thin rules separate the four labels. For severity, the AUROC compares severe with minimum depression.

第 14 段问这一段

As a baseline that needs no LLM, we used nine lexicon and length features, which score each post with published sentiment and emotion word lists (lexicons), count first person singular pronouns and absolutist words such as “always” and measure post length (Methods). Using lasso, they predicted perceived burdensomeness, thwarted belongingness and low self-esteem less well than the TALQ ratings (AUROC 0.64–0.68 against 0.75–0.89, differences 0.11–0.22, each 95% CI above zero) but depression severity at least as well (AUROC 0.82 against 0.75).

第 15 段问这一段

To validate TALQ against the choice of LLM, we scored the same posts once with Qwen3.6- 35B-A3B,39 a larger model with open weights and 35 billion parameters. This LLM never declined to answer, whereas Llama-3.1-8B declined 1.1% of requests because of its safeguards. Compared with a single Llama-3.1-8B-Instruct rating (the first of its five), the new ratings predicted every annotated label at least as well. The prediction was better for low selfesteem (AUROC 0.80 versus 0.72, difference 0.08, 95% CI 0.04–0.13, Extended Data Fig. 3e). Because clinical care and research rely on standardized self-report inventories, we also had the same LLM (Llama-3.1-8B-Instruct) complete the BDI-II and PHQ-9 for each window as a proxy respondent. In this case, the LLM answered each item in the first person on behalf of the author of the posts. To compare these inventory ratings with TALQ symptom scores, we built a TALQ analog of each inventory. Before any inventory rating was analyzed, we matched each inventory item to the TALQ symptoms with the same content (Supplementary Table 3). For example, we matched the BDI-II item on sadness to sad mood and the PHQ-9 item on anhedonia to loss of interest and loss of pleasure. The TALQ analogs agreed closely with the inventory totals (ρ = 0.90 and 0.92 across 1,672 and 1,650 windows, and 0.82 and 0.85 within users, Extended Data Fig. 4). Because the same LLM produced both the TALQ ratings and the inventory answers, this agreement shows consistency across questionnaire formats and not necessarily the agreement with an independent rater.

第 16 段问这一段

Twelve replicable mental health factors To identify the main dimensions along which the 52 TALQ symptoms vary together, we asked whether a small number of latent factors could explain the symptoms. To answer this question, we used nonnegative matrix factorization (NMF) to decompose the ratings into K = 12 factors. Among K = 11 to 14, K = 12 was the most stable across random initializations by the staNMF criterion40,41 (instability 0.015, against 0.058, 0.034 and 0.045 for K = 11, 13 and 14, Fig. 2b). Solutions with 10 or fewer factors or with 18 were also stable but merged physical distress with anhedonia (K = 10) or split off factors dominated by single symptoms (K = 18, Extended Data Fig. 5e). The 12 factors (Fig. 2a and Table 1) were Anxious tension, Fearful preoccupation, Social strain, Positive wellbeing, Sleep disturbance, Physical distress, Emotional instability, Overwhelm, Anhedonia, Emotional pain, Negative self-reflection and Self-harm tendency. Together they covered the nine criterion A symptoms of major depressive disorder and the core symptoms of generalized anxiety disorder in the Diagnostic and Statistical Manual of Mental Disorders (DSM-5-TR).42,43 This was expected from a battery compiled from the seven depression rating scales. Interestingly, our data-driven factor analysis grouped these symptoms in ways the diagnostic criteria do not. Social strain, the sense of being judged negatively by others, had no diagnostic counterpart, and anxiety split into Anxious tension and Fearful preoccupation, which was dominated by illness anxiety, panic and sympathetic arousal.

第 17 段问这一段

Domains are useful only if they recur in independent samples and are measured consistently, and the factors largely met both standards. Factors fitted separately in two random halves of the users matched each other closely (median Tucker congruence φ 0.98 over 20 splits, 12 of 12 factors above 0.85, Fig. 2c). Eleven factors were also internally consistent (weighted Cronbach's α 0.93–0.98, Fig. 2d and Table 1), whereas Positive wellbeing was not (α 0.52). The structure differed more between the 370 users who wrote mostly in r/depression and the 111 who wrote mostly in r/Anxiety than between random groups of the same sizes (median φ 0.88 against 0.98, six of 12 factors below 0.85, Extended Data Fig. 5b). In the r/Anxiety group, where suicidal ideation was usually rated zero, Self-harm tendency had no counterpart (φ 0.14), and its place was taken by a factor of health anxiety that reshaped the other anxiety factors. Sleep disturbance and self-harm content precede overwhelm and emotional pain, respectively Clinicians often ask which symptom comes first, for example whether poor sleep precedes low mood, because an early symptom can warn of relapse and may be a target for treatment. We tested whether one factor predicted others two weeks later with a vector autoregression (VAR) within users, corrected for the bias of short panels by the half-panel jackknife.45 Overall, little information carried over from one window to the next (autoregressive coefficients 0.02–0.15, Fig. 3a). However, of the 132 directed pairs of factors, 16 had P < 0.05, against 6.6 expected by chance, and two remained Granger predictive after control of the false discovery rate (FDR, Fig. 3b and Extended Data Fig. 7a). Both pairs had clear clinical content and ran in one direction. Self-harm content predicted more emotional pain two weeks later, whereas emotional pain did not predict later self-harm content (P = 0.54). This direction may seem counterintuitive, given theories that treat psychological pain as a driver of suicidal ideation,46 but it agrees with intensive longitudinal studies in which suicidal ideation predicted later hopelessness, negative affect and psychological pain over hours to days47–49 (see Discussion). Sleep disturbance likewise predicted more overwhelm, and not the reverse (P = 0.26). An impulse of 50 points raised Emotional pain by 4.5 points (95% CI 2.7–6.6) and Overwhelm by 3.9 points (95% CI 2.1–5.9), and both responses faded within six weeks (Fig. 3c and Extended Data Fig. 7b). Weaker pairs pointed the same way, with Sleep disturbance the earlier factor in 6 of the 16 pairs with P < 0.05 and Self-harm tendency in 4 (Fig. 3b).

第 18 段问这一段

Fig. 2 | Twelve replicable mental health factors. a, Loadings of the 52 symptoms on the 12 factors of the nonnegative matrix factorization (K = 12), each row scaled to its maximum. Symptoms (columns) are grouped under the factor in which their relative loading is highest and are ordered within each factor from the highest down. Names are abbreviated as in Fig. 1b. Colored squares mark the clinical family of each factor (anxiety, social, positive affect, somatic, affective lability, cognitive load, depressive affect and self-referential), and the same colors identify the factors in the other figures. The share of each factor's weight carried by its main symptoms is shown in Extended Data Fig. 5d. b, staNMF instability across numbers of factors, computed on window scores (W) and on loadings (H). Instability is the mean pairwise dissimilarity between solutions from different random initializations (100 initializations for filled markers and 20 for open markers). c, Replication across disjoint halves of the cohort, shown as the Tucker congruence of each factor between the loadings fitted separately in the two halves of 20 random splits of users. Dots give the median over splits and ticks give the 5th percentile. The dashed line marks 0.85 (fair similarity) and the dotted line 0.95 (equality).44 d, Internal consistency of each factor, the weighted Cronbach's α of the composite weighted by the factor loadings (prefactor k_eff/(k_eff − 1)), with 95% intervals from 200 bootstrap resamples of users.

第 19 段问这一段

Table 1 | Mental health factors. For each factor, the table lists the items that together carry 50% of its NMF weight, the corresponding DSM-5-TR criteria for major depressive disorder (MDD) and generalized anxiety disorder (GAD),42,43 the weighted Cronbach's α and the median Tucker congruence between split halves. Colored squares mark the clinical family of each factor as in Fig. 2. The authors chose the factor labels with assistance from the language model (Methods). Factor Items that carry 50% of the weight DSM-5-TR correspondence α Congruence φ ■ Anxious tension Anxiousness / Fearful mood, Interpersonal sensitivity, Feeling bothered, Inner tension, Emotional reactivity, Loneliness, Pessimism GAD A, C1 (restlessness or feeling keyed up) and C4 (irritability) 0.97 0.98 ■ Fearful preoccupation Hypochondriasis, Anxiousness / Fearful mood, Panic / Phobic symptoms, Sympathetic arousal, Inner tension, Emotional reactivity, Somatic complaints GAD A, with panic and illness anxiety 0.96 0.99 ■ Social strain Feeling that "Other people were unfriendly to me", Feeling that "Other people dislike me", Loneliness None (interpersonal, not a DSM criterion) 0.93 0.99 ■ Positive wellbeing Feeling happy, Feeling useful to or needed by others MDD A1 and A2 (inverse) 0.52 0.995 ■ Sleep disturbance Initial insomnia, Late insomnia, Sleep maintenance insomnia, Hypersomnia MDD A4 and GAD C6 0.96 0.98 ■ Physical distress Decreased appetite, Loss of energy, Somatic complaints, Fatigue, Psychomotor retardation, Hypersomnia, Weight loss, Gastrointestinal problems MDD A3 (appetite or weight), A5 (psychomotor retardation) and A6 (fatigue), with somatic symptoms 0.96 0.95 ■ Emotional instability Irritable mood, Emotional reactivity, Feeling bothered, Inner tension, Selfdislike, Self-criticalness GAD C4 (irritability) 0.96 0.98 ■ Overwhelm Feeling that life is full, Excessive effort, Concentration problems, Indecisiveness, Psychomotor agitation, Leaden paralysis, Diurnal variation MDD A5 (psychomotor agitation) and A8 (concentration), GAD C3 0.97 0.98 ■ Anhedonia Loss of interest, Inability to feel, Loss of pleasure, Pessimism, Sad mood, Selfdislike, Worthlessness, Loneliness, Fatigue MDD A2 (anhedonia) and A1 (empty mood) 0.98 0.99 ■ Emotional pain Grief, Sad mood, Crying, Loneliness, Loss of pleasure, Interpersonal sensitivity MDD A1 (depressed mood) 0.95 0.99 ■ Negative selfreflection Guilt, Emphasis on past failure, Selfcriticalness, Punishment feelings, Worthlessness MDD A7 (worthlessness or guilt) 0.97 0.99 ■ Self-harm tendency Suicidal ideation, Punishment feelings, Pessimism, Worthlessness, Loss of interest, Loss of insight, Loss of pleasure, Sad mood MDD A9 (suicidality) 0.96 0.99

第 20 段问这一段

Fig. 3 | Sleep disturbance and self-harm content precede overwhelm and emotional pain. a, Autoregressive coefficient at lag 1 of each factor in a panel VAR(1) within users on exactly adjacent windows, corrected for the bias of short panels with the half-panel jackknife, with 95% intervals from a bootstrap over users. b, Lagged effects between factors. Arrows run from a factor in one window to the factor it predicted two weeks later. Black arrows mark the two pairs declared Granger predictive at a false discovery rate (FDR) of q < 0.05, and gray arrows the other pairs with uncorrected P < 0.05 (dashed for a negative coefficient), from Wald tests based on a covariance from a bootstrap over users. Bold names mark the factors of the two FDR pairs. c, Responses to an impulse of 50 points for the two pairs, with their lagged coefficients and 95% bands from a bootstrap over users. Colors identify the factors as in Fig. 2.

第 21 段问这一段

Recurrent mental states Clinicians often study the recurring states of people, such as a period dominated by panic or by hopelessness, and how long such states last informs how often a person should be seen. We therefore asked if we could identify such recurring states across symptom factors. We used a Dirichlet process Gaussian mixture model, with hyperparameters chosen by the Bayesian information criterion (BIC, Extended Data Fig. 8) and found 11 recognizable states (Fig. 4a,b). These included a common euthymic state of positive wellbeing with mild anxious tension (PW), a state combining self-harm content with social strain (SH+SS) and two states combining sleep disturbance with anhedonia (SD+AN). People stayed in a state hardly longer than expected from how often they occupied it (mean probability of remaining 0.25, against 0.23 with each user’s windows shuffled in time, P = 0.005, Fig. 4c,d).

第 22 段问这一段

Fig. 4 | Recurrent mental states. a, Embedding of the factor profiles of all confident windows by uniform manifold approximation and projection (UMAP, trustworthiness 0.94). Each panel marks in blue the windows assigned to one state of the Dirichlet process Gaussian mixture, with the percentage of windows in parentheses. States are labeled by the factors at least one standard deviation above their mean across states, or by the highest factor in parentheses when no factor qualifies. The labels abbreviate the factors as AN (Anhedonia), AT (Anxious tension), EI (Emotional instability), EP (Emotional pain), FP (Fearful preoccupation), OW (Overwhelm), PW (Positive wellbeing), SD (Sleep disturbance), SH (Self-harm tendency) and SS (Social strain). When two states share a label, 'higher' and 'lower' mark the state with the higher and the lower mean of the factors other than Positive wellbeing. b, Mean factor scores of each state, with colored squares marking the clinical family of each factor as in Fig. 2. c, Population transition matrix between states in exactly adjacent windows, P(to | from). d, Probability of remaining in each state (bars) and occupancy of the state (dots). The inset compares the mean persistence with its value when each user's windows are shuffled in time, which keeps the occupancy of every user (200 shuffles).

第 23 段问这一段

Individuals differ mainly in the states they occupy over shorter time scales If people differed in how they move between states, they could form dynamic subtypes with their own prognosis.12 We modeled each user's sequence of states as drawn from one of several first-order Markov chains, or dynamical regimes.50 The Akaike information criterion corrected for small samples (AICc)51 selected four regimes, mostly euthymic, severe distress with social strain and self-harm content, fearful preoccupation alternating with euthymia, and mixed and mild (Fig. 5d,e and Extended Data Fig. 9). Mixtures that model occupancy alone predicted the sequences of users withheld from fitting as well as or better than Markov mixtures (Fig. 5a), and transitions added little beyond occupancy, although more than in sequences shuffled within

第 24 段问这一段

Fig. 5 | Individuals differ mainly in the states they occupy. a, Cross-validated log likelihood of the state sequences of users left out of fitting (five folds over users) for mixtures of first-order Markov chains (blue) and for mixtures that model state occupancy only (orange), by number of mixture components. Solid lines show the observed sequences and dashed lines the sequences after shuffling each user's windows in time. The dotted line marks the number of regimes selected by AICc for Markov mixtures fitted with hard assignments (four). b, Difference in crossvalidated log likelihood per window between Markov and occupancy mixtures at four components (left) and mean probability of staying in a state (right), observed (black) and in 200 shuffles within users (gray). c, Stability of the classifications. The adjusted Rand index (ARI) compares the main regime labels, from expectation–maximization (EM) with hard assignments, with labels from bootstrap refits (median and interquartile range), from EM with soft assignments and from an occupancy mixture. A further ARI compares the states of the Dirichlet process Gaussian mixture (DPMM) with those of a Gaussian hidden Markov model (HMM) fitted to the factor scores. Cohen's κ compares the classifications of the first and second halves of each user's year by Markov regimes and by occupancy mixtures, each fitted on the other users (244 users). d, Share of the windows of each regime that fall in each state. This occupancy also serves as the distribution of initial states of the regime, and row labels give the share of users. e, Probability of remaining in each state within each regime. Gray cells mark states with less than 2% of the windows of the regime.

第 25 段问这一段

each user (P = 0.005, Fig. 5b). A subtype is useful only if a person is assigned to it consistently, and regimes based on transitions were less reproducible than groups based on occupancy. When the two halves of each user's year were classified by models fitted to other users, Markov regimes placed both halves in the same cluster for 50% of users (κ = 0.34, against 25% expected by chance) and occupancy mixtures for 67% (κ = 0.56, Fig. 5c). People were thus distinguished more reliably by the states they occupied than by their transitions.

第 26 段问这一段

People differ in the course of their symptoms over months Psychiatric classification and prognosis rest on the course of symptoms over months, such as whether an episode remits or persists. We therefore investigated the longitudinal course of the symptom factors over months. First, we examined overall severity, which we defined as the mean of the 11 factors other than Positive wellbeing. Overall severity was more alike in windows close in time than windows far apart (dissimilarity 0.79 and 1.16 times that of windows shuffled in time, at 2 and 38–44 weeks, Fig. 6a), suggesting change over longer time scales. The direction of each person's change over the year was reproducible (r = 0.35 between slopes from the odd and from the even windows, against 0.00 after shuffling), whereas inertia and instability were not (r = −0.04 and 0.01 between the two halves of the year, Fig. 6b).

第 27 段问这一段

Interestingly, we found that the longitudinal course was distinct for a remitting group of people compared to a stable majority. A growth mixture model,52 which assigns each user to one of several types of course over all 12 factors, selected two types by BIC, against one for shuffled windows (Fig. 6c). Most users (87%) followed a stable course, but the other 13%, nearly all from r/depression (95%), entered in a crisis that remitted over six to nine months (Fig. 6d,e). Over this remission period, self-harm content, negative self-reflection, social strain, sleep disturbance and overwhelm fell by 16–30 points from the onset, positive wellbeing rose and anxious tension persisted. The PHQ-9 total score completed by the same model fell from 18 to 10 points, against 11 throughout in the stable group (Fig. 6g).

第 28 段问这一段

The type assigned to a person predicted their course in hold-out windows that were not used to assign it. Models fitted to 80% of users found the remitting type in every fold (correlation with the full model 0.84–0.98). We found that users assigned to the remitting type from their odd or even windows showed a decline in severity (since onset) in the other half (Fig. 6f, r = −0.28 between the log odds of the type and the slope in the other half, against −0.04 to 0.05 after shuffling). Finally, these longitudinal courses described a period rather than a trait, as slopes in the first and second halves of the year correlated negatively (r = −0.19).

第 29 段问这一段

Fig. 6 | People differ in the course of their symptoms over months. a, Dissimilarity of two windows of the same user, half their mean squared difference, by the time between them, relative to the same quantity after shuffling each user's windows in time (mean of 20 shuffles), for overall severity (the mean of the 11 factors other than Positive wellbeing, black) and for each factor (colors as in Fig. 2). Lags with at least 700 pairs of windows are shown. b, Reliability of features of each person for each factor (dots) and for overall severity (bars). Level, variability (standard deviation) and course (slope over the year) were estimated separately from the odd and from the even windows of each user with at least 10 windows (414 users) and correlated across users. The gray band reaches the 95th percentile of the course correlation in 20 shuffles in time. Inertia (lag-1 autocorrelation) and instability (mean squared successive difference) were compared between the first and second halves of the year after regression on level, its square and variability. c, BIC of growth mixture models with one to six course types, relative to one type, for the observed windows and for windows shuffled within each user. The log likelihood of users left out of fitting (fivefold cross-validation) was higher than with one type for every number of types on the observed windows (highest with five) and highest with one type on the shuffled windows. d, Overall severity by quarter of the year in the two course types, with 95% intervals from 200 bootstrap resamples of users. Percentages give the share of users. e, Change of each factor from the first to the last quarter of the year in the remitting (filled) and stable (open) types. f, Course in windows not used to assign the type. Models fitted to the other users (five folds) assigned each user with at least 10 windows to a type from the odd windows, and overall severity is shown by quarter in the even windows, and conversely (both directions pooled), with 95% intervals from 200 bootstrap resamples of users. r is the correlation between the log odds of the remitting type from one half and the slope of severity in the other half, with its range in 10 repetitions with windows shuffled in time. g, Measures not used to define the types, by quarter of the year. The PHQ- 9 total was completed by the same model for the windows that could be linked to their authors, sentiment is the VADER compound score of the posts, the euthymic state is the state PW of Fig. 4 and words per window are medians. Black, stable type. Blue, remitting type.

讨论Discussion

第 30 段问这一段

Here, we introduced TALQ and used it to turn a year of online posts from 491 people into ratings of 52 symptoms every two weeks. The ratings were stable, predicted constructs annotated by humans, agreed with inventories completed by the same model and resolved into 12 replicable mental health factors. Only two lagged relations survived correction for multiple testing, from self-harm content to emotional pain and from sleep disturbance to overwhelm. People differed mainly in which states they occupied, and over months a minority followed a remitting course.

第 31 段问这一段

TALQ has properties that are hard to obtain from human raters (Supplementary Note 2). The battery can be chosen after data collection, and here posts written years before the 52 symptoms were compiled6 were scored against them. The ratings are dense enough to study change within a person, which periodic questionnaires rarely allow,11,13 and require no effort from the people assessed. Because the model has open weights, TALQ can run locally, keeping sensitive text within the institution that holds it. The ratings remain inferences about expressed mental states, not diagnoses, and they inherit the priors of the model, the conventions of each community and what people choose to write.

第 32 段问这一段

The 12 factors recovered the main symptom domains of depression and anxiety without training on clinical labels. The separation of anxious tension from fearful preoccupation parallels the distinction between distress and fear in the Hierarchical Taxonomy of Psychopathology (HiTOP), which separates generalized anxiety from panic.53 Social strain has no counterpart among the diagnostic criteria but is central to interpersonal theories of suicide,54 and it accompanied self-harm content in the most distressed states and regimes.

第 33 段问这一段

The lagged relation from sleep disturbance to overwhelm agrees with clinical observations. Prior studies show that insomnia predicts the onset of depression,55 poor sleep is followed by worse mood the next day,56 and treating insomnia reduces depressive and other psychiatric symptoms,57 which makes sleep a modifiable entry point. Our data add overwhelm, a domain of strained effort, poor concentration and agitation, to this sequence.

第 34 段问这一段

Our finding that self-harm-related content predicted greater emotional pain two weeks later may seem counterintuitive, given theories that emphasize psychological pain as a driver of suicidal ideation.46 However, the relationship may be bidirectional. Intensive longitudinal studies have found that suicidal ideation can also predict subsequent hopelessness, negative affect, and psychological pain over hours to days.47–49 Our findings are consistent with this possibility at a longer interval, although they reflect language-derived symptom factors rather than clinically assessed suicidal ideation or psychological pain. Together, these observations suggest that the temporal relationship between suicidal thinking and emotional distress may be more complex than a unidirectional model would suggest. Future studies examining both directions across multiple timescales could help clarify these relationships.

第 35 段问这一段

The weak dynamics between consecutive windows may partly reflect our design. Windows of two weeks average over the faster fluctuations that experience sampling captures,11,58 and autoregressive estimates from short panels are biased toward zero,59 a bias that the jackknife reduces but may not remove.45 These results are therefore not evidence against symptom networks at shorter time scales. Slower change was more informative, whereas inertia and instability were not reliable, in line with evidence that such indices add little to the mean and variability of affect.60 Monitoring between visits may therefore be most informative about the states a person tends to occupy and the direction in which their symptoms move over months. The longitudinal analysis of symptom factors points to a clinically distinct group. About 13% of the users in our cohort joined during a crisis dominated by self-harm content, self-criticism and social strain that resolved over six to nine months while anxious tension persisted. Such course types are familiar from cohort studies of depressive symptoms61 and could guide care, for example by attending to residual anxiety once a crisis resolves. Because mixtures of course types can approximate a continuum62 and assignments agreed weakly between halves, membership is better reported as a probability than as a label.

第 36 段问这一段

This study has several limitations. First, the cohort of highly active members of two communities writing in English between 2009 and 2018 does not represent people with depression or anxiety in general. Second, the ratings came from one model, prompt and battery, and a newer model rated only the validation posts and a few cohort windows. Language models can also carry social biases that differ across groups of writers,63 which we could not assess without demographic information. Third, the confidence filter removed windows with less text more often, and windows without posts were treated as missing, although not posting may be informative. Fourth, each year began when posting became sustained, so courses describe the year after people began to seek support. Finally, factors, states and course types are simplifications that depend on modeling choices, and Granger predictive relations should not be interpreted as causal effects. Our future work also includes assessing the robustness of the framework against noisy textual data64 such as electronics health records, as well as the safety of the model against adversarial attacks.65,66 TALQ can turn naturalistic language into dense, reproducible and replicable ratings of mental states. At a resolution of two weeks, little evidence remains for coupled symptom dynamics beyond two lagged relations, whereas over months people differed in the course of their symptoms. Validation against clinician ratings should precede clinical uses, such as summaries of the interval between visits from text that patients choose to share, which also require attention to consent, privacy and the risk of overinterpretation.

方法Methods

第 37 段问这一段

Data source We analyzed the ConvoKit corpora of r/depression and r/Anxiety,67 which contain every post and comment (together, utterances) from the creation of each community to 31 October 2018. They comprise 4,547,682 utterances from 549,783 account names, including "[deleted]". The archives were used as distributed, and their SHA-256 checksums are listed in the code repository. The study used only publicly posted, previously collected data. We did not interact with any user and made no attempt to identify users.

第 38 段问这一段

Cohort and observation windows For every account with at least 20 utterances (33,520 accounts), we estimated a daily posting rate by summing Epanechnikov kernels centered on each utterance, each extending 28 days to either side. A day counted as active if the rate was at least 0.2 utterances per day. We retained the accounts with at least 360 active days, which need not be contiguous, and excluded one of them, AutoModerator, a moderation bot. This left 491 users. Onset was the first active day. Each user's first year after onset was divided into 27 consecutive windows of 14 days, the first beginning about one day before onset. Each window contained every post and comment the user wrote in either community. Window boundaries were defined in Pacific time (America/Los_Angeles). Windows without utterances were not scored, which left 9,886 windows (median 22 per user) with 132,765 utterances, of which 6.2% were posts. Windows contained a median of 7 utterances (interquartile range (IQR) 3–15) and 417 words (IQR 147–1,023).

第 39 段问这一段

Language model questionnaire In TALQ, each window was rated on each of the 52 symptoms compiled by Fried6 (Supplementary Table 1). The system message cast the model as a mental health professional assessing a client from the Reddit posts of the last two weeks. It listed the utterances of the window and told the model to rely only on evidence in the posts and to answer in JSON. The user message gave the title of the symptom, a short description for 40 of the 52 symptoms and a rubric from 0 ("symptom is entirely absent") to 100 ("symptom is present every day"). The model returned a reasoning of at most four sentences, an integer rating and an integer confidence from 0 to 100 that the rating was supported by evidence (prompts in Supplementary Note 1).

第 40 段问这一段

Ratings were generated with Llama-3.1-8B-Instruct33 quantized to 4 bits in the NormalFloat format (NF4) with bitsandbytes and transformers 4.44.2. Sampling used the default settings of the checkpoint (temperature 0.6, nucleus sampling with p = 0.9 and sampling from the 50 most likely tokens) with at most 384 new tokens. Each window and symptom was rated five times (2,570,360 requests). Responses were stored for 2,545,783 requests, and the remaining 0.96% were treated as missing. Responses were parsed as JSON, and 93.0% were valid JSON. For the others, we extracted an embedded JSON object or, failing that, read the rating and confidence with regular expressions (6.9% of responses). Responses that could not be parsed and values outside the scale were treated as missing (3,779 responses, 0.15%, Extended Data Fig. 2).

第 41 段问这一段

Symptom profiles Ratings and confidences were averaged over the available replicates of each window and symptom. We kept users with at least 200 rated window–symptom pairs, and windows in which all 52 symptoms were rated and the mean confidence exceeded 40 for every symptom (7,094 windows from 481 users). Replicate reliability was ICC(1), the intraclass correlation of single ratings across replicates.68 Latent mental factors The matrix of windows by symptoms was decomposed by nonnegative matrix factorization69 in scikit-learn,70 with coordinate descent, Frobenius loss and a tolerance of 10⁻⁵. We assessed dimensionality with staNMF,40 the mean pairwise Amari distance between solutions from different random initializations, in which K randomly chosen symptom columns served as initial window scores. A broad sweep used 20 initializations for each K from 3 to 25, and a fine sweep used 100 for each K from 11 to 14, around the dimensionality at which factors were most interpretable in preliminary fits, and for K from 17 to 19, around the lowest instability of the broad sweep above 10 factors. We used K = 12, the most stable dimensionality between 11 and 14. The final model was the fit with the lowest error among 100, and scores were rescaled to range from 0 to 100 by the maximum of each factor. To describe the alternatives, the fits with the lowest error at K = 10 (10 initializations) and K = 18 (100 initializations) were matched to the main factors by Tucker congruence (Extended Data Fig. 5e). Llama-3.1-8B proposed candidate labels from the most heavily weighted symptoms of each factor. The authors chose the labels and mapped the factors to DSM-5-TR criteria42,43 (Table 1).

第 42 段问这一段

Replicability was assessed with Tucker's congruence44 after optimal matching of factors. We refitted the model in the two halves of 20 random splits of users, compared with each other, at confidence thresholds of 30 and 50, compared with the main loadings, and in the users who wrote most of their utterances in r/depression and in those who wrote most in r/Anxiety, also compared with each other. Refits at other thresholds and in each community used the lowest error of five initializations, and the congruence between the communities was compared with that between ten random splits of all users into two groups of the same sizes.

第 43 段问这一段

Psychometric properties Internal consistency was the weighted Cronbach's α71 of the composite y = Σᵢ wᵢxᵢ weighted by the factor loadings, α = [k_eff/(k_eff − 1)][1 − Σᵢ var(wᵢxᵢ)/var(y)] with k_eff = (Σᵢ wᵢ)²/Σᵢ wᵢ², which reduces to k/(k − 1) for equal weights. Because the weight of each factor is concentrated on a few symptoms (k_eff 6.3–21.3), we also report ordinary α over the items that carry 50% of the weight (Extended Data Fig. 6). Item discrimination was the correlation of each item with the rest of the composite, averaged over the items that carry 50% of the weight of each factor. Both properties were also estimated within strata of model confidence. Intervals for α came from 200 bootstrap resamples of users.

第 44 段问这一段

Factor dynamics within individuals Lagged dependencies were estimated with a panel vector autoregression72 on pairs of windows of the same user exactly 14 days apart, with scores centered within user.73 The lag order was chosen by BIC among orders 1 to 3 on a common sample. Centering short panels within users biases autoregressive coefficients toward zero,59 by about 0.1 in simulations matched to our panel. We therefore used the half-panel jackknife,45 A = 2Â − (Â₁ + Â₂)/2, where Â₁ and Â₂ are estimated on the first and second halves of each user's span. A bootstrap over users (500 resamples) gave Wald tests for each ordered pair, with FDR correction over the 132 pairs,74 and confidence bands for impulse responses to a shock of 50 points and step responses to a sustained change of 25 points. We also simulated 20 panels that kept the observation pattern of each user, the autoregressive coefficient of each factor and the covariance of the innovations, but had no lagged effects between factors. In these panels the test rejected 4.3% of pairs at P < 0.05, with 0.15 FDR discoveries on average.

第 45 段问这一段

Discrete mental states Factor vectors were embedded with uniform manifold approximation and projection (UMAP)75 for visualization (20 neighbors, minimum distance 0.08 and correlation metric), and trustworthiness (k = 20) measured the faithfulness of the embedding. They were clustered with a truncated Dirichlet process Gaussian mixture fitted by variational inference76 in scikit-learn (100 components, full covariances and 10 initializations) at 14 hyperparameter settings. Across settings, the prior on weight concentration ranged from 10⁻⁸ to 10⁻¹⁴, the prior on mean precision from 0.001 to 3 and the regularization of covariances from 10 to 150. The most populated components that together covered 90% of windows were retained. The setting was chosen by BIC, computed with the parameter count of a Gaussian mixture with full covariances and the retained components, and with the number of windows as the sample size. The sweep ran from the least regularized setting (step 0) to the most regularized (step 13). BIC was lowest at step 5, which gave 11 states, whereas AIC and AICc favored the most complex setting (step 0, 39 states) (Extended Data Fig. 8).

第 46 段问这一段

States were labeled by the factors whose centroid exceeded the mean over states by at least one standard deviation, with at most two factors per label and the highest factor given in parentheses when no factor qualified. For the sensitivity analysis, we used the adjacent, more regularized step (step 6, eight states).

第 47 段问这一段

Dynamical regimes State sequences of users with at least 10 confident windows and no gap longer than 57 days (249 users and 4,436 windows) were modeled as a mixture of first-order Markov chains.50 The mixture was fitted by expectation–maximization with hard assignments, with occupancy as the distribution of initial states, transitions across gaps counted as single steps and 1,000 random restarts (10,000 for the final model). The number of regimes was chosen by AICc.51 We evaluated the regimes in five ways. First, we computed the log likelihood per window of users left out of fitting under fivefold cross-validation over users, both for Markov mixtures (expectation–maximization with soft assignments, Dirichlet smoothing and transitions that respect gaps) and for mixtures of multinomial distributions that model occupancy only. Second, a null model permuted each user's windows in time 200 times, which preserves occupancy, and was applied to the Markov advantage and to state persistence. Third, we measured the agreement of the regime labels with labels from soft assignments, from occupancy mixtures and from 50 bootstrap refits with the adjusted Rand index.77 Fourth, to assess stability within people, models fitted on 80% of the users classified the first and second halves of the year of each remaining user, and the agreement between halves was compared with a permutation null. Fifth, we repeated these analyses with eight states.

第 48 段问这一段

Symptom burden was the share of each user's windows at or above the 90th percentile of Regime 1. A Gaussian hidden Markov model78 with the same number of states was also fitted to the factor scores of contiguous runs of windows, with full covariances and three initializations (Extended Data Fig. 10).

第 49 段问这一段

Course of symptoms over months Overall severity was the mean of the 11 factors other than Positive wellbeing. Slow change was described by the semivariogram, half the mean squared difference between two windows of the same user as a function of the number of windows between them, divided by its mean over 20 shuffles of each user's windows in time. For the 414 users with at least 10 confident windows, the level (mean), variability (standard deviation) and course (least-squares slope over the year) of each factor and of overall severity were estimated separately from the odd and from the even windows of each user, two interleaved halves that cover the same year, and correlated across users, with a null for course from 20 shuffles in time. Inertia, the lag-1 autocorrelation over exactly adjacent windows, and instability, the log mean squared successive difference, were compared between the first 13 and the last 14 windows of the year after regression on level, its square and variability. Course types were estimated with a growth mixture model.52 Each user belonged to one of K types, each with its own linear and quadratic trend in time for every factor, around a random intercept per factor with a full covariance, and windows shared a full residual covariance across the 12 factors. The model was fitted by expectation–maximization with 10 random starts for K = 1 to 6, on the observed windows and on windows shuffled within each user. K was chosen by BIC with the number of users as the sample size, and the log likelihood of users left out of fitting was computed under fivefold cross-validation over users. Models fitted to 80% of users classified the odd and the even windows of each remaining user with at least 10 windows. Agreement between the two classifications was summarized by Cohen's κ and by the correlation of the log odds of the smaller type, and the prediction of course by the correlation of the log odds from one half with the slope of overall severity in the other half, each against 10 repetitions with windows shuffled in time. The model was also refitted in the users who wrote mostly in r/depression. Types were described by quarter of the year (windows 0–6, 7–13, 14–20 and 21–26), with intervals from 200 bootstrap resamples of users, by the factors, the inventories completed by the same model, the VADER compound score79 of the posts and the share of windows in the euthymic state.

第 50 段问这一段

Validation against human annotations The TALQ prompt was applied to single posts, each presented as a window containing one post, from three Reddit datasets with labels assigned by human annotators. The first dataset labeled two interpersonal risk factors, thwarted belongingness and perceived burdensomeness,35,54 the second low self-esteem36 and the third depression severity on four levels (minimum, mild, moderate and severe).37 Before any model output on these posts existed, each label was mapped to battery symptoms, and the SHA-256 hash of the mapping was recorded (Supplementary Table 2). For example, thwarted belongingness was mapped to loneliness, "other people dislike me", "other people were unfriendly to me" and interpersonal sensitivity, and severity to the 20 items that cover criterion A of DSM-5-TR. Three control symptoms without a conceptual link to the labels (initial insomnia, decreased appetite and gastrointestinal problems) were also specified in advance. The mapping determined which symptoms were scored but was not used by the predictive models.

第 51 段问这一段

To test the scoring system in a deployment that keeps text on local hardware, we ran the validation on a single computer with an Apple M5 processor, with Llama-3.1-8B-Instruct quantized to 4 bits (Q4_K_M) and served locally by llama.cpp. Prompts were rendered and sampled as in the cohort annotation (Supplementary Note 1), with five sample per request. A reduced protocol was fixed in advance. It comprised balanced random samples of 300 posts per dataset, scored on the mapped and control symptoms (12 symptoms for the interpersonal labels, 8 for low self-esteem and 20 for severity, 60,000 generations in total).

第 52 段问这一段

For each label, the ratings of all symptoms scored on its dataset were combined by logistic regression with an L1 penalty (lasso),38 or for severity by linear regression of the level with an L1 penalty, with the penalty chosen by fivefold cross-validation within the training posts, and by a neural network with one hidden layer of 16 units and an L2 penalty chosen in the same way. Ratings were standardized and missing ratings replaced by the median, both estimated on the training posts. Predictions came from fivefold cross-validation over posts, stratified by label and repeated ten times, and were averaged over repetitions. Prediction was summarized by the AUROC, for severity of severe against minimum depression, and for severity also by Spearman ρ with the level. Intervals and paired differences came from 2,000 bootstrap resamples of posts. The gain from averaging was the paired difference in AUROC between the lasso on the mean of five ratings and the lasso on the first rating alone. A symptom was taken to carry the prediction when the lasso kept it in at least 80% of the 50 training folds.

第 53 段问这一段

The comparators were the best single symptom, chosen within the same training folds, nine lexicon and length features and a supervised reference. The features were the negativity and compound scores of VADER,79 the Empath categories negative emotion, sadness, shame and suffering,80 the rates of first person singular pronouns81 and of absolutist words,82 and post length, combined by the same lasso as the ratings. The supervised reference was logistic regression with L2 regularization on term frequency–inverse document frequency (TF-IDF) features, with predictions from fivefold cross-validation over each full dataset. To measure the effect of quantization and runtime, the calibration windows, drawn at random from cohort windows short enough for a context of 4,096 tokens, were rated on eight symptoms and compared with the cohort ratings (Extended Data Fig. 3c,d). The ceiling for a single sample is the agreement of one cohort sample with the mean of the other four.

第 54 段问这一段

Agreement with standard inventories completed by the same model The same model also answered the BDI-II16 and the PHQ-915 for the same windows, in the first person. For each of the 30 items it chose an option scored from 0 to 3, five times per item (1,479,190 responses, each scored by the digit of the chosen option). The inventory outputs were keyed by the start of the window only. Because window starts lie on a grid of 14 days shared across users, we linked a window to its author only when a single cohort member had a window starting at that time. This linked 1,720 windows from 238 users, of which 1,681 windows from 235 users had complete battery ratings. Inventory items were mapped to battery items in advance (Supplementary Table 3). We report the Spearman correlation of each total with the mean of the mapped battery items, pooled and within person, with intervals from a bootstrap over users. We also report the correlation of each item with its mapped items (convergent) and its median correlation with the other items (discriminant).

第 55 段问这一段

Additional language models Qwen3.6-35B-A3B,39 released in 2026, has 35 billion parameters, of which 3 billion are active for each token. It rated the validation posts and calibration windows of the reduced protocol once (300 posts per dataset) on the same computer, served by llama.cpp with weights quantized to about 4 bits (UD-IQ4_XS). It used its own chat template with its thinking mode switched off and the same sampling settings. Because it rated each post once, it was compared with the first of the five Llama-3.1-8B-Instruct ratings, and differences in AUROC between the two models were estimated from 2,000 paired bootstrap resamples of posts. Dependence on text length was summarized by the Spearman correlation between the mean rating of each post and its log word count.

第 56 段问这一段

Statistics and software Unless stated otherwise, intervals are 95% percentile bootstrap intervals over users, tests are two-sided and multiple comparisons are controlled by the Benjamini–Hochberg procedure. Analyses used Python 3.11 with numpy, pandas, scipy, scikit-learn,70 statsmodels,83 umaplearn75 and hmmlearn. All results and figures can be regenerated from the public corpora and the stored model outputs by numbered scripts with fixed seeds.

Data availability

第 57 段问这一段

The ConvoKit corpora are publicly available at https://convokit.cornell.edu. The validation datasets annotated by humans are available at (1) https://github.com/am-shb/irf-acl, (2)

第 58 段问这一段

https://github.com/drmuskangarg/LoST, and (3)

第 59 段问这一段

https://github.com/usmaann/Depression_Severity_Dataset.35–37

第 60 段问这一段

Code availability All code for data acquisition, cohort selection, prompt construction, annotation, analyses and figures is available at https://github.com/abbasilab/TALQ.

这篇对您:
讲解或动画有问题: