Can what young people say to AI chatbots be measured as soundly as their survey answers?
A prototype pipeline that turns donated AI-chat text into daily wellbeing indicators, then puts each indicator through three prespecified validity tests. This page runs the full demo on simulated young adults so you can see every step.
From a chat export to a daily score, in four steps
Keep only the participant's words
A donated ChatGPT-style export is read and only the participant's own messages are kept, never the AI's replies. Each message is assigned to a study day; messages sent before 04:00 count towards the previous day.
Remove personal details on the device
Emails, phone numbers, links and self-introduced names are replaced with tags before anything is scored. Only daily scores leave the participant's machine.
Compare meaning with the survey item
Each construct is anchored by its daily survey item (e.g. "I felt lonely") plus paraphrases. A message scores high when it is closer in meaning to those anchors than to ordinary task requests. Scores are averaged per person-day.
Three prespecified validity tests
Convergence with the person's own daily survey answer, robustness to message length and topic words, and agreement with blind human raters. Indicators that fail are reported, not dropped.
One young adult, fourteen days
Pick a participant and a construct. The chart compares the daily survey answer with the language indicator from that day's chats, both standardised within the person. Click a day to read what was typed and how each message was scored.
Daily survey vs language indicator
z within personDay 1
See how the demo encoder reads a sentence
This runs the same offline encoder used in the demo (TF-IDF + SVD fitted on the simulated corpus) in your browser. Nothing you type leaves the page.
Construct scores
closeness − task baselineThree indicators pass all three tests. Self-esteem fails, as designed.
Results from tests/tests.R on the simulated data. Within-person correlations are pooled across all participants, with 95% intervals from a cluster bootstrap over persons (1,000 resamples).
Discriminant check
Each indicator must correlate more with its own survey item (outlined diagonal) than with the other three. The simulated states correlate .30 with each other, so general negativity would show up off the diagonal.
The simulation is designed to catch a weak method
What this demo shows, and what it does not
The data are simulated from message templates. The results show that the method works end to end and rejects the indicator it should reject; they do not show that real AI conversations carry a valid wellbeing signal. That is the empirical question the method is built to test.
Raters in the demo are simulated from the share of each day's messages that voice the construct, plus rater noise. In a real study, two trained raters code a local-only sample of conversation-days, blind to survey answers and indicators.
The demo encoder only knows the vocabulary of the simulated corpus. Real studies would swap in a pretrained encoder (sentence-transformers or a mental-health language model); comparing encoders on the same three tests is itself a robustness check.