People tell machines things they would not tell other people. When users believe no human is watching, they report less fear of being judged and disclose more distress. Participants did this with an autonomous virtual interviewer (The Distress Analysis Interview Corpus of human and computer interviews), and on a social chatbot, where nearly half of utterances expressed deep sadness or apathy, compared with 7.5% of comparable tweets (The Potential of Chatbots for Emotional Support...). That candor is only safe to accept in two conditions. The conversation has to stay inside the institution, which means a model running on local hardware. The model also has to avoid quiet clinical failures, such as linguistic neglect, meaning ignoring or changing the subject when someone expresses distress (A Benchmark for Understanding Dialogue Safety in Mental Health Support). The best recent support models avoid these failures by writing out an explicit reasoning chain before each reply: what is happening, what the person is feeling, and which strategy to use (COMPEER; SocialSim). On a single 16GB GPU that runs a 4-bit model, decoding tokens is the slow step, so writing hundreds of reasoning tokens every turn makes the reply noticeably late.
We propose to compress that empathetic reasoning chain into a handful of hidden "latent" tokens. These are internal vectors the model computes in place of written-out words. Each latent token is trained to be decodable back into one named reasoning step. We then attach a small probe that reads the latent "what is the person feeling" step and decides, turn by turn, whether the situation is risky enough to expand the reasoning into explicit text before replying. Ordinary turns get fast, silent reasoning. High-risk turns get slower, readable reasoning that a clinician can audit. The claim is testable. On a fixed on-premise budget, this gated model should reach a lower rate of neglect and judgmental replies at a given response latency than three alternatives: always reasoning explicitly, never reasoning at inference, and gating on a cheap classifier of the user's message.
Core Claim
Empathetic reasoning in support dialogue has a short, structured skeleton. SocialSim's Situation → Thought → Action → Strategy chain is one example, and its ablation found the "Thought" node, which models the seeker's mental state, to be the main driver of empathy. A skeleton like this is a good candidate for step-supervised latent compression. That technique has so far been shown only on arithmetic and symbolic tasks. The new contributions are twofold. First, we keep the step decoder after training. Prior work discards it; we use it as an on-demand auditor. Second, we use the latent Thought state itself as the signal for spending more compute. If latent reasoning holds up in this setting, interactive mental-health support becomes practical on the single-GPU hardware that sovereignty rules require. If it does not hold up, we learn that empathy depends on surface reasoning more than math does. That would be a useful negative result for the implicit-reasoning literature.
Where This Sits
Two works supply the motivation. COMPEER trains a model to write a three-step empathetic reasoning chain with process-and-outcome rewards and reaches an ESC-Eval score of 82.39. SocialSim builds the SSConv corpus (3,229 dialogues, 77,337 utterances), whose utterances carry explicit Situation/Thought/Action/Strategy steps. Both show that intermediate reasoning improves support quality. Both also generate that reasoning as text at every turn, and neither measures cost on local hardware. Selective distillation for mental disorder detection (Does Rationale Quality Matter?) shows that a Mistral-7B student trained on filtered rationales reaches 91.02% versus 70.51% for vanilla fine-tuning. We reuse its lesson that teacher rationales must be filtered before distillation. That work handles static posts, not live dialogue.
Three works supply the method. Implicit Chain of Thought Reasoning via Knowledge Distillation moves reasoning into hidden states and runs at 73% of no-reasoning speed versus 14% for explicit reasoning, but it is weak on language-heavy problems (22% on GSM8K-Aug). SIM-CoT fixes latent collapse by supervising each latent token with an auxiliary decoder that translates it into a textual step. It is 2.3x more token-efficient than explicit reasoning, and it throws the decoder away at test time. SemCoT aligns latent tokens with sentence semantics. All three were evaluated only on math and symbolic tasks. All three also accept that the latent reasoning is unreadable, which is the property clinical deployment cannot accept.
Two works constrain the design. Laboratory-Scale AI shows that 4-bit adapted 7B models on a T4 are competitive in quality but slow to decode and weaker on safety than cloud models. This defines our hardware regime and tells us we cannot assume safety comes for free. The DAIC-WOZ shortcut analysis (On the Validity of Using the Therapist's prompts) shows that a model can reach F1 0.88 for depression detection from the interviewer's own prompts alone. Our risk probe could learn the same shortcut by keying on the agent's previous question, and we test for this explicitly.
Research Program
Teacher traces and filtering. We take SSConv dialogues and COMPEER's training mixture. For each supporter turn, we generate the four-step reasoning chain with a strong teacher. We then filter traces in the manner of Song et al.: an evaluator scores each chain for consistency with the reply and for absence of the eight MHS benchmark failure categories, and we keep the best chain per turn. Teacher generation happens offline on synthetic or public data, so no real user data leaves the institution.
Latent student. We fine-tune Llama-3.1-8B-Instruct with 4-bit qLoRA on one T4, following the Wolfe setup. We follow SIM-CoT's recipe. Before each reply the model emits k latent tokens, either k=4 (one per step) or k=8 (two per step). An auxiliary decoder is trained to reconstruct the corresponding textual step from each latent token, and the reply is trained with ordinary next-token loss. Unlike SIM-CoT, the decoder is kept as the auditor and shares the 4-bit base model, so it costs only adapter memory.
Risk-gated expansion. We train a linear probe on the latent Thought token(s). Its target label is whether the always-latent reply on that turn is flagged by a safety judge as linguistic neglect, unamiable judgment, or humanoid mimicry. The judge is a RoBERTa-large classifier fine-tuned on the MHS benchmark. When the probe fires above a threshold τ, the model discards its latent plan, decodes the full explicit four-step chain, and conditions the reply on it. That chain is also logged for clinician review. Sweeping τ traces a curve of latency against safety. The design has a privacy side effect that matters for psychological safety: no readable profile of the user's inner state is written down unless a turn is risky. We note this property but do not claim to have measured its effect on disclosure.
Shortcut control. We retrain the probe with the agent's own previous turns masked out. We report how much its accuracy drops, the same comparison Burdisso et al. ran for DAIC-WOZ detectors.
Baselines
The naive reference is a no-reasoning student: the same 8B model with the same qLoRA budget, fine-tuned on SSConv replies alone. It defines the latency floor and the quality the reasoning has to beat.
The strongest quality competitor is always-explicit reasoning, in the style of COMPEER and SocialSim. The same student is trained to write the full filtered four-step chain as text before every reply. COMPEER reports ESC-Eval 82.39 with an RL-trained explicit reasoner. We will also run its released model if available, but we cannot fully reproduce its GRPO pipeline on our budget. Our controlled comparison is therefore the SFT explicit student, trained on the same traces and the same number of steps. No reported result found on Lacuna gives COMPEER's or SocialSim's latency on single-GPU hardware, so we measure both ourselves. The proposal beats this baseline if it matches its ESC-Eval score within the run-to-run spread of three seeds, and its judged neglect rate within a bootstrap confidence interval, at a median time to first reply token closer to the no-reasoning floor than to the explicit model.
The strongest efficiency competitor is compressed explicit reasoning: the explicit chain shortened by TokenSkip-style token pruning (TokenSkip), and separately a single written strategy label. Each is tuned to the same latency as our gated model, and we compare safety at that matched latency.
The ablations that isolate the key ingredients are three. Ungated latent (τ=∞) tests whether gating matters. Latent without step supervision (Coconut-style) tests whether the auditor-decoder training matters; SIM-CoT reports that it gains +3.0 over CODI on LLaMA-3.1-8B for math, a margin that is not established for dialogue. Gate from a user-message classifier replaces the latent probe with a BERT classifier of distress in the incoming message, at matched expansion rate. Every system uses the same base model, the same quantization, the same filtered traces, the same number of training tokens, and the same hyperparameter search budget, and all latencies are measured on the same T4.
Why not just…?
Why not just distill the reasoning teacher's replies and drop reasoning at inference? This is the most serious threat. A student trained on replies the teacher produced after reasoning may absorb most of the benefit at zero inference cost. The only evidence against it is indirect. SocialSim's Thought-node ablation and Song et al.'s 70.51% versus 91.02% gap both show that removing reasoning hurts, but neither study isolates "trained on reasoned outputs" from "reasons at inference." We therefore add a reply-only student trained on the filtered teacher replies. If it matches the gated latent model on neglect rate, we will report that inference-time reasoning is unnecessary in this domain, and we would then redirect the work toward the gate alone.
Why not just write a short explicit plan? A 20-token written plan may cost about the same as a few latent tokens on a T4 and stays fully readable. The compressed-explicit baseline at matched latency answers this directly. We expect it to lose on the Thought step specifically, because mentalizing a distressed person is the part that does not compress into a label. If it does not lose, the simpler readable design wins and we will say so.
Why not just gate on a cheap classifier of the user's message? Message distress is a plausible proxy for risk, and an input classifier is easy to audit. Our hypothesis is that risk lives in the interaction between what the user says and what the model is about to do, which only the model's own plan reflects. The matched-rate gate-source ablation settles this. We also report how often each gate catches flagged replies the other misses.
Why not just call a cloud model with a safety prompt? Sending protected health information to third-party endpoints is ruled out in the target setting (Large Language Models: A Comprehensive Guide for Radiologists). Cloud models are also unreliable on exactly these failures. On the MHS benchmark, ChatGPT reached only 43.1–48.4% accuracy against 70.4% for a fine-tuned RoBERTa-large, and it over-refused benign help-seeking. We include GPT-4o only as an offline quality reference on public data.
Decisive Experiments
Evaluation uses held-out SSConv dialogues and the ESC-Eval protocol for support quality. Safety is measured as the rate of replies judged to fall into the MHS benchmark's failure categories. The judge reports 70.4% accuracy, so we also have two annotators with counseling training label a stratified sample of 600 replies, and we report human-judged rates alongside the automatic ones. Latency is measured as median and 95th-percentile time to first reply token and total turn time, on a T4 with the 4-bit model.
The first decisive check is the latency–safety curve. For each τ, we plot human-judged neglect-plus-judgment rate against median latency. The proposal succeeds if its curve lies strictly below those of the compressed-explicit, reply-only, and input-gated systems over a meaningful range. It fails if any simpler system dominates it.
The second check is decoder fidelity. We measure how often the auditor's decoded Thought step, read from latent tokens, agrees with the teacher's Thought step, using clinician pairwise judgments. If the decoded plans are unfaithful, the audit trail is cosmetic, and the clinical case for keeping the decoder collapses even if the reply quality holds.
The third check is the shortcut control: the probe's accuracy with agent turns masked. A large drop would mean the gate is reading its own question patterns, as DAIC-WOZ detectors do, rather than the user.
A fourth, secondary check asks whether the latent Thought tokens survive more aggressive weight compression. We quantize the trained student to 3 bits with Task-Circuit Quantization calibrated on SSConv, and separately with plain GPTQ. TACQ reports 96% MMLU recovery at 3.1 bits on Llama-3-8B-Instruct, but nothing is known about dialogue. We then remeasure decoder fidelity and neglect rate. If Thought-step decodability degrades before reply fluency does, aggregate quality metrics would hide exactly the failure that matters clinically. That would be a concrete warning for anyone compressing support models to fit on-premise hardware.
References
- The Distress Analysis Interview Corpus of human and computer interviews
- The Potential of Chatbots for Emotional Support and Promoting Mental Well-Being in Different Cultures: Mixed Methods Study
- A Benchmark for Understanding Dialogue Safety in Mental Health Support
- COMPEER: Controllable Empathetic Reinforcement Reasoning for Emotional Support Conversation
- SocialSim: Towards Socialized Simulation of Emotional Support Conversation
- Does Rationale Quality Matter? Enhancing Mental Disorder Detection via Selective Reasoning Distillation
- Implicit Chain of Thought Reasoning via Knowledge Distillation
- SIM-CoT: Supervised Implicit Chain-of-Thought
- SemCoT: Accelerating Chain-of-Thought Reasoning through Semantically-Aligned Implicit Tokens
- Laboratory-Scale AI: Open-Weight Models are Competitive with ChatGPT Even in Low-Resource Settings
- DAIC-WOZ: On the Validity of Using the Therapist’s prompts in Automatic Depression Detection from Clinical Interviews
- TokenSkip: Controllable Chain-of-Thought Compression in LLMs
- Large Language Models: A Comprehensive Guide for Radiologists
- Task-Circuit Quantization: Leveraging Knowledge Localization and Interpretability for Compression