Patients with depression present with diverse symptom profiles, yet research and clinical practice routinely reduce this variation to a single severity score. Large language models (LLMs) could capture individual symptoms from patient narratives. However, how depressive symptoms are represented inside LLMs remains poorly understood, limiting clinical trust. To examine whether internal model activations match clinician judgment, we analyzed the residual streams of ten open-weight models from three families (Gemma-3, Mistral-Small, OLMo-2) using interpretability techniques. When activations for clinical symptom descriptions were grouped by symptom category, the groups occupied distinct regions of activation space in every model. In eight of the ten models, the symptom groups were most separable at 20–34% of network depth, at a residual stream layer which we call the operating layer. At each model’s operating layer, we built Symptom Vectors from the clinical descriptions and projected unseen naturalistic narratives onto these vectors. The resulting per-symptom coefficients matched clinician-assigned categories across mood, somatic, and suicidality axes in all ten models. Furthermore, a single Depression Vector distinguished held-out depressive from non-depressive text in every model (AUC = 0.730–0.965), capturing a population-level valence direction that could serve as a preliminary gate before symptom projection. These results reveal a clinician-agreeing symptom signal in internal activations across model families. With clinical validation, this pipeline could support depression symptom-profiling tools built on model activations.
Major depressive disorder spans highly diverse symptom profiles, biological underpinnings, and treatment trajectories. This multidimensional complexity remains one of the most significant barriers to effective psychiatric care. In the STAR*D cohort, 3,703 patients diagnosed with major depressive disorder reported 1,030 unique symptom profiles
Recent LLMs, which process text in context, have renewed interest in this goal. Existing systems, however, read their assessments from generated outputs. These outputs yield broad labels rather than symptom-level signals and are an unreliable window into model internals (see Related Work). Interpretability techniques offer a route to per-symptom signals read directly from the model’s internal representations. To our knowledge, no prior work has mapped a clinically validated depression symptom taxonomy onto per-symptom axes in an LLM’s internal activations.
As an LLM processes text, it builds internal representations in a high-dimensional activation space known as the residual stream. Prior work suggests emotions are encoded as linear directions in this space; depression symptom categories may be similarly represented. Applying interpretability techniques to ten pre-trained and instruction-tuned models from three families, we show that these categories (mood/emotional/cognitive, somatic, and suicidality) occupy distinct regions of activation space in every model, most consistently at 20–34% of network depth in eight of the ten. In every model, projecting held-out naturalistic narratives onto Symptom Vectors built from clinical assessment instruments yields coefficients that predict clinician category annotations, and a single Depression Vector distinguishes depressive from non-depressive text. This study establishes a pipeline for extracting interpretable symptom signals directly from an LLM’s internal state, preserving the nuanced profiles that brief severity scores obscure. With longitudinal validation, such granular signals could support symptom tracking for research and, eventually, clinical use.
LLMs for depression assessment. Existing LLM-based systems for mental health typically produce broad diagnostic labels or sum scores rather than symptom-level assessments
Linear representations of concepts and affect. Semantic categories are encoded as approximately linear directions in LLM residual streams
Semantic projection. Grand et al.
As shown in Figure 1, our analysis consists of four stages: (1) extracting residual stream activations for symptom descriptions, (2) selecting the operating layer where the three symptom groups are most separable across distance metrics, (3) constructing Symptom Vectors at that layer to project held-out text, and (4) contrasting the Depression Centroid and the Positive Affect Centroid to derive a single Depression Vector. Every stage is run identically on each of the ten models.
The Core Clinical corpus was used to construct the Symptom Vectors. It comprised symptom descriptions extracted from six validated depression assessment instruments: the DSM-5
We also assembled a Naturalistic corpus as held-out texts for Symptom Vector evaluation. This corpus comprised first-person and clinical-narrative descriptions of the same three symptom groups, drawn from three sources: William Styron’s memoir Darkness Visible: A Memoir of Madness
Table 1: Naturalistic corpus composition. Excerpt counts by source and symptom group.
| Source | Mood | Somatic | Suicidality | Source total |
|---|---|---|---|---|
| Darkness Visible | 33 | 11 | 13 | 57 |
| Handbook of Depression | 108 | 42 | 22 | 172 |
| ReDSM5 | — | 88 | 106 | 194 |
| Symptom total | 141 | 141 | 141 | 423 |
Excerpts of the Core Clinical and Naturalistic corpora were annotated with one of three symptom groups: mood/emotional/cognitive (hereafter “mood”; DSM-5 A1, A2, A7, A8: depressed mood, anhedonia, guilt or shame, concentration difficulties); somatic (DSM-5 A3–A6: appetite or weight change, sleep disturbance, psychomotor change, and fatigue in the context of depression); and suicidality (DSM-5 A9: active suicidal ideation with or without specific plan, and passive death wishes). The mood and somatic groups were chosen to reflect depression’s distinct impact on the mind or body, following prior meta-analytic work on clinical instruments
The Positive Affect corpus comprises nine short excerpts expressing joy, love, wonder, aspiration, and optimism, opposite in valence to the depression corpora. Its sources span genres so that its centroid reflects positive valence rather than any one style: translated classical Chinese poetry (Li Bai, Cao Cao), literary fiction (Tolstoy, García Márquez, Rothfuss), popular science (Dawkins), political oratory (Kennedy), and civic prose (the U.S. Constitution).
To contrast depressive text with affectively positive language, we included HappyDB, a corpus of crowdsourced descriptions of happy moments
A pilot experiment on the unedited Core Clinical corpus placed PROCEED’s residual stream activations far away from those of every other clinical instrument, regardless of clinical similarity. This distance came from PROCEED’s bullet-point format. To prevent stylistic confounds such as format, pronouns, and register from being picked up as signal, we rewrote every excerpt into a standard third-person register using Anthropic Claude Opus 4 with one prompt: “Rewrite the following text into natural language as a description of a third person. Correct any grammar mistakes.” The edits changed format only: standardizing pronouns, removing severity ratings from questionnaires, correcting grammar in ReDSM5 and HappyDB, restructuring PROCEED fragments into prose, and removing names and identifying details. Clinical content was left unchanged, and the authors reviewed and corrected every rewrite.
The full set of rewritten excerpts in the Core Clinical corpus is provided in Appendix A. Table 2 shows representative examples of the rewriting from each corpus except ReDSM5, whose license prohibits reproducing posts.
Table 2: Text standardization examples. Original and standardized excerpts from each corpus except ReDSM5.
| Dataset | Original | Standardized |
|---|---|---|
| Core Clinical | INSOMNIA – Delayed (Waking in early hours of the morning and unable to fall asleep again) 0 = Absent 1 = Occasional 2 = Frequent |
Delayed Insomnia: The person wakes up in the early hours of the morning and is unable to fall asleep again. |
| Naturalistic (Darkness Visible) | I now see, as a means to calm the anxiety and incipient dread that I had hidden away for so long somewhere in the dungeons of my spirit. | They now see this as a means to calm the anxiety and incipient dread that they had hidden away for so long somewhere in the dungeons of their spirit. |
| Naturalistic (Handbook of Depression) | Individuals with depression exhibit cognitive deficits and biased processing of emotional material. | They exhibit cognitive deficits and biased processing of emotional material. |
| Positive Affect | He spoke gently, laughed often, and never exercised his wit at the expense of others. | They speak gently, laugh often, and never exercise their wit at the expense of others. |
| HappyDB | I went on a successful date with someone I felt sympathy and connection with. | They went on a successful date with someone they felt sympathy and a connection with. |
We analyzed ten open-weight models, each the official Hugging Face release: Gemma-3 at 4B, 12B, and 27B parameters, each pre-trained (PT) and instruction-tuned (IT)
Each excerpt was tokenized with the model’s own tokenizer and processed in a single forward pass with Hugging Face Transformers <bos> activation was discarded at every hook point to mitigate attention-sink and massive-activation effects bos_token so the same position could be discarded.
Different residual stream layers encode different information. To identify where each model distinguishes depression symptoms, we quantified symptom-group separability at each residual stream layer on the Core Clinical corpus using PERMANOVA. We then used the model’s operating layer (defined below) for the Symptom Vector extraction.
For a given input, the residual stream activation is a variable-length sequence of high-dimensional vectors (2,560–5,376 dimensions across the ten models), where each token’s vector depends on all preceding tokens through self-attention. Tokens within an activation are therefore not independent samples; each activation has to be compared as a whole. There is no established method for measuring the distance between residual streams generated by prompts of different lengths for the purpose of comparing textual meaning. We tested the efficacy of eight distance-metric × normalization combinations: Centroid Cosine Distance, Centroid Euclidean Distance, Earth Mover’s Distance, and Energy Distance, each computed on both raw and unit-normalized residual stream activations, at every residual stream layer \(\ell\) of each model.
These metrics are not directly comparable, so we reduced each to a common representation: a pairwise distance matrix. For a given metric and layer, entry \((i, j)\) is the distance between the residual stream activations of prompts \(i\) and \(j\) from the Core Clinical corpus. Classical ANOVA and MANOVA need fixed-length coordinate vectors and normally distributed underlying data; residual streams satisfy neither requirement. PERMANOVA operates directly on the pairwise distances, and its pseudo-\(F\) statistic is sensitive to the distance between group centroids. Because pseudo-\(F\) is a ratio of between- to within-group variation, it is unaffected by the absolute scale of the input distances. PERMANOVA can thus be used to compare different metrics directly.
The centroid metrics use the mean of all token activations. Let \(h_{x,t}\) denote the residual stream activation of token \(t\) of passage \(x\) at layer \(\ell\), for a passage of \(T_x\) tokens. Excluding <bos>, the passage centroid is
Distribution-based metrics (Earth Mover’s, Energy) were computed directly between full token distributions, using SciPy pted energy-statistic package
Using the pairwise distance matrices, we assessed the separability of residual stream activations across symptom groups with PERMANOVA, gated by PERMDISP. At each layer and for each metric, we computed a PERMANOVA pseudo-\(F\) statistic
where \(g = 3\) is the number of symptom groups and \(n\) is the total number of excerpts.
PERMANOVA is sensitive not only to differences in group centroid location but also to differences in within-group multivariate dispersion: a group whose excerpts are widely spread can produce a significant pseudo-\(F\) even when its centroid coincides with the others. To screen out layers where this happens, we computed the Permutational Analysis of Multivariate Dispersions (PERMDISP) test="centroid"), each on 9,999 permutations with a fixed seed.
For each metric, the gated peak (the operating peak in Figure 2) is the layer of highest PERMANOVA pseudo-\(F\) within the eligible region. Because models differ in depth, each layer is also reported as relative depth (layer divided by the number of transformer blocks).
A model’s operating layer \(\ell^\ast\) is the layer at which the largest number of metrics reach their gated peak, with ties broken in favor of the layer at which more metrics pass the PERMDISP gate. At \(\ell^\ast\), the max gated pseudo-F is the highest pseudo-\(F\) among all metrics passing the PERMDISP gate at that layer. Each model’s Symptom Vectors, symptom projection, and Depression Vector are built at its own operating layer.
At every layer of each model, we tested whether the three symptom groups occupy distinct regions of activation space. Every result below is reported for all ten models. The model-specific figures (Figures 2–4) show one model at a time; the floating Model selector at the upper right switches all of them to another model at once. Table 3 summarizes every model across experiments.
For each of the eight distance-metric × normalization combinations, we located its gated peak, the layer of strongest symptom-group separation that passes the PERMDISP gate (Figure 2; Appendix B). In all ten models, every metric had an eligible layer, and every gated peak was significant (PERMANOVA \(p \le 0.0313\)).
The gated peaks tended to appear at an early operating layer in most models: at 20–34% of depth in eight of the ten, and at 59% in the Gemma-3-4B pair. Between two and five of the eight metrics reached their gated peak at the operating layer, and the max gated pseudo-\(F\) ranged from 5.41 to 8.45 (Table 3).
We adapt the semantic projection framework of Grand et al.
Symptom Vectors. At the operating layer \(\ell^\ast\), we built one Symptom Vector \(v_s\) for each symptom group \(s\) (mood, somatic, suicidality): the centroid of all residual stream activations from that group’s Core Clinical excerpts, excluding <bos>. Stacking the three gives the basis
where \(d\) is the model’s residual stream width. We call the span of \(V\) the symptom subspace.
Projection. Depression symptoms co-occur in text, so the Symptom Vectors overlap, and a plain projection would count their shared signal on every axis. We correct for this with the Gram matrix \(G = V V^\top\). For a passage \(x\) with centroid \(\bar{h}_x\) at the operating layer, the coefficients are
\[\beta(x) = G^{-1} V \, \bar{h}_x = (\beta_{\text{mood}}, \beta_{\text{somatic}}, \beta_{\text{suicidality}}).\]When the basis is orthonormal, \(G^{-1}\) is the identity and this reduces to Grand et al.’s independent projection onto each axis. A positive \(\beta_s\) means the passage points along \(v_s\), and a negative one means it points against it. Because \(V\) is fixed, coefficients from different passages and corpora share one coordinate system. The condition number \(\kappa(G)\), the ratio of \(G\)’s largest to smallest eigenvalue, measures how collinear the Symptom Vectors are; we report it for each model in the Results.
Evaluation. We projected every Core Clinical and Naturalistic passage. The Core Clinical projections are an in-sample consistency check, and the held-out Naturalistic projections test generalization. Group differences on each axis were tested with Dunn’s post-hoc test, Benjamini–Hochberg corrected within each corpus.
In each model, we projected every Core Clinical and Naturalistic passage onto the three Symptom Vectors at the operating layer and asked whether the coefficients agree with clinician annotation.
In Mistral and OLMo, \(\kappa(G)\) is about 35 (33.5–37.1), so the symptom axes overlap substantially but remain clearly distinguishable. In every Gemma-3 model, \(\kappa(G)\) is 8,959–18,144, meaning the three Symptom Vectors are nearly parallel and differ only along small residual directions (Table 3). This pattern is consistent across model sizes and between pre-trained and instruction-tuned variants, which suggests it reflects how each model family organizes its residual stream rather than scale or instruction tuning.
Even in models where the axes are nearly parallel, the coefficients agree with clinician annotation. Figure 3 shows the coefficient distributions for each clinician-annotation group within each dataset, with their medians in panel (d). On the in-sample Core Clinical corpus, the excerpts carrying the matching annotation attained the highest median coefficient on each of the three axes in all ten models (Figure 3(a)–(c)).
The same rank ordering held on the held-out Naturalistic corpus: in all ten models, the matching annotation group again ranked first on every axis (Figure 3(d)). In both corpora and every model, each matching group exceeded each of the other two groups on its own axis (all corrected \(p < 0.05\)). On the held-out corpus, the matching group’s median led the next-highest group’s by 0.46–0.73 on the mood axis, 0.31–0.43 on the somatic axis, and 0.33–0.54 on the suicidality axis across models. Appendix C repeats this analysis within each Naturalistic source to rule out a source confound.
Figure 4 shows the joint structure of the three coefficients: in every model, clinical and naturalistic passages sharing an annotation cluster together in the symptom subspace. The point clouds are flattened toward a plane, most strongly in the Gemma-3 models, where a passage’s three coefficients sum to nearly 1 (mean 0.99–1.03). Contextual activations occupy a narrow cone of the embedding space
Because projecting non-depressive text onto Symptom Vectors is not meaningful, we also tested whether the operating layer distinguishes depressive from non-depressive text. We built two centroids of opposite emotional valence:
<bos>).We then define the Depression Vector to be:
\[v_{\text{depression}} = \mu_{\text{depressive}} - \mu_{\text{positive}}.\]The Naturalistic corpus and the HappyDB corpus are reserved as held-out tests that are not included in the construction of these axes.
An excerpt \(x\) is scored by the cosine similarity between its centroid \(\bar{h}_x\) and the Depression Vector; we call this the Depression Score of excerpt \(x\):
\[\text{Score}(x) = \cos(\bar{h}_x, v_{\text{depression}}) = \frac{\bar{h}_x \cdot v_{\text{depression}}}{\lVert \bar{h}_x \rVert \, \lVert v_{\text{depression}} \rVert}.\]We compared Depression Scores between the held-out Naturalistic and HappyDB corpora (423 excerpts each) using a one-sided Mann–Whitney \(U\) test. We report the normalized statistic \(U/(n_1 n_2)\), where \(n_1\) and \(n_2\) are the two corpus sizes. It equals the AUC: the probability that a randomly drawn depressive excerpt outscores a randomly drawn non-depressive one (0.5, no separation; 1.0, complete separation). We computed the same statistic for Core Clinical versus Positive Affect as an in-sample consistency check.
In each model, we computed the Depression Score of every excerpt to test whether the Depression Vector distinguishes depressive from non-depressive text (Figure 5).
In-sample, Core Clinical excerpts (\(n = 51\)) and Positive Affect excerpts (\(n = 9\)) were completely distinguished by the Depression Score in every model (AUC = 1.000, one-sided Mann–Whitney \(U\) with normal approximation, \(p = 1.06 \times 10^{-6}\)).
On held-out text, in every model, Naturalistic depressive excerpts (\(n = 423\)) received higher Depression Scores than HappyDB happy-moment descriptions (\(n = 423\)), with AUCs from 0.730 to 0.965 (one-sided Mann–Whitney \(U\), all \(p < 10^{-30}\)). Eight models reached 0.943–0.965, so that a randomly drawn depressive narrative outscores a randomly drawn happy-moment description about 19 times in 20; the Gemma-3-27B pair was lowest (0.789 PT, 0.730 IT).
The HappyDB entries that score highest are consistent across models: in every model the top-scoring entry describes a bodily or health event, “Their sore throat cleared up” in five models and “They are able to sleep longer than usual” in the other five. Positive in valence, these entries share the somatic vocabulary of the depressive corpora, which the Depression Vector partly carries.
Only the relative position of the boxes within a panel is meaningful, because the scale of the score differs from model to model. In every model, the depressive corpus (blue) scored above its non-depressive pair (pink) within each bracket. The in-sample pair lay furthest apart, and the held-out pair fell between them, with Naturalistic below Core Clinical and HappyDB above Positive Affect; the one exception was Gemma-3-27B-IT, where the Naturalistic median sat marginally above Core Clinical. Because depressive text outscores non-depressive text in all ten models, the layer that separates the three symptom groups also separates depressive from non-depressive text.
Table 3 collects the per-model results. A nearly parallel symptom basis did not weaken either result: Gemma-3-12B-IT, whose Symptom Vectors have the largest \(\kappa(G)\) (18,144), also had the highest held-out AUC (0.965). Within Gemma-3, the one family tested at several sizes, scale brought no consistent gain: the 4B models matched the 12B and 27B models on clinician agreement and separation strength, and the held-out AUC was lowest at 27B.
Table 3: Per-model summary at each model's operating layer.
| Model | Operating layer layer / blocks · depth |
Agreeing metrics |
Max gated pseudo-F |
Clinician agreement |
Gram κ(G) |
Contrastive AUC |
|---|---|---|---|---|---|---|
| Gemma-3-27B-PT | 21 / 62 · 34% | 3 / 8 | 6.91 | 3 / 3 | 14,624.5 | 0.789 |
| Gemma-3-27B-IT | 21 / 62 · 34% | 5 / 8 | 8.40 | 3 / 3 | 12,484.7 | 0.730 |
| Gemma-3-12B-PT | 13 / 48 · 27% | 3 / 8 | 5.91 | 3 / 3 | 8,959.2 | 0.959 |
| Gemma-3-12B-IT | 14 / 48 · 29% | 2 / 8 | 8.03 | 3 / 3 | 18,143.6 | 0.965 |
| Gemma-3-4B-PT | 20 / 34 · 59% | 3 / 8 | 6.55 | 3 / 3 | 12,491.7 | 0.945 |
| Gemma-3-4B-IT | 20 / 34 · 59% | 4 / 8 | 8.45 | 3 / 3 | 11,619.5 | 0.953 |
| Mistral-24B-PT | 8 / 40 · 20% | 5 / 8 | 5.84 | 3 / 3 | 35.5 | 0.943 |
| Mistral-24B-IT | 8 / 40 · 20% | 5 / 8 | 6.16 | 3 / 3 | 37.1 | 0.946 |
| OLMo-2-32B-PT | 16 / 64 · 25% | 3 / 8 | 5.41 | 3 / 3 | 33.5 | 0.945 |
| OLMo-2-32B-IT | 16 / 64 · 25% | 3 / 8 | 5.46 | 3 / 3 | 33.9 | 0.946 |
The five PT/IT pairs isolate the effect of instruction tuning on each of these results.
Instruction tuning left the location of separation largely unchanged: within each pair the operating layer was identical (Gemma-3-27B, Gemma-3-4B, Mistral-Small-24B, OLMo-2-32B) or adjacent (Gemma-3-12B, layers 13 and 14). It did, however, raise the strength of separation: in all five pairs the highest gated pseudo-\(F\) at the operating layer was higher in the instruction-tuned model (Gemma-3-27B, 8.40 vs. 6.91; Gemma-3-12B, 8.03 vs. 5.91; Gemma-3-4B, 8.45 vs. 6.55; Mistral-Small-24B, 6.16 vs. 5.84; OLMo-2-32B, 5.46 vs. 5.41).
Stronger separation did not translate into better downstream generalization: both the pre-trained and instruction-tuned versions of every model matched the clinician category assignments. Instruction tuning raised the held-out AUC by less than 0.01 in four pairs (Gemma-3-12B, 0.959 PT vs. 0.965 IT; Gemma-3-4B, 0.945 vs. 0.953; Mistral-Small-24B, 0.943 vs. 0.946; OLMo-2-32B, 0.945 vs. 0.946) and lowered it only in Gemma-3-27B (0.789 vs. 0.730).
One challenge in treating depression is its clinical heterogeneity: patients sharing a diagnosis exhibit widely divergent symptom profiles, yet standard questionnaires often collapse this complexity into a single severity score
Our findings extend work showing that semantic categories, including sentiment, are encoded as approximately linear directions in LLM residual streams
The black-box nature of large language models is a major barrier to clinical trust and to translating model-based tools into care. We open this box by mapping internal directions onto clinical symptom groups, so a model’s representation of a passage can be read symptom by symptom. Extracting symptom coefficients from naturalistic speech also yields a quantitative signal that can be correlated with fMRI, resting EEG, or TMS-evoked potentials
The Symptom Vectors are built from 51 reference excerpts (8 for suicidality), and the nine DSM-5 symptoms are collapsed into three groups; larger clinical corpora would allow per-symptom vectors and tests of co-occurring symptoms and severity. The operating layer is chosen by a heuristic, the PERMDISP gate has lower power in the small suicidality group, and PERMANOVA \(p\)-values at the gated peaks are not corrected for selection across layers and metrics. The ten models cover three families between 4B and 32B parameters, all tested on English text. We rewrote every excerpt with Claude Opus 4 and limited the edits to format, but the rewriting may still impose a shared style on the clinical and naturalistic corpora, and the pipeline has not been tested on unedited text. The Depression Vector was evaluated by population-level separation only; its use as a thresholded gate is untested. Finally, the projections have not been validated against diagnosis, treatment response, or longitudinal course, which clinical monitoring would require.
This study involved the secondary analysis of publicly available, de-identified datasets. Data sources included HappyDB, a corpus of crowdsourced text responses, and ReDSM5, a dataset of public social media posts. Because the research relied exclusively on pre-existing, de-identified, and publicly accessible data, the study was deemed exempt from Institutional Review Board (IRB) review.
Inferring depression symptoms from language carries risks beyond those of the analysis itself. The prospect of an activation-level risk detector raises questions of consent, false-positive burden, and surveillance that any deployment would need to resolve through appropriate governance. The Symptom Vectors and Depression Vector reported here have not been validated against clinical outcomes and should not be used to screen, diagnose, or monitor individuals.
All analyses were performed in Python, and code to reproduce every figure and table is provided in an anonymized repository for review: [ANONYMIZED REPOSITORY URL]. All models are public Hugging Face releases, and all permutation tests use 9,999 permutations with a fixed seed. Activations were extracted on Apple Metal Performance Shaders (MPS) and cast to float64 before any distance or centroid computation; centroid distances used PyTorch 2
Anthropic Claude Opus 4 has been used to pre-process text samples. Figure 1 was created with Claude Design. Generative AI tools were employed for coding assistance. All AI-written code has been reviewed, tested, and verified by the authors. During the preparation of this manuscript, generative AI tools were employed for editing purposes, including proofreading, grammar correction, vocabulary improvement, and overall language polishing.
Natural-language descriptions of depression symptoms, organized by clinical assessment instrument and grouped into three symptom dimensions (mood, somatic, and suicidality). Each entry corresponds to an item or item cluster from the source instrument.
Mood. This person experiences a depressed mood, feeling sad, empty, or hopeless, and may appear tearful to others. They have lost interest or pleasure in activities they used to enjoy. They struggle with feelings of worthlessness or carry excessive or inappropriate guilt that goes beyond normal self-criticism. They also have difficulty thinking clearly, concentrating, or making decisions.
Somatic. They experience noticeable changes in weight—either losing or gaining—without intentionally trying to diet, along with shifts in their appetite. Their sleep is disrupted, with difficulty falling or staying asleep, or alternatively, sleeping far more than usual. Others can observe changes in their physical movements and behavior: they may appear restless and agitated, or conversely, slowed down in their speech and actions. They feel persistently tired and lack the energy they once had.
Suicidality. The person frequently thinks about death, beyond simply fearing dying. They may have recurring thoughts of suicide without a specific plan, or they may have attempted suicide or developed a specific plan for committing suicide.
Mood. They experience a persistently low mood throughout the day, which others may also observe. They have lost interest or pleasure in activities they would normally enjoy. They struggle with feelings of worthlessness and carry excessive or inappropriate guilt. Their ability to think clearly or concentrate is diminished, and they often feel indecisive. Their self-confidence and self-esteem are reduced.
Somatic. They experience changes in their appetite—either eating much less or much more than usual—which leads to noticeable weight loss or gain. Their sleep is disrupted; they may struggle to fall or stay asleep, or conversely find themselves sleeping far more than normal. Even minimal effort leaves them feeling tired and drained, as though their energy has been depleted. Their physical movements and behavior have also changed—they may appear restless and agitated, or alternatively seem slowed down in their speech and actions.
Suicidality. They experience recurring thoughts about death or have engaged in suicidal behavior.
Mood
Somatic
Suicidality. The person may experience thoughts related to not wanting to live. This can include feeling that life is not worth living, wishing they were dead, having suicidal ideas or making suicidal gestures, or attempting suicide.
Mood
Somatic
Suicidality
Mood
Somatic
Suicidality. They have thoughts that they would be better off dead or of hurting themselves in some way.
Mood
Somatic
Suicidality. Autoaggression symptoms. The individual experiences thoughts related to their desire to continue living. They report suicidal ideation and engage in self-harming behaviors. They have attempted suicide.
The centroid metrics peaked at the operating layer more often than Earth Mover’s and Energy Distance did (25 of their 40 gated peaks, against 11 of 40). Gated peaks at other layers also sat closer to the dispersion threshold, with PERMDISP \(p\) below 0.10 for 52% of them against 31% at the operating layer.
Table B1: PERMANOVA and PERMDISP statistics at each metric's gated peak, with p-values beneath each statistic (9,999 permutations; 0.0001 is the smallest attainable p).
Model: Gemma-3-27B-PT · L21
| Metric | Layer | PERMANOVA pseudo-F |
PERMDISP F |
|---|---|---|---|
| Centroid Cosine raw |
37 | 6.39 p ≤ 0.0001 |
4.28 p = 0.0518 |
| Centroid Cosine unit-normalized |
40 | 6.37 p ≤ 0.0001 |
3.76 p = 0.0843 |
| Centroid Euclidean raw |
21 | 6.91 p ≤ 0.0001 |
1.24 p = 0.4319 |
| Centroid Euclidean unit-normalized |
35 | 3.66 p = 0.0004 |
3.83 p = 0.1095 |
| Earth Mover's raw |
21 | 2.83 p = 0.0002 |
1.20 p = 0.4698 |
| Earth Mover's unit-normalized |
35 | 2.47 p = 0.0021 |
2.92 p = 0.1867 |
| Energy raw |
21 | 6.48 p = 0.0028 |
0.68 p = 0.6419 |
| Energy unit-normalized |
35 | 5.77 p ≤ 0.0001 |
4.58 p = 0.0579 |
Model: Gemma-3-27B-IT · L21
| Metric | Layer | PERMANOVA pseudo-F |
PERMDISP F |
|---|---|---|---|
| Centroid Cosine raw |
21 | 6.37 p = 0.0130 |
0.59 p = 0.6232 |
| Centroid Cosine unit-normalized |
21 | 5.04 p = 0.0313 |
0.61 p = 0.6157 |
| Centroid Euclidean raw |
26 | 8.93 p ≤ 0.0001 |
1.54 p = 0.2785 |
| Centroid Euclidean unit-normalized |
21 | 4.16 p = 0.0023 |
1.43 p = 0.3669 |
| Earth Mover's raw |
31 | 3.17 p ≤ 0.0001 |
4.78 p = 0.0536 |
| Earth Mover's unit-normalized |
21 | 2.51 p ≤ 0.0001 |
4.53 p = 0.0717 |
| Energy raw |
31 | 9.77 p ≤ 0.0001 |
2.07 p = 0.1536 |
| Energy unit-normalized |
21 | 6.23 p = 0.0017 |
0.77 p = 0.5648 |
Model: Gemma-3-12B-PT · L13
| Metric | Layer | PERMANOVA pseudo-F |
PERMDISP F |
|---|---|---|---|
| Centroid Cosine raw |
13 | 5.91 p ≤ 0.0001 |
2.63 p = 0.1571 |
| Centroid Cosine unit-normalized |
13 | 5.60 p ≤ 0.0001 |
2.37 p = 0.2047 |
| Centroid Euclidean raw |
16 | 3.73 p = 0.0063 |
1.19 p = 0.3793 |
| Centroid Euclidean unit-normalized |
13 | 3.77 p ≤ 0.0001 |
3.41 p = 0.1105 |
| Earth Mover's raw |
21 | 2.43 p = 0.0185 |
0.38 p = 0.7998 |
| Earth Mover's unit-normalized |
37 | 2.48 p = 0.0003 |
4.16 p = 0.0811 |
| Energy raw |
47 | 5.43 p ≤ 0.0001 |
1.92 p = 0.2039 |
| Energy unit-normalized |
27 | 4.65 p = 0.0003 |
3.37 p = 0.1486 |
Model: Gemma-3-12B-IT · L14
| Metric | Layer | PERMANOVA pseudo-F |
PERMDISP F |
|---|---|---|---|
| Centroid Cosine raw |
14 | 6.49 p ≤ 0.0001 |
4.08 p = 0.0567 |
| Centroid Cosine unit-normalized |
35 | 6.52 p ≤ 0.0001 |
4.31 p = 0.0602 |
| Centroid Euclidean raw |
14 | 8.03 p ≤ 0.0001 |
1.42 p = 0.2850 |
| Centroid Euclidean unit-normalized |
30 | 3.92 p = 0.0002 |
3.95 p = 0.1005 |
| Earth Mover's raw |
21 | 3.26 p = 0.0014 |
0.01 p = 0.9965 |
| Earth Mover's unit-normalized |
35 | 2.55 p = 0.0002 |
3.83 p = 0.1091 |
| Energy raw |
19 | 9.58 p = 0.0002 |
1.72 p = 0.2243 |
| Energy unit-normalized |
13 | 4.93 p ≤ 0.0001 |
3.22 p = 0.0960 |
Model: Gemma-3-4B-PT · L20
| Metric | Layer | PERMANOVA pseudo-F |
PERMDISP F |
|---|---|---|---|
| Centroid Cosine raw |
17 | 5.81 p ≤ 0.0001 |
4.25 p = 0.0705 |
| Centroid Cosine unit-normalized |
23 | 6.65 p ≤ 0.0001 |
3.24 p = 0.1368 |
| Centroid Euclidean raw |
9 | 4.78 p = 0.0011 |
0.26 p = 0.8307 |
| Centroid Euclidean unit-normalized |
20 | 3.83 p ≤ 0.0001 |
3.45 p = 0.1328 |
| Earth Mover's raw |
18 | 2.52 p = 0.0016 |
2.12 p = 0.2330 |
| Earth Mover's unit-normalized |
24 | 2.57 p ≤ 0.0001 |
5.91 p = 0.0555 |
| Energy raw |
20 | 6.55 p = 0.0008 |
0.67 p = 0.5486 |
| Energy unit-normalized |
20 | 5.87 p ≤ 0.0001 |
3.66 p = 0.0935 |
Model: Gemma-3-4B-IT · L20
| Metric | Layer | PERMANOVA pseudo-F |
PERMDISP F |
|---|---|---|---|
| Centroid Cosine raw |
17 | 6.12 p ≤ 0.0001 |
4.18 p = 0.0734 |
| Centroid Cosine unit-normalized |
23 | 6.83 p ≤ 0.0001 |
2.82 p = 0.1610 |
| Centroid Euclidean raw |
20 | 5.59 p = 0.0008 |
0.46 p = 0.6553 |
| Centroid Euclidean unit-normalized |
20 | 3.57 p = 0.0011 |
2.40 p = 0.2450 |
| Earth Mover's raw |
18 | 2.87 p = 0.0008 |
0.86 p = 0.5358 |
| Earth Mover's unit-normalized |
34 | 2.74 p ≤ 0.0001 |
3.19 p = 0.1201 |
| Energy raw |
20 | 8.45 p = 0.0002 |
0.15 p = 0.8790 |
| Energy unit-normalized |
20 | 5.89 p ≤ 0.0001 |
3.57 p = 0.1048 |
Model: Mistral-24B-PT · L8
| Metric | Layer | PERMANOVA pseudo-F |
PERMDISP F |
|---|---|---|---|
| Centroid Cosine raw |
8 | 5.84 p ≤ 0.0001 |
3.85 p = 0.0818 |
| Centroid Cosine unit-normalized |
8 | 5.80 p ≤ 0.0001 |
3.48 p = 0.0974 |
| Centroid Euclidean raw |
8 | 3.49 p ≤ 0.0001 |
3.38 p = 0.1106 |
| Centroid Euclidean unit-normalized |
8 | 3.50 p ≤ 0.0001 |
3.58 p = 0.0963 |
| Earth Mover's raw |
13 | 2.34 p ≤ 0.0001 |
7.54 p = 0.0514 |
| Earth Mover's unit-normalized |
8 | 2.26 p ≤ 0.0001 |
10.65 p = 0.1052 |
| Energy raw |
11 | 5.60 p ≤ 0.0001 |
3.83 p = 0.0666 |
| Energy unit-normalized |
11 | 5.76 p ≤ 0.0001 |
3.91 p = 0.0571 |
Model: Mistral-24B-IT · L8
| Metric | Layer | PERMANOVA pseudo-F |
PERMDISP F |
|---|---|---|---|
| Centroid Cosine raw |
8 | 6.16 p ≤ 0.0001 |
4.20 p = 0.0693 |
| Centroid Cosine unit-normalized |
8 | 6.09 p ≤ 0.0001 |
3.74 p = 0.0839 |
| Centroid Euclidean raw |
8 | 3.67 p ≤ 0.0001 |
3.46 p = 0.1037 |
| Centroid Euclidean unit-normalized |
8 | 3.67 p ≤ 0.0001 |
3.81 p = 0.0825 |
| Earth Mover's raw |
12 | 2.47 p ≤ 0.0001 |
7.07 p = 0.0539 |
| Earth Mover's unit-normalized |
8 | 2.30 p ≤ 0.0001 |
10.82 p = 0.0974 |
| Energy raw |
11 | 5.89 p ≤ 0.0001 |
4.15 p = 0.0555 |
| Energy unit-normalized |
13 | 5.90 p ≤ 0.0001 |
4.16 p = 0.0513 |
Model: OLMo-2-32B-PT · L16
| Metric | Layer | PERMANOVA pseudo-F |
PERMDISP F |
|---|---|---|---|
| Centroid Cosine raw |
16 | 5.41 p ≤ 0.0001 |
3.31 p = 0.1153 |
| Centroid Cosine unit-normalized |
16 | 5.23 p ≤ 0.0001 |
3.05 p = 0.1391 |
| Centroid Euclidean raw |
15 | 3.25 p ≤ 0.0001 |
3.99 p = 0.0631 |
| Centroid Euclidean unit-normalized |
15 | 3.19 p ≤ 0.0001 |
2.61 p = 0.1763 |
| Earth Mover's raw |
24 | 1.98 p ≤ 0.0001 |
8.98 p = 0.1007 |
| Earth Mover's unit-normalized |
16 | 2.08 p ≤ 0.0001 |
13.59 p = 0.0813 |
| Energy raw |
26 | 4.36 p ≤ 0.0001 |
3.57 p = 0.0812 |
| Energy unit-normalized |
42 | 5.03 p ≤ 0.0001 |
4.31 p = 0.0545 |
Model: OLMo-2-32B-IT · L16
| Metric | Layer | PERMANOVA pseudo-F |
PERMDISP F |
|---|---|---|---|
| Centroid Cosine raw |
16 | 5.46 p ≤ 0.0001 |
3.34 p = 0.1112 |
| Centroid Cosine unit-normalized |
16 | 5.29 p ≤ 0.0001 |
2.98 p = 0.1459 |
| Centroid Euclidean raw |
16 | 3.23 p ≤ 0.0001 |
2.90 p = 0.1365 |
| Centroid Euclidean unit-normalized |
15 | 3.23 p ≤ 0.0001 |
2.78 p = 0.1593 |
| Earth Mover's raw |
24 | 2.00 p ≤ 0.0001 |
8.86 p = 0.0967 |
| Earth Mover's unit-normalized |
15 | 2.12 p ≤ 0.0001 |
15.63 p = 0.0569 |
| Energy raw |
26 | 4.46 p ≤ 0.0001 |
4.28 p = 0.0504 |
| Energy unit-normalized |
64 | 5.59 p ≤ 0.0001 |
3.96 p = 0.0660 |
Because ReDSM5 supplies most somatic and suicidality excerpts but no mood excerpts (Table 1), symptom group and source are associated in the Naturalistic corpus, so we repeated the analysis within each source. On the book-sourced excerpts alone (\(n = 229\)), each group had the highest median coefficient on its own axis in all ten models, as it did on the Handbook excerpts alone (\(n = 172\)); on Darkness Visible alone (\(n = 57\)), the ordering held in every model except Gemma-3-27B-PT, where only one of the three groups ranked first on its own axis. Within ReDSM5 (\(n = 194\)), somatic excerpts scored above suicidality excerpts on the somatic axis (AUC 0.809–0.957), and suicidality excerpts above somatic excerpts on the suicidality axis (AUC 0.733–0.994; one-sided Mann–Whitney \(U\), all \(p < 10^{-7}\)), in every model. The two Gemma-3-27B models had the lowest suicidality-axis AUCs (0.737 pre-trained, 0.733 instruction-tuned), against 0.986–0.994 in the other eight. Source shifts the level of the coefficients (ReDSM5 suicidality excerpts scored higher on the suicidality axis than book-sourced ones in every model), while the ordering held within each source in every model except Gemma-3-27B-PT on Darkness Visible.
PLACEHOLDER FOR ACADEMIC ATTRIBUTION
BibTeX citation
PLACEHOLDER FOR BIBTEX