TY - GEN
T1 - Feasibility of Locally Deployable LLMs for Open Coding in Grounded Theory
T2 - 6th International Conference on Computer Communication and Artificial Intelligence, CCAI 2026
AU - Hoi, Lap Man
AU - Sun, Yuqi
AU - Wang, Ruotong
AU - Duan, Yuqing
N1 - Publisher Copyright:
© 2026 IEEE.
PY - 2026
Y1 - 2026
N2 - Qualitative analysis using grounded theory is essential for interpreting complex textual data in the social sciences and humanities but remains labour-intensive, particularly during open coding. Recent large language models (LLMs) offer potential to accelerate this process, yet reproducible pipelines and fair comparisons with human coding are scarce. This pilot study evaluates a fully automated, locally deployable LLM pipeline (Gemma-3-27B) against a multi-expert human consensus gold standard derived from a corpus of Duolingo technical blog posts (12,665 words, 2013-2025) as an illustrative case. Human coding followed a retrieval-style approach, selectively labelling salient units, while the LLM performed sentence-level classification. Evaluation framed coding as evidence retrieval, using strict exact-match and semantic fuzzy-match metrics (sentence embeddings, cosine threshold 0.6). Results showed modest strict performance (macro Jaccard 0.071, F1 0.128) but substantial improvement with fuzzy matching (macro Jaccard 0.368, F1 0.539). The LLM aligned well with human experts on explicit gamification features (e.g., Milestone Celebration fuzzy F1 0.609) but underperformed on nuanced pedagogical constructs (e.g., Personalized Practice Paths 0.462). These findings highlight LLM strengths in broad evidence gathering for recurrent themes, while underscoring limitations in interpretive depth. The study contributes a reproducible Python-based framework with documented prompts and deterministic decoding, supporting hybrid workflows in qualitative research where artificial intelligence (AI) accelerates initial retrieval and humans refine higher-order interpretation in grounded theory.
AB - Qualitative analysis using grounded theory is essential for interpreting complex textual data in the social sciences and humanities but remains labour-intensive, particularly during open coding. Recent large language models (LLMs) offer potential to accelerate this process, yet reproducible pipelines and fair comparisons with human coding are scarce. This pilot study evaluates a fully automated, locally deployable LLM pipeline (Gemma-3-27B) against a multi-expert human consensus gold standard derived from a corpus of Duolingo technical blog posts (12,665 words, 2013-2025) as an illustrative case. Human coding followed a retrieval-style approach, selectively labelling salient units, while the LLM performed sentence-level classification. Evaluation framed coding as evidence retrieval, using strict exact-match and semantic fuzzy-match metrics (sentence embeddings, cosine threshold 0.6). Results showed modest strict performance (macro Jaccard 0.071, F1 0.128) but substantial improvement with fuzzy matching (macro Jaccard 0.368, F1 0.539). The LLM aligned well with human experts on explicit gamification features (e.g., Milestone Celebration fuzzy F1 0.609) but underperformed on nuanced pedagogical constructs (e.g., Personalized Practice Paths 0.462). These findings highlight LLM strengths in broad evidence gathering for recurrent themes, while underscoring limitations in interpretive depth. The study contributes a reproducible Python-based framework with documented prompts and deterministic decoding, supporting hybrid workflows in qualitative research where artificial intelligence (AI) accelerates initial retrieval and humans refine higher-order interpretation in grounded theory.
KW - benchmarking
KW - computational social science
KW - grounded theory
KW - LLMs
KW - open coding
KW - qualitative research
UR - https://www.scopus.com/pages/publications/105048887669
U2 - 10.1109/CCAI69603.2026.11642030
DO - 10.1109/CCAI69603.2026.11642030
M3 - Conference contribution
AN - SCOPUS:105048887669
T3 - 2026 6th International Conference on Computer Communication and Artificial Intelligence, CCAI 2026
SP - 1111
EP - 1116
BT - 2026 6th International Conference on Computer Communication and Artificial Intelligence, CCAI 2026
PB - Institute of Electrical and Electronics Engineers Inc.
Y2 - 22 May 2026 through 24 May 2026
ER -