Why reconnect quality is a social outcome, not only a network metric
A real-time digital-human conversation can fail at precisely the moment a user is finishing a sentence, sharing a photo, or clarifying an earlier answer. A transport dashboard may record a successful reconnection while the person experiences an awkward restart. That distinction matters in mainstream AI social apps because the objective is useful, consent-based interaction, not merely keeping a socket open. The W3C WebRTC Recommendation, dated March 13, 2025, describes connection and ICE-restart mechanisms; it does not guarantee that an application’s conversation memory, partial transcript, and user intent will recover together. Our proposed evaluation treats reconnection as a separate product behavior with an explicit hypothesis: a transparent recovery choice will preserve user confidence better than a silent automatic continuation. This is a study design, not a claim that the hypothesis has already been verified. The unit of analysis is a completed interruption episode, not a counted message or a network packet. W3C WebRTC specification provides the technical boundary.
Define the interruption and the recovery contract
The protocol distinguishes four failure classes: transient audio loss while video remains active; ICE disconnection requiring renegotiation; foreground-to-background transitions; and a complete application restart. For each class, the test captures the last confirmed user turn, the assistant response actually delivered, the media attachment state, and whether an external tool action was committed. A recovery contract specifies which facts may be restored, what should be discarded, and which pending actions require explicit confirmation. A partially heard instruction must not become a completed command merely because the transport recovered. The interface should state whether the session was recovered, whether the last message might be incomplete, and how to resend it. Operators should separately record the time to regain audio, time to regain an intelligible conversation, and time to correct a mistaken reconstruction. These measures make debugging actionable. NIST’s July 26, 2024 Generative AI Profile emphasizes evaluating risks in system use rather than relying on a single technical proxy: NIST AI 600-1.
Randomized conditions and fair sampling
Recruit consenting adult participants who can use text and audio interfaces, with accessibility accommodations documented before randomization. A reasonable exploratory study might assign participants to three recovery designs: silent continuation, automatic continuation with a visible uncertainty notice, and a confirmation-first restart that shows the last reliable turn. Randomize at the participant level to avoid learning effects contaminating conditions. Counterbalance scenario order across audio, avatar video, and mixed media exchanges. Each participant completes the same scripted tasks with network faults introduced at comparable points, but the participant must be told that interruptions can occur. Exclude emergency or high-stakes decisions, and never manufacture the appearance of a human interlocutor. Record device class, network type, prior familiarity with AI chat, and accessibility settings as covariates. Publish exclusion rules before data collection. This design compares interface policies; it does not make diagnoses, infer personality traits from faces, or establish the long-term social effects of conversational AI.
Measurement: separate recovered packets from recovered meaning
For each task, blinded raters compare the participant’s final intended goal with the system’s recovered understanding. A useful primary endpoint is the proportion of interruption episodes completed without a semantic repair, defined in advance as a correction, resend, or explicit restart caused by missing context. Secondary outcomes include perceived control, accuracy of the restored transcript, abandoned sessions, correction latency, and accidental exposure of media that the participant meant to keep private. Report denominators: for example, episodes with successfully restored network transport versus all attempted episodes. Confidence intervals matter more than a single attractive percentage. Do not replace user interviews with engagement minutes; someone staying longer because the product repeatedly misunderstands them is not a success. Add a disagreement review where two independent raters annotate whether the recovery changed the user’s meaning. Measure errors by device and network category, but suppress small cells to avoid exposing participant identities or overinterpreting sparse subgroups.
Safety, privacy, and revocation controls
Recovery logic often stores temporary speech segments, partial transcripts, video frames, and message identifiers. The data flow must therefore specify retention limits, purpose, access roles, and deletion behavior before testing begins. Use fictional accounts and non-sensitive sample images wherever possible. Allow participants to see what state is about to resume and to choose a clean restart that discards queued content. Test that ending a session also invalidates stale reconnect tokens and does not replay a media attachment into a different profile. The NIST generative-AI risk profile identifies privacy and human-AI configuration among categories deserving explicit management; it should inform test planning, not be misrepresented as a certification of the app. An audit event should record a structured state transition without storing an intimate transcript in a broad operational log. A participant can withdraw from research without losing access to an unrelated service; the consent form must distinguish those choices clearly.
Analysis plan and product decision gate
Before deployment, preregister the primary outcome, targeted sample-size rationale, missing-data plan, and stop conditions. Analyze differences between interface conditions using uncertainty intervals and a model accounting for participant clustering; do not select only the most flattering network environments. In a small pilot, treat numeric results as feasibility signals rather than population estimates. A launch gate might require zero cross-account restores in all scripted privacy tests, a documented manual correction path, and evidence that confidence-first continuation improves understandable recovery rather than merely reducing screen taps. Present a failure gallery with anonymized examples of clipped speech, delayed captions, and resumed-but-wrong context. Engineering can then map each failure to transport, orchestration, memory, or interface logic. The broader lesson is specific: successful WebRTC recovery and successful social conversation recovery are different achievements, and a trustworthy digital-human product must make both measurable and user-controllable.
Sources
- W3C WebRTC: Real-Time Communication in Browsers — Recommendation, 13 March 2025.
- NIST AI RMF Generative AI Profile — 26 July 2024.