PaTAT: Human-AI Collaborative Qualitative Coding with Explainable Interactive Rule Synthesis
Authors
Title of the Paper
PaTAT: Human-AI Collaborative Qualitative Coding with Explainable Interactive Rule Synthesis
Paper Information
- Domain: Human-AI Collaboration, Natural Language Processing, Qualitative Coding
- Keywords: Qualitative Analysis, Human-AI Collaboration, Data Annotation, Explainable AI, Pattern Synthesis, Rule Generation, AI-Assisted Tools, Thematic Analysis, User Interface, Program Synthesis
Research Background and Problem
-
Problems and Challenges:
- Qualitative coding in thematic analysis is a critical process for identifying patterns in data and assigning labels, but it is time-consuming and labor-intensive, making it difficult to scale for large datasets.
- Existing machine learning-based coding tools often face the "black-box" problem, lacking transparency and explainability, which makes it challenging for users to understand the basis of model suggestions and validate their reasoning.
- Traditional coding tools and current AI-assisted tools provide insufficient support for the ambiguous, uncertain, and iterative nature of qualitative coding.
-
Significance of the Research:
- Qualitative coding is not just about labeling data but also about helping researchers discover key patterns and phenomena in the data to answer specific research questions.
- Supporting users in understanding data trends and discovering new themes is critically important.
-
Motivation and Related Work:
- Current mainstream AI-assisted annotation tools focus on optimizing accuracy while neglecting explainability and user learning.
- Literature review shows that rule-based pattern generation aids human understanding of data, but existing tools (e.g., Cody) have limitations in the flexibility and explainability of rule representation.
Proposed Solution
-
Proposed Approach:
- Introduces a new interactive program synthesis method called PaTAT, which can learn pattern rules in real-time from user annotations to assist in qualitative coding interactively.
- PaTAT combines symbolic pattern-based and neural network-generated features to capture lexical, syntactic, and semantic information, ensuring explainability and flexibility in coding recommendations.
-
Innovative Contributions:
- Adopts highly explainable pattern generation rules, transparently showing users what the model has learned and the rationale behind the generated patterns.
- Proposes a hybrid interactive workflow that gives users complete control over the coding process, enabling effective human-AI collaboration when dealing with complex datasets.
-
Implementation Steps:
- Users incrementally assign labels to data items, and PaTAT learns from user behavior in real-time, synthesizing and displaying patterns while predicting potential labels.
- Provides flexible grouping and sorting strategies for data organization and coding recommendations.
- Users can directly adjust patterns, handle ambiguities, and refine coding schemes through the interface.
-
Key Techniques:
- Utilizes a rule language generated based on features such as part-of-speech tagging, word stemming, entity types, and fuzzy matching.
- Optimizes pattern selection using heuristic information gain methods and linear combination mechanisms, balancing model complexity and explainability.
- Offers interactive tools, including data grouping (based on pattern/semantic similarity) and data sorting (based on model confidence).
Research Outcomes
-
Specific Achievements:
- Developed a fully functional tool that supports users in performing qualitative coding through explainable pattern interaction, improving coding efficiency and user trust in the model.
- The tool enables human-AI collaboration to capture patterns more aligned with user needs, effectively enhancing coding quality.
- User studies demonstrate that the explainability of patterns fosters data discovery and inspiration generation.
-
Advantages Over Existing Solutions:
- Compared to "black-box" models (e.g., BERT-based models), PaTAT offers significant advantages in user control and learning support.
- Explainable patterns not only help users understand the model more quickly but also assist in discovering new data patterns during the coding process.
-
Experimental or Evaluation Results:
- In user experiments, PaTAT proved to be efficient and practical in real qualitative coding tasks, with users reporting that it helped them understand data faster and generate new insights.
- Qualitative analysis showed that users could verify and correct model errors through the tool, better guiding the coding process.
- While PaTAT showed some limitations in handling abstract and ambiguous themes, the flexibility of its rule language partially mitigated these issues.
-
Limitations and Future Directions:
- The current pattern language lacks support for more complex features such as sentiment and common-sense knowledge; the system has not yet been extended to multi-user collaboration scenarios.
- The complexity of the interface increases the learning curve, and future work should focus on optimizing usability while maintaining functionality.
- Plans include public release and long-term deployment studies to further validate the tool's practical utility and cross-domain applicability.
Research Questions / Practical Problems
Question signals indexed for this paper.
Research Questions
3- How can qualitative coding efficiency be improved while ensuring transparency and interpretability of results?Category: Research Method Practice, Coding Workflows, and Design Research ReflectionSimilar questionsarrow_forward
- Can interactive rule generation tools improve qualitative coding quality in user-AI collaboration?Category: Research Method Practice, Coding Workflows, and Design Research ReflectionSimilar questionsarrow_forward
- Do pattern rules generated in real time from user behavior help discover new data themes?Category: Research Method Practice, Coding Workflows, and Design Research ReflectionSimilar questionsarrow_forward
Practical Problems
1- Researchers find qualitative coding time-consuming at scale and struggle to understand AI-generated suggestions.Category: Research Method Practice, Coding Workflows, and Design Research ReflectionSimilar questionsarrow_forward
- 100%
Faulty or Ready? Handling Failures in Deep-Learning Computer Vision Models until Deployment: A Study of Practices, Challenges, and Needs
CHI '23· Explainable AI (XAI) +2
- 100%
Unakite: Scaffolding Developers’ Decision-Making Using the Web
UIST '19· Explainable AI (XAI) +2
- 86%
DiLLS: Interactive Diagnosis of LLM-based Multi-agent Systems via Layered Summary of Agent Behaviors
CHI '26· Human-LLM Collaboration +3
- 83%
"Are You Really Sure?'' Understanding the Effects of Human Self-Confidence Calibration in AI-Assisted Decision Making
CHI '24· Explainable AI (XAI) +1
- 83%
Rules or Weights? Comparing User Understanding of Explainable AI Techniques with the Cognitive XAI-Adaptive Model
IUI '26· Explainable AI (XAI) +2
- 75%
Towards Guidelines for Designing Human-in-the-Loop Machine Training Interfaces
IUI '21· Human-LLM Collaboration +3
- 71%
Interpreting Interpretability: Understanding Data Scientists' Use of Interpretability Tools for Machine Learning
CHI '20· Explainable AI (XAI) +2
- 71%
Evaluating the Interpretability of Generative Models by Interactive Reconstruction
CHI '21· Explainable AI (XAI) +2
- 71%
Prompting in the Dark: Assessing Human Performance in Prompt Engineering for Data Labeling When Gold Labels Are Absent
CHI '25· Explainable AI (XAI) +2
- 71%
"Should I Rely on You or the AI?" Leaders' Trust and Perceptions in Mixed Human-AI Teams
CHI '26· Human-Robot Collaboration (HRC) +2
Based on Jaccard similarity of research subtopics & professions (≥60%)