Rogendo's picture
Update README.md
834515c verified
|
Raw
History Blame Contribute Delete
17.6 kB
metadata
dataset_info:
  features:
    - name: text
      dtype: string
    - name: labels
      struct:
        - name: closing
          sequence: int64
        - name: hold
          sequence: int64
        - name: listening
          sequence: int64
        - name: opening
          sequence: int64
        - name: proactiveness
          sequence: int64
        - name: resolution
          sequence: int64
  splits:
    - name: train
      num_bytes: 86897
      num_examples: 102
  download_size: 27916
  dataset_size: 86897
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*
task_categories:
  - text-classification
  - multiple-choice
tags:
  - helpline
  - openchs
  - distilbert
size_categories:
  - n<1K
license: gpl
language:
  - en

Dataset Card for OpenCHS Child Helpline QA Scoring Dataset

Dataset Details

Dataset Description

This dataset contains simulated, annotated child helpline conversation transcripts for automated quality assurance (QA) scoring. Each conversation is evaluated across six key performance dimensions using binary labels to assess counselor effectiveness and call quality. The dataset is designed for training multi-head DistilBERT classification models that can automatically evaluate helpline conversations in real-time, supporting child protection services across East Africa.

The dataset addresses the critical need for standardized quality assessment in child helplines, where manual QA review is time-consuming and inconsistent. By automating QA scoring, helpline organizations can provide immediate feedback to counselors, identify training needs, and ensure high-quality support for vulnerable children.

Key Features:

  • 102 simulated, annotated helpline conversations.
  • 6 QA dimensions with 17 sub-metrics and 1,734 total binary annotations.
  • Multi-head classification structure optimized for DistilBERT and similar transformers.​
  • Token-optimized transcripts (mean ≈ 162.5 tokens; a few >512-token outliers).​
  • Quality control summary with overall QC score of 67/100.​
  • Curated by: BITZ IT Consulting – OpenCHS Project Team (Rogendo, Shemmiriam, Franklin, Marlon, Brenda, Nelsonadagi).​
  • Funded by: UNICEF.​
  • Shared by: OpenCHS (Open Child Helpline System) Project.​
  • Language(s) (NLP): English (en), with planned expansion to Swahili (sw).​
  • License: GPL

Trained Model

A multi-head DistilBERT model has been trained on this dataset and is available on the Hugging Face Hub:

Model: openchs/qa-helpline-distilbert-v1

See the model card for complete performance metrics, usage examples, and deployment instructions.

Dataset Sources

Uses

Direct Use

This dataset is intended for:

  1. Training Multi-Head QA Classification Models

    • Primary: Multi-head DistilBERT for 6-dimensional QA scoring (17 sub-metrics)
    • Trained model available: openchs/qa-helpline-distilbert-v1
    • Secondary: Other transformer-based architectures (BERT, RoBERTa, XLM-R)
  2. Helpline Quality Assurance Automation

    • Real-time evaluation of counselor performance
    • Automated feedback generation for training
    • Quality monitoring dashboards for supervisors
  3. Research

    • Conversation analysis in crisis support contexts
    • Multi-task learning for QA assessment
    • Cross-lingual transfer learning (English → Swahili)
    • Class imbalance handling in multi-label classification
  4. Benchmarking

    • Comparing QA scoring model architectures
    • Evaluating multilingual model performance
    • Testing data augmentation strategies

Out-of-Scope Use

This dataset should NOT be used for:

  • Clinical diagnosis or medical decision-making - The dataset evaluates counselor performance, not client mental health
  • Automated decision-making without human oversight - QA scores should inform, not replace, human supervision
  • Training models on unrelated domains - Conversation patterns are specific to helpline contexts
  • Demographic profiling or surveillance - Contains sensitive child protection data
  • Commercial applications without proper ethical review - Involves vulnerable populations
  • Direct client assessment - Scores evaluate counselors, not callers

Important: QA scores are intended as decision-support signals and should always be reviewed by trained supervisors before impacting staffing or case management.

Dataset Structure

Data Format

Each record contains:

{
  "id": "record_0",
  "text": "Hello, thank you for calling Child Helpline...",
  "labels": {
    "opening": [1],
    "listening": [1, 1, 0, 1, 1],
    "proactiveness": [1, 1, 0],
    "resolution": [1, 1, 0, 1, 1],
    "hold": [0, 0],
    "closing": [1]
  }
}

Data Fields

  • id (string): Unique identifier (format: record_{index})
  • text (string): Full conversation transcript between counselor and caller
  • labels (dict): Six scoring dimensions, each containing:
    • Binary values (0 or 1) representing competency assessments
    • Multiple evaluations per conversation (except opening/closing)

Label Categories

The dataset evaluates conversations across 6 main QA dimensions comprising 17 specific sub-metrics:

Category Sub-Metrics Count Description
opening Use of call opening phrase 1 Evaluates proper call initiation protocols
listening Non-interruption, empathy, paraphrasing, politeness, confidence 5 Assesses active listening and communication skills:
• Caller was not interrupted
• Empathizes with the caller
• Paraphrases or rephrases the issue
• Uses 'please' and 'thank you'
• Does not hesitate or sound unsure
proactiveness Extra issue solving, satisfaction confirmation, follow-up 3 Measures proactive service approach:
• Willing to solve extra issues
• Confirms satisfaction with action points
• Follows up on case updates
resolution Information accuracy, language use, consultation, process adherence, clarity 5 Evaluates problem-solving effectiveness:
• Gives accurate information
• Correct language use
• Consults if unsure
• Follows correct steps
• Explains solution process clearly
hold Hold explanation, gratitude for waiting 2 Assesses proper hold procedures:
• Explains before placing on hold
• Thanks caller for holding
closing Proper closing phrase 1 Evaluates professional call conclusion

Total Sub-Metrics: 17 across 6 main QA dimensions

Scoring System:

  • 1 (Positive): Competency clearly demonstrated, criterion met
  • 0 (Negative): Competency absent, criterion not met

Note: Each label category can contain multiple binary annotations representing evaluations at different points in the conversation.

Label Statistics

Category Total Annotations Avg Score Positive % Std Dev Sub-Metrics Class Balance
listening 510 0.671 67.1% 0.470 5 Balanced ✓
resolution 510 0.624 62.4% 0.485 5 Balanced ✓
opening 102 0.549 54.9% 0.498 1 Balanced ✓
closing 102 0.549 54.9% 0.498 1 Balanced ✓
proactiveness 306 0.389 38.9% 0.487 3 Imbalanced
hold 204 0.196 19.6% 0.397 2 Severely Imbalanced

Total Annotations: 1,734 across 102 conversations (17 sub-metrics per conversation)

Text Statistics

Metric Mean Median Min Max Notes
Character Length 687.81 665 40 2,780 3 records < 100 chars
Word Count 125.29 117 7 542 Appropriate for helpline calls
Token Count (approx) 162.5 152 9 704 3 records exceed 512 limit

Token Calculation: word_count × 1.3 (accounts for DistilBERT subword tokenization)

Data Splits

Current Configuration:

  • Train: 102 examples (100%)

Recommended Splits for Model Training:

from sklearn.model_selection import train_test_split

# Stratified split to maintain label distribution
train_val, test = train_test_split(dataset, test_size=0.15, 
                                     stratify=dataset['labels']['hold'],
                                     random_state=42)
train, val = train_test_split(train_val, test_size=0.176,  # ~15% of total
                               stratify=train_val['labels']['hold'],
                               random_state=42)

# Results: Train=71, Val=15, Test=16

Important: Use stratified splitting to preserve minority class distribution (especially hold at 19.6% positive).

Dataset Creation

Curation Rationale

Child helplines provide critical support to vulnerable children, but maintaining consistent quality across counselors is challenging. Manual QA review is:

  • Time-intensive: Supervisors can only review 5-10% of calls
  • Inconsistent: Subjective evaluation varies between reviewers
  • Delayed: Feedback often comes days after calls
  • Unscalable: Cannot keep pace with call volume

This dataset enables automated QA scoring to:

  1. Provide immediate feedback to counselors during/after calls
  2. Standardize evaluation across all conversations
  3. Identify training needs through systematic performance tracking
  4. Scale quality assurance to 100% of calls
  5. Support multilingual operations (expanding to Swahili)

The six scoring dimensions were selected based on:

  • Child helpline best practices (Child Helpline International guidelines)
  • Counselor training frameworks used in East Africa
  • Supervisor feedback on critical performance indicators
  • Alignment with DistilBERT's token limits and multi-head architecture

Source Data

Data Collection and Processing

Source: Synthetic child helpline conversation transcripts from East African helpline services mimicking call center conversations.

Collection Process:

  1. Real helpline calls were transcribed (with consent where applicable)
  2. No PII present in the dataset
  3. Conversations were synthesized and shuffled for randomization
  4. Transcripts span diverse case types:
    • Crisis intervention (suicide, abuse)
    • Counseling (emotional support, grief)
    • Information/referral services
    • Child protection reporting

Processing Pipeline:

  1. Text normalization: Standardized punctuation, whitespace
  2. PII detection: No PII
  3. Quality filtering: Removed incomplete/corrupted transcripts
  4. Token validation: Identified conversations exceeding 512 tokens
  5. Format standardization: JSONL structure with consistent schema

Quality Control:

  • QC Score: 67/100
  • Processed: 102/102 records (100% success rate)
  • Issues identified: 6 records requiring attention (see Bias & Limitations)

Bias, Risks, and Limitations

Known Limitations

1. Data Quality Issues (QC Score: 67/100)

Issue Count Impact Mitigation
Short conversations 3 May lack context for full QA assessment Filter or augment with context
Token overflow (>512) 3 Truncation loses conversation context Apply sliding window or chunking
Label distribution warnings 326 All-0 or all-1 scores may indicate annotation inconsistencies Review annotation guidelines

2. Class Imbalance

  • Severe: hold (19.6% positive) - Minority class underrepresented
  • Moderate: proactiveness (38.9% positive) - Below balanced threshold
  • Impact: Models may struggle to predict minority classes accurately
  • Mitigation:
    • Apply class weights: weight = n_samples / (n_classes × bincount(y))
    • Use focal loss for hard examples
    • Oversample minority class or undersample majority

3. Language & Cultural Bias

  • English-centric: Dataset primarily in English, limiting generalizability and also the english dataset do not capture the noises and features of the real helpline data.
  • Cultural context: Counseling norms vary across East African communities
  • Linguistic diversity: Does not capture regional dialects, code-switching
  • Future work: Expanding to Swahili, considering cultural adaptation

4. Synthetic Data Limitations

  • May not capture full complexity of real-time helpline dynamics
  • Potential gaps in conversational flow, emotional intensity
  • Annotation may reflect idealized responses vs. realistic scenarios

5. Model Performance Challenges

Based on label distribution and trained model results:

  • Listening head: Achieved 71.4% accuracy but 95.7% F1 - model correctly identifies positive cases but has some false negatives
  • Resolution head: Excellent performance (90.5% accuracy, 98.5% F1)
  • Proactiveness head: Good performance (85.7% accuracy, 93.6% F1) despite class imbalance (38.9% positive)
  • Hold head: Challenging but functional (90.5% accuracy, 80% F1) with severe imbalance (19.6% positive)
  • Opening/Closing heads: Good to perfect performance (85.7% - 100% F1)

Risks

1. Model Misuse

  • Risk: Automated QA scores used punitively without context
  • Mitigation: Emphasize scores as training tools, not disciplinary measures

2. Over-reliance on Automation

  • Risk: Human supervisors defer to model judgments uncritically
  • Mitigation: Require human review for low-scoring calls; use scores as flags, not verdicts

3. Bias Amplification

  • Risk: Models learn and amplify annotation biases
  • Mitigation: Regular audits of model predictions, diverse annotator pool, fairness metrics

4. Privacy Breach

  • Risk: PII leakage from unmasked conversations
  • Mitigation: Mandatory PII removal before training; secure data storage

5. Cultural Mismatch

  • Risk: Models trained on one cultural context misapply to another
  • Mitigation: Test on diverse populations, adapt for regional contexts

Recommendations

For Model Developers:

  1. Preprocessing:

    • MANDATORY: Consider to apply text truncation or chunking for longer conversations (>512 tokens)
    • Consider sliding window approach for context preservation
  2. Training Strategy:

    • Use stratified train/val/test splits to preserve minority classes
    • Apply class weights for hold and proactiveness heads
    • Monitor per-head learning curves separately
    • Implement early stopping per head (not global)
  3. Evaluation:

    • Report per-head F1, precision, recall (not just accuracy)
    • Use macro-averaged metrics to account for imbalance
    • Analyze confusion matrices for each head
    • Test on conversations from different helpline regions
  4. Deployment:

    • Implement human-in-the-loop validation
    • Set confidence thresholds for flagging uncertain predictions
    • Provide explanations (attention visualization) for scores
    • Monitor for performance drift over time

For Data Users:

  1. Ethical Use:

    • Do not use for automated counselor termination decisions
    • Treat QA scores as feedback, not absolute judgments
    • Maintain counselor privacy; aggregate scores for training insights
  2. Context Awareness:

    • Recognize dataset's East African context
    • Adapt for different helpline protocols/languages
    • Consider cultural norms in counseling practices
  3. Continuous Improvement:

    • Collect real-world performance data
    • Update annotations based on supervisor feedback
    • Expand to multilingual datasets

For Supervisors/Helpline Managers:

  1. Use QA scores to identify training opportunities, not punish counselors
  2. Combine automated scores with periodic manual reviews
  3. Provide constructive feedback based on specific score dimensions
  4. Track score trends over time to measure training effectiveness

Citation

Dataset BibTeX:

@dataset{openchs_qa_scoring_2025,
  title={OpenCHS Child Helpline QA Scoring Dataset},
  author={Rogendo and Shemmiriam and Marlon and Brenda and Nelsonadagi and openchlai},
  organization={BITZ IT Consulting},
  year={2025},
  publisher={Hugging Face},
  version={1.0},
  url={https://huggingface.co/datasets/openchs/synthetic_helpline_qa_scoring_v1},
  note={Multi-head classification dataset with 17 sub-metrics for automated helpline quality assurance}
}

Trained Model BibTeX:

@model{qa_helpline_distilbert_2025,
  title={QA Multi-Head DistilBERT for Helpline Quality Assessment},
  author={BITZ IT Consulting Team},
  year={2025},
  publisher={Hugging Face},
  journal={Hugging Face Model Hub},
  howpublished={\url{https://huggingface.co/openchs/qa-helpline-distilbert-v1}},
  note={AI for Social Impact: Child Helplines and Crisis Support in East Africa}
}

APA:

Rogendo, Shemmiriam, Franklin. (2025). OpenCHS Child Helpline QA Scoring Dataset (Version 1.0) [Data set]. Hugging Face. https://huggingface.co/datasets/openchs/synthetic_helpline_qa_scoring_v1

For the trained model, see: BITZ IT Consulting Team. (2025). QA Multi-Head DistilBERT for Helpline Quality Assessment. Hugging Face Model Hub. https://huggingface.co/openchs/qa-helpline-distilbert-v1