Manuscript Offprint
arXiv:2610.23153QuAD: Quantitative Assessment via Distribution-Alignment for Qualitative Data Quality Enabled by a Content-Aware Multi-Agent System
Abstract
Assessing whether qualitative responses collected from semi-structured questions are ready for a particular analysis goal is a persistent challenge. Manual qualitative analysis is interpretive and labor-intensive, while existing automated methods often lack a dataset-level perspective for deciding whether a response set supports a researcher-selected analytical lens. We introduce QuAD, a framework for quantitative pre-analysis assessment of qualitative response datasets. QuAD compares a reconstructed intrinsic cluster distribution reconstructed from responses with an extrinsic, researcher-defined analytical lens derived from metadata. QuAD is structured into a four-quadrant assessment whose metrics are read jointly, from lens-level relations to within-cluster variation, to provide fitness-for-purpose signals for revealing general patterns and unique insights. Because this assessment relies on lens-conditioned interresponse dissimilarity, we propose a content-aware multi-agent system with two-stage instruction generation and adaptive anchors to improve scoring consistency. We validate QuAD through controlled experiments on synthetic data, including robustness and baseline comparisons, and a real-world social survey case study. The case study shows how QuAD quantitatively assesses whether a selected analysis axis is promising and also surfaces representative or unusual responses for human interpretation.
1 Introduction
Semi-structured questions play a crucial role in studies involving human participants. They enable researchers to gather detailed qualitative responses, uncovering general patterns and unique insights across demographic groups (e.g., age, gender). For example, in a study on student well-being, a question like “How have your eating habits changed

Figure 1: Overview of QuAD. QuAD takes a response dataset (A), uses a content-aware multi-agent system with iterative prompt generation (B) and adaptive anchor updating (C) to extract dissimilarity, reconstructs cluster and metadata distributions (D), and performs four-quadrant fitness-for-purpose assessment (E).
since starting college?" might reveal general patterns, such as freshmen reporting poorer diets, as well as unique insights from unexpected cases, such as freshmen who are student-athletes maintaining healthy eating habits due to their training (a reason read by the researcher). Traditionally, such responses are analyzed through iterative procedures such as familiarization, open coding, theme grouping, interpretation, and validation, with attention to codebooks, intercoder reliability, data saturation, and the richness or thickness of the evidence (Denzin and Lincoln, 2011; Glaser and Strauss, 2017; Campbell et al., 2013; Ames et al., 2024; Naeem et al., 2024). These methods are essential for interpretation and theory building, but usually follow data collection and need substantial human effort.
Pre-analysis assessment of a qualitative response dataset is crucial before conducting full coding or interpretation. Without it, researchers risk investing effort in an analysis lens that the collected responses do not support, or overlooking cross-group patterns and unusual cases that deserve closer inspection.
First author: wzhangeb@connect.ust.hk
Corresponding author: yuanlp@ust.hk
Existing evaluation methods are insufficient. Manual approaches do not scale and lack quantitative outputs to guide data improvement (Mattimoe et al., 2021; Campbell et al., 2013). Most automated methods evaluate responses in isolation (Chen et al., 2023b; Swayamdipta et al., 2020), overlooking interresponse relations and dataset structure crucial for comparative knowledge discovery (Fayyad et al., 1996; Glaser and Strauss, 2017).
Rather than focusing on individual responses, we propose QuAD, a quantitative pre-analysis assessment method that evaluates a response dataset as a whole, estimating whether a qualitative dataset is fit for a selected analysis goal by comparing its internal response structure with a researcher-defined analytical lens. The lens may be derived from demographic metadata such as age, gender, grade level, or expertise, and acts as an external hypothesis rather than ground truth for qualitative insight. Strong alignment between response structure and the lens suggests that the dataset supports group-level general patterns along this lens. Divergence is also informative: it may signal cross-group consensus, latent factors beyond the selected metadata, or unusual responses worth closer qualitative interpretation. The core idea of QuAD is to quantitatively (1) measuring the alignment and divergence between a metadata-derived analytical distribution and a cluster distribution empirically derived from responses, and (2) examining variation within the cluster distribution itself. It also locates representative responses in dense regions and candidate unusual ones in outlying or cross-lens regions.
More specifically, QuAD consists of two components. First, a four-quadrant assessment framework operationalizes the comparison between the cluster and metadata-derived analytical distributions (Sec. 3.2). This framework yields four complementary metrics, read jointly as one profile, that characterize a dataset's utility for discovering general patterns versus unique insights at both the distribution and data-point levels. The four quadrants rely on the distributions reconstructed via metadata and inter-response dissimilarities. Therefore, QuAD integrates a content-aware multi-agent system to compute task-conditioned inter-response dissimilarity (Sec. 3.1). To be more reliable and domain-aware, it enhances the LLM-as-a-Judge paradigm (Zheng et al., 2023) with two innovations. First, a novel interactive instruction generation system enables efficient, domain-specific instruction generation (Sec. 3.1.2), moving beyond manual or black-box methods (Zhou et al., 2022; Shah, 2024; Pryzant et al., 2023; Chen et al., 2023a). Second, a dynamic anchor updating algorithm (Sec. 3.1.3) maintains a stable semantic reference frame to ensure consistency and mitigate scoring drift, improving upon static example-based approaches (Yang et al., 2024; Dong et al., 2024).
We validate QuAD through controlled experiments on synthetic data and a case study on a real-world qualitative social survey of student food choices. The results evaluate both the technical quality of dissimilarity extraction and the practical role of QuAD as a pre-analysis aid for qualitative research, rather than as a replacement for full thematic coding. In summary, our contributions are:
• We propose a four-quadrant quantitative assessment framework for dissimilarity collected from semi-structured questions, based on comparing data-driven response structure with a researcher-defined analytical lens, whose four metrics are read jointly to quantify analysis readiness and also prioritize key responses.
• We design a content-aware multi-agent system to extract inter-response dissimilarity, featuring a human-in-the-loop iterative process for instruction generation and an adaptive anchor algorithm for evaluation consistency.
• We conduct controlled experiments, including robustness checks, and a real-world study with existing thematic labels, validating QuAD and its components as a pre-analysis assessment.
LLM-based Automated Evaluation. LLM-as-a-Judge enables scalable evaluations (Zheng et al., 2023; Kim et al., 2023), yet suffers from bias and inconsistency (e.g., position/verbosity bias, prompt sensitivity, and scoring drift) (Ye et al., 2024; Lee et al., 2025). QuAD improves robustness for qualitative response assessment via interactive instruction generation and adaptive anchors that stabilize task-conditioned LLM dissimilarity scoring.
3 Proposed Method
Figure 1 shows the overview of QuAD. The input of QuAD is a response dataset (Fig. 1(A)) collecting free-text responses to a question, where each response is associated with metadata that can define a researcher-selected analytical lens. QuAD uses two components to assess the dataset's fitness for this lens: (1) a content-aware multi-agent system (Fig. 1(B)–(C)) that enhances the LLM-as-Judge paradigm to compute task-conditioned inter-response dissimilarity, and (2) a four-quadrant assessment framework (Fig. 1(E)) that compares the cluster and metadata-derived distributions reconstructed from this dissimilarity. The pipeline runs in three steps. QuAD first generates a task-specific instruction via Two-stage Iterative Instruction Generation (Fig. 1(B), Sec. 3.1.2), then computes a dissimilarity matrix with it, using Adaptive Anchor Manifold Maintenance (Fig. 1(C), Sec. 3.1.3) to keep stable reference examples for the LLM evaluator. Finally, ensemble clustering of the matrix yields a cluster distribution, compared with the metadata-derived distribution (Fig. 1(D), Sec. 3.2.2) in the four-quadrant assessment (Fig. 1(E), Sec. 3.2.2).
3.1 Content-Aware Dissimilarity Extraction
3.1.1 Problem Formulation
Given a response dataset from a question with context (e.g., topic, evaluation axis), our goal is to extract a consistent inter-response dissimilarity matrix . Here, dissimilarity is a task-conditioned semantic difference: for responses and , measures how different the two responses are under the current research question, analytical context , and evaluation instruction, where Scale is the rating range of the judge. Depending on dataset size, is judged pairwise or derived from per-response scalar scores (Sec. 3.1.3). This requires a system that can: (i) generate a task-adapted evaluation instruction for , and (ii) use to compute dissimilarities while maintaining global consistency.
Let be the space of all possible instructions. For any instruction , an LLM-based evaluator produces a dissimilarity score . The quality of is measured by its alignment with a reference judgment from an Oracle (a powerful LLM or human expert), providing a score . The optimization objective is to find the instruction that minimizes the loss:
where is a pseudo-loss function. This objective states the design goal, which we pursue by refining the instruction iteratively with feedback as a pseudo-gradient, without a guarantee of convergence or of a global optimum (Sec. 3.1.2). To enforce consistency, we introduce an anchor manifold A, a set of reference responses that is dynamically updated (Sec. 3.1.3). The system thus has three agent roles (Fig. 2): an Oracle (an LLM in Stage 1, a human expert in Stage 2) returns corrected scores and critiques, an Updater LLM rewrites the instruction from this feedback, and an Evaluator LLM scores responses under the instruction and the current anchors, whose outputs return to the Oracle.
3.1.2 Iterative Instruction Generation
Manually authoring context-specific instructions is labor-intensive and not scalable. We propose a two-stage framework that models instruction optimization as feedback-guided iterative refinement.
At each iteration , an Oracle provides feedback on the current instruction . This feedback, , consists of a corrected score and a natural language critique, . An updater LLM, , uses this feedback to generate a refined instruction :
It treats the natural language critique as a pseudogradient, guiding the optimization in the high-dimensional space of instructions, following the same principle as TextGrad (Yuksekgonul et al., 2024) and ProTeGi (Pryzant et al., 2023). The magnitude and direction of the “update” are determined by the content of the critique. Unlike these methods, QuAD cannot rely on labeled data, which are unavailable at the pre-analysis stage. The feedback therefore comes first from an oracle LLM and then from domain experts, unfolding in two stages:
Stage 1: Automated Instruction Discovery. It generates diverse, high-quality, general-purpose instructions with a powerful LLM as Oracle (

Figure 2: The Content-Aware Multi-agent System for Dissimilarity Extraction. It involves two parts: the iterative instruction generation part (Sec. 3.1.2) and the adaptive anchor manifold updating part (Sec. 3.1.3). The first part efficiently generates context-aware instructions for the second part to perform dissimilarity extraction.
). The process runs automatically, building instructions from scratch until a termination condition is met. This condition is also determined by , acting as a strict evaluator that assesses the instruction against rigorous criteria for universality, clarity, and quality. The process halts when both the instruction and the evaluator E using it score highly. This stage ends with a user selecting the most promising instruction from the candidates.
Stage 2: Human-in-the-Loop Adaptation. It specializes for a specific task with a human expert as Oracle ( ), who provides precise, context-aware feedback, guiding the updater LLM to refine the instruction into a specialized instruction . The loop ends when the expert is satisfied with the evaluator and gives no more input.
3.1.3 Adaptive Anchor Manifold Maintenance
To ensure consistent dissimilarity measurements, we maintain a sorted anchor manifold , where each anchor is a (response, score) pair and ; the term denotes this set of reference examples, not a geometric manifold. It gives the LLM a stable semantic reference. This mechanism is not clustering: it assigns no cluster labels and does not partition the dataset, but maintains reference examples during scoring; clustering is applied afterward to the dissimilarity matrix. It iteratively processes new responses and updates the manifold to maximize diversity under .
The manifold is initialized with the first response. The update cycle involves three phases: (1) Evaluation: A new candidate response d is scored against data from D under anchor guidance, and these scores are compared with the current anchors in A to determine its novelty. (2) Filtration: Candidates that offer the most novelty are selected. Novelty is measured by the Diversity Contribution Score (DCS), defined as the average dissimilarity to existing anchors: . (3) Integration and Pruning: The selected novel candidates are integrated into the manifold. If , the most redundant anchor is pruned. Redundancy is measured by the Local Redundancy Index, with normalized dissimilarities , flagging anchors interpolated by their neighbors.
The implementation of the evaluation phase adapts to the dataset size N, but instructions for both approaches are generated through the same generation process (Sec. 3.1.2). is set by the computational budget; in our experiments, the 15-response datasets use the pairwise and the 90- and 122-response datasets the scalar regime, an assignment reproduced by any :
• For small datasets ( ): We use a high-fidelity approach where dissimilarities are computed via direct pairwise LLM calls. This has a complexity of and suits pilot subsets, where fine-grained relations between responses matter.
• For large datasets ( ): For computational feasibility, we use a linearized approach. A computationally efficient LLM operator assigns a scalar score to each response. All dissimilarities are then approximated as the absolute difference between these scores: . This projection suits criteria with an ordinal reading, such as improve-ment or decline.
When the instruction specifies several evaluation conditions, QuAD computes , clustering, and metrics per condition and averages the metrics. Algorithms 1–3 in Appendix E give the full procedures.
3.2 Data-Distribution-Driven Qualitative Dataset Assessment
3.2.1 Problem Formulation
Notation and Definitions: We formalize dataset quality assessment as comparing two distributions of the data. Let the dataset be . Each has (i) an extrinsic analytical label , derived from metadata via a researcher-defined mapping , which defines an external analytical partition ; and (ii) an intrinsic cluster label , obtained by clustering a dissimilarity matrix , which defines the cluster partition and induces the cluster distribution.
Objective: A researcher may use data for (1) finding common responses that represent groups under a selected analytical lens, general patterns, or (2) discovering previously unknown unique insights. These analyses have two granularities: the distribution level and the data-point level. Aligned with these practices, we define dataset quality as fitness-for-purpose for qualitative knowledge discovery rather than as a binary good/bad label. The four-quadrant assessment framework (Fig. 3) assigns one normalized metric to each goal–granularity pair: general-pattern metrics (GMR, DDR) measure how far the lens explains response structure, unique-insight metrics (DP, DC) describe what it leaves within clusters (group mixing and spread), data-point metrics (GMR, DP) count how individual responses are assigned, and distribution metrics (DDR, DC) aggregate continuous dissimilarities. The four metrics are read jointly to describe the concordance and divergence between the external analytical partition P and the intrinsic cluster partition , together with the variation within clusters.
3.2.2 The Assessment Framework
(1) Demographic and Cluster Distributions
Extrinsic Analytical Distribution: This distribution is defined a priori from metadata on characteristics of interest. A researcher-defined function, , maps attributes (e.g., expertise level or grade level) to an analytical label for each response . The resulting vector represents an expected structure along the chosen axis. We treat as an external analysis hypothesis rather than ground truth for qualitative insight.
Intrinsic Cluster Distribution: This distribution is derived a posteriori from the data’s internal structure. A pairwise dissimilarity matrix D is embedded in two dimensions with metric multidimensional scaling and fed into an ensemble of clustering, with multiple k-means runs and voting (Ahmed et al., 2020). This yields a vector of cluster assignments . Since cluster labels are arbitrary, we align them with demographic labels via maximum weight bipartite matching, where the weight between a demographic group and a cluster is their IOU (Yu et al., 2016). This alignment makes the distributions comparable. We set so each analytical group has one matched cluster. The alignment only pairs clusters with groups and does not change which responses belong to which cluster, so a content cluster can still mix analytical groups.
(2) Preliminaries Let y and be the demographic and (aligned) cluster assignment vectors. Let be the confusion matrix where is the count of data points from demographic j in cluster k. and be the sizes of demographic j and cluster k. D be the dissimilarity matrix. We define: (i) Average Intra-Cluster Dissimilarity ( ): The mean dissimilarity between pairs within the same cluster and (ii) Average Inter-Cluster Dissimilarity ( ): The mean dissimilarity between pairs in different clusters.

Figure 3: The Four-Quadrant Assessment Framework by research goal (General Patterns/Unique Insights) and analysis level (Distribution/Data Point).
(3) Evaluation Metrics. The four metrics are defined on the two partitions and bounded in [0, 1]. No single metric constitutes the assessment: they form one profile, and each is read in the context of the others. They are not “higher-is-better” scores: high GMR/DDR supports group-level pattern extraction, low GMR/DDR may reveal cross-group or lens-orthogonal themes, and high DC with low or moderate DP flags response variation and candidate deviant cases for human interpretation. Tab. 17 (Ap-pendix C) maps signal combinations to next steps.
General Pattern / Data Point: General Match Ratio (GMR). It measures the global alignment between the analytical and cluster distributions. A high GMR indicates that the intrinsic structure aligns with the selected analytical lens and may support representative responses for each group; a low GMR suggests that the lens weakly explains response structure or that themes cut across groups.
GMR combines two failure modes of a lens: mismatch, , the share of group not recovered by its matched cluster, and size distortion, , which penalizes partitions where one cluster absorbs several groups. The L2 norm scaled by lets a single poorly recovered group lower GMR more than uniformly small errors. Because GMR counts per-response matches, it indicates whether individual responses can represent their group; errors are normalized within each group, so groups count equally regardless of size, and ARI and NMI are reported alongside it (Tab. 6).
General Pattern / Distribution: Data Distinguishability Ratio (DDR). It measures how much the selected analytical lens separates responses by comparing the average dissimilarity between responses from different groups with that between responses from the same group. High DDR indicates that responses collected from different groups distinctly represent the common feature of that group.
where and are the mean dissimilarities in D over within- and cross-group response pairs under P. DDR is 0 for indistinguishable lens groups and nears 1 as cross-group differences dominate.
Unique Insight / Data Point: Data Purity (DP). It evaluates cluster consistency as the average share of members in each cluster's dominant analytical group. Low DP indicates mixed clusters, which may reflect cross-group consensus, underrepresented voices, or themes not captured by the chosen lens. DP is the unweighted mean of cluster purities; ARI and NMI are also reported (Tab. 6).
Unique Insight / Distribution: Data Coverage (DC). It evaluates the conceptual dispersion of each cluster, quantifying how widely data points spread around the cluster’s central theme. A high DC indicates greater intra-cluster dissimilarity relative to a baseline, emphasizing clusters with a broader spread whose members are candidates for close reading; the spread may also reflect scoring noise.
where is a baseline for acceptable intra-cluster dissimilarity, set relative to the typical dissimilarity unit . We use with an empirical near-1 factor adapted to the estimation regime: for small datasets (pairwise scoring, higher-variance estimates) and for large datasets (scalar projection, smoother but potentially compressed distances); Tab. 3 summarizes how each quantity in QuAD is set. Because Scale/C is the spacing of C groups spread evenly over the score range, DC expresses cluster spread relative to the resolution the lens must resolve. DC does not use the lens labels except through C, so it describes response spread rather than lens informativeness and is compared only across lenses with the same C.
Response Mining. QuAD also identifies specific responses for qualitative analysis. These responses, which either challenge expected structures or strongly represent general patterns, are characterized as the top-k responses with the highest and lowest average dissimilarity to the other responses in their lens group, marking them as candidate unusual or representative members of that group. A response is thus unusual when it departs from the typical position of its group along the research criterion. They are intended for response triage before subsequent human interpretation, not as automatic substitutes for thematic coding.
4 Experiment
We evaluate QuAD through controlled experiments on synthetic data (Sec. 4.1) and a real-world case study (Sec. 4.2). We use “Qwen-max-latest” (Yang et al., 2025) as the default model for its stable API access, strong instruction following, and favorable cost-performance over the many LLM calls of dissimilarity extraction; QuAD itself is model-agnostic, and Sec. 4.1.2 checks whether conclusions depend on this default. The same model drives the synthetic-data generation agents (Appendix D.2.1); measured token usage, API cost, and results for cheaper model tiers are in Appendix A.6 (Tabs. 8 and 9).
4.1 Controlled Experiment
Datasets in 4 domains (HCI, Finance, Additive Manufacturing, and Medicine) are produced by our Controllable Synthetic Data Generation System (Appendix D), so ground truth is known for precise evaluation. These experiments check measurement behavior against known ground truth, like unit tests of an instrument; real-data validation is in Sec. 4.2.
4.1.1 User Study for Instruction Generation
A controlled within-subjects study assesses only the human-in-the-loop instruction generation module's impact on cognitive load and efficiency, not all of QuAD or a full qualitative-analysis interface.
Experimental Setup. We recruited 20 postgraduate students from diverse domains. Each participant used two systems: (1) our system implementing the adaptation phase described in Sec. 3.1.2, and (2) a baseline system that employed the same user interface but with agent-assisted features disabled, requiring users to compose instructions manually. Participants wrote dissimilarity-extraction instructions for two distinct questions with both systems. The counterbalanced schedule is in Tab. 18 and per-item statistical comparisons are in Tab. 19.

(a) User ratings on the baseline and ours using NASA-TLX.
(b) Usability of Ours.
(c) Usability of baseline.
Figure 4: User study results: (a) cognitive load (higher = more load); (b)–(c) task satisfaction (7 = very satisfied).
We evaluated both systems on Cognitive Load (NASA-TLX) (Hart and Staveland, 1988) and System Usability (details in Appendix D). We use the standard NASA-TLX for completeness. Usability used a custom 10-item 7-point Likert scale reporting task satisfaction, not standardized usability.
Results and Analysis. As shown in Fig. 4, participants report lower cognitive load when composing instructions with our framework. It also receives higher ratings on all satisfaction items. Instructions from this study were used in later experiments.
Quantitative Comparison on Instruction Quality. Beyond the user study, we also evaluate instruction quality on synthetic datasets by measuring the correlation between extracted and ground-truth dis- similarity scores. The baseline uses the instructions participants directly wrote in the manual condition. Pairwise scores drift in scale across pairs and correlations stay near zero. Scalar projection scores every response on one axis, so direct instructions are already partly calibrated and our gains are smaller.
Table 1: Quality of instructions generated by baseline vs ours, measured by Spearman and Pearson correlation. Best indicates the higher value between Baseline and Ours for each metric (within the same setting).
| Small-Scale (Pairwise) | Large-Scale (Scalar Projection) | |||||||
|---|---|---|---|---|---|---|---|---|
| Baseline | Ours | Baseline | Ours | |||||
| Spear. | Pears. | Spear. | Pears. | Spear. | Pears. | Spear. | Pears. | |
| Qwen_turbo | -0.083 | -0.035 | 0.708 | 0.681 | 0.687 | 0.713 | 0.747 | 0.775 |
| Qwen_plus | 0.228 | 0.292 | 0.725 | 0.718 | 0.735 | 0.753 | 0.719 | 0.741 |
| Qwen_max | -0.036 | -0.013 | 0.725 | 0.728 | 0.705 | 0.726 | 0.789 | 0.816 |
| GLM | 0.599 | 0.621 | 0.830 | 0.836 | 0.731 | 0.747 | 0.797 | 0.819 |
| deepseek-v3 | 0.331 | 0.356 | 0.726 | 0.705 | 0.770 | 0.795 | 0.827 | 0.852 |
4.1.2 Robustness Checks
We check robustness at four points of the pipeline: anchor components, dissimilarity source, model family and run, and downstream reconstruction.
Adaptive-anchor ablation. On pairwise and scalar-projection synthetic datasets, we disable one of five anchor components at a time and measure correlation with ground truth. By Spearman correlation, the full configuration ranks first in five of the ten model-regime combinations and within the top two in nine, has the highest mean in both regimes (pairwise 0.743 vs. ; scalar 0.776 vs. ), and has the highest worst case (0.708 vs. ). Single ablations can win for one model, but none is consistently better, so the full configuration is the most reliable default (Appendix A.1, Tab. 2).
Dissimilarity baselines. We compare against two simpler dissimilarity sources. Direct prompting falls well below QuAD instructions in the pairwise regime (Tab. 1). Embedding distances reach 0.594–0.621 in the pairwise and 0.614–0.698 in the scalar regime, versus 0.708–0.830 and 0.719–0.827 for QuAD (Appendices A.5 and A.3, Tab. 4).
Cross-model and repeated-run stability. With DeepSeek and Gemini swapped as generator and evaluator, Spearman correlations with ground truth remain 0.727–0.733 (small) and 0.842–0.878 (large), so, under this latent-score task, the signal does not depend on a same-family generator and evaluator (Tab. 5). Over three repeated runs with fixed inputs, within-model distance correlations are 0.80 (Qwen-max) and 0.94 (DeepSeek-v3), cross-model agreement is 0.87, and the largest SD of the four metrics is 0.050 (Appendix A.4, Tab. 7).
Reconstruction sensitivity. Holding the synthetic data, QuAD dissimilarity matrix, and K fixed,

Small - Var Sweep
Small - Diff Sweep
Figure 5: Result of the distribution shift experiment.
we vary only the clustering algorithm. ARI ranges from 0.592 to 0.675 across K-medoids, agglomerative, spectral, and K-means clustering, with the K-means ensemble strongest overall (ARI/NMI/purity 0.675/0.743/0.850; Appendix A.3, Tab. 6).
4.1.3 Controlled Distribution Shift Experiment
We applied QuAD in both small- and large-scale configurations to synthetic datasets with controlled distributional variations. We generated two sets of 15-interviewee datasets (protocol in Appendix D). In the first set (Fixed Mean), the inter-community mean difference was fixed while variance was swept from 1 to 40. In the second set (Fixed Variance), variance was fixed at 20 while the mean difference was swept from 5 to 45. As shown in Fig. 5, with increasing variance, GMR, DP, and DDR decreased while DC increased; with increasing mean difference, GMR, DP, and DDR increased while DC remained stable. These distinct joint patterns match our design, validating QuAD's scoring functions.
4.2 Case Study: External Validation on Human-Labeled Food-Choice Responses
This case study externally validates QuAD on real, human-annotated qualitative data (details in Appendix B). The Food Choices dataset contains 122 human-written responses to a survey question about eating-habit changes since entering college; grade level is the analytical lens, and QuAD runs in the scalar regime. Each response also carries a pre-existing human label of its eating-habit change (worse, better, same, or unclear). The labels were produced independently of QuAD and withheld from instruction refinement, model selection, and inference, so they serve as an external criterion; comparisons with label classes exclude the three unclear responses (N = 119). As the instruction encodes the research question, the instruction and the labels target the same construct. The validation tests whether the lens verdict QuAD reaches before coding matches the verdict available after coding, and whether responses sharing a code lie closer.
Dataset-level validation. QuAD reports , , , and : grade groups barely align with or separate the reconstructed clusters, responses are widely dispersed within clusters, and clusters mix grades. From this joint profile, QuAD judges grade level a weak lens for eating-habit changes, matching its weak association with human labels (Cramér's ). Switching the lens on the same responses to eating-habit change flips the profile: DDR rises from 0.02 to 0.52 and DP from 0.43 to 0.75, so the verdict tracks the lens (Appendix B.4). Partly shuffling these labels lowers DDR monotonically to the grade-level value, and standard association tests on the same scores corroborate the grade verdict (Appendix B.6). A direct end-to-end LLM assessment given the same input instead rates grade level as strong and is sensitive to response order, unlike QuAD's fixed aggregation rules (Appendix B.5).
Response-level validation. Mean QuAD distance rises from 14.61 for same-label to 30.38 for different-label pairs. QuAD reaches a label-mismatch AUC of 0.749 and top-3 label purity of 0.742, above TF-IDF (0.551, 0.650). Within grades, mined responses match the example in Sec. 1: representative freshman responses describe eating less and more junk food; unusual ones, more fruits, vegetables, and seafood (Appendix B.8.3).
Independent evaluator validation. After reading the 122 raw responses grouped by grade without the QuAD report, three evaluators reviewed the report and rated its correctness, interpretability, and usefulness for later coding on seven-point scales. All median ratings were 6 (correctness 4–7; interpretability and usefulness 6–7; Appendix B.7).
5 Conclusion
We introduced QuAD, a framework for quantitative pre-analysis assessment of qualitative response datasets. A content-aware multi-agent system with interactive instruction generation and adaptive anchors computes task-conditioned dissimilarities; a four-quadrant framework jointly reads how the cluster distribution aligns with or diverges from a researcher-defined analytical lens and how much variation remains within clusters, yielding fitness-for-purpose signals for general patterns and unique insights. Controlled experiments and a human-labeled case study show QuAD complements qualitative coding by quantitatively assessing readiness and also prioritizing responses for human check.
Limitations
Dependence on the underlying LLM. QuAD inherits the capabilities and stability of its underlying judge. Model updates, decoding settings, and service-side changes can introduce scoring drift; repeated-run and cross-model checks quantify but do not eliminate this source of variation.
Linguistic and cultural bias. LLM judgments may privilege standard dialects, dominant cultural framings, verbosity, or particular writing styles. Such preferences can reduce the visibility of culturally specific meanings and encourage homogenized interpretations. Researchers should inspect the generated instruction, anchor examples, representative responses, and outliers, with particular attention to minority-language and culturally situated responses.
Information loss under scalar projection. The large-scale regime compresses potentially multidimensional semantic relations onto one task-conditioned axis. This approximation improves efficiency while losing relational detail when dissimilarity is intrinsically multifaceted. The pairwise regime lets the judge compare two responses directly and can retain relations beyond a single axis when the instruction defines them; its cost makes it best suited to pilot subsets and smaller corpora. Our synthetic pairwise tasks use a latent-score gap as ground truth, so they validate pairwise scoring but not relations beyond a single axis. In the scalar regime, standard association tests on the scores provide a complementary significance check of group separation (Appendix B.6).
Metric interpretation and coverage. The four metrics describe how a selected lens relates to response structure; whether this structure is qualitatively meaningful also depends on context, theory, and interpretive aims. Reading a single high score as a complete quality judgment risks metric-washing and may downplay meaningful outliers, so QuAD reports the metrics as one profile to be read together with the mined responses. Default settings, such as , the unweighted DP, and the DC baseline , are listed in Tab. 3 and can be adapted to a study, for example by adding checks for minority coverage or tail behavior.
Evidence scope. Controlled experiments use synthetic responses with known latent scores, complemented by cross-family generation (Tab. 5) and a human-written case study. Real-data validation uses one survey corpus, assessed under eight metadata lenses, the dataset's own human code, and a graded label-noise series between them (Appendix B.4). Since the scoring instruction and the human code address the same research question, this validation tests whether QuAD measures the intended construct on real text. Additional corpora and lenses would further test generality.
Ethics Statement
Human participants. Both human-subject studies were approved by the institutional review board. All participants gave informed consent, received compensation (USD 8 for the user study and USD 10 for the evaluator study), and are reported only under anonymous identifiers.
Data and risks. The Food Choices dataset is publicly available on Kaggle and contains no direct identifiers. Using LLMs to assist qualitative analysis may introduce interpretation biases or over-reliance on automated outputs, and sensitive open-ended responses may raise privacy concerns. We recommend human validation, careful data anonymization, and transparent reporting of model-assisted decisions.
Use of AI assistants. Gemini was used to check grammar, improve wording, and search for related work; it did not change the meaning of the text or introduce new references or knowledge, and all retrieved papers were read and reviewed by the authors. Cursor and its associated generative models, such as GPT and Opus, were used to assist with code writing.
References
Mohiuddin Ahmed, Raihan Seraj, and Syed Mohammed Shamsul Islam. 2020. The k-means algorithm: A comprehensive survey and performance evaluation. Electronics, 9(8):1295.
Heather MR Ames, Emma F France, Sara Cooper, Mayara S Bianchim, Simon Lewin, Bey-Marrié Schmidt, Isabelle Uny, and Jane Noyes. 2024. Assessing qualitative data richness and thickness: development of an evidence-based tool for use in qualitative evidence synthesis. Cochrane Evidence Synthesis and Methods, 2(7):e12059.
Cauã Ferreira Barros, Bruna Borges Azevedo, Valdemar Vicente Graciano Neto, Mohamad Kassab, Mar-cos Kalinowski, Hugo Alexandre D Do Nascimento, and Michelle CGSP Bandeira. 2025. Large language model for qualitative research: A systematic mapping study. In 2025 IEEE/ACM International Workshop on Methodological Issues with Empirical Studies in Software Engineering (WSESE), pages 48–55. IEEE.
Erik Cambria and Bebo White. 2014. Jumping nlp curves: A review of natural language processing research. IEEE Computational intelligence magazine, 9(2):48–57.
John L Campbell, Charles Quincy, Jordan Osserman, and Ove K Pedersen. 2013. Coding in-depth semistructured interviews: Problems of unitization and intercoder reliability and agreement. Sociological methods & research, 42(3):294–320.
Jonathan Chang, Sean Gerrish, Chong Wang, Jordan Boyd-Graber, and David Blei. 2009. Reading tea leaves: How humans interpret topic models. Advances in neural information processing systems, 22.
Lichang Chen, Jiuhai Chen, Tom Goldstein, Heng Huang, and Tianyi Zhou. 2023a. Instructzero: Efficient instruction optimization for black-box large language models. Preprint, arXiv:2306.03082.
Yi Chen, Rui Wang, Haiyun Jiang, Shuming Shi, and Ruifeng Xu. 2023b. Exploring the use of large language models for reference-free text quality evaluation: An empirical study. Preprint, arXiv:2304.00723.
Norman K Denzin and Yvonna S Lincoln. 2011. The Sage handbook of qualitative research. sage.
Qingxiu Dong, Lei Li, Damai Dai, Ce Zheng, Jingyuan Ma, Rui Li, Heming Xia, Jingjing Xu, Zhiyong Wu, Tianyu Liu, Baobao Chang, Xu Sun, Lei Li, and Zhifang Sui. 2024. A survey on in-context learning. Preprint, arXiv:2301.00234.
Zackary Okun Dunivin. 2024. Scalable qualitative coding with llms: Chain-of-thought reasoning matches human performance in some hermeneutic tasks. arXiv preprint arXiv:2401.15170.
Usama Fayyad, Gregory Piatetsky-Shapiro, and Padhraic Smyth. 1996. From data mining to knowledge discovery in databases. AI magazine, 17(3):37–37.
Barney Glaser and Anselm Strauss. 2017. Discovery of grounded theory: Strategies for qualitative research. Routledge.
Sandra G Hart and Lowell E Staveland. 1988. Development of nasa-tlx (task load index): Results of empirical and theoretical research. In Advances in psychology, volume 52, pages 139–183. Elsevier.
Jessica L Johnson, Donna Adkins, and Sheila Chauvin. 2020. A review of the quality indicators of rigor in qualitative research. American journal of pharmaceutical education, 84(1):7120.
Seungone Kim, Jamin Shin, Yejin Cho, Joel Jang, Shayne Longpre, Hwaran Lee, Sangdoo Yun, Seongjin Shin, Sungdong Kim, James Thorne, and 1 others. 2023. Prometheus: Inducing fine-grained evaluation capability in language models. In The Twelfth International Conference on Learning Representations.
Noah Lee, Jiwoo Hong, and James Thorne. 2025. Evaluating the consistency of llm evaluators. In Proceedings of the 31st International Conference on Computational Linguistics, pages 10650–10659.
Haitao Li, Qian Dong, Junjie Chen, Huixue Su, Yujia Zhou, Qingyao Ai, Ziyi Ye, and Yiqun Liu. 2024. Llms-as-judges: a comprehensive survey on llm-based evaluation methods. arXiv preprint arXiv:2412.05579.
Xiner Liu, Jiayi Zhang, Amanda Barany, Maciej Pankiewicz, and Ryan S Baker. 2024. Assessing the potential and limits of large language models in qualitative coding. In International Conference on Quantitative Ethnography, pages 89–103. Springer.
Christopher Manning and Hinrich Schutze. 1999. Foundations of statistical natural language processing. MIT press.
Ruth Mattimoe, Michael Hayden, Brid Murphy, and Joan Ballantine. 2021. Approaches to analysis of qualitative research data: A reflection on the manual and technological approaches. Accounting, Finance & Governance Review, 27(1):54–69.
Muhammad Naeem, Wilson Ozuem, Kerry Howell, and Silvia Ranfagni. 2024. Demystification and actualisation of data saturation in qualitative research through thematic analysis. International Journal of Qualitative Methods, 23:16094069241229777.
Angelina Parfenova, Alexander Denzler, and Jörgen Pfeffer. 2024. Automating qualitative data analysis with large language models. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 4: Student Research Workshop), pages 83–91.
Reid Pryzant, Dan Iter, Jerry Li, Yin Tat Lee, Chenguang Zhu, and Michael Zeng. 2023. Automatic prompt optimization with "gradient descent" and beam search. arXiv preprint arXiv:2305.03495.
Keita Saito, Akifumi Wachi, Koki Wataoka, and Youhei Akimoto. 2023. Verbosity bias in preference labeling by large language models. arXiv preprint arXiv:2310.10076.
Kayla Schroeder and Zach Wood-Doughty. 2024. Can you trust llm judgments? reliability of llm-as-a-judge. arXiv preprint arXiv:2412.12509.
Chirag Shah. 2024. From prompt engineering to prompt science with human in the loop. arXiv preprint arXiv:2401.04122.
Lin Shi, Chiyu Ma, Wenhua Liang, Weicheng Ma, and Soroush Vosoughi. 2024. Judging the judges: A systematic study of position bias in llm-as-a-judge. arXiv preprint arXiv:2406.07791.
Swabha Swayamdipta, Roy Schwartz, Nicholas Lourie, Yizhong Wang, Hannaneh Hajishirzi, Noah A Smith, and Yejin Choi. 2020. Dataset cartography: Mapping and diagnosing datasets with training dynamics. arXiv preprint arXiv:2009.10795.
Peiyi Wang, Lei Li, Liang Chen, Zefan Cai, Dawei Zhu, Binghuai Lin, Yunbo Cao, Qi Liu, Tianyu Liu, and Zhifang Sui. 2023. Large language models are not fair evaluators. arXiv preprint arXiv:2305.17926.
An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengen Huang, Chenxu Lv, and 1 others. 2025. Qwen3 technical report. arXiv preprint arXiv:2505.09388.
Chengrun Yang, Xuezhi Wang, Yifeng Lu, Hanxiao Liu, Quoc V. Le, Denny Zhou, and Xinyun Chen. 2024. Large language models as optimizers. Preprint, arXiv:2309.03409.
Jiayi Ye, Yanbo Wang, Yue Huang, Dongping Chen, Qihui Zhang, Nuno Moniz, Tian Gao, Werner Geyer, Chao Huang, Pin-Yu Chen, and 1 others. 2024. Justice or prejudice? quantifying biases in llm-as-a-judge. arXiv preprint arXiv:2410.02736.
Jiahui Yu, Yuning Jiang, Zhangyang Wang, Zhimin Cao, and Thomas Huang. 2016. Unitbox: An advanced object detection network. In Proceedings of the 24th ACM international conference on Multimedia, pages 516–520.
Mert Yuksekgonul, Federico Bianchi, Joseph Boen, Sheng Liu, Zhi Huang, Carlos Guestrin, and James Zou. 2024. Textgrad: Automatic “differentiation” via text. arXiv preprint arXiv:2406.07496.
Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric Xing, and 1 others. 2023. Judging llm-as-a-judge with mt-bench and chatbot arena. Advances in neural information processing systems, 36:46595–46623.
Wenjie Zhou, Qiang Wang, Mingzhou Xu, Ming Chen, and Xiangyu Duan. 2024. Revisiting the self-consistency challenges in multi-choice question formats for large language model evaluation. In Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024), pages 14103–14110.
Yongchao Zhou, Andrei Ioan Muresanu, Ziwen Han, Keiran Paster, Silviu Pitis, Harris Chan, and Jimmy Ba. 2022. Large language models are human-level prompt engineers. In The eleventh international conference on learning representations.
Lianghui Zhu, Xinggang Wang, and Xinlong Wang. 2023. Judgelm: Fine-tuned large language models are scalable judges. arXiv preprint arXiv:2310.17631.
A Supplementary Evaluation, Robustness, and Deployment
A.1 Ablation Details for Adaptive Anchor Updating
This appendix reports the full ablation table (Tab. 2) summarized in the robustness checks (Sec. 4.1.2). The experiment keeps the data generation and evaluation protocol fixed while disabling individual components of the adaptive anchor updating algorithm (Sec. 3.1.3).
Experimental setting. On four 15-interviewee datasets (small scale) and four 90-interviewee datasets (large scale) from different domains (generated via Appendix D), we evaluate the full method (Full) against variants that each disable one component: disabling in-context examples (No Example), disabling adaptive updating (Fixed Example), including all responses as candidates (No Novelty Check), removing example length limits (No Pruning), and using a heuristic for score calculation (Heuristic Quality), i.e., the LLM-assigned anchor score is replaced by the mean dissimilarity of the candidate to existing samples. We report Pearson and Spearman correlations between extracted and ground-truth dissimilarity scores. Owing to the number of experiments, each reported value is the average across four randomly selected questions from the four domains.
The complete adaptive-anchor configuration is consistently among the strongest settings and remains robust when moving from pairwise scoring to scalar projection. By Spearman correlation, it ranks first in five of the ten model and regime combinations and within the top two in nine, while Heuristic Quality, the most frequent runner-up, reaches the top two four times. It also has the highest mean Spearman correlation in both regimes (pairwise 0.743, next Fixed Example 0.726; scalar 0.776, next No Pruning 0.775) and, across the ten settings, the highest minimum (0.708, next Fixed Example 0.659). Fixed examples or simplified heuristics can perform well for a particular model and scale, but no ablated variant is consistently better. The complete configuration is therefore the most reliable default across the tested settings; the scalar-regime margin in mean is small, and ranks and means summarize relative performance and are not a significance test.
Table 2: Ablation results of the adaptive anchor updating algorithm. Bold and underlined represents the top-1 result and bold represents the top-2 result (within each block).
| Model | Full | No Example | Fixed Example | No Novelty Check | No Pruning | Heuristic Quality | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Spear. | Pears. | Spear. | Pears. | Spear. | Pears. | Spear. | Pears. | Spear. | Pears. | Spear. | Pears. | |
| Small-scale (pairwise) setting | ||||||||||||
| Qwen_turbo | 0.708 | 0.681 | 0.644 | 0.656 | 0.659 | 0.663 | 0.604 | 0.625 | 0.620 | 0.604 | 0.606 | 0.640 |
| Qwen_plus | 0.725 | 0.718 | 0.674 | 0.659 | 0.760 | 0.757 | 0.700 | 0.683 | 0.652 | 0.667 | 0.643 | 0.636 |
| Qwen_max | 0.725 | 0.728 | 0.633 | 0.621 | 0.672 | 0.663 | 0.683 | 0.695 | 0.691 | 0.697 | 0.701 | 0.709 |
| GLM | 0.830 | 0.836 | 0.770 | 0.765 | 0.822 | 0.829 | 0.826 | 0.839 | 0.831 | 0.842 | 0.729 | 0.732 |
| deepseek-v3 | 0.726 | 0.705 | 0.674 | 0.685 | 0.717 | 0.722 | 0.697 | 0.673 | 0.703 | 0.676 | 0.739 | 0.734 |
| Large-scale (scalar projection) setting | ||||||||||||
| Qwen_turbo | 0.747 | 0.775 | 0.705 | 0.733 | 0.692 | 0.721 | 0.699 | 0.730 | 0.729 | 0.765 | 0.709 | 0.732 |
| Qwen_plus | 0.719 | 0.741 | 0.796 | 0.810 | 0.735 | 0.756 | 0.757 | 0.777 | 0.762 | 0.780 | 0.767 | 0.790 |
| Qwen_max | 0.789 | 0.816 | 0.773 | 0.797 | 0.768 | 0.794 | 0.767 | 0.791 | 0.776 | 0.803 | 0.752 | 0.779 |
| GLM | 0.797 | 0.819 | 0.771 | 0.785 | 0.758 | 0.786 | 0.792 | 0.817 | 0.780 | 0.803 | 0.794 | 0.818 |
| deepseek-v3 | 0.827 | 0.852 | 0.794 | 0.822 | 0.856 | 0.878 | 0.822 | 0.846 | 0.826 | 0.850 | 0.811 | 0.839 |
A.2 Metric and Quantity Clarification
This section clarifies the quantities used by QuAD (Tab. 3). The quantities are fixed by the study design, the LLM scoring rubric, the number of groups, or computational constraints, and are not tuned on validation data. Empirical values enter only where estimation regimes differ in variance: DC uses for pairwise scoring, whose estimates vary more, and for scalar projection, whose distances are compressed. Because divides DC uniformly, changing it shifts the level of DC but does not reverse its ordering across lenses with the same ; e.g., the case-study DC of 0.90 becomes 0.72 at and 0.60 at . is an empirical normalization convention, not a validated cut-off for reading DC as high or low.
A.3 Baseline and Clustering Robustness
This appendix provides the full measured results for the additional robustness and baseline checks summarized together in Sec. 4.1.2: embedding-based dissimilarity baselines (Tab. 4), cross-family generator-evaluator robustness (Tab. 5), and fixed-K clustering sensitivity (Tab. 6). The interpretation of the embedding and clustering results is given in Appendix A.5. In the cross-family check, Spearman correlations with ground truth remain 0.727–0.733 in the small-scale and 0.842–0.878 in the large-scale setting in both generator-evaluator directions, so the signal does not depend on a same-family generator and evaluator.
A.4 Repeated-Run and Cross-Model Reliability
Question and rationale. A measurement framework should produce stable response geometry and dataset-level metrics when its inputs and evaluation instruction are held fixed. We therefore test variation across repeated runs and model families.
Protocol. On a fixed slice of the controlled synthetic data, qwen-max and deepseek-v3 each perform three independent runs with identical inputs and prompts; clustering randomness is fixed. We report rank agreement between the resulting dissimilarity structures and the mean and standard deviation of the four assessment metrics.
Results. In Tab. 7, within-model distance correlations are 0.80 and 0.94, and cross-model agreement is 0.87. The largest observed metric standard deviation is 0.050. These results show moderate-to-high rank agreement and limited metric variation in the tested slice. Metric levels differ between the two models, so these results support repeatability within a model, not interchangeability of absolute metric values across models.
A.5 Pipeline Component Necessity Checks
Question and rationale. We evaluate each major pipeline stage using a comparison matched to its function to examine the contribution of each component. These checks separately examine task-specific instruction generation, adaptive-anchor maintenance, semantic representation, and downstream distribution reconstruction. A final real-label comparison tests whether the resulting response ge-
Table 3: Origin and role of main quantities in QuAD.
| Quantity | Role | How it is determined |
|---|---|---|
| C | Number of analytical groups | Defined by metadata and research question |
| K | Number of response clusters | Set to C so each group has one matched cluster |
| Scale | LLM score range | Fixed by scoring rubric, e.g., [0, Scale] |
| σ | Typical dissimilarity unit | Derived from Scale/C |
| γ | DC normalization | Derived from scoring scale and group count |
| Anchor capacity | Set by context-window and cost budget | |
| Pairwise/scalar switch | Set by cost budget; here pairwise for N = 15, scalar for N ≥ 90 | |
| top-k | Response mining display | A reporting choice, not a dataset-level metric parameter |
Table 4: Comparison with embedding-based dissimilarity extraction. Correlations are computed against synthetic ground-truth dissimilarities and averaged across four domains.
| Method | Small Spear. | Small Pears. | Large Spear. | Large Pears. |
|---|---|---|---|---|
| Qwen3-Embed (cosine) | 0.595 | 0.602 | 0.614 | 0.625 |
| Qwen3-Embed (euclid) | 0.595 | 0.593 | 0.614 | 0.619 |
| OpenAI-3-small (cosine) | 0.594 | 0.602 | 0.698 | 0.717 |
| OpenAI-3-small (euclid) | 0.594 | 0.594 | 0.698 | 0.709 |
| Llama-Embed-8B (cosine) | 0.621 | 0.629 | 0.683 | 0.700 |
| Llama-Embed-8B (euclid) | 0.621 | 0.606 | 0.683 | 0.693 |
Table 5: Cross-family generator–evaluator robustness check. Communities, candidates, and target scores are held fixed while only response text is regenerated.
| Generator | Evaluator | Small Spear. | Small Pears. | Large Spear. | Large Pears. |
|---|---|---|---|---|---|
| DeepSeek-v4-Flash | Gemini-3.1-Flash-Lite | 0.733 | 0.754 | 0.842 | 0.855 |
| Gemini-3.1-Flash-Lite | DeepSeek-v4-Flash | 0.727 | 0.730 | 0.878 | 0.890 |
Table 6: Fixed-K clustering sensitivity and ensemble ablation.
| Method | Ens. | ARI | NMI | Purity |
|---|---|---|---|---|
| K-medoids | No | 0.639 | 0.710 | 0.830 |
| K-medoids | Yes | 0.631 | 0.698 | 0.831 |
| Agglomerative | No | 0.592 | 0.679 | 0.786 |
| Agglomerative | Yes | 0.592 | 0.679 | 0.786 |
| Spectral | No | 0.607 | 0.686 | 0.818 |
| Spectral | Yes | 0.608 | 0.686 | 0.818 |
| Current K-means | No | 0.672 | 0.741 | 0.846 |
| Current K-means | Yes | 0.675 | 0.743 | 0.850 |
ometry transfers beyond synthetic ground truth.
Instruction generation and adaptive anchors. Tab. 1 compares direct prompting with QuAD-generated instructions using correlation with synthetic ground-truth dissimilarities. In the pairwise setting, Spearman correlation increases from -0.036 to 0.725 for Qwen-max, from 0.599 to 0.830 for GLM, and from 0.331 to 0.726 for DeepSeek-v3. Tab. 2 then removes in-context examples, adaptive updating, novelty filtering, pruning, or LLM-assigned anchor scores (Heuristic Quality) individually. The complete configuration remains among the strongest settings across models and inference regimes, while no single ablated variant consistently dominates. These results support interpreting the components as a combined mechanism for producing stable task-conditioned judgments.
Semantic representation. Tab. 4 replaces task-conditioned LLM judgments with cosine and Euclidean distances from Qwen3-Embed, OpenAI-3-small, and Llama-Embed-8B. Their Spearman correlations range from 0.594 to 0.621 in the pairwise setting and from 0.614 to 0.698 under scalar projection. The corresponding task-conditioned QuAD results range from 0.708 to 0.830 and from 0.719 to 0.827, respectively. The observed differences indicate that the researcher-defined evaluation instruction captures criterion-specific distinctions beyond generic semantic similarity.
Downstream reconstruction. Tab. 6 holds the synthetic data, QuAD dissimilarity matrix, and researcher-specified K fixed while varying the clustering algorithm and ensemble setting. Across K-medoids, agglomerative, spectral, and K-means clustering, ARI ranges from 0.592 to 0.675, NMI from 0.679 to 0.743, and purity from 0.786 to 0.850. The current K-means ensemble is strongest overall
Table 7: Repeated-run and cross-model reliability. Metric entries are mean±SD over three runs.
| Source | Dist. Spear. | GMR | DDR | DC | DP |
|---|---|---|---|---|---|
| qwen-max | 0.80 | 0.839 ± 0.050 | 0.231 ± 0.026 | 0.359 ± 0.032 | 0.898 ± 0.043 |
| deepseek-v3 | 0.94 | 0.956 ± 0.008 | 0.321 ± 0.018 | 0.304 ± 0.019 | 0.968 ± 0.007 |
| Cross-model | 0.87 | - | - | - | - |
Table 8: Measured API usage for pairwise and scalar inference on the food-choice task.
| Metric | Pairwise | Scalar projection | |||
|---|---|---|---|---|---|
| N = 10 | N = 15 | N = 30 | N = 30 | N = 122 | |
| Total tokens | 55,108 | 115,345 | 449,765 | 13,391 | 56,727 |
| Input tokens | 46,781 | 98,231 | 384,725 | 11,088 | 47,707 |
| Output tokens | 8,327 | 17,114 | 65,040 | 2,303 | 9,020 |
| Estimated cost (USD) | $0.0057 | $0.0118 | $0.0453 | $0.0015 | $0.0060 |
Table 9: Correlation across Qwen model tiers.
| Model | Pairwise Spear./Pears. | Scalar Spear./Pears. |
|---|---|---|
| Qwen-turbo | 0.708/0.681 | 0.747/0.775 |
| Qwen-plus | 0.725/0.718 | 0.719/0.741 |
| Qwen-max | 0.725/0.728 | 0.789/0.816 |
(0.675/0.743/0.850), while all alternatives recover comparable ground-truth structure. This check separates the robustness of the extracted dissimilarity signal from the choice of downstream reconstruction algorithm. It holds fixed and therefore does not vary the cluster granularity. On the case-study matrix, the two-dimensional MDS embedding preserves the distances closely (Kruskal stress-1 0.046; Pearson between input and embedded distances), as expected for one-dimensional scalar distances; pairwise matrices can be distorted more.
External validation against human-assigned labels. Tab. 11 evaluates random retrieval, TF-IDF, and QuAD using the 119 food-choice responses with non-unclear human labels. Their label-mismatch AUCs are 0.500, 0.551, and 0.749; top-3 purities are 0.489, 0.650, and 0.742; and top-5 purities are 0.489, 0.619, and 0.694, respectively. The lexical baseline captures partial thematic structure, while QuAD achieves higher observed agreement with the external labels across both pair-level and neighborhood-level measures. Standard association tests on the same QuAD scores are compared with DDR, the group-separation component of the profile, in Appendix B.6.
Together, these comparisons provide stage-specific evidence: generated instructions and adaptive anchors support task-conditioned dissimilarity extraction, generic embeddings provide a weaker criterion-specific signal, reconstruction remains robust across fixed-K clustering choices, and the resulting response geometry transfers to an independently labeled real-world dataset.
A.6 Scalability and Deployment Cost
Question and rationale. Deployment depends on both inference complexity and model cost. We quantify the transition from pairwise judgment, which requires LLM comparisons, to scalar projection, which scores each response once with LLM calls and computes pairwise differences locally.
Protocol. We instrument the Qwen-Flash API on the food-choice task using a 4,968-character instruction and batches of five responses. Token counts are returned by the API. Cost estimates apply 0.40 per million output tokens.
Accounting boundary. Tab. 8 covers dissimilarity-scoring API calls. It excludes instruction generation and refinement, failed requests or retries, and local clustering and metric computation. The values therefore characterize the scoring stage rather than total end-to-end deployment cost.
Results. As shown in Tab. 8, scalar projection reduces the 30-response scoring run from 449,765 to 13,391 tokens and processes all 122 responses with 56,727 tokens at an estimated cost of $0.0060. Across Qwen model tiers (Tab. 9), Qwen-turbo obtains correlations of 0.747/0.775 in the scalar setting, demonstrating compatibility with a smaller model tier. API prices vary over time; the reported values document the measured scoring workload and pricing assumptions.
B Real-World Case Study and External Validation
B.1 Case Study Setup
We study 122 human-written responses to “Describe your eating changes since the moment you got into college” from the Food Choices dataset . Grade level (37 freshmen, 32 sophomores, 26 juniors, and 27 seniors) defines the researcher-selected analytical lens. Pre-existing human-coded labels describe eating habits as getting worse, getting better, staying the same, or unclear and serve as an external criterion. All 122 responses enter the grade–label association; pair and retrieval analyses exclude the three unclear responses and use N = 119. The labels are withheld from instruction refinement, model selection, and QuAD inference and are introduced only for post-hoc validation.
QuAD reports GMR = 0.39, DDR = 0.02, DC = 0.90, and DP = 0.43. These values indicate limited alignment between grade and reconstructed clusters, grade groups that are barely distinguishable, high within-cluster response dispersion, and substantial grade mixing within clusters, respectively. Because N = 122 exceeds , dissimilarities are computed in the scalar regime. The grade-level label distribution in Fig. 6 and the external checks below evaluate the lens-level interpretation.
B.2 Pipeline Walkthrough
This running example follows the stages in Fig. 1.
A. Response Dataset. The input contains the 122 responses and grade-level metadata described above. Grade level is the selected analytical lens.
B. Instruction Generation. The instruction-generation module refines an evaluation instruction for eating-habit-change dissimilarity, focusing comparison on the research question rather than generic lexical similarity.
C. Dissimilarity Extraction. The LLM judge, stabilized by adaptive anchors, estimates task-conditioned differences between responses. For example, late-night snacking and fewer full meals are closer to convenience-driven unhealthy eating than to athlete-related dietary discipline.
D. Distribution Reconstruction. Clustering the response–response dissimilarity matrix produces intrinsic response groups, which are aligned with the grade-level partition.
E. Assessment and Response Mining. The resulting metrics assess the grade-level lens, while representative and unusual responses prioritize typical and deviant cases for subsequent coding.
B.3 External Validation against Human-Coded Labels
Purpose and external criterion. The controlled experiments evaluate QuAD against synthetic ground truth, whereas validation on real qualitative data requires information produced independently of the framework. The Food Choices dataset provides pre-existing human-assigned labels describing each response as getting worse, getting better, staying the same, or unclear. These labels were withheld from instruction refinement, model selection, and QuAD inference and were introduced only after the system outputs had been produced. They therefore provide an external criterion for evaluating whether QuAD's assessment and response geometry correspond to human-coded thematic structure.
Validation logic. We derive three testable predictions from the system outputs. First, QuAD reports weak alignment between grade level and the reconstructed response structure. If this lens-level assessment is meaningful, grade should also show weak association with the independently assigned thematic labels. Second, if QuAD distances capture task-conditioned thematic differences, responses with different human labels should be farther apart than responses sharing the same label. Third, if the resulting response geometry supports coding-oriented triage, nearest-neighbor retrieval should produce more label-consistent neighborhoods than random retrieval and a lexical TF-IDF baseline. These predictions evaluate the dataset-level conclusion, pair-level distances, and retrieval behavior using the same independent criterion. Because the instruction and the labels target the same construct, these checks test criterion validity, i.e., whether the instruction-conditioned measurement tracks the intended construct on real text; they do not test theme discovery. TF-IDF and generic embeddings do not see the criterion, and the direct LLM sees the research question but not the refined rubric. These comparisons therefore show the value of criterion-conditioned scoring over generic similarity; standard tests on the same QuAD scores are reported in Appendix B.6. Operationalization. For the lens-level check, Cramér's V summarizes the association between grade and thematic label over all 122 responses. For the pair-level check, the three un-
https://www.kaggle.com/datasets/borapajo/food-choices clear responses are excluded, leaving pairs; we compare the mean and median distances of same- and different-label pairs, which share responses and are not treated as independent observations. For the retrieval check, label-mismatch AUC treats a different-label pair as the positive class and response distance as the prediction score. Top-k purity measures the macro-averaged proportion of same-label responses among each query's k nearest neighbors, excluding the query itself.
Results and interpretation. All three predicted patterns are observed. Tab. 10 reports the association and pair-level results. Grade and thematic label show weak association ( ), consistent with QuAD's conclusion that grade is a weak analytical lens. Different-label pairs have a mean distance of 30.38, compared with 14.61 for same-label pairs, yielding a gap of 15.77. Tab. 11 reports the retrieval results. QuAD achieves a label-mismatch AUC of 0.749 and top-3/top-5 purities of 0.742/0.694, compared with 0.551 and 0.650/0.619 for TF-IDF and 0.500 and 0.489/0.489 for random retrieval; the Qwen3-Embed and Direct LLM rows and the fine-code AUC are discussed in Appendix B.5. QuAD is highest on both AUCs, whereas Qwen3-Embed has slightly higher neighbour purity, so the advantage of QuAD lies in criterion-specific discrimination rather than in generic neighbourhood structure. Agreement with the fine code is lower (AUC 0.629), as expected when responses with the same score reflect different mechanisms, such as cost or time pressure, which a single scoring axis does not separate. Together, these results show that the instruction-conditioned measurement tracks the intended construct on real text, and that QuAD's lens-level conclusion agrees with the independent labels; they do not show theme discovery beyond the instruction. The independent-evaluator study complements these label-based checks by examining agreement with qualitative judgments and perceived usefulness for subsequent coding.
B.4 Weak versus Strong Lens on the Same Responses
Question and rationale. The case study reports one lens, grade level, which QuAD judges weak. A weak verdict is informative only if the same instrument gives a different reading when the lens is strong. We therefore keep the responses and the QuAD dissimilarity matrix fixed and switch the lens from grade level to eating-habit change, i.e., the dataset's own human code (worse / better / same; N = 119, unclear excluded). By construction, this lens follows the content of the responses, so it serves as a known-strong reference. In the scalar regime the dissimilarity matrix does not depend on the lens, so no additional LLM calls are needed. The four metrics are recomputed with K = C and averaged over 20 reconstruction runs. Because the two lenses also differ in sample size and group count (122/4 vs. 119/3), DDR, which does not depend on the reconstruction, is the most directly comparable metric, whereas DC is normalized by C and is not compared across the two lenses; the graded series below holds N and C fixed.
Results. Switching the lens changes the reading in the expected direction (Tab. 12). The clearest change is in group separability: DDR rises from 0.02, where grade groups are barely distinguishable, to 0.52, where between-group dissimilarity is about twice the within-group dissimilarity. DP rises from 0.43 to 0.75, so the reconstructed clusters move from mixed grades to being dominated by a single eating-change group. DC is lower under eating-habit change (0.72 vs. 0.90), but its normalizer depends on C, which differs between the two lenses, so we do not attribute this difference to the lens. GMR increases moderately, from 0.39 to 0.53. Under grade level, the signals match the second row of Tab. 17 (low GMR/DP/DDR, high DC: revise the lens or code cross-group themes). Under eating-habit change, they match the first row (high GMR/DP/DDR: compare groups and read representative responses first). Both readings agree with the external criterion: grade level is barely associated with the human code (V = 0.130), whereas the eating-change lens is the human code itself. The weak verdict in the case study therefore reflects the lens, not an instrument that reports every lens as weak.
Graded lens informativeness. The eating-habit-change lens is the human code itself, so it is an upper endpoint rather than evidence that QuAD separates informative from uninformative lenses. To cover intermediate cases, we keep this lens but randomly reassign the group labels of a fraction p of responses (20 seeds per p), which lowers the information the lens carries about response content from full (p = 0) to none (p = 1). The dissimilarity matrix is unchanged, so no LLM calls are needed; metrics use the formulas of Sec. 3.2 with K = C. Tab. 13 shows that DDR decreases monotonically from 0.52 to 0.02, the grade-level value, and follows the same course as the Kruskal–Wallis
Table 10: Association and pair-level validation against human-coded labels.
| Analysis | Quantity | Result |
|---|---|---|
| Grade-label association (N = 122) | Cramér's V | 0.130 |
| Same-label pairs (n = 3,433) | Mean / median distance | 14.61 / 10.00 |
| Different-label pairs (n = 3,588) | Mean / median distance | 30.38 / 30.00 |
| Pair-distance contrast | Mean gap | 15.77 |
Table 11: Real-label comparison of response-distance and retrieval baselines (). Fine-code AUC uses the dataset's 13-category theme code (eating_changes_coded1), which is not the scoring criterion of the QuAD instruction. Direct LLM yields a partition rather than a distance, so neighbour purity is undefined; values are means over three shuffled-order runs (AUC SD = 0.077). All entries are descriptive point estimates. The upper block does not see the research question; the lower block does.
| Method | Mismatch AUC | Top-3 pur. | Top-5 pur. | Fine-code AUC |
|---|---|---|---|---|
| Random | 0.500 | 0.489 | 0.489 | 0.500 |
| TF-IDF | 0.551 | 0.650 | 0.619 | 0.555 |
| Qwen3-Embed (cosine) | 0.604 | 0.748 | 0.733 | 0.587 |
| Direct LLM | 0.613 | - | - | 0.602 |
| QuAD | 0.749 | 0.742 | 0.694 | 0.629 |
Table 12: QuAD assessment of the same responses under a weak and a strong analytical lens. Grade-level values are those reported in Sec. 4.2 (all 122 responses). The eating-habit-change lens uses the 119 responses with a non-unclear code, since unclear is not a substantive group. Eating-habit-change values are means over 20 reconstruction runs (SD 0.06 for GMR and DP, 0 for DDR and DC).
| Lens | GMR | DDR | DC | DP | Reading (Tab. 17) |
|---|---|---|---|---|---|
| Grade level | 0.39 | 0.02 | 0.90 | 0.43 | Weak lens; themes cut across groups |
| Eating-habit change | 0.53 | 0.52 | 0.72 | 0.75 | Lens explains response structure |
Table 13: Graded lens informativeness: a fraction of eating-habit-change labels is randomly reassigned (; means over 20 seeds). KW is the Kruskal–Wallis effect size of QuAD scores across the noisy groups.
| p | 0.0 | 0.2 | 0.4 | 0.6 | 0.8 | 1.0 |
|---|---|---|---|---|---|---|
| DDR | 0.52 | 0.39 | 0.28 | 0.13 | 0.07 | 0.02 |
| DP | 0.76 | 0.70 | 0.66 | 0.61 | 0.61 | 0.64 |
| KW | 0.45 | 0.27 | 0.15 | 0.08 | 0.02 | 0.01 |
effect size on the same scores. DP decreases until it reaches the level of the majority-group share (0.63), a descriptive reference rather than an exact chance level; the fully permuted lens (, 0.64) gives the permutation reference for DP, which the unpermuted lens (0.76) exceeds. DC stays constant across , since the clusters and are fixed and DC does not use the lens labels. Because this perturbation changes only the lens-content association, it isolates the lens-dependent readings; QuAD thus tracks how informative a lens is rather than only its two endpoints; eight further metadata lenses are compared with standard tests in Appendix B.6.
B.5 Direct LLM Assessment and Representation Baselines
Question and rationale. A natural alternative to QuAD is to give an LLM the same input and ask for the same output directly. We test whether this end-to-end shortcut matches QuAD's lens verdict, response triage, and response structure.
Protocol. We use nine lenses: the eating-habit-change lens of Appendix B.4 and eight survey variables (grade level, gender, living situation, current diet, self-rated health, sports, cooking frequency, and self-perceived weight; codebook categories, groups with fewer than five responses dropped). Seven of the eight have no significant association with the human code ( ), and current diet has a moderate one (V = 0.25). For each lens, qwen-max (temperature 0, JSON mode) receives the research question and all responses with their IDs and lens groups. It returns (i) a 1–7 lens-usefulness rating and verdict, (ii) three representative and three unusual responses per group, and (iii) a content-only partition of all responses into K = C clusters. Each lens is run three times with a different response or-der (seeds fixed). Outputs failing schema checks are re-requested up to twice; format-only normalisation (e.g., ID lists returned as strings) is applied, and residual errors are counted as misses (38 out-of-group triage IDs and 4 unassigned responses over 26 runs). One of the 27 runs (current diet) failed after retries and is excluded. Response triage is scored with a label-based proxy: a representative pick is a hit if its human code equals the group's majority code, and an unusual pick is a hit if it does not. The QuAD and Qwen3-Embed picks use the lowest and highest within-group mean distances. For all methods, the four non-substantive answers (two “none”, one “Nun”, one “None really”) are excluded from the picks and from the random baseline, as in the mined-response lists (Appendix B.8.3). Partitions are compared with both human codes by ARI/NMI.
Results. Tab. 14 summarizes the comparison. The direct LLM does not provide a reliable pre-analysis signal. (i) Lens verdict. Its ratings stay within a narrow band of 4–5 for every metadata lens. Grade level is rated 5 and labelled “strong” in all three runs, contrary to the external criterion (V = 0.13), and the eating-habit-change lens receives only 6. A one-point gap thus separates the two lenses, for which QuAD reports clearly different joint profiles (Tab. 12). Across the seven metadata lenses without a significant association with the human code, the LLM labels the lens “strong” in 9 of 21 runs. (ii) Response triage. The LLM’s unusual picks reach a proxy hit rate of 0.47 and its representative picks 0.63, the latter below the random level (0.66). QuAD reaches 0.82 and 0.81. Qwen3-Embed matches QuAD on representative picks (0.80) but its unusual picks reach only 0.29. (iii) Response structure. The LLM’s content partitions agree less with the human codes (ARI 0.11/0.08) than QuAD reconstructions (ARI 0.30/0.11), and the pair-level mismatch AUC is 0.613 versus 0.749 (Tab. 11). (iv) Order sensitivity. Reordering the same responses changes most of the LLM’s selections (mean top-3 Jaccard 0.12) and partitions (mean pairwise ARI 0.37). QuAD computes the report from a fixed distance matrix, so presenting the responses in a different order to this stage leaves its picks unchanged; this shows that the reporting stage is deterministic, not that scoring with adaptive anchors is order-invariant. Qwen3-Embed attains higher neighbour purity than QuAD (Tab. 11) but near-zero partition agreement, so generic semantic similarity alone does not recover the criterion-specific structure.
Scope and cost. The direct LLM sees the lens groups, which can bias its lens verdict; the prompt instructs it to ignore groups when clustering. It receives the research question but not the refined case-study rubric, so the comparison contrasts end-to-end judgment with QuAD’s per-response scoring and fixed aggregation rather than isolating a single component. The matched variant with the same final instruction, fixed examples, and per-response scoring is the Fixed Example ablation on the synthetic data (Tab. 2). The proxy triage score uses only the coarse code and is not a substitute for the evaluator study (Appendix B.7). Because QuAD scores follow the same construct as this code, the proxy checks that picks are consistent with the criterion, not that they are worth reading. The 53 direct-LLM calls (including retries) used 256,444 tokens; the Qwen3 embeddings used 1,714 tokens; the strong-lens analysis (Appendix B.4) required no LLM calls.
B.6 Code-then-Test Check of Group Separation
Question and rationale. In the scalar regime, the case-study instruction is a nine-band rubric with 50 meaning no change (Appendix E.3.4), so each QuAD score is already a rubric code. Standard association tests between these scores and lens groups can thus be applied directly. If DDR, the group-separation component of the profile, measures separation as intended, it should agree with these tests on the same scores; we use them as a convergent-validity check of DDR, and Result (iii) shows what the full profile adds beyond a test.
Protocol. We use the case-study QuAD scores , from which . Over the nine lenses of Appendix B.5, we compute between lens and three-way rubric code (< 50 worse, = 50 same, > 50 better), Kruskal–Wallis (KW) and its effect size on the scores, and PERMANOVA (999 permutations) on . DDR is computed on the same matrix with a 500-permutation p-value. All tests are computed locally without LLM calls.
Results. (i) Same verdict at both ends. No test detects a grade effect ( ; DDR ), and all detect the human-code effect ( ; Tab. 15). (ii) Detection versus effect size. KW and PERMANOVA flag current diet ( and 0.023), the metadata lens most associated with the human code ( ), and KW also flags sports, whereas the DDR permutation test does not reach for any metadata lens. A test answers
Table 14: Direct LLM versus QuAD on the eight metadata lenses (means over lenses; LLM values also averaged over three shuffled-order runs). Triage hit rates use the human code as a proxy. Partition agreement is ARI with the coarse / fine human codes.
| Measure | Random | Qwen3-Embed | Direct LLM | QuAD |
|---|---|---|---|---|
| Representative hit rate | 0.66 | 0.80 | 0.63 | 0.81 |
| Unusual hit rate | 0.34 | 0.29 | 0.47 | 0.82 |
| Partition ARI (coarse / fine) | 0.00 / 0.00 | 0.01 / 0.00 | 0.11 / 0.08 | 0.30 / 0.11 |
| Grade level judged “strong” | - | - | 3/3 runs | No (joint profile) |
| Top-3 overlap across reorderings (Jaccard) | - | - | 0.12 | |
| Partition agreement across reorderings (ARI) | - | - | 0.37 | - |
Picks are computed from the fixed distance matrix; repeated-run reliability of the scoring is in Tab. 7; the order of anchor updating is not varied.
Table 15: Convergent-validity check of DDR, the group-separation component of the QuAD profile, against standard tests on the same case-study scores. : association of the lens with the human code (unclear excluded). uses the three-way rubric code; KW is Kruskal–Wallis on scores; PERM is PERMANOVA on . DDR follows Sec. 3.2. Entries are -values unless noted; is in bold.
| Lens | N/C | V* | Standard tests on QuAD scores | DDR (separation) | ||||
|---|---|---|---|---|---|---|---|---|
| KW | PERM | value | p | |||||
| Grade level | 122/4 | 0.11 | 0.755 | 0.271 | 0.01 | 0.519 | 0.02 | 0.381 |
| Gender | 122/2 | 0.10 | 0.932 | 0.297 | 0.00 | 0.537 | 0.04 | 0.112 |
| Living situation | 119/3 | 0.17 | 0.701 | 0.706 | 0.00 | 0.781 | 0.00 | 1.000 |
| Current diet | 119/3 | 0.25 | 0.214 | 0.031 | 0.04 | 0.023 | 0.03 | 0.164 |
| Self-rated health | 122/3 | 0.20 | 0.181 | 0.080 | 0.03 | 0.056 | 0.03 | 0.100 |
| Does sports | 120/2 | 0.19 | 0.255 | 0.024 | 0.03 | 0.053 | 0.03 | 0.168 |
| Cooking frequency | 119/5 | 0.16 | 0.720 | 0.056 | 0.05 | 0.089 | 0.02 | 0.325 |
| Self-perceived weight | 121/6 | 0.13 | 0.876 | 0.802 | 0.00 | 0.861 | 0.01 | 0.343 |
| Eating-habit change (human code) | 119/3 | 1.00 | <0.001 | <0.001 | 0.45 | 0.001 | 0.52 | 0.002 |
whether group scores differ detectably; DDR, like , is an effect size that states how much of the dissimilarity structure the lens explains. On both effect sizes these two lenses are small (, DDR = 0.03), against 0.45 and 0.52 for the human code, so their group differences are detectable but explain little of the response structure. We therefore read DDR as an effect size reported alongside the test rather than as a competing test. (iii) What the profile adds beyond a test. A test returns one lens-level decision; for grade level, no detectable effect (). A non-significant test is consistent both with homogeneous responses and with varied responses organized along another axis, and it does not indicate a next step. The profile on the same responses separates these cases (Tab. 12): high DC (0.90) shows that the responses are not homogeneous, while low DP (0.43), GMR (0.39), and DDR (0.02) show that the clusters mix grades and do not follow the grade groups. This joint reading points to themes that cut across grades and corresponds to the second row of Tab. 17 (revise the lens or code cross-group themes; read unusual responses first), whereas the human-code profile corresponds to the first row (compare groups; read representative responses first). Thus GMR and DDR grade how far the lens explains response structure rather than only whether groups differ, and DP and DC describe group mixing and remaining within-cluster variation, which a lens-level test does not address. In the controlled distribution-shift experiment, the four metrics also respond in different patterns to different structural changes (Fig. 5). In the scalar regime, standard tests can be reported alongside the profile; in the pairwise regime no single score exists, so only distance-based tests such as PERMANOVA on D remain applicable. (iv) Response mining in the scalar regime. Because the mean within-group distance is smallest at the group median, ranking responses by their distance to the group median score reproduces 23 of the 24 grade-level picks, confirming that the mining rule behaves as intended; this shortcut does not exist in the pairwise regime, where no single score is available.

Figure 6: Behavior changes across different grade levels.
B.7 Independent Evaluator Validation
Question and rationale. We conducted this study to examine whether independent qualitative judgments align with the case-study report and whether the report offers useful starting points for subsequent coding.
Participants. We recruited three evaluators through a social media advertisement; most had backgrounds in human–computer interaction or human-centered research. All evaluators provided informed consent before participating and received USD 10 as compensation. Names were used only to resume sessions and arrange compensation, and were replaced by anonymous identifiers (E1–E3) in all analyses.
Step 1: blinded familiarization. Evaluators received the research question and all 122 raw responses grouped by grade; the QuAD report and thematic labels remained hidden. For each grade, the responses were displayed in full by default, and evaluators confirmed having viewed them before proceeding. This step also contained response-level typical/unusual judgments and a lens-helpfulness rating. In post-study debriefing, evaluators reported that the purpose of these judgments was unclear to them; we therefore treat Step 1 as familiarization with the data and do not analyze its judgments. This decision was made after data collection.
Step 2: report assessment. After completing Step 1, evaluators inspected the QuAD report, comprising the four metrics, their interpretation, and the surfaced responses. They rated three statements on seven-point agreement scales (1 = strongly disagree; 7 = strongly agree): correctness (the report's conclusion about grade level is consistent with their own reading of the responses), interpretability (the metrics and their explanations are easy to understand), and usefulness for subsequent coding (the surfaced representative and unusual responses would help them start coding the data), followed by an optional comment. We report individual values and the median and range for each rating. With three evaluators, the evidence is interpreted as face validity; population-level inference requires a larger sample. The study has no comparison condition, so it does not test whether the report improves coding relative to reading the responses alone. The report shown to evaluators listed one non-substantive answer (C32, “none”) among the sophomore unusual responses; Appendix B.8.3 excludes such answers.
Table 16: Step-2 report ratings by the three evaluators (seven-point agreement scales; higher is better).
| Statement | E1 | E2 | E3 | Median | Range |
|---|---|---|---|---|---|
| Correctness | 4 | 6 | 7 | 6 | 4–7 |
| Interpretability | 6 | 7 | 6 | 6 | 6–7 |
| Usefulness for coding | 6 | 7 | 6 | 6 | 6–7 |
Results. Tab. 16 reports the Step-2 ratings. No rating fell below the scale midpoint, and eight of the nine ratings were 6 or 7. Interpretability and usefulness for subsequent coding both reached a median of 6 (range 6–7), indicating that evaluators found the metrics and explanations understandable and the surfaced representative and unusual responses useful as starting points for coding. Correctness also reached a median of 6 but varied more (range 4–7): two evaluators agreed that the conclusion that grade level is a weak lens matched their own reading, whereas E1 was neutral. No evaluator left an optional comment. These results provide face-validity evidence that analysts find the QuAD report understandable and useful for starting subsequent coding; they do not establish effects on final coding outcomes, nor that the unusual responses yield new insights, which would require independent judgments of their analytical value.
1 2 3 4 5 6 7 8 9 10 11
B.8 Case Study Materials
B.8.1 Question and Response Examples
The following excerpts illustrate the raw qualitative inputs and response variation summarized by QuAD
Question
Describe your eating changes since the moment
→ you got into college
Answers example
... "sometimes choosing to eat fast food instead of → cooking simply for convenience." "Accepting cheap and premade/store bought foods." "I have eaten generally the same foods but I do → find myself eating the same food → frequently due to what I have found I → like from egan and the laker." "I started eating a lot less and healthier → because I wasn't playing sports year → round anymore." "Freshmen year i ate very unhealthy, but now it → is much healthier because of self → control."
B.8.2 Grade-Level Label Distribution
Fig. 6 shows that the four thematic labels have similar proportions across grade levels, providing the distributional context for the weak association reported in Tab. 10.
B.8.3 Mined Responses (Top-3)
Representative and Unusual Responses (Top-3)
Representative responses capture recurring eating-change patterns, while unusual responses surface less common trajectories within each grade for targeted inspection. Non-substantive answers that give no description of eating habits (“none”, “Nun”, “None really”) are excluded from the lists, and the next-ranked response is shown.
Freshman
• Representative:
– C73: I eat a lot less and more junk food.
– C17: More Water
– C94: I eat alot of carbs and eat much more frequently
• Unusual:
– C97: I’ve eaten more fruits and vegetables. Started eating seafood.
– C13: I have been eating a lot more salads and soups.
– C91: i eat healthier all around
Sophomore
• Representative:
– C88: less healthy because of less options, money and time.
– C109: Late night snacking
– C66: I snack more, having fewer full meals
• Unusual:
– C85: Huge changes have occurred. I eat far healthier, less processed food, less dense carbohydrates and way more vegetables and fruits.
– C118: I eat more vegetable. Since coming to college, I started to eat salads and tried to eat salads at least three times a week.
– C46: I eat smaller portions more often
Junior
• Representative:
– C72: I tend to snack more and have smaller meals.
– C71: I don’t eat as often
– C15: I knew I would eat alot my freshmen year, before coming to college i had a diet plan.
• Unusual:
– C44: Now I prepare my own meals, pack my lunch every day and avoid eating out to save money as much as possible.
– C90: I have been eating healthier especially vegetables and proteinous food
– C93: I have increased the amounts of vegetables I eat due to the unhealthy options in our dining halls
Senior
• Representative:
– C77: I eat less healthy breakfast now, usually just grab something quick like a granola bar.
– C45: I haven’t changed much. If anything, I have become more disciplined.
– C121: I have noticed there is less time for a prepared meal, so quick and easy has become the norm.
• Unusual:
-
C113: I had to change a lot. I keep track of calories and cut out most breads and wraps.
-
C57: I have begun to eat more fruits and vegetables because I have been more aware of my physique.
-
C63: As an athlete it is important to fuel my body with important foods only.
C Supporting Iterative Qualitative Data Analysis
Many qualitative-data-analysis workflows interleave data collection and analysis. Researchers often begin familiarization and preliminary coding on a pilot subset, then refine the research question, sampling strategy, codebook, or analytical lens as patterns emerge. New data may prompt further revisions to the study scope or earlier interpretations, with contextual and theoretical judgment guiding these decisions throughout the process (Glaser and Strauss, 2017; Campbell et al., 2013; Ames et al., 2024; Naeem et al., 2024).
QuAD can support this iterative workflow as a repeatable diagnostic checkpoint. On a pilot corpus, researchers can use the pairwise regime to assess a proposed analytical lens and identify central or unusual responses for close reading. They can then combine these signals with preliminary coding to revise the evaluation instruction, analytical lens, sampling plan, or study scope. As responses accumulate, the same assessment can be repeated to examine how the dataset structure changes; the scalar-projection regime supports this process when the corpus becomes larger.
At each checkpoint, the four metrics are read together as one profile, from lens-level relations to within-cluster variation. GMR summarizes alignment between the selected lens and reconstructed response clusters; DDR summarizes how well the analytical groups separate responses; DC characterizes within-cluster dispersion; and DP characterizes analytical-group mixing within clusters. A separate response-mining ranking identifies central and unusual cases. Researchers can use these signals to continue with the current lens, investigate cross-group themes, inspect outliers, or revise the next round of data collection and analysis. Tab. 17 maps typical signal combinations to these next steps; the food-choice case study corresponds to the second row. These mappings are reading guides for close inspection rather than automatic decision rules.
Table 17: Reading the joint QuAD profile at an analysis checkpoint.
| Signals | Reading | Next step |
|---|---|---|
| High GMR, DP, DDR | The lens explains response structure | Compare groups; read representative responses first |
| Low GMR, DP, DDR; high DC | The lens weakly explains structure; themes cut across groups | Revise the lens or code cross-group themes; read unusual responses first |
| High GMR, high DC | Groups are recovered with wide internal spread | Code sub-themes within groups |
Current evidence supports using QuAD for analytical-lens assessment and response triage at iterative pre-analysis checkpoints. The independent-evaluator study further examined whether analysts judge the report's lens-level conclusion consistent with their own reading and find the report useful for subsequent coding. Establishing effects on final codes, themes, and interpretations requires a controlled comparison of QDA workflows with and without QuAD assistance. Operational scaling and cost measurements are reported separately in Appendix A.6. Limitations and ethical considerations are stated after the Conclusion.
D Experimental Materials
D.1 User Study Protocol and Materials
This appendix provides additional details supporting the controlled user study reported in Sec. 4.1.1. We include (i) the within-subject scheduling used for counterbalancing, (ii) statistical comparisons for the usability questionnaire dimensions shown in Fig. 4, and (iii) the UI screens and (iv) questionnaires used to collect NASA-TLX and usability ratings.
D.1.1 Within-Subject User Study Schedule
Table 18 documents the counterbalancing plan to mitigate ordering effects in the within-subject design described in Sec. 4.1.1.
D.1.2 Statistical Significance of User Study Results
Table 19 provides the per-item statistical comparison corresponding to the usability results summarized in Fig. 4 (main paper).
Table 18: Overview of User Study Schedule. We recruited 20 postgraduate students (11M/9F, aged 21-31) from diverse domains. Participants self-rated their domain experience (, ) and familiarity with instruction generation (, ) on a 5-point Likert scale. The system implements the adaptation phase of Sec. 3.1.2. The baseline condition utilized the same UI but deactivated the agent-assisted features, requiring users to compose instructions manually. Participants were tasked with generating instructions for dissimilarity extraction for two distinct questions, using both ours and the baseline. Each session was scheduled for one hour, including about 45 minutes of tasks, and was compensated with 8 USD. Participants agreed to share their data for this research.
| ID | Group | Participant ID | Method Order | Task 1 | Task 2 | Time |
|---|---|---|---|---|---|---|
| 1 | Finance | Participant 1.1 | A → B | Q1 (Method A) | Q2 (Method B) | 1h |
| 2 | Finance | Participant 1.2 | A → B | Q2 (Method A) | Q3 (Method B) | 1h |
| 3 | Finance | Participant 1.3 | A → B | Q3 (Method A) | Q1 (Method B) | 1h |
| 4 | Finance | Participant 1.4 | B → A | Q4 (Method B) | Q5 (Method A) | 1h |
| 5 | Finance | Participant 1.5 | B → A | Q5 (Method B) | Q4 (Method A) | 1h |
| 6 | HCI | Participant 2.1 | A → B | Q6 (Method A) | Q7 (Method B) | 1h |
| 7 | HCI | Participant 2.2 | A → B | Q7 (Method A) | Q8 (Method B) | 1h |
| 8 | HCI | Participant 2.3 | A → B | Q8 (Method A) | Q9 (Method B) | 1h |
| 9 | HCI | Participant 2.4 | B → A | Q6 (Method B) | Q10 (Method A) | 1h |
| 10 | HCI | Participant 2.5 | B → A | Q10 (Method B) | Q9 (Method A) | 1h |
| 11 | Crowdsourcing | Participant 3.1 | A → B | Q11 (Method A) | Q12 (Method B) | 1h |
| 12 | Crowdsourcing | Participant 3.2 | A → B | Q12 (Method A) | Q11 (Method B) | 1h |
| 13 | Crowdsourcing | Participant 3.3 | B → A | Q13 (Method B) | Q14 (Method A) | 1h |
| 14 | Crowdsourcing | Participant 3.4 | B → A | Q14 (Method B) | Q15 (Method A) | 1h |
| 15 | Crowdsourcing | Participant 3.5 | B → A | Q15 (Method B) | Q13 (Method A) | 1h |
| 16 | Medical | Participant 4.1 | A → B | Q18 (Method A) | Q17 (Method B) | 1h |
| 17 | Medical | Participant 4.2 | A → B | Q17 (Method A) | Q18 (Method B) | 1h |
| 18 | Medical | Participant 4.3 | B → A | Q16 (Method B) | Q19 (Method A) | 1h |
| 19 | Medical | Participant 4.4 | B → A | Q19 (Method B) | Q20 (Method A) | 1h |
| 20 | Medical | Participant 4.5 | B → A | Q20 (Method B) | Q16 (Method A) | 1h |
Table 19: Statistical Comparison Between Baseline and QuAD
| Dimension | Baseline Mean | Ours Mean | Mean Difference | t-statistic | p-value | Significant |
|---|---|---|---|---|---|---|
| 1 | 3.30 | 6.35 | 3.05 | 6.45 | <0.00001 | Yes |
| 2 | 3.35 | 5.85 | 2.50 | 6.69 | <0.00001 | Yes |
| 3 | 3.00 | 6.10 | 3.10 | 5.66 | 0.00002 | Yes |
| 4 | 2.95 | 6.45 | 3.50 | 8.46 | <0.00001 | Yes |
| 5 | 2.85 | 6.35 | 3.50 | 8.74 | <0.00001 | Yes |
| 6 | 2.90 | 6.00 | 3.10 | 8.24 | <0.00001 | Yes |
| 7 | 3.30 | 6.25 | 2.95 | 7.90 | <0.00001 | Yes |
| 8 | 3.05 | 5.70 | 2.65 | 5.98 | 0.00001 | Yes |
| 9 | 3.75 | 6.25 | 2.50 | 5.35 | 0.00004 | Yes |
| 10 | 3.30 | 6.30 | 3.00 | 7.55 | <0.00001 | Yes |
D.1.3 Prompt Generation System Interface Overview
The UI is not intended as a full qualitative-analysis workbench and is not the central contribution evaluated by the user study. Its goal is narrower: to provide a controlled interface through which participants generate or refine task-specific dissimilarity evaluation instructions for the Stage 2 human-in-the-loop adaptation described in Sec. 3.1.2. Both experimental conditions use the same overall UI layout. The baseline condition disables agent-assisted features and requires participants to write or refine prompts manually, while our condition provides an auto-generated initial prompt and agent-assisted refinement. This design reduces the risk that the user-study results are driven by UI layout differences
Table 20: Participant Demographic Information. Ratings are on a 1–5 Likert scale. We report Prompt Familiarity / ChatGPT Usage / System Willingness as P/C/S.
| P ID | G | Age | Edu | Field | Prof. | Exp. | P/C/S |
|---|---|---|---|---|---|---|---|
| 1.1 | 1 | 23 | 2 | Finance Data Analysis | 4 | 3 | 4/4/4 |
| 1.2 | 1 | 24 | 3 | Economics | 4 | 7 | 3/4/4 |
| 1.3 | 1 | 23 | 1 | Finance | 3 | 4 | 2/4/5 |
| 1.4 | 2 | 22 | 2 | Finance | 5 | 2 | 5/5/5 |
| 1.5 | 2 | 23 | 2 | Finance | 4 | 4 | 3/4/5 |
| 2.1 | 1 | 21 | 1 | Computer Science, HCI & VIS | 4 | 3 | 5/5/4 |
| 2.2 | 1 | 26 | 3 | HCI | 4 | 3 | 2/4/4 |
| 2.3 | 2 | 21 | 2 | HCI | 3 | 3 | 3/5/5 |
| 2.4 | 2 | 24 | 3 | HCI | 4 | 4 | 4/3/4 |
| 2.5 | 1 | 31 | 3 | VIS/HCI | 5 | 5 | 4/4/5 |
| 4.1 | 2 | 26 | 3 | Medical AI | 4 | 5 | 5/5/4 |
| 4.2 | 2 | 23 | 3 | Medicine—Neurobiology | 3 | 5 | 2/4/4 |
| 4.3 | 2 | 22 | 1 | Medicine | 2 | 5 | 1/2/5 |
| 4.4 | 1 | 23 | 1 | Dentistry | 3 | 5 | 2/2/4 |
| 4.5 | 2 | 26 | 1 | Thoracic Surgery | 3 | 5 | 2/2/4 |
| 3.1 | 1 | 23 | 3 | LLM SFT | 3 | 1.25 | 4/5/5 |
| 3.2 | 1 | 21 | 1 | LLM SFT | 3 | 2 | 3/4/5 |
| 3.3 | 1 | 25 | 2 | LLM, 3D Printing | 4 | 2 | 4/5/5 |
| 3.4 | 1 | 25 | 2 | 3D Printing | 4 | 2 | 4/4/5 |
| 3.5 | 1 | 21 | 1 | AI4Machine | 4 | 3 | 4/4/5 |
rather than instruction-generation assistance. The following UI screenshots correspond to the “baseline” and “ours” conditions described in Sec. 4.1.1, illustrating what participants interacted with when generating/refining evaluation instructions.
System Overview of the Baseline. The baseline system consists of two primary stages: question selection (Fig. 7) and prompt modification.
After selecting a question, users proceed to the prompt modification stage (Fig. 8).
System Overview of Our System. Our proposed system integrates similar functionalities as the baseline but enhances the workflow with automated features. It is designed to handle both large-scale and small-scale use cases. For demonstration purposes, we focus on the small-scale scenario used in the user study.
Question selection mirrors the baseline (Fig. 9). In contrast to the baseline system, our system provides an auto-generated initial prompt and dissimilarity extraction results upon entry (Fig. 10).
D.1.4 Participant Demographics
Table 20 reports participant background variables referenced in Sec. 4.1.1 (domain experience and familiarity ratings).

Figure 7: In the first stage, users select a question for which they want to generate a prompt. This serves as the entry point into the system.

Figure 8: In the second stage, users manually input a prompt into the Prompt Zone and click Modify to initiate the dissimilarity extraction process. The system displays three illustrative cases in the Data Zone, alongside the current prompt. Users may refine the prompt iteratively until satisfied, at which point they click Done to save the final result.
D.1.5 NASA-TLX and System Usability Questionnaire
NASA-TLX and System Usability Questionnaire
This questionnaire is designed to collect your subjective feedback following the experimental tasks. The results will be used solely for evaluating the rationale of the experimental design and the system's real-world performance. All data will be anonymized; by completing this questionnaire, you consent to the collection and analysis of your experience.
Participant Information
-
Experiment ID:
-
Which phase are you in?
• ○ Phase 1
• ○ Phase 2
NASA Task Load Index (NASA_TLX). This section applies the NASA Task Load Index (NASA_TLX) (Hart and Staveland, 1988) to evaluate perceived workload. We collect the standard NASA-TLX dimensions for completeness; how-

Figure 9: Upon entering the system, users select a question for which they wish to generate a prompt. This step mirrors the baseline system’s question selection process.

Figure 10: Upon accessing the system, users are presented with an auto-generated initial prompt and dissimilarity extraction results in the Data Zone. Users can provide modifications in the Prompt Zone, triggering the system to automatically adjust the prompt. Once users are satisfied, they can click the Done button to save the final result. Alternatively, they can directly edit the prompt in the Prompt Zone for manual adjustments.
ever, physical demand is not central to our substantive claim for this prompt-generation task, and our interpretation focuses primarily on mental demand, temporal demand, effort, and frustration. For each dimension below, please rate on a scale of 1 (low) to 20 (high):
- Mental Demand: How mentally demanding was the task?
(Lower scores indicate less mental demand)
- Physical Demand: How physically demanding was the task?
(Lower scores indicate less physical demand)
- Temporal Demand: How hurried or rushed was the pace of the task?
(Lower scores indicate less time pressure)
- Performance: How satisfied are you with your performance in the task?
(Lower scores indicate lower satisfaction)
- Effort: How hard did you have to work to accomplish your level of performance?
(Lower scores indicate less effort)
- Frustration: How insecure, discouraged, irritated, stressed, or annoyed did you feel? (Lower scores indicate less frustration)
Pairwise Comparison. For each pair below, please select the factor that had a greater impact on you during the task:
-
○ Mental Demand ○ Physical Demand
-
○ Mental Demand ○ Temporal Demand
-
○ Mental Demand ○ Effort
-
○ Mental Demand ○ Performance
-
○ Mental Demand ○ Frustration
-
○ Physical Demand ○ Temporal Demand
-
○ Physical Demand ○ Effort
-
○ Physical Demand ○ Performance
-
○ Physical Demand ○ Frustration
-
○ Temporal Demand ○ Effort
-
○ Temporal Demand ○ Performance
-
○ Temporal Demand ○ Frustration
-
○ Effort ○ Performance
-
○ Effort ○ Frustration
-
○ Performance ○ Frustration
System Usability Assessment. Please rate your experience with the system using the following statements. Use a 7-point Likert scale, where 1 indicates Very Dissatisfied and 7 indicates Very Satisfied:
- How satisfied are you with the time and effort required to generate an initial prompt?
○ 1 (Very Dissatisfied) ○ 2 ○
3 ○ 4 ○ 5 ○ 6 ○ 7 (Very Satisfied)
- How satisfied are you with the ease of modifying or refining the prompt based on the generated results?
○ 1 (Very Dissatisfied) ○ 2 ○ 3
○ 4 ○ 5 ○ 6 ○ 7 (Very Satisfied)
- How satisfied are you with your ability to focus on the desired outcome, rather than on the technical details of prompt engineering?
○ 1 (Very Dissatisfied) ○ 2 ○
3 ○ 4 ○ 5 ○ 6 ○ 7 (Very Satisfied)
- How satisfied are you with the level of prompt engineering expertise the system required you to have to achieve your goals?
○ 1 (Very Dissatisfied) ○ 2 ○ 3
○ 4 ○ 5 ○ 6 ○ 7 (Very Satisfied)
- How satisfied are you with the overall efficiency of the process, from your initial idea to the final prompt?
○ 1 (Very Dissatisfied) ○ 2 ○ 3
○ 4 ○ 5 ○ 6 ○ 7 (Very Satisfied)
- To what extent did the system make you feel confident during the prompt generation process?
○ 1 (Very Dissatisfied) ○ 2 ○
3 ○ 4 ○ 5 ○ 6 ○ 7 (Very Satisfied)
- To what extent are you satisfied with the quality of the final prompt generated through this process?
○ 1 (Very Dissatisfied) ○ 2 ○ 3
○ 4 ○ 5 ○ 6 ○ 7 (Very Satisfied)
- How satisfied are you with the system's effectiveness in helping you complete your task and inspiring new ideas?
○ 1 (Very Dissatisfied) ○ 2 ○ 3
○ 4 ○ 5 ○ 6 ○ 7 (Very Satisfied)
- How satisfied are you with the ease of learning and using the system?
○ 1 (Very Dissatisfied) ○ 2 ○ 3
○ 4 ○ 5 ○ 6 ○ 7 (Very Satisfied)
- How satisfied are you with the prospect of using this method again for similar tasks in the future?
○ 1 (Very Dissatisfied) ○ 2 ○
3 ○ 4 ○ 5 ○ 6 ○ 7 (Very Satisfied)
Open-ended Feedback. If you have any additional comments or suggestions, please provide them below:
D.2 Synthetic Data Generation
The controllable generation system in Sec. D.2.1 produces experimental datasets with known ground-truth attributes. We instantiate it in Finance, Post-operative Medicine, HCI, and Additive Manufacturing (crowdsourced SFT data collection); the corresponding questionnaires are provided below.
D.2.1 Controllable Synthetic Data Generation System
We generate synthetic data with precise ground-truth attributes using a modular, four-stage pipeline of LLM-based agents.
Community Definition. Given a questionnaire Q, an Architect Agent defines k evaluation dimensions D and m user communities C (e.g., “expert”, “novice”). For each community , it generates a qualitative profile describing its background and behaviors.
Quantitative Score Generation. For each synthetic user in a community , we generate a ground-truth score vector . Each score for dimension is sampled from a specified distribution (e.g., ), where the parameters are defined per community to control attribute levels and diversity.
Persona Instantiation. A Persona Agent creates a narrative persona conditioned on the community profile and score vector . The persona's background (e.g., education, career) is generated to be consistent with the assigned scores: .
Response Simulation. An Interviewee Agent simulates the user's responses to the questionnaire . The generation is conditioned on the persona and score vector , ensuring the responses reflect the ground-truth scores. The score vector is prioritized to ensure quantitative control: .
For our experiments (Sec. 4.1), we applied this system to generate response sets for four questionnaires (HCI, Finance, Additive Manufacturing, and Post-operative Medicine) with quantitatively controlled attribute distributions. All generation agents use “qwen-max-latest” by default.
D.2.2 Questionnaires
We provide the Semi-structured questionnaire in different domains here, which are used for dataset generation in the controlled experiment.
Finance Questionnaire.
Finance Questionnaire
Questionnaire Name: Finance Questions:
- Questions related to banking services
• Financial behavior: How often do you engage in banking services? What types of services do you typically use at the bank?
• Financial literacy: What risks do you think are associated with keeping money in the bank?
- Concerns about financial status
• Financial behavior: Are you concerned about your financial status (e.g., frequently checking your bank account and income/expenditure status)?
• Financial attitude: How important do you think it is to monitor your financial status and why?
- Questions related to financial education
• Financial literacy: What activities in your daily life do you think are related to finance?
• Financial attitude: Do you think financial education in schools is important?
- Questions about saving habits
• Financial behavior: Do you have good saving habits?
• Financial literacy: Do you know what methods or channels are available for saving money?
• Financial attitude: How important do you think saving money is?
- Perception of investment risks
• Financial literacy: What do you think about the statement “high-yield investments come with high risks?” Generally, how does the risk of investment change when investors diversify their investments across different categories?
• Financial behavior: Do you pay attention to major financial news, such as stock market fluctuations? If you participate in investments, would you take actions to diversify your investments across different categories?
Medical Questionnaire
Medical Questionnaire
Questionnaire Name: Analysis of Health Post-Treatment with New Bone Medication Questions:
- Questions about new or unexpected health changes
• Symptom discovery: Thinking back to the time after your bone started feeling better, what was the very first new or unexpected health change you noticed that was not related to your original injury? Please describe what it was and what it felt like.
• Symptom inventory: Besides that first change, what other new health concerns have you experienced since taking the new medication? Please list them and briefly describe each one (e.g., skin rashes, constant tiredness, digestive issues, headaches, mood changes).
- Questions about the timing and patterns of your new condition
• Timing and onset: For the main new health issue you mentioned, can you pinpoint when it started in relation to when you were taking the new medicine? (e.g., “It started a week after I began the medication,” or “It didn’t show up until a month after I finished the full course”).
• Pattern and triggers: Have you noticed any patterns to this new condition? For example, is it constant, or does it come and go? Is there anything that seems to make it better or worse (like certain foods, activities, stress, or time of day)?
- Questions about the impact of the new condition on your life
• Impact comparison: Think about the challenges of the original broken bone versus the challenges of this new health condition. Which one has had a bigger impact on your day-to-day life, and why?
• Life adjustments: What is one specific activity or part of your daily routine that you’ve had to change or give up, not because of your bone, but because of this new health condition?
- Questions about your own thoughts and actions regarding the new condition
• Personal hypothesis: Before this questionnaire, had you already made a connection in your own mind between the new medicine and your new health condition? What made you suspect (or not suspect) a link?
• Communication with doctors: Have you discussed this new health issue with a doctor before? If so, what was that conversation like? If not, what has held you back from bringing it up?
- Questions about your overall perspective on the treatment
• Future decision-making: How has this experience changed how you will approach taking a new or experimental medication in the future? What questions would you ask your doctor now that you might not have asked before?
• Defining successful treatment: This medicine successfully healed your bone, but may have caused other issues. How does this experience change your personal definition of a “successful” medical treatment?
Human-Computer Interaction Questionnaire
Human-Computer Interaction Questionnaire
Questionnaire Name: Human-Computer Interaction (HCI)
Questions:
- AI System Interaction Experience Questions
• AI Response Expectations: Does the AI system’s response meet your expectations?
• AI Understanding Accuracy: Do you feel that the AI understands your needs accurately when using the AI system?
• Desired AI Features: What features would you like the AI system to add to enhance user experience?
- Input Device Usage Experience Questions
• User Preferences: Does the current input device meet your operating habits?
• Usability Challenges: Have you encountered any inconveniences while using the input device?
• Design Improvements: What improvements would you like to see in the design of the input device?
- Haptic Feedback Technology Experience Questions
• Haptic Impact on Experience: Does haptic feedback have a significant impact on your experience in virtual reality?
• Realism of Haptics: Do you feel that the current haptic feedback technology is realistic enough?
• Haptic Technology Improvements: In what areas would you like to see improvements in haptic feedback technology?
- Adaptive Interface Functionality Questions
• Adaptive Interface Responsiveness: Does the adaptive interface of the system effectively respond to your changing needs?
• Adaptive Interface Issues: Have you encountered any issues during the adaptive process?
• Desired Features in Adaptive Interfaces: What features would you like to see added to enhance the adaptability of the interface?
- Multimodal Interaction Experience Questions
• Efficiency of Multimodal Interaction: Has multimodal interaction improved your interaction efficiency with the system?
• Multimodal Integration Issues: Have you encountered any issues with poor integration while using multimodal interaction?
• Multimodal Interaction Improvements: In what areas would you like to see further improvements in the multimodal interaction experience?
Crowdsourcing for SFT Collection Questionnaire.
Crowdsourcing for SFT Collection Questionnaire
Questionnaire Name: 3D Printing and Additive Manufacturing
Questions:
- Questions about what 3D printing is
• Simple Explanation: If you had to explain 3D printing to a child, what would you say? How is it different from just printing a picture on a piece of paper?
• Core Advantage: Think about making something by starting with a block of material and carving parts away, versus 3D printing, which builds something up from nothing. What do you feel is the biggest advantage of building things up layer by layer?
- Questions about the 'stuff' used in 3D printers
• Everyday Materials: If you could 3D print an object for your kitchen, like a custom spoon or a container, what qualities would the material need to have? (e.g., should it be flexible, strong, heat-resistant, etc.). Describe your ideal material in simple terms.
• User-Friendly Ideas: 3D printers can sometimes be tricky to use. If you were asked to design a 3D printer for a complete beginner, what is one feature you would add to make it super easy and fun to use, even if you make a mistake?
- Questions about how 3D printing is used in the real world
• Community Problem Solving: Imagine your local community was given a powerful 3D printer. What is one local problem (related to parks, schools, or helping neighbors) that you think could be solved by printing something new?
• Factory vs Home: Do you think we will ever 3D print everything we need at home, or will we always need big factories? Explain your thoughts on what factories will always be better at making.
- Questions about designing things for 3D printing
• Future of Design: 3D printing can create very complex, web-like, or hollow shapes that are both lightweight and strong. How might this change the look and feel of everyday items, like furniture, shoes, or bicycles, in the future?
• Smart Design Analogy: Some software can cleverly redesign a solid part, removing all the inside material that isn’t needed for strength, kind of like how nature designs a tree or a bone. What everyday example would you use to explain this idea of making things “smartly hollow” to someone?
- Questions about the future of 3D printing for society
• Optimist or Skeptic: Thinking about the future, are you more excited or more worried about everyone having access to 3D printers? Briefly explain what makes you feel that way.
• Rules and Safety: If anyone can print anything, what is one important rule you think society or governments should consider? Think about safety, fairness, or new kinds of problems that could arise.
D.3 Synthetic Data Example on Finance
In this section, we provide some data examples generated by the Controllable Synthetic Data Generation System for reference. These examples correspond to the four-stage pipeline described in Sec. D.2.1 (Community Definition → Persona/Candidate Instantiation → Response Simulation), and are provided to clarify what the synthetic inputs/outputs look like in practice.
D.3.1 Community Example
The following JSON snippet illustrates the Community Definition output (Sec. D.2.1). It specifies a community name and a natural-language profile that constrains the subsequent persona/candidate generation.
Community Example (JSON) — used in Sec. D.2.1
{ ... { "name": "medium_financial_practitioner", "description": "These individuals are aged← 22-45, with undergraduate degrees in ← business, economics, or related fields. ← Occupations range from small business ← owners to mid-level corporate ← employees. They have moderate ← exposure to financial practices, including ← basic banking services, occasional ← investments, and some savings habits. ← While they grasp fundamental financial ← concepts, their knowledge lacks depth in ← complex areas like risk diversification ← or high-yield strategies. Behaviorally, ← they check finances periodically but may ← not consistently monitor them. They ← value financial education but prioritize ← immediate needs over long-term ← planning. For instance, a marketing ← manager who saves occasionally and ← invests in low-risk mutual funds typifies ← this group. Problem-solving approaches ← are practical but less strategic.\n", }, ... }
D.3.2 Candidate Example
The next snippet is a Persona/Candidate Instantiation example (Sec. D.2.1). Each candidate is associated with ground-truth scores for the evaluation dimensions, which are later used as labels for controlled evaluation in Sec. 4.1.
Candidate Example (JSON) — ground-truth scores for controlled experiments
{ ... { "id": "C1", "community": "high_financial_expert", "assigned_scores": { "financial_attitude": 90, } } }
"financial literacy": 80, "financial behavior": 81 }, "description": "Candidate 1 is a seasoned← → Investment Portfolio Manager with over← → 15 years of experience managing high← → net-worth client accounts at an elite ← → private wealth management firm. ← → Holding both an MBA in Finance and a ← → CFA charter, she has developed a robust ← → understanding of financial markets and ← → excels in constructing diversified ← → portfolios that maximize returns while ← → mitigating risks. Her financial attitude ← → score of 90 reflects her disciplined ← → approach to wealth accumulation and ← → risk management, always prioritizing ← → long-term stability over short-term ← → gains. Despite scoring slightly lower in ← → financial literacy (80) and financial ← → behavior (81), she remains highly ← → knowledgeable, though some gaps exist ← → in advanced derivatives trading. She ← → regularly attends investment seminars ← → and subscribes to financial journals to ← → stay updated on emerging trends. ← → Outside work, she enjoys mentoring ← → young women entering finance and ← → participating in triathlons.", "scores": { "financial attitude": 90, "financial literacy": 80, "financial behavior": 81 }, "demographics": { "age": 42, "gender": "Female", "location": "New York City, USA", "education": "MBA in Finance, CFA ← → Charterholder" }, "professional_background": { "field": "Investment Management", "occupation": "Senior Investment ← → Portfolio Manager", "years_experience": 15, "current_position": "Managing Director← → ", "company_type": "Private Wealth ← → Management Firm",
"career_progression": "Started as an ← → equity research analyst, then transitioned← → into portfolio management roles, ← → steadily climbing the ranks to become a ← → senior manager." }, "personal_interests": [ "Mentoring young professionals", "Participating in endurance sports", "Reading financial literature" ], "domain_experience": { "years_in_domain": 15, "specialization": "Wealth Management ← → and Asset Allocation", "key_achievements": [ "Increased managed assets under her ← → division by 35% in three years", "Developed proprietary portfolio ← → optimization model", "Published articles in top finance ← → magazines" ], "learning_sources": [ "CFA curriculum", "Financial Times", "Annual investment conferences" ] }, ... { "id": "C6", "community": "low_financial_novice", "assigned_scores": { "financial attitude": 31, "financial literacy": 30, "financial behavior": 28 }, "description": "Sophia, 25, works as a ← → receptionist at a small law firm. Recently← → , she began taking online courses in ← → marketing, hoping to pivot careers soon. ← → Financially cautious by nature, Sophia ← → tries to stick to a monthly budget but ← → finds sticking to it difficult due to ← → fluctuating utility bills and occasional ← → indulgences. She has accumulated some ← → savings but worries whether it will ← → suffice for future educational ←
,→ investments. Understanding loans and ←- ,→ interest rates confuses her, making big ←- ,→ financial decisions stressful.", "scores": { "financial attitude": 31, "financial literacy": 30, "financial behavior": 28 }, "demographics": { "age": 25, "gender": "Female", "location": "Salt Lake City, Utah", "education": "Associate degree" }, "professional_background": { "field": "Administrative Support", "occupation": "Receptionist", "years_experience": 4, "current_position": "Office Assistant", "company_type": "Law Firm", "career_progression": "Promoted from ←- ,→ temp role to permanent staff member ←- ,→ after demonstrating reliability." }, "personal_interests": [ "Interior decorating", "Cooking healthy meals", "Practicing yoga" ], "domain_experience": { "years_in_domain": 4, "specialization": "Budget creation", "key_achievements": [ "Reduced dining−out expenses by half←- ,→ " ], "learning_sources": [ "Online courses", "Advice from older colleagues" ] } }, ... } D.3.3 Response Example This snippet shows the Response Simulation output (Sec. D.2.1), i.e., free-text answers conditioned on the candidate persona and the pre-assigned scores. These responses are the actual inputs to QuAD for dissimilarity extraction (Sec. 3.1) and the controlled evaluations in Sec. 4.1. Response Example (JSON) — qualitative responses used by QuAD { ... { "community": "high_financial_expert", "candidate_id": "C1", "candidate_demographics": { "age": 42, "gender": "Female", "location": "New York City, USA", "education": "MBA in Finance, CFA ←- ,→ Charterholder" }, "candidate_professional_background": { "field": "Investment Management", "occupation": "Senior Investment ←- ,→ Portfolio Manager", "years_experience": 15, "current_position": "Managing Director"←- ,→ , "company_type": "Private Wealth ←- ,→ Management Firm", "career_progression": "Started as an ←- ,→ equity research analyst, then transitioned←- ,→ into portfolio management roles, ←- ,→ steadily climbing the ranks to become a ←- ,→ senior manager." }, "candidate_personal_interests": [ "Mentoring young professionals", "Participating in endurance sports", "Reading financial literature" ], "candidate_domain_experience": { "years_in_domain": 15, "specialization": "Wealth Management ←- ,→ and Asset Allocation", "key_achievements": [ "Increased managed assets under her ←- ,→ division by 35% in three years", "Developed proprietary portfolio ←- ,→ optimization model", "Published articles in top finance ←- ,→ magazines" ], "learning_sources": [
"CFA curriculum", "Financial Times", "Annual investment conferences" ] }, "question_id": "Q1", "main_question": "Questions related to ← → banking services", "answers": [ { "dimension": "financial behavior", "question": "How often do you engage ← → in banking services? What types of ← → services do you typically use at the bank ← →?", "response": "As a Senior Investment Portfolio ← → Manager with over 15 years of ← → experience in wealth management, I ← → engage with banking services quite ← → regularly, but the frequency and type of ← → services I use are largely driven by both ← → personal needs and professional ← → obligations. My interactions tend to be ← → more strategic than transactional because ← → my financial behavior leans toward ← → optimizing long-term outcomes rather ← → than handling day-to-day banking tasks ← → . ... To summarize, I probably interact ← → with banking services weekly for basic ← → functions and monthly for more ← → sophisticated ones. The mix reflects my ← → dual focus on maintaining operational ← → efficiency while pursuing strategic ← → opportunities that enhance value creation ← → -not just for myself but also for the high ← → -net-worth clients I serve.", "dimension_score": 81 }, { "dimension": "financial literacy", "question": "What risks do you think ← → are associated with keeping money in the ← → bank?", "response": "Well, as someone who's spent over ← → 15 years managing wealth for high-net-← → worth clients, I can say that keeping ←
→ money in the bank does come with its ← → own set of risks—though they might not ← → be as obvious as some of the more ← → volatile investments. From my ← → perspective, there are three key risks to ← → consider: inflation risk, opportunity cost, ← → and credit risk.
First, inflation risk is a big one. ← → When you leave money sitting in a ← → savings or checking account, especially ← → in today's low-interest-rate environment ← → , the returns you get often don't keep up ← → with inflation. Over time, this erodes ← → your purchasing power. For instance, if ← → your bank is offering 0.5% interest on ← → savings but inflation is running at 3%, ← → you're effectively losing ground. This is ← → something I always emphasize with my ← → clients when we talk about long-term ← → wealth preservation—it's not just about ← → protecting capital, it's about making sure ← → it grows in real terms.
Second, there's the opportunity ← → cost of not putting that money to work ← → in other assets. As an investment ← → professional with expertise in asset ← → allocation, I know there are many ways ← → to generate better returns while still ← → maintaining a reasonable level of risk. ← → Whether it's through diversified ← → portfolios of equities, bonds, or even ← → alternative investments like real estate or ← → private equity, the potential for higher ← → returns exists outside traditional banking ← → products. Of course, these options come ← → with their own risks, but the trade-off is ← → worth considering depending on your ← → financial goals and time horizon.
Finally, there's credit risk, ← → which refers to the possibility that the ← → bank itself could run into trouble. Now, ← → in most developed markets like the U.S., ← → deposit insurance programs such as ← → FDIC coverage protect consumers up to ← → certain limits (currently $250,000 per ← → account). But if you have significantly ← → more than that parked in a single ←
→ institution, you need to think carefully ←
→ about diversifying across banks or using ←
→ other structures, like trusts or custodial ←
→ accounts, to mitigate this risk. It's a point ←
→ I've discussed with clients who prefer to ←
→ hold large cash balances—they ←
→ sometimes underestimate how exposed ←
→ they could be without proper planning.
That said, I also recognize the value ←
→ of liquidity and safety that banks provide ←
→ , particularly for short-term needs or ←
→ emergency funds. In my own practice, I ←
→ advise clients to strike a balance-←
→ keeping enough in liquid, low-risk ←
→ accounts to cover near-term obligations ←
→ while deploying the rest into growth-←
→ oriented strategies. After all, wealth ←
→ management isn't about chasing returns ←
→ blindly; it's about aligning your ←
→ resources with your objectives in a ←
→ disciplined way.
...
So, to sum it up, while banks offer ←
→ security and convenience, the risks of ←
→ inflation, missed opportunities, and ←
→ institutional vulnerability should never ←
→ be ignored. These are principles I've ←
→ both studied extensively—through my ←
→ MBA and CFA training—and applied ←
→ practically in managing portfolios over ←
→ the years.",
"dimension_score": 80
},
",
"combined_answer":
"As a Senior Investment Portfolio ←
→ Manager with over 15 years of ←
→ experience in wealth management, I ←
→ engage with banking services regularly, ←
→ though my interactions are often more ←
→ strategic than transactional. On a ←
→ personal level, I use digital banking ←
→ platforms for routine tasks like bill ←
→ payments, fund transfers, and ←
→ monitoring account balances—tools that ←
→ align with my disciplined approach to ←
→ efficiency. Professionally, however, my ←
→ reliance on banking services becomes ←
→ much more nuanced. For example, I ←
→ frequently work with relationship ←
→ managers at high-end banks to facilitate ←
→ wire transfers for international ←
→ investments, structure credit facilities, or ←
→ manage liquidity solutions that support ←
→ portfolio strategies. Custodial banking ←
→ services are also critical in my day-to-←
→ day operations, as they handle trade ←
→ settlements, dividend collection, tax ←
→ reporting, and performance ←
→ measurement for client accounts. Over ←
→ time, I've developed a preference for ←
→ banks that offer robust technological ←
→ integrations and real-time data analytics ←
→ capabilities because these features allow ←
→ me to monitor risk exposures and make ←
→ informed decisions quickly. That said, ←
→ there are still areas where I notice gaps, ←
→ such as advanced treasury solutions or ←
→ tailored FX hedging products, which I ←
→ occasionally encounter but don't yet feel ←
→ fully equipped to navigate. While I stay ←
→ updated on emerging trends through ←
→ investment conferences and financial ←
→ journals, some innovations, like ←
→ blockchain-based banking tools, haven't ←
→ translated into direct application for me ←
→ yet.
At the same time, I'm acutely aware of ←
→ the risks associated with keeping money ←
→ in the bank, particularly when it comes ←
→ to inflation, opportunity cost, and credit ←
→ risk. Inflation is a big concern—it's ←
→ something I emphasize with clients ←
→ when discussing long-term wealth ←
→ preservation. If your returns from a ←
→ savings account don't outpace inflation, ←
→ you're effectively losing purchasing ←
→ power over time. Then there's the ←
→ opportunity cost of not deploying that ←
→ capital into growth-oriented assets, ←
→ whether it's equities, bonds, or ←
→ alternatives like real estate. Of course, ←
→ these options come with their own risks, ←
→ but balancing safety with growth is key. ←
→ Finally, there's credit risk—the possibility ←
→ that the bank itself could face instability ←
→ . While programs like FDIC insurance ←
→ provide a layer of protection, I always ← → advise clients with significant cash ← → holdings to diversify across institutions ← → or explore other structures to mitigate ← → this risk. Banks offer undeniable value in ← → terms of liquidity and security, ← → especially for short-term needs, but they ← → 're not without their limitations. Striking ← → the right balance between safety and ← → growth is something I prioritize both ← → personally and professionally, even if it ← → means acknowledging that no solution is ← → entirely without trade-offs.", "scores": { "financial attitude": 90, "financial literacy": 80, "financial behavior": 81 } }, ... { "community": "low_financial_novice", "candidate_id": "C8", "candidate_demographics": { "age": 23, "gender": "Female", "location": "Denver, Colorado", "education": "High school diploma" }, "candidate_professional_background": { "field": "Gig Economy", "occupation": "Delivery Driver", "years_experience": 2, "current_position": "Contractor", "company_type": "Food Delivery ← Platform", "career_progression": "Initially drove ← fewer hours per week; increased ← workload as demand grew." }, "candidate_personal_interests": [ "Trying new foods", "Travel vlogs", "Photography" ], "candidate_domain_experience": { "years_in_domain": 2, "specialization": "Using mobile ← budgeting apps", "key_achievements": [
"Consistently saved $100/month for ← → three consecutive months" ], "learning_sources": [ "Peer recommendations", "Mobile app tutorials" ] }, "question_id": "Q1", "main_question": "Questions related to ← → banking services", "answers": [ { "dimension": "financial behavior", "question": "How often do you engage ← } in banking services? What types of ← services do you typically use at the bank← ?", "response": "I don't really go to the bank all that ← often, to be honest. I know they offer ← services like checking accounts and ← savings accounts—I've got both—but from← what I understand, most of what I need ← can be handled through their app. That's ← something I've been using more since it's← easier for me with my schedule. I think ← you can deposit checks through the app ← too, which is helpful because I'm always ← on the move delivering food.
...
I guess if I had more time, I'd try to ← → learn more about other services, but right← → now, I'm still figuring out the essentials.← → My shifts keep me pretty busy, so I stick← → to what I know and what's quick to ← → manage online.", "dimension_score": 35 }, { "dimension": "financial literacy", "question": "What risks do you think ← are associated with keeping money in the← bank?", "response": "I think there are some risks with ← keeping money in the bank, but I don't ← know too much about it. From what I ←
→ understand, one risk might be that if the ←
→ bank has problems or goes out of ←
→ business, you could lose your money-←
→ but I've heard something about insurance←
→ that's supposed to protect it? I'm not ←
→ really sure how that works, though.
...
Overall, I know these things exist, ←
→ but I don't feel super confident ←
→ explaining them. I've been using ←
→ budgeting apps to track my money, and ←
→ they help me focus on saving small ←
→ amounts each month instead of worrying←
→ too much about bigger risks like this.",
"dimension_score": 30
}
],
"combined_answer":
"I don't really go to the bank all that ←
→ often, to be honest. Most of what I need ←
→ can be handled through their app, which ←
→ is super helpful for me since my delivery←
→ shifts keep me so busy. I've got a ←
→ checking account and a savings account, ←
→ and I use them mostly for the basics-←
→ checking my balance, transferring ←
→ money between accounts when I ←
→ remember to save a little each month, ←
→ stuff like that. I know banks offer other ←
→ services, like loans or credit cards, and I'←
→ ve thought about trying to understand ←
→ credit better because I want to eventually←
→ move out of my shared apartment and ←
→ maybe even start saving up for a car. But←
→ for now, I stick to what I know and ←
→ what's quick to manage online.
...
Overall, I know these risks exist, but I ←
→ don't feel super confident explaining ←
→ them. I've been experimenting with ←
→ budgeting apps to track my money, and ←
→ they help me focus on saving small ←
→ amounts each month instead of stressing ←
→ too much about bigger risks. For now, I'←
→ m still figuring out the essentials, and ←
→ while I'd love to learn more, my ←
→ schedule doesn't leave much room for ←
→ diving deeper into financial strategies.",
"scores": {
"financial attitude": 26,
"financial literacy": 30,
"financial behavior": 35
}
},
...
}
E Background and Reproducibility Materials
E.1 Extended Background
Traditional Qualitative Analysis and Data Quality. Qualitative responses from semi-structured questions are commonly analyzed through interpretive procedures such as familiarization with the corpus, open coding, codebook construction, theme grouping, interpretation, and validation (Denzin and Lincoln, 2011; Glaser and Strauss, 2017; Campbell et al., 2013). Quality and rigor are often discussed through notions such as richness, thickness, data saturation, and reliability or agreement among coders (Ames et al., 2024; Naeem et al., 2024; Johnson et al., 2020). These traditions emphasize contextual interpretation and theory building, rather than automatically deciding whether a collected response set supports a particular demographic or user-defined analysis axis.
Computational Support for Qualitative Data. Computational methods have long been used to summarize or structure qualitative text, but early NLP approaches often struggle to preserve the semantic nuance needed for qualitative interpretation (Manning and Schutze, 1999; Cambria and White, 2014; Chang et al., 2009). Recent LLM-based work shows promise for qualitative coding and text assessment, including automatic coding assistance and reference-free text quality evaluation (Parfenova et al., 2024; Barros et al., 2025; Dunivin, 2024; Liu et al., 2024; Chen et al., 2023b). However, much of this work focuses on individual responses or on producing codes, leaving a gap for dataset-level pre-analysis signals that help researchers decide whether a selected analytical lens is promising before committing to full manual coding.
QuAD's Position. QuAD complements rather than replaces traditional qualitative analysis. Before coding, it quantitatively assesses whether a response set supports a researcher-selected analytical lens, that is, whether the intrinsic response structure aligns with, diverges from, or is orthogonal to that lens; it also prioritizes responses for close reading. Its four metrics are not adopted wholesale from social-science coding practice but adapt ideas from distribution alignment and cluster structure to this pre-analysis setting. Two simpler alternatives are examined on the case study. A direct end-to-end LLM assessment, which asks the model for the verdict and triage at once, does not reproduce QuAD's lens verdict and is sensitive to response order (Appendix B.5). A code-then-test workflow first codes responses and then tests the association between codes and metadata. In the scalar regime, QuAD's instruction is itself a one-dimensional codebook, and standard tests on the same scores agree with DDR, the group-separation component of the profile (Appendix B.6). Such tests answer whether groups differ; the profile additionally grades how far the lens explains response structure, describes group mixing and within-cluster variation, and also applies to the pairwise regime, where no single score exists.
LLM-based Automated Evaluation. Our dissimilarity extraction module builds on the “LLM-as-a-Judge” paradigm, where LLMs serve as scalable proxies for human judgments (Zheng et al., 2023; Kim et al., 2023; Zhu et al., 2023). This paradigm remains sensitive to position and verbosity biases, prompt wording, and scoring drift (Ye et al., 2024; Li et al., 2024; Wang et al., 2023; Shi et al., 2024; Saito et al., 2023; Lee et al., 2025; Zhou et al., 2024; Schroeder and Wood-Doughty, 2024). QuAD addresses these limitations for qualitative response assessment through interactive instruction generation and adaptive anchors, which make dissimilarity judgments more domain-aware and more consistent across many LLM calls.
E.2 Detailed Algorithms for QuAD Framework
This appendix provides a consolidated, implementation-oriented view of the algorithms behind QuAD. Specifically, Algorithm 1 corresponds to the end-to-end workflow summarized in Fig. 1 and Sec. 3.2; Algorithm 2 expands the instruction refinement procedure in Sec. 3.1.2; and Algorithm 3 details the anchor maintenance process in Sec. 3.1.3.
E.2.1 Overall QuAD Framework
Algorithm 1 instantiates the full pipeline used in our experiments (Sec. 4), from instruction generation, to dissimilarity extraction, to distribution reconstruction and metric computation.
Algorithm 1: QuAD: Data-Distribution-Driven Assessment Framework
1: Input: Response Dataset D, Analytical-Lens Metadata I, Mapping Function f. 2: Output: Joint assessment profile (GMR, DDR, DP, DC) and Key Responses (Patterns, Insights).
Phase 1: Dissimilarity Extraction 3: Generate a task-adapted instruction using Iterative Instruction Generation (Algorithm 2). 4: Compute the dissimilarity matrix D using and Adaptive Anchor Manifold Maintenance (Algorithm 3).
Phase 2: Distribution Comparison 5: Define the external analytical distribution P from metadata using the researcher-defined mapping . 6: Define cluster distribution : embed D in two dimensions with metric MDS and cluster the embedding with a K-means ensemble to obtain cluster labels . 7: Align to y using bipartite matching on Intersection over Union (IoU).
Phase 3: Assessment and Mining 8: Compute the confusion matrix M from y and aligned . 9: Calculate the following metrics: 10: GMR (General Match Ratio): Measures global alignment between P and . 11: DDR (Data Distinguishability Ratio): Evaluates how well the analytical groups separate responses (cross-group versus within-group dissimilarity). 12: DP (Data Purity): Assesses homogeneity within emergent clusters. 13: DC (Data Coverage): Measures the conceptual dispersion within clusters; high DC indicates high diversity. 14: Perform response mining: 15: Insights: Identify outliers (responses with the highest average dissimilarity ). 16: Patterns: Detect archetypes (responses with the lowest average dissimilarity ). 17: return the joint profile and Key Responses.
E.2.2 Iterative Instruction Generation
Algorithm 2 operationalizes the two-stage refinement described in Sec. 3.1.2, and clarifies what constitutes “feedback” (corrected scores + critique) used as a pseudo-gradient.
Algorithm 2: Iterative Instruction Generation
1: Input: Instruction seed, Dataset D, Context Cxt. 2: Output: Optimized instruction .
Stage 1: Automated Discovery 3: Initialize: None as initial prompt; use Oracle , Updater , and Evaluator (also ). 4: repeat 5: Sample response pairs . 6: provides feedback (e.g., a corrected score and natural language critique). 7: Update . 8: Oracle scores the updated instruction . 9: until Evaluator score reaches a high threshold (e.g., >0.9). 10: Human user selects the best instruction from the automated results.
Stage 2: Human-in-the-Loop Adaptation 11: Initialize: ; use Oracle (human expert). 12: repeat 13: Present results generated by to . 14: provides feedback . Stop if no feedback is given. 15: Update . 16: until Human expert is satisfied with the instruction's performance. 17: return Optimized Instruction .
E.2.3 Adaptive Anchor Manifold Maintenance
Algorithm 3 corresponds to Sec. 3.1.3. It highlights where anchors enter the LLM calls to reduce scoring drift, and how novelty/redundancy is used to keep the anchor set compact.
Algorithm 3: Adaptive Anchor Manifold Maintenance
1: Input: Dataset , Optimized Instruction , Maximum anchors , Threshold size . 2: Output: Dissimilarity matrix .
Initialization 3: Initialize anchor manifold . 4: Initialize dissimilarity matrix as an zero matrix. 5: if then 6: Initialize an array of size to store scalar scores. 7: end if
Unified Computation and Maintenance Cycle 8: for each response do 9: % - Core Computation Step - 10: if (Small Dataset) then 11: for each response where (batched per call) do 12: % LLM call uses anchor manifold as context for consistency 13: Compute with in the first position. 14: . 15: end for 16: else (Large Dataset) 17: % LLM call also uses as context to ensure consistent scoring 18: Compute scalar score . 19: end if 20: % - Anchor Manifold Update Step - 21: if then 22: ; continue. 23: end if 24: Compute Diversity Contribution Score . 25: Find anchor in with the lowest DCS. 26: if then 27: Add to the anchor manifold: . 28: Sort (e.g., by score or avg. dissimilarity). 29: if then 30: Compute Redundancy Index with for each . 31: Remove the anchor with the highest from . 32: end if 33: end if 34: end for
Finalize Dissimilarity Matrix 35: if (Small Dataset) then 36: Symmetrize over both presentation orders: . 37: end if 38: if (Large Dataset) then 39: for to , to do 40: . 41: end for 42: end if 43: return Dissimilarity matrix .
E.3 Prompt Templates
We list all the prompts involved in QuAD in this section.
E.3.1 Automated Instruction Discovery
This section provides examples of prompts and results for automated instruction discovery, focusing on a small-scale case as an example.
Initial-Round Prompt Generator. System Prompt:
System Prompt
"You are an expert prompt engineer ↔
→ specializing in creating universal text ↔
→ similarity/difference calculation prompts ↔
→ . Your goal is to create completely ↔
→ generic prompts that can work for any ↔
→ evaluation criteria without specifying ↔
→ them."
User Prompt:
User Prompt
f""Create a completely universal prompt for↔
→ calculating text differences between two↔
→ text responses across ANY evaluation ↔
→ dimensions.
Requirements:
- Domain Agnostic: The prompt ↔
→ should work for ANY domain (e.g., ↔
→ finance, healthcare, technology, ↔
→ education) without mentioning specific ↔
→ domains.
- Condition Agnostic: The prompt ↔
→ should work for ANY evaluation criteria ↔
→ without specifying what those criteria ↔
→ are.
- Flexible Multi-dimensional Support:
→ Support evaluation across ANY number
→ of different conditions/dimensions that
→ will be provided separately.
- Quantitative Framework: Provide
→ numerical difference scores (0–100 scale
→ ) for each condition.
- Universal Methodology: Establish
→ clear criteria for scoring differences that
→ applies to any type of evaluation.
The prompt should:
– Accept two text responses as input.
– Accept any list of evaluation dimensions/↔
↔ conditions as input (e.g., {↔
↔ conditions_placeholder}).
– Evaluate differences across those ↔
↔ dimensions independently (whatever ↔
↔ they may be).
– Provide numerical scores (0–100) where 0↔
↔ means identical and 100 means ↔
↔ completely different.
– Include brief explanations for each score.
– Work for ANY type of text content and ↔
↔ ANY type of evaluation criteria.
– NOT mention or assume any specific ↔
↔ domains, topics, or evaluation criteria.
Create a completely generic framework that ↔
↔ can be applied to ANY text difference ↔
↔ calculation task across ANY evaluation ↔
↔ dimensions. The prompt should be ↔
↔ universal enough to work whether ↔
↔ evaluating academic papers, customer ↔
↔ reviews, medical reports, financial ↔
↔ documents, or any other text types ↔
↔ across any conceivable evaluation ↔
↔ criteria.
Do NOT include any specific evaluation ↔
↔ dimensions, domain examples, or ↔
↔ condition descriptions in the prompt ↔
↔ itself. Use only generic placeholders like ↔
↔ "condition_1", "condition_2", etc., if ↔
↔ you need to reference multiple ↔
↔ evaluation dimensions.""
Sequential-Round Prompt Generator. System Prompt:
System Prompt
"You are an expert prompt engineer ↔
↔ specializing in optimizing difference ↔
↔ calculation prompts based on user ↔
↔ feedback."
User Prompt:
User Prompt
f""----
You are tasked with modifying an initial prompt based on specific user feedback.
OBJECTIVE:
Refine the original prompt according to the user's explicit instructions, making only the minimal necessary changes to address the feedback.
REQUIREMENTS:
-
Focus solely on the issues explicitly mentioned in the user feedback.
-
Make the smallest possible adjustments needed to align with user instructions.
-
Preserve all other aspects of the original prompt that are not directly addressed in the feedback.
-
If user-suggested modifications are provided, treat them as in-context examples for adjustment.
-
Ensure the modified prompt remains clear , functional, and domain-agnostic.
ORIGINAL PROMPT:
{original_prompt}
USER FEEDBACK:
{user_feedback}
Please provide the optimized prompt directly . Do not alter anything beyond what is requested by the user.
Only return the optimized prompt content, no additional explanation or formatting .""
Oracle Instruction. System Prompt:
System Prompt
"You are an extremely strict and demanding expert evaluator specializing in universal text similarity/difference calculation prompts. Your standards are exceptionally high, and you are very critical of any flaws or limitations in prompt design. Be harsh but constructive in your evaluations."
User Prompt:
User Prompt
f""
You are an EXTREMELY STRICT
evaluator of universal text difference
calculation prompts. Your standards are
exceptionally high and you must be very
critical of any flaws or limitations.
CURRENT PROMPT TO CRITIQUE:
{prompt}
CALCULATION RESULTS SAMPLE:
{results_summary}
ITERATION: {iteration_count}
EXCEPTIONALLY HIGH
EVALUATION CRITERIA:
-
PERFECT Universality: Does this prompt work flawlessly across ALL domains without ANY domain-specific assumptions?
-
CRYSTAL CLEAR Instructions: Are the difference calculation instructions absolutely unambiguous and foolproof?
-
**BULLETPROOF Scoring Framework
**: Is the 0–100 scoring system
perfectly consistent and well-defined?
- **FLAWLESS Multi-dimensional
Support**: Can it handle multiple
evaluation conditions with perfect
independence?
- EXCEPTIONAL Result Quality: Do
the sample results demonstrate
outstanding difference calculation
→ accuracy?
- ABSOLUTE Generalizability: Is it ←
→ completely free from ANY domain←
→ specific or condition-specific bias?
- PROFESSIONAL Quality: Does the ←
→ prompt meet publication-quality ←
→ standards for academic or commercial ←
→ use?
VERY STRICT SATISFACTION ←
→ REQUIREMENTS:
– Score 0.9+ AND meets ALL universality ←
→ criteria with NO exceptions -> ←
→ SATISFIED
– Score below 0.9 OR has ANY significant ←
→ flaw -> NOT SATISFIED
BE EXTREMELY CRITICAL OF:
– Any trace of domain-specific terminology←
→ or assumptions.
– Any condition-specific examples or ←
→ references.
– Ambiguous or unclear instructions.
– Inconsistent scoring guidelines.
– Poor result quality or unreasonable scores.
– Lack of methodological rigor.
– Any limitation in universal applicability.
– Insufficient detail in the evaluation ←
→ framework.
– Weak or missing guidance for edge cases.
YOUR ROLE:
Act as the harshest but fairest critic. Find ←
→ every flaw, question every assumption, ←
→ and demand perfection. Only accept ←
→ truly exceptional prompts that could be ←
→ used in professional settings without ←
→ modification.
Evaluate this prompt with MAXIMUM ←
→ scrutiny and provide brutally honest but ←
→ constructive feedback.
""
LLM-Based Evaluator. System Prompt:
System Prompt
"You are following the user's instructions ←
→ exactly as provided."
User Prompt:
User Prompt
f""
INSTRUCTIONS (from Agent1):
{agent1_prompt}
TEXT PAIR TO ANALYZE:
Text Response 1 (Community: {←
→ community1}):
{response1_text}
Text Response 2 (Community: {←
→ community2}):
{response2_text}
CONDITIONS TO EVALUATE:
{conditions_text}
Please follow the instructions above to ←
→ calculate difference scores between these←
→ two text responses for each condition.
""
Selected Instruction. This instruction was selected for the synthetic proficiency task, whose ground-truth dissimilarity is the gap between latent proficiency scores. It therefore asks the judge to compare the two respondents' levels and report their difference; for criteria without such a latent scale, the same pairwise call compares the two responses directly. The returned difference score is used as . The gap and the banded guide in the instruction are both monotone in the estimated gap, so Spearman correlations do not depend on which one the judge follows, whereas Pearson correlations and distance-based metrics are computed on the scale of the returned score.
Selected Instruction
""
Proficiency-Based Difference Analysis
You are an expert in inferring respondent ←
→ proficiency levels from response content ←
→ and calculating proficiency gaps ←
→ between two respondents.
Task Overview
Your goal is to estimate each respondent's ←
→ proficiency level (0–100) from their ←
→ response content, then calculate the **←
→ proficiency difference** between them ←
→ across each condition/dimension.
Analysis Process
For each condition, follow this process:
- Individual Proficiency Assessment
– Analyze each response to estimate the ←
→ respondent's proficiency level (0–100)
– Look for: technical accuracy, vocabulary ←
→ sophistication, depth of understanding, ←
→ practical experience evidence
– Consider: reasoning complexity, ←
→ structured thinking, domain knowledge ←
→ demonstration
- Proficiency Level Indicators
– Expert (80–100): Technical ←
→ terminology, systematic analysis, deep ←
→ understanding, industry insights, ←
→ complex reasoning
– Advanced (60–79): Solid ←
→ knowledge, structured reasoning, ←
→ relevant examples, appropriate technical ←
→ terms
– Intermediate (40–59): Basic ←
→ understanding, simple examples, limited ←
→ technical vocabulary, general concepts
– Basic (20–39): Surface knowledge, ←
→ everyday language, unclear reasoning, ←
→ limited understanding
– Novice (0–19): Little understanding ←
→, possible misconceptions, very basic ←
→ responses, confused logic
- Calculate Proficiency Gap
– Estimate Respondent A's proficiency ←
→ score for this condition
– Estimate Respondent B's proficiency ←
→ score for this condition
– Calculate the absolute difference: |←
→ Score_A – Score_B|
– This difference becomes your final score ←
→ (0–100)
Proficiency Gap Scoring Guide
| Proficiency Gap | Score | Description | ←
→ Typical Scenarios |
|---|---|---|
| 0–5 points | 0–10 | **Minimal ←
→ difference** | Both at same level (+/-5 ←
→ points) |
| 6–10 points | 11–20 | **Small ←
→ difference** | Slight proficiency gap ←
→ (+/-10 points) |
| 11–15 points | 21–30 | **←
→ Moderate difference** | Noticeable ←
→ competency gap |
| 16–20 points | 31–40 | **←
→ Significant difference** | Clear expertise ←
→ gap |
| 21–30 points | 41–50 | **Large ←
→ difference** | Major competency ←
→ difference |
| 31–40 points | 51–60 | **Very ←
→ large difference** | Substantial expertise ←
→ gap |
| 41–50 points | 61–70 | **←
→ Extreme difference** | Expert vs ←
→ intermediate |
| 51–60 points | 71–80 | **Critical ←
→ difference** | Expert vs basic |
| 61–70 points | 81–90 | **←
→ Maximum difference** | Expert vs ←
→ novice |
| 71+ points | 91–100 | **←
→ Complete difference** | Expert vs ←
→ complete beginner |
Quality Assessment Framework
High Proficiency Signals:
– Uses precise, domain-appropriate ↔
→ terminology correctly
– Demonstrates systematic problem-solving ↔
→ approaches
– Provides specific, contextually relevant ↔
→ examples
– Shows awareness of complexity and ↔
→ limitations
– References advanced concepts or best ↔
→ practices
– Displays structured, logical reasoning
Low Proficiency Signals:
– Uses vague or incorrect terminology
– Shows surface-level understanding only
– Provides generic or inappropriate ↔
→ examples
– Lacks awareness of complexity
– Demonstrates confused or illogical ↔
→ reasoning
– Relies on common sense rather than ↔
→ expertise
Assessment Priority:
– Focus on CONTENT QUALITY over ↔
→ communication style
– Evaluate SUBSTANTIVE KNOWLEDGE ↔
→ rather than confidence
– Consider DEPTH OF ↔
→ UNDERSTANDING over verbosity
– Look for PRACTICAL EXPERIENCE ↔
→ evidence
Output Format
For each condition:
- Respondent A Proficiency: [0–100] ↔
→ with brief justification
- Respondent B Proficiency: [0–100] ↔
→ with brief justification
- Proficiency Gap: [absolute difference ↔
→ between A and B]
- Final Difference Score: [use gap as ↔
→ score, capped at 100]
- Explanation: Key evidence ↔
→ supporting the proficiency assessments
Remember: Base your analysis on ↔
→ demonstrated competency, not ↔
→ communication style or confidence level.
""
E.3.2 Interactive Instruction Generation
This section highlights examples of the prompts used for refining instructions interactively, focusing on a small-scale case as an example.
Initial-Round Prompt Generator. System Prompt:
System Prompt
"You are an expert prompt engineer ↔
→ specializing in semantic difference ↔
→ analysis prompts for evaluating ↔
→ respondent characteristics across various ↔
→ domains."
User Prompt:
User Prompt
f""
Please perform a **limited enhancement and ↔
→ expansion** on the provided base ↔
→ prompt template, with the goal of ↔
→ generating a **domain-sensitive, ↔
→ semantically focused prompt for ↔
→ analyzing response differences**.
Important: Only make minimal ↔
→ modifications and keep all the "### ←
→ Difference Score Ranges (Fine-Grained) ↔
→ "unchanged – focus on **adding new ↔
→ content without altering the original ↔
→ structure or logical flow** of the prompt ↔
→ .
Question Information:
Question: {question_data.get('question', ")}
The evaluation should be conducted across ↔
→ these dimensions/conditions:
{', 'join(conditions)}
Domain Context: " {domain_context} "
Original Base Prompt Template:
{self.base_prompt_template}
Enhancement Requirements:
- **Domain-Oriented Content ←
→ Enhancement**
– Add domain-specific context to the ←
→ original prompt based on the given ←
→ domain (e.g., finance, healthcare, ←
→ technology, education).
– Clarify how knowledge, attitudes, and ←
→ behaviors are typically expressed in this ←
→ domain.
– Emphasize linguistic features or ←
→ response patterns that indicate high vs. ←
→ low proficiency levels within this ←
→ domain.
- **Clarify the Meaning of Each Condition ←
→ **
– For each condition, provide a clear ←
→ explanation: What is being assessed?
– Describe the underlying cognitive, ←
→ behavioral, or psychological mechanism ←
→ behind that dimension.
– Identify typical language or behavior ←
→ patterns respondents may exhibit in this ←
→ condition.
- **Define Semantic Difference Focus per ←
→ Dimension**
– Specify what aspects of meaning should ←
→ be analyzed for semantic differences ←
→ within this question and its conditions.
– Example: In a financial literacy ←
→ dimension, focus on logical reasoning vs ←
→ . intuitive judgment, or the use of ←
→ technical terminology vs. everyday ←
→ language.
– In a health behavior dimension, focus on ←
→ risk awareness, self-management ←
→ capability, or trust in scientific ←
→ information.
– Explain why these differences matter ←
→ and what they reveal about the ←
→ respondent.
- **Ensure Fully Independent Evaluation ←
→ Across Conditions**
– Conduct a complete analysis for each ←
→ condition separately, including profiling, ←
→ comparison, scoring, and justification.
– Avoid cross-condition interference or ←
→ influence in scoring or interpretation.
– Ensure each condition's output is fully ←
→ independent and self-contained.
Optional Example Support:
To help the model better understand the task, ←
→ you may provide example responses ←
→ from two users to assist in generating a ←
→ more targeted analysis framework.
Please follow the above instructions to ←
→ enhance the base prompt with **←
→ minimal structural changes**, focusing ←
→ only on **domain-relevant expansions ←
→ ** and **semantic-difference ←
→ enhancements**.
""
Sequential-Round Prompt Generator. System Prompt:
System Prompt
"You are an expert prompt engineer ←
→ specializing in optimizing difference ←
→ calculation prompts based on user ←
→ feedback."
User Prompt:
User Prompt
f""
You are tasked with modifying an initial ←
→ prompt based on specific user feedback.
OBJECTIVE:
Refine the original prompt according to the
user's explicit instructions, making only
the minimal necessary changes to
address the feedback.
REQUIREMENTS:
- Focus solely on the issues explicitly
→ mentioned in the user feedback.
- Make the smallest possible adjustments
needed to align with user instructions.
- Preserve all other aspects of the original
→ prompt that are not directly addressed in
→ the feedback.
- If user-suggested modifications are
→ provided, treat them as in-context
→ examples for adjustment.
- Ensure the modified prompt remains clear
→ , functional, and domain-agnostic.
ORIGINAL PROMPT:
{original_prompt}
USER FEEDBACK:
{user_feedback}
Please provide the optimized prompt directly
. Do not alter anything beyond what is
requested by the user.
Only return the optimized prompt content,
no additional explanation or formatting.
""
LLM-Based Evaluator. System Prompt:
System Prompt
"You are an expert in analyzing differences between survey respondents. Your task is to evaluate how different two people are based on their responses, focusing on their characteristics, knowledge, and behavioral patterns. You should provide difference scores where higher scores indicate greater differences between respondents."
User Prompt:
User Prompt
f""
USER'S INSTRUCTIONS (PLEASE
→ FOLLOW THE INSTRUCTIONS TO
→ GIVE RESULTS):
{agent1_prompt}
RESPONDENT 1:
{response1.get('combined_answer', ")}
RESPONDENT 2:
{response2.get('combined_answer', ")}
Conditions to evaluate:
{conditions_text}
ATTENTION: Please follow the user's
→ instructions and ensure the output
→ adheres to the specified format provided
→ in the function call.
""
E.3.3 Data Generation
This section provides the prompts used in the data generation system.
Community Definition. System Prompt:
System Prompt
"You are an expert in survey analysis and demographic segmentation.
Analyze the given questionnaire to identify
distinct community types that would
respond differently based on their
knowledge, behavior, and attitudes in the
specific domain.
For each community, provide:
- A descriptive name that reflects their
characteristics
- Score ranges (0–100) for each evaluation
dimension that represent their expected
proficiency levels
Consider the domain context and ensure
communities represent meaningful
diversity in responses."
User Prompt:
User Prompt
f""Analyze this {questionnaire_name} ←
→ questionnaire to identify exactly 3 ←
→ distinct community types who would ←
→ interact with this domain differently.
QUESTIONNAIRE DETAILS:
– Domain: {questionnaire_name}
– Evaluation Dimensions: {', 'join(←
→ dimensions_list}
– Content Overview: {questionnaire_content←
→ }
ANALYSIS REQUIREMENTS:
Please identify exactly 3 communities ←
→ representing high, medium, and low ←
→ proficiency levels in this {←
→ questionnaire_name} domain. For each ←
→ community:
- Name: Use format "←
→ level_domain_descriptor" (e.g., "←
→ high_financial_literacy" or "←
→ expert_healthcare_professionals")
- Description (150+ words): Include:
– Demographics (age range, education ←
→ level, occupation types)
– Domain experience level and exposure ←
→ history
– Behavioral patterns and interaction ←
→ styles
– Attitudes, motivations, and pain points
– Knowledge depth and breadth ←
→ characteristics
– Representative examples of people in ←
→ this community
– How they typically approach problems ←
→ in this field
- Score Ranges:
– For each dimension ({', 'join(←
→ dimensions_list}), assign appropriate ←
→ score ranges (0–100)
– High proficiency community: typically ←
→ 69–100
– Medium proficiency community: ←
→ typically 31–69
– Low proficiency community: typically ←
→ 1–30
DOMAIN-SPECIFIC GUIDANCE:
– For Finance: Consider financial literacy ←
→ levels, risk attitudes, financial behaviors
– For HCI: Consider technical expertise, ←
→ interaction fluency, adaptive technology ←
→ use
– For Manufacturing/3D Printing: Consider ←
→ technical understanding, practical ←
→ experience, creative application
– For medical questionnaires, DO NOT ←
→ create communities based on medical ←
→ knowledge levels or professional ←
→ backgrounds.
Instead, focus on RECOVERY STATUS and ←
→ POST-TREATMENT OUTCOMES:
– Excellent Recovery Community: ←
→ Patients who have recovered well from ←
→ treatment/surgery with minimal ongoing ←
→ symptoms
– Moderate Recovery Community: ←
→ Patients with partial recovery, still ←
→ managing some symptoms
– Poor Recovery Community: Patients ←
→ with slow/incomplete recovery, ←
→ significant ongoing symptoms
The communities should represent different ←
→ healing outcomes and adaptation levels, ←
→ NOT different medical expertise levels.
All patients should have similar baseline ←
→ medical knowledge (typical patient level ←
→ ).
Call the analyze_questionnaire_communities←
→ function with your detailed analysis ←
→ results.
""
Persona Instantiation. System Prompt:
System Prompt
f""You are an expert in creating realistic ←
→ and diverse candidate profiles based on ←
→ detailed community characteristics and ←
→ specific proficiency scores.
Your task is to generate {←
→ candidates_per_community} distinct ←
→ candidate profiles for a given community←
→ in the {domain} domain. Each ←
→ candidate has been pre-assigned specific←
→ proficiency scores that you MUST use ←
→ to guide their background creation.
CORE PRINCIPLES:
- Score-Driven Background Creation: ←
→ Use the provided scores to determine the ←
→ candidate's expertise level and create a ←
→ background that logically explains these ←
→ scores
- Community Authenticity: Ensure ←
→ each candidate authentically reflects the ←
→ community characteristics described
- Occupational Diversity: Generate ←
→ diverse occupations based on the ←
→ community description rather than ←
→ predefined lists
- Individual Coherence: Each ←
→ candidate should have a coherent life ←
→ story where their demographics, ←
→ education, career, and experience ←
→ logically support their proficiency scores
SCORE INTERPRETATION GUIDELINES←
→ :
– 80–100: Expert level – extensive ←
→ education, senior positions, many years ←
→ of experience, specialized training
– 60–79: Advanced level – solid education, ←
→ mid–senior positions, considerable ←
→ experience, some specialization
– 40–59: Intermediate level – moderate ←
→ education, mid–level positions, some ←
→ experience, general knowledge
– 20–39: Basic level – basic education, ←
→ junior positions, limited experience, ←
→ foundational knowledge
– 0–19: Novice level – minimal education/←
→ experience, entry–level or non–←
→ professional roles, very limited exposure
IMPORTANT REQUIREMENTS:
– Create backgrounds that JUSTIFY the ←
→ specific scores provided
– Generate occupations that fit the ←
→ community description, not from ←
→ predefined lists
– Ensure age, education, and experience ←
→ align with the proficiency levels ←
→ indicated by scores
– Make each candidate distinct while ←
→ maintaining community consistency
– Include realistic personal interests that ←
→ complement their professional profile""
User Prompt:
User Prompt
f""Generate {candidates_per_community} ←
→ distinct and realistic candidate profiles ←
→ for the " {community_name}" ←
→ community in the {domain} domain.
COMMUNITY PROFILE:
{community_description}
PRE-ASSIGNED PROFICIENCY ←
→ SCORES:
{scores_info}
DOMAIN: {domain}
EVALUATION DIMENSIONS: {', 'join(←
→ dimensions)}
CRITICAL REQUIREMENTS:
- Score-Based Background Creation:
– Use the assigned scores to determine ←
→ each candidate's expertise level
– Create backgrounds that logically ←
→ EXPLAIN and JUSTIFY these specific ←
→ scores
– Higher scores require more education, ←
→ experience, and specialized knowledge
– Lower scores should reflect limited ←
→ exposure, basic education, or different ←
→ career focuses
- Cross-Dimensional Consistency:
– IMPORTANT: Each candidate should ←
→ maintain consistent proficiency levels ←
→ across ALL dimensions
– If a candidate has high scores (80+) in ↔
→ one dimension, they should have ↔
→ similarly high scores in other dimensions
– The candidate's background, education, ↔
→ and experience should justify their ↔
→ competency across ALL evaluation ↔
→ dimensions
– Avoid creating candidates who are ↔
→ experts in some dimensions but novices ↔
→ in others within the same profile
- Community Authenticity:
– Each candidate MUST reflect the ↔
→ community characteristics described ↔
→ above
– Match the demographic patterns, ↔
→ behavioral traits, and knowledge depths ↔
→ specified
– Embody the attitudes, motivations, and ↔
→ pain points mentioned in the community ↔
→ description
- Occupation Generation:
– Generate occupations based on the ↔
→ community description examples and ↔
→ characteristics
– DO NOT use predefined occupation lists ↔
→ – create realistic jobs that fit the ↔
→ community
– Ensure job complexity and seniority ↔
→ align with the proficiency scores across ↔
→ ALL dimensions
- Individual Coherence:
– Each candidate should have a coherent ↔
→ life story where age, education, career ↔
→ path, and domain exposure logically lead ↔
→ to their assigned scores across ALL ↔
→ dimensions
– Explain HOW they achieved their ↔
→ proficiency levels through their ↔
→ background
– Include realistic career progression and ↔
→ learning experiences that support ↔
→ competency in all areas
- Diversity Within Community:
– While maintaining community ↔
→ consistency and cross-dimensional ↔
→ coherence, create variety in specific ↔
→ backgrounds, locations, career paths, and ↔
→ personal interests
– Ensure each candidate feels like a ↔
→ unique individual within their ↔
→ community type
Please call the ↔
→ generate_community_candidates_batch ↔
→ function with {↔
→ candidates_per_community} complete ↔
→ candidate profiles that authentically ↔
→ represent the " {community_name} " ↔
→ community while having backgrounds ↔
→ that justify their assigned proficiency ↔
→ scores across all dimensions.""
Response Simulation. System Prompt:
System Prompt
f""You are role-playing as the specific ↔
→ candidate described in the profile. You ↔
→ must completely embody their identity, ↔
→ speaking AS them in first person during ↔
→ a {domain} survey interview.
CHARACTER EMBODIMENT ↔
→ INSTRUCTIONS:
- Speak as "I" – you ARE this person with ↔
→ their exact background and personality
- Reference your specific experiences, ↔
→ education, career, and interests naturally
- Use language appropriate to your ↔
→ education level and professional ↔
→ background
- Show personality traits consistent with ↔
→ your career path and personal interests
- Reflect regional/cultural perspectives from ↔
→ your location when relevant
RESPONSE AUTHENTICITY BASED ON ↔
→ EXACT SCORES:
CRITICAL: Your proficiency scores are the ↔
→ ABSOLUTE GROUND TRUTH for ↔
→ your knowledge level and confidence in ↔
→ each dimension.
SCORE-FIRST PRINCIPLE:
– The provided scores may intentionally ↔
→ NOT match your community or ↔
→ background description
– This is part of data simulation where ↔
→ scores are mixed to create realistic ↔
→ variations
– ALWAYS respond based on your ↔
→ ACTUAL SCORES, not your ↔
→ background story or community type
– If your background suggests high ↔
→ expertise but your score is low (or vice ↔
→ versa), follow the SCORE
SCORE-BASED RESPONSE RULES:
– 0–15: "I really don't know much about this↔
→ " / "I'm not familiar with this at all"
– 16–25: "I have very limited knowledge" / ↔
→ "I've heard of this but don't really ↔
→ understand it"
– 26–35: "I know the basics but that's about ↔
→ it" / "I have some understanding but it's ↔
→ pretty limited"
– 36–45: "I have basic knowledge" / "I ↔
→ understand the fundamentals but lack ↔
→ deeper insight"
– 46–55: "I have moderate understanding" / ↔
→ "I'm comfortable with the basics and ↔
→ some intermediate concepts"
– 56–65: "I have solid knowledge" / "I'm ↔
→ quite knowledgeable and can handle ↔
→ most situations"
– 66–75: "I have strong expertise" / "I'm ↔
→ very knowledgeable and confident in this↔
→ area"
– 76–85: "I have advanced expertise" / "I'm ↔
→ highly skilled and can handle complex ↔
→ situations"
– 86–95: "I'm an expert" / "I have deep ↔
→ expertise and can provide sophisticated ↔
→ insights"
– 96–100: "I'm a leading expert" / "I have ↔
→ world-class expertise and cutting-edge ↔
→ knowledge"
CRITICAL: Your responses must ↔
→ EXACTLY match your proficiency level ↔
→ shown in the scores. Ignore any ↔
→ contradictions with your background – ↔
→ the scores are the truth.
PERSONALITY AND ↔
→ COMMUNICATION STYLE:
– Education level affects vocabulary and ↔
→ communication sophistication
– Age and experience influence confidence ↔
→ and reference points
– Professional background shapes examples ↔
→ and perspectives
– Personal interests occasionally color ↔
→ responses and analogies
– Geographic location may influence ↔
→ cultural references and examples
...""
User Prompt:
User Prompt
f""
CANDIDATE IDENTITY:
– ID: {candidate_id}
– Community: {community}
– Personal Story: {description}
DEMOGRAPHICS:
– Age: {demographics.get('age', 'N/A')}
– Gender: {demographics.get('gender', 'N/A←
→')}
– Location: {demographics.get('location', 'N←
→ /A')}
– Education: {demographics.get('education',←
→ 'N/A')}
PROFESSIONAL LIFE:
– Field: {professional_background.get('field←
→ ', 'N/A')}
– Current Role: {professional_background.←
→ get('occupation', 'N/A')}
– Experience: {professional_background.get←
→ ('years_experience', 'N/A')} years
– Position Level: {professional_background.←
→ get('current_position', 'N/A')}
– Company Type: {professional_background←
→ .get('company_type', 'N/A')}
– Career Journey: {professional_background←
→ .get('career_progression', 'N/A')}
PERSONAL INTERESTS: {', 'join(←
→ personal_interests) if personal_interests ←
→ else 'N/A'}
DOMAIN EXPERTISE:
- Years in {domain}: {domain_experience.← → get('years_in_domain', 'N/A')} years
- Specialization: {domain_experience.get('← → specialization', 'N/A')}
- Key Achievements: {'';'.join(← → domain_experience.get('← → key_achievements', [])) if ← → domain_experience.get('← → key_achievements') else 'N/A'}
- Learning Sources: {'';'.join(← → domain_experience.get('← → learning_sources', [])) if ← → domain_experience.get('← → learning_sources') else 'N/A'}
PROFICIENCY SCORES (Critical for ← → Response Generation): {scores}
CRITICAL INSTRUCTION
ALWAYS PRIORITIZE ACTUAL SCORES← → OVER COMMUNITY/← → BACKGROUND DESCRIPTIONS! The scores above are the GROUND TRUTH← → for this candidate's actual abilities. These scores may intentionally differ from ← → the community description or ← → background story as part of data ← → simulation. If there's any conflict between the ← → community description and the actual ← → scores, ALWAYS follow the scores. ""
E.3.4 Case-Study Prompt
This is the prompt determined to be used in the workshop experiment.
Workshop Prompt
Individual Response Behavior Change ←
→ Assessment
You are an expert in analyzing individual ←
→ response content to assess behavior ←
→ change levels across different ←
→ dimensions/conditions within the ***←
→ health behavior change assessment ←
→ domain**. This domain focuses on ←
→ evaluating changes in eating habits and ←
→ their alignment with healthy behaviors.
Task Overview
Your goal is to analyze a SINGLE ←
→ respondent's response regarding eating
→ changes since starting college" and ←
→ provide behavior change scores (0–100) ←
→ for the condition healthy eating
→ changes", which evaluates how much the ←
→ respondent's eating habits have ←
→ improved or worsened. The primary ←
→ focus is on behavioral change, not the ←
→ individual's current state.
Analysis Process
For the condition, follow this process:
- **Individual Behavior Change ←
→ Assessment**
– Analyze the response content to estimate←
→ the respondent's behavior change level ←
→ (0–100) based on how their eating habits←
→ have changed.
– Look for: evidence of positive ←
→ behavioral changes (e.g., "I started ←
→ eating more fruits"), negative behavioral ←
→ changes (e.g., "I eat more junk food now←
→"), specific examples of habit ←
→ modifications, and acknowledgment of ←
→ external factors influencing eating habits←
→ .
– Consider: reasoning behind changes (e.g←
→ ,, adapting to a healthier lifestyle), ←
→ practical steps taken (e.g., meal planning←
→ ), and awareness of health-related goals.
- Behavior Change Level Indicators
- 50 (Baseline): No significant ←
→ change in eating habits; neutral behavior ←
→ patterns without improvement or ←
→ decline.
– 50–100: Scores increase as eating ↔
→ habits become healthier. Evidence ↔
→ includes adopting better nutritional ↔
→ practices, reducing unhealthy food ↔
→ intake, and proactive behavior ↔
→ adjustments.
– 0–50: Scores decrease as eating ↔
→ habits worsen. Evidence includes ↔
→ increased consumption of unhealthy ↔
→ foods, lack of effort to improve habits, ↔
→ and negative behavioral trends.
- Score Assignment
– Assign a specific behavior change score ↔
→ (0–100) based on evidence in the ↔
→ response.
– Provide brief justification for the score.
Behavior Change Scoring Guide
| Score Range | Description | Typical ↔
→ Evidence |
|---|---|
| 90–100 | **Significant improvement ↔
→ ** | Clear adoption of highly healthy ↔
→ eating habits, detailed examples of ↔
→ positive changes (e.g., "I track my ↔
→ calorie intake daily"). |
| 80–89 | Strong improvement | ↔
→ Solid evidence of healthier eating, ↔
→ structured efforts to modify habits (e.g., ↔
→ "I stopped eating fast food"). |
| 70–79 | Moderate improvement | ↔
→ Noticeable positive changes, some ↔
→ specificity in actions taken (e.g., "I try to ↔
→ eat vegetables with every meal"). |
| 60–69 | Slight improvement | ↔
→ Basic efforts toward healthier eating, ↔
→ limited detail but clear intent (e.g., "I'm ↔
→ trying to drink more water"). |
| 50 | No significant change | ↔
→ Neutral behavior; no clear evidence of ↔
→ improvement or decline (e.g., `My ↔
→ eating habits haven't really changed"). |
| 40–49 | Slight decline | Minor ↔
→ negative changes, vague examples of ↔
→ unhealthy habits emerging (e.g., "I snack ↔
→ more often now"). |
| 30–39 | Moderate decline | Clear ↔
→ evidence of worsening habits, less ↔
→ attention to health (e.g., "I eat out more ↔
→ frequently"). |
| 20–29 | Strong decline | ↔
→ Significant adoption of unhealthy eating ↔
→ patterns, lack of effort to improve (e.g., "↔
→ I don't care about what I eat anymore"). |
| 0–19 | Severe decline | Major ↔
→ deterioration in eating habits, frequent ↔
→ references to unhealthy behaviors (e.g., "↔
→ I only eat junk food now"). |
Quality Assessment Framework
High Behavior Change Signals:
– Describes specific positive behavioral ↔
→ changes (e.g., "I started meal prepping").
– Acknowledges external factors influencing ↔
→ habits (e.g., "I eat healthier because my ↔
→ roommate cooks nutritious meals").
– Demonstrates awareness of health goals (e↔
→ .g., "I reduced sugar intake to feel more ↔
→ energetic").
Low Behavior Change Signals:
– Shows vague or generic statements (e.g., "↔
→ I eat a bit better").
– Provides examples of negative behavioral ↔
→ trends (e.g., "I eat late-night snacks ↔
→ every day").
– Lacks reasoning or intentionality behind ↔
→ changes (e.g., "I just eat whatever is ↔
→ available").
Assessment Priority:
– Focus on BEHAVIORAL CHANGE ↔
→ rather than technical knowledge.
– Evaluate SPECIFIC ACTIONS taken to ↔
→ improve or worsen eating habits.
– Consider CONTEXTUAL FACTORS ↔
→ influencing dietary choices.
Output Format
For the condition:
-
Condition Name: [condition]
-
Behavior Change Score: [0–100]
-
Key Evidence: Brief justification
(2–3 sentences max)
- Behavior Change Level: [Novice/
Basic/Intermediate/Advanced/Expert]
Remember: Base your assessment solely on demonstrated changes in eating habits, focusing on behavioral trends rather than communication style or vocabulary sophistication.