PaTAT: Human-AI Collaborative Qualitative Coding with Explainable Interactive Rule Synthesis

Explainable AI (XAI)AI-Assisted Decision-Making & AutomationComputational Methods in HCISoftware Engineers & DevelopersAI/ML Researchers & EngineersHCI Researchers

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

  1. 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.
  2. 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.
  3. 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

  1. 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.
  2. 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.
  3. 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.
  4. 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

  1. 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.
  2. 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.
  3. 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.
  4. 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.

Quick Actions

Share

Share this page

ios_share

https://hci.top/en/papers/chi/96046/2023

AdRecommended

Learn AI Coding at CodeNow

open_in_newOpen DOI Link
DOI: https://doi.org/10.1145/3544548.3581352
At a Glance

Paper Snapshot

fact_check
dataset
Source
CHI
calendar_month
Year
2023
emoji_events
Award
No award tagged
group
Authors
6 authors
sell
Subtopics
Explainable AI (XAI), AI-Assisted Decision-Making & Automation, Computational Methods in HCI
work
Professions
Software Engineers & Developers, AI/ML Researchers & Engineers, HCI Researchers
article
Content Status
Full text indexed
hub
Related Papers
10 related papers