A Privacy-Preserving Human-in-the-Loop Framework for Interview-Based Clinical Large Language Models: Tutorial Using Personality Functioning as a Use Case (Preprint)

UNSTRUCTURED While large language models (LLMs) can support clinical assessment, their development based on clinical interview recordings poses risks related to data privacy, traceability, and data breaches. Transcription and speaker errors, residual identifiers, and material from the same participant in both the training and test datasets can each skew model development and evaluation. There is a lack of a transferable workflow that links these data processing steps with controlled model evaluation and expert review. This tutorial presents a privacy-preserving human-in-the-loop framework that can be used to convert semi-structured clinical interviews into traceable, privacy-compliant model inputs and to evaluate prompted or adapted LLMs on these inputs without obscuring upstream errors, privacy decisions, or human responsibility. We use the assessment of personality functioning with the Semi-Structured Interview for Personality Functioning DSM-5 as a running use case within an ongoing clinical trial on personality disorders. The framework organizes the development process into 7 stages across 3 components: data and measurement, model development, and human-reviewed output. Each stage specifies an input, a versioned output artifact, a responsible reviewer, and a check before progression. Human review at every hand-off ensures data quality. Speech recognition, diarization, and LLM-assisted de-identification are designed to run on local hardware, and a privacy reviewer decides on every identifier candidate. Participants are assigned to training, validation, and test splits before any example is constructed. A freeze gate fixes the selected configuration and the confirmatory analysis plan before held-out participants are evaluated once. In the use case, the model scores each of the 12 facets of the Level of Personality Functioning Scale from 0 to 4 based on the probabilities of the permitted score tokens. Model selection uses the mean absolute error averaged across facets, in which every invalid output receives the largest possible error. A cross-cutting layer specifies the validation of agreement, calibration, privacy, subgroup error, and safety, as well as prospective comparisons of assisted and unassisted raters. The publicly available Clinical Interview LLM Pipeline implements the shareable stages, comes with fictional example data, and has so far been verified as software. With the reference implementation, it provides the comparisons needed to test whether adaptation improves on a prompted baseline of the same model and whether model assistance shortens expert review without loss of rating accuracy. Adapting the workflow to other interview-based constructs, such as affective or psychotic disorders, requires construct-specific rating criteria and rules for which interview passages count as evidence.

Authors

Publication Details

Published
2026-11-30
DOI
https://doi.org/10.2196/preprints.118043
Primary Topic
Artificial Intelligence in Healthcare and Education
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

A Privacy-Preserving Human-in-the-Loop Framework for Interview-Based Clinical Large Language Models: Tutorial Using Personality Functioning as a Use Case (Preprint)

André Kerber, Christine Knaevelsrud, Maria Böttche, Joost Hutsebaut et al.
Artificial Intelligence in Healthcare and Education
preprint

A Privacy-Preserving Human-in-the-Loop Framework for Interview-Based Clinical Large Language Models: Tutorial Using Personality Functioning as a Use Case (Preprint)

André Kerber, Christine Knaevelsrud, Maria Böttche, Joost Hutsebaut, Christian Nikolaus Schmitz, Phileas Heim, Henry Harder, Lukas Königs
preprint en

Abstract

UNSTRUCTURED While large language models (LLMs) can support clinical assessment, their development based on clinical interview recordings poses risks related to data privacy, traceability, and data breaches. Transcription and speaker errors, residual identifiers, and material from the same participant in both the training and test datasets can each skew model development and evaluation. There is a lack of a transferable workflow that links these data processing steps with controlled model evaluation and expert review. This tutorial presents a privacy-preserving human-in-the-loop framework that can be used to convert semi-structured clinical interviews into traceable, privacy-compliant model inputs and to evaluate prompted or adapted LLMs on these inputs without obscuring upstream errors, privacy decisions, or human responsibility. We use the assessment of personality functioning with the Semi-Structured Interview for Personality Functioning DSM-5 as a running use case within an ongoing clinical trial on personality disorders. The framework organizes the development process into 7 stages across 3 components: data and measurement, model development, and human-reviewed output. Each stage specifies an input, a versioned output artifact, a responsible reviewer, and a check before progression. Human review at every hand-off ensures data quality. Speech recognition, diarization, and LLM-assisted de-identification are designed to run on local hardware, and a privacy reviewer decides on every identifier candidate. Participants are assigned to training, validation, and test splits before any example is constructed. A freeze gate fixes the selected configuration and the confirmatory analysis plan before held-out participants are evaluated once. In the use case, the model scores each of the 12 facets of the Level of Personality Functioning Scale from 0 to 4 based on the probabilities of the permitted score tokens. Model selection uses the mean absolute error averaged across facets, in which every invalid output receives the largest possible error. A cross-cutting layer specifies the validation of agreement, calibration, privacy, subgroup error, and safety, as well as prospective comparisons of assisted and unassisted raters. The publicly available Clinical Interview LLM Pipeline implements the shareable stages, comes with fictional example data, and has so far been verified as software. With the reference implementation, it provides the comparisons needed to test whether adaptation improves on a prompted baseline of the same model and whether model assistance shortens expert review without loss of rating accuracy. Adapting the workflow to other interview-based constructs, such as affective or psychotic disorders, requires construct-specific rating criteria and rules for which interview passages count as evidence.

Artificial Intelligence in Healthcare and Education
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon