Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Previously submitted to: Journal of Medical Internet Research (no longer under consideration since Jul 20, 2026)

Date Submitted: Jul 12, 2026

Warning: This is an author submission that is not peer-reviewed or edited. Preprints - unless they show as "accepted" - should not be relied on to guide clinical practice or health-related behavior and should not be reported in news media as established information.

Partial-Label Structure in the CancerEmo Benchmark for Digital Health Natural Language Processing: Reproducibility Audit

  • Qingqing Sun; 
  • Huanju Lu; 
  • Jiayi Lu; 
  • Zixuan Huang

ABSTRACT

Background:

Fine-grained emotion detection in patient-generated cancer-related text may support psycho-oncology research and patient-facing digital health tools. CancerEmo, a widely used benchmark, was released as eight independent binary classification files, one per emotion. This format contains a partial-label structure that is not represented in the standard binary-task formulation.

Objective:

This study examined how alternative representations of the same CancerEmo corpus affect model evaluation. We compared the original independent binary tasks with a weak-zero multilabel representation and a partial-label multitask representation using an explicit observation mask.

Methods:

We audited the eight released binary comma-separated value files at the unique- sentence level and constructed three aligned representations from the same sentences and observed labels. We trained independent binary and shared-encoder bidirectional encoder representations from transformers models under matched protocols and assessed threshold sensitivity, sentence-level split leakage, and uncertainty using paired bootstrap resampling. We documented the release structure, target construction, split rule, model configuration, evaluation procedures, and reproducibility artifacts.

Results:

The structural audit showed that 19,914 task rows collapsed to 11,642 unique sentences, with 5,825 sentences appearing in 2 or more emotion files and 2,289 carrying split conflicts. Independent binary bidirectional encoder representations from transformers reproduced the original benchmark reference level (macro F1-score 0.721, SD 0.009), and the same model on the sentence-hash split reached 0.695 (SD 0.010). Weak-zero multitask learning at the default 0.5 operating point fell to 0.193 (SD 0.005), whereas masked partial-label multitask learning recovered to 0.729 (SD 0.004). A seed-42 threshold diagnostic improved the weak-zero macro F1-score from 0.203 to 0.371 but did not close the gap. Split-conflict diagnostics supported sentence-grouped evaluation as a safeguard.

Conclusions:

CancerEmo can be interpreted as a partial-label digital health natural language processing benchmark distributed as independent binary files. Researchers should audit release structure before merging tasks, and benchmark developers should provide observation masks and sentence-level split identifiers. In cancer- emotion and mental health natural language processing, target-construction choices may suppress sparse emotion signals before model architecture is considered.


 Citation

Please cite as:

Sun Q, Lu H, Lu J, Huang Z

Partial-Label Structure in the CancerEmo Benchmark for Digital Health Natural Language Processing: Reproducibility Audit

JMIR Preprints. 12/07/2026:106812

DOI: 10.2196/preprints.106812

URL: https://preprints.jmir.org/preprint/106812

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.