XSci

ML-CLAPPS: A Probabilistic Framework for Imbalanced Multilabel Learning under Class Prioritization

Priel Hazan, Nir Almog, Noam Keidar, Yael Yaniv, Assaf Schuster

Submitted by Priel Hazan

Published October 15, 2026 · Version v1, October 15, 2026 · DOI 10.66977/xsci.2610.001f

Machine Learning, Artificial Intelligence

Abstract

Real-world datasets often exhibit severe class imbalance, degrading the performance of deep learning models, particularly on rare classes. While imbalance is well studied in binary and multiclass settings, it is substantially more challenging in multilabel problems due to complex label co-occurrence. In clinical applications such as ECG classification, this challenge is coupled with a second critical challenge: the need to prioritize high-risk conditions, regardless of their prevalence, to mitigate the high cost of false negatives. We introduce the Multilabel Class-Prioritized Probabilistic Sampler (ML-CLAPPS), a learnable sampler that optimizes a distribution over training instances to control the model's exposure to different classes. This approach addresses multilabel imbalance while enabling prioritization of significant conditions via a user-defined importance vector (IV). Empirical evaluation on a real-world multilabel ECG image dataset demonstrates that ML-CLAPPS achieves state-of-the-art performance. We show that it aligns class exposure with the specified IV, and that increasing a class's importance leads to corresponding improvements in its classification performance, enabling explicit prioritization of clinically critical conditions.

View PDF

Review reports

xPeerd (AI review)

October 15, 2026

AI Review (xPeerd — DAReview)

Summary

This manuscript proposes ML-CLAPPS, a probabilistic sampling framework for imbalanced multilabel learning with explicit class prioritization, motivated by multilabel ECG image classification under severe prevalence skew and differing clinical importance. The central idea is to learn a sampling distribution over training instances so that expected class exposure aligns with a user-defined importance vector while remaining close to uniform enough to preserve dataset utilization. The method is formulated as a strictly convex quadratic program with a unique global minimizer, solved once before training and then reused across epochs.

The manuscript’s main strengths are conceptual clarity, a mathematically coherent optimization formulation, and an experimentally relevant clinical motivation. Empirically, the proposed sampler outperforms the reported baselines in macro-F1 and MCC on the Mobile ECG dataset, and the prioritization experiments illustrate that changing the importance vector can shift performance toward clinically emphasized conditions.

The main weaknesses are limited experimental breadth, incomplete reporting for reproducibility, underdeveloped statistical validation, and insufficient documentation of dataset provenance and ethical governance for a clinical dataset collected “across five hospitals.” The paper is promising and technically plausible, but it currently reads more like a strong method note or workshop paper than a fully validated archival study.

Potential Major Revisions

  1. Reproducibility is not yet sufficient for a high-confidence evaluation. The manuscript states that “all experiments utilize a ResNet18 visual backbone” and that the authors “fixed the architecture, optimization settings, and the number of training epochs, varying only the sampling strategy,” but the actual optimization settings are not reported in the retrieved text: no learning rate, batch size, image resolution, augmentation pipeline, optimizer, thresholding rule for multilabel decisions, early stopping criterion, or hardware details are specified. Since the empirical contribution depends on fair comparison under identical training conditions, omission of these details materially limits reproducibility and independent verification.

  2. Dataset description is too thin for a clinical machine-learning paper. The paper reports a “Multilabel Mobile dataset, comprising 5,197 multilabel ECG photographs captured via mobile cameras across five hospitals” and later refers to it as a “real-world multilabel ECG image dataset,” yet key dataset characteristics are missing from the retrieved text: exact label taxonomy, per-hospital distribution, patient-level splitting protocol, class definitions, inclusion/exclusion criteria, annotation procedure, adjudication process, image acquisition variability, and whether multiple images from the same patient can appear across splits. For clinical imaging, leakage across train/test at patient or site level can strongly inflate performance. The manuscript should explicitly state whether the 85/15 split was patient-stratified and hospital-aware.

  3. Ethical and governance reporting appears incomplete. Because the data are clinical ECG photographs collected across hospitals, the absence in the retrieved text of IRB/ethics approval, consent or waiver language, de-identification procedures, and data governance statements is a serious omission. The manuscript’s motivation emphasizes clinical significance and deployment relevance, for example that “failing to detect a rare but significant condition can have serious consequences,” which raises the bar for transparent ethical reporting. If such approvals exist, they should be explicitly stated in the manuscript; if not, this is a substantial concern.

  4. Experimental validation is narrow and may overstate generality. The abstract claims that ML-CLAPPS “achieves state-of-the-art performance,” but the empirical evidence shown in the retrieved text is from one dataset, one backbone family, and a relatively small set of baselines. Table 1 compares against UniformSampler, LP ROS, ClusterClip, and LeastSampledClassSampler, but not against stronger loss-level or threshold-level multilabel imbalance methods, focal/asymmetric losses, class-balanced losses, or recent medical multilabel baselines. On the present evidence, “state-of-the-art” is too broad. The claim should be narrowed unless supported by more datasets and stronger comparators.

  5. Statistical rigor is limited. Table 1 reports “mean ± SD across four runs,” which is helpful, but four runs are a very small basis for strong comparative claims, especially when some margins are modest. For example, ML-CLAPPS with LinR2F has F1 0.347±.01 and MCC 0.363±.01, while LeastSampledClass has F1 0.325±.02 and MCC 0.365±.02; one metric improves while the other is essentially tied or slightly lower within variability. The manuscript should add significance testing, confidence intervals, paired comparisons across identical seeds/splits, and ideally more repetitions or cross-validation to support claims of superiority.

  6. The paper’s causal interpretation of prioritization should be stated more cautiously. The abstract claims that “increasing a class’s importance leads to corresponding improvements in its classification performance,” and the results section argues that performance “follows the assigned importance weights.” This is plausible, but the evidence shown appears descriptive rather than causal. Because label co-occurrence constrains feasible exposure, and because altering sampling changes the effective training distribution globally, improvements in one class may trade off against others for reasons not solely attributable to direct prioritization. The manuscript should discuss this more carefully and quantify trade-offs class-by-class.

  7. Scalability claims are partially theoretical and need stronger empirical support. The conclusion and discussion emphasize scalability, including that the method solves the optimization “once in polynomial time with zero per-epoch overhead” and is “expected to be more scalable” on larger datasets. While the zero per-epoch overhead claim is directly supported by the design, the broader scalability claim remains inferential unless backed by runtime/memory measurements across varying dataset sizes, numbers of labels, and label densities. Complexity arguments are welcome, but archival claims should be matched with scaling experiments.

  8. Baseline fairness needs fuller discussion. The manuscript says that only the sampling strategy was varied for fairness. However, some baselines may benefit from strategy-specific hyperparameter tuning, threshold calibration, or architecture interactions. A fixed global recipe can sometimes underrepresent a baseline’s best attainable performance. The paper should report whether baseline-specific recommended settings were used and whether hyperparameter search budgets were comparable.

  9. The work should better articulate failure modes. A valuable and honest aspect of the method section is the acknowledgment that “perfect alignment may be infeasible due to structural constraints from label co-occurrence.” This is important, but the experimental section does not seem to characterize when infeasibility is severe, how much misalignment remains for different importance vectors, or how performance degrades under contradictory prioritization schemes. A dedicated failure-mode analysis would substantially strengthen the paper.

  10. Anti-fraud / coherence assessment. I do not see obvious paper-mill traits such as meaningless jargon chains, fabricated mathematical symbolism, or internally incoherent claims. The method narrative is coherent and the optimization argument is structurally plausible, especially the progression from exposure matching to a convex QP with a unique minimizer. However, the combination of strong performance language, limited experimental breadth, and sparse clinical governance details warrants caution rather than trust by default. I would not flag likely fabrication from the available text, but I would request substantially fuller reproducibility and ethics reporting before treating the results as robust.

Potential Minor Revisions

  1. Title inconsistency. The manuscript appears under two phrasings: “ML-CLAPPS: A Probabilistic Framework for Imbalanced Multilabel Learning under Class Prioritization” at the front page, while later running text shows “ML-CLAPPS: Imbalanced Multilabel Learning with Class Prioritization.” Use one canonical title throughout.

  2. Formatting / PDF extraction issues in equations and symbols. Several mathematical expressions appear corrupted in text extraction, especially around the dataset utilization regularization term, simplex constraints, and vector notation. For example, the regularization formula on page 4 is visibly malformed in the extracted text. This may be a PDF rendering/export issue, but the final version should ensure equations render cleanly and consistently in all dissemination formats.

  3. Reference formatting inconsistency. Reference 14 lists the ResNet paper under “2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR)” but gives the year as 2015 in the citation line. This should be corrected. Similar care is needed for all references to align venue year, publication year, and DOI metadata.

  4. Stylistic overstatement. Phrases such as “achieves state-of-the-art performance” should be softened unless supported by broader benchmarking. A more precise phrasing would be “outperforms the evaluated baselines on the Mobile ECG dataset.”

  5. Clarify terminology on exposure versus probability. The paper correctly notes that “d is not a probability distribution.” This is important and could be emphasized earlier, because readers may otherwise misread exposure vectors as normalized class probabilities.

  6. Clarify dataset naming. The manuscript refers to “Mobile dataset” and “Multilabel Mobile dataset.” Use one consistent name.

  7. Expand figure captions. Figures 2–5 are discussed meaningfully in the text, but the captions shown in the retrieved text remain fairly compact. More self-contained captions would improve readability, especially for conference-style readers who skim figures first.

  8. Clarify “polynomial time” claim. The statement that the method is solved “once in polynomial time” is mathematically acceptable but too abstract for practitioners. Add practical complexity in terms of number of instances and labels, plus observed wall-clock runtime.

  9. Typographic / wording details. The phrase “significant conditions” in the abstract may be misread as statistically significant rather than clinically significant. Consider “clinically important conditions” or “high-priority conditions.”

  10. AI content analysis for this post-2021 work. Estimated AI-generated content: low to moderate, approximately 15–30%. Basis: the prose is unusually polished, structurally regular, and uses formulaic academic transitions, but it also contains domain-specific mathematical continuity and targeted technical nuance that are compatible with careful human authorship. Passages such as “This probabilistic formulation enables fine-grained control over model exposure to different classes” and the repeated explanatory scaffolding around alignment and utilization are stylistically AI-like, but not obviously machine-generated.
    Highlighted sections with stronger AI-like rhetorical regularity: | Section | Page | Observation | |---|---:|---| | Abstract | 1 | Dense, polished claim packaging with balanced problem-solution-impact cadence. | | Methods 2.1 | 3–4 | Highly templated explanatory transitions and didactic restatements around derivation steps. | | Results 3.2–3.3 | 6–8 | Recurrent claim-confirmation phrasing (“demonstrates,” “confirms,” “highlights”) that may reflect either strong editing or AI assistance. |

Assessed epistemic impact: likely limited if AI assistance was used only for prose refinement, but potentially more serious if it also shaped overconfident framing, omitted limitations, or amplified novelty claims beyond the evidence. Based on the manuscript alone, I cannot infer improper authorship conduct; I can only note that the writing style is consistent with possible AI-assisted polishing.

Recommendations

  1. Add a complete reproducibility subsection: report optimizer, learning-rate schedule, batch size, augmentations, image preprocessing, epoch count, thresholding method, seed control, hardware, and software versions. Since the code repository is cited in the abstract, ensure it reproduces every table and figure.

  2. Expand the dataset section substantially: define all labels, prevalence per label, annotation workflow, patient counts, hospital counts, train/test split protocol, site leakage prevention, and whether the test set was held out chronologically or randomly.

  3. Add ethics and compliance statements: IRB approval number, consent/waiver basis, privacy protections, and institutional permissions are essential for a hospital-derived clinical dataset.

  4. Temper the claims: replace broad “state-of-the-art” language with dataset-specific findings unless validated on multiple public benchmarks and stronger recent baselines.

  5. Strengthen empirical evidence: evaluate on at least one additional multilabel benchmark, preferably one public dataset and one non-clinical dataset, to demonstrate domain generality rather than ECG-specific effectiveness.

  6. Improve statistical validation: use more seeds, paired testing, bootstrap confidence intervals, and per-class uncertainty reporting. Table 1 is promising, but stronger inferential support is needed.

  7. Include ablation studies: analyze the effect of γ, label density, number of labels, contradictory importance vectors, and removal of the utilization term. The current γ analysis is useful but should connect more directly to downstream predictive performance.

  8. Make trade-offs explicit: show which classes gain and which lose under different importance vectors. The claim of controlled prioritization is central and should be quantified with per-class deltas, not only trend figures.

  9. Add stronger baseline coverage: compare against modern imbalance-aware losses, multilabel threshold calibration approaches, and perhaps cost-sensitive medical classifiers, not only sampler-based baselines.

  10. Clarify scope: this method appears strongest as a principled sampler for settings where user-specified class priority is operationally important. Emphasizing that niche may make the contribution more credible and more useful than framing it as a universal imbalance solution.

Reviewer3 (AI review)

October 15, 2026

AI Review (reviewer3.com)

Comments (13)

1. Qualitative visual inspection used instead of quantitative alignment error — Minor

) IVs. As shown in Fig. 4, the resulting expected class exposure d closely mirrors the prescribed importance ratios, confirming that the framework effectively translates user priorities into targeted training emphasis on selected conditions, even under complex label co-occurrences.

To support the claim that expected class exposure d\mathbf{d} closely mirrors prescribed non-uniform descending and alternating importance vectors, the authors rely solely on visual inspection of bar plots in Figure 4, without reporting the quantitative alignment loss 1m∥Mp⋆∥22\frac{1}{m}\|\mathbf{M}\mathbf{p}^\star\|_2^2, the dataset utilization loss, or the exact achieved ratios di/djd_i/d_j versus target ratios wi/wjw_i/w_j. In fact, visual inspection of Figure 4 (top) shows noticeable deviations from the linear [8,7,6,5,4,3,2,1][8,7,6,5,4,3,2,1] schedule (for instance, the 7th bar for Premature Ventricular Contraction is taller than the 6th bar for Low QRS Voltages, likely due to label co-occurrence constraints). Reporting the exact numerical ratios and utilization losses for these vectors would provide a more rigorous and transparent assessment of where co-occurrence constraints limit exact alignment.

2. Dense n×nn \times n Hessian limits polynomial-time scalability — Major

a compact convex set [23,4]. The Hessian H = 2 m M T M + 2 γ n I is the sum of a symmetric positive semidefinite matrix 2 m M T M and a symmetric positive definite matrix 2 γ n I , and is therefore strictly positive definite [4]. Hence, Eq. (1)

The authors claim that formulating ML-CLAPPS as a convex QP solved via an interior-point method makes it scalable to large-scale datasets, noting that the Hessian is H=2mM⊤M+2γnI\mathbf{H} = \frac{2}{m}\mathbf{M}^\top\mathbf{M} + \frac{2\gamma}{n}\mathbf{I}. However, p∈Rn\mathbf{p} \in \mathbb{R}^n has dimension equal to the number of training instances nn, and M⊤M\mathbf{M}^\top\mathbf{M} is a dense n×nn \times n matrix (since M=Y−w^1⊤Y\mathbf{M} = \mathbf{Y} - \hat{\mathbf{w}}\mathbf{1}^\top\mathbf{Y} is generally dense even when Y\mathbf{Y} is sparse). Forming a dense n×nn \times n Hessian requires O(n2)\mathcal{O}(n^2) memory and O(n3)\mathcal{O}(n^3) operations per interior-point iteration, which is fast for n≈4,400n \approx 4,400 (1.06 seconds) but becomes computationally intractable in memory and time as nn scales to ratusan of thousands or millions of instances unless reformulated by introducing an auxiliary variable z=Mp∈Rm\mathbf{z} = \mathbf{M}\mathbf{p} \in \mathbb{R}^m to preserve sparsity. The authors should explicitly note this O(n2)\mathcal{O}(n^2) memory bottleneck or provide the sparse auxiliary-variable reformulation when claiming scalability to large-scale datasets.

3. No comparison against loss-level class-weighting or focal baselines — Critical

to different classes and do not encode clinical importance. While data resam- pling remains the dominant strategy for mitigating imbalance [5,15], alternative approaches modify the loss via class-weighting schemes [3]. Under extreme im- balance, however, such methods may yield unbounded gradients [10] or amplify noisy gradients from rare classes [15], resulting in unstable optimization [15,10].

The headline claim states that ML-CLAPPS enables explicit clinical condition prioritization and mitigates multilabel class imbalance, and the introduction motivates data-level sampling over loss-level class-weighting schemes by arguing that loss weighting yields unstable optimization. However, the experimental design compares ML-CLAPPS only against heuristic data-resampling baselines that lack a mechanism for user-defined class prioritization (UniformSampler, LP ROS, ClusterClip, and LeastSampledClassSampler). Without comparing against standard loss-weighting methods (e.g., weighted binary cross-entropy using the same importance vector w\mathbf{w}, or Asymmetric Loss [3] cited by the authors), it is impossible to determine whether the QP sampling formulation outperforms or is more stable than directly applying the importance vector w\mathbf{w} to the loss function. The authors should include class-weighted loss and Asymmetric Loss baselines configured with the same uniform and LinR2F importance vectors.

4. Thresholding strategy and threshold-free metrics are omitted — Critical

pling strategy. We report F1 score, Matthews correlation coefficient (MCC) [18], accuracy, and computational time overhead, categorized into one-time initial- ization time and recurring per-epoch sampling latency. Under severe imbalance,

The authors evaluate classification performance under severe class imbalance and condition prioritization exclusively using threshold-dependent metrics (F1, MCC, and accuracy), without specifying how classification decision thresholds were chosen (e.g., a fixed 0.5 cutoff vs. per-class validation tuning) or reporting threshold-free metrics such as area under the precision-recall curve (AUPRC). Because resampling directly alters the training label prior, it shifts the predicted output probabilities of the neural network; consequently, improvements in F1 or MCC at a fixed threshold may simply reflect a shift in calibration rather than improved discriminative representation, and could potentially be matched by post-hoc threshold tuning or temperature scaling on the UniformSampler baseline. The authors should clarify their thresholding protocol, evaluate baselines with calibrated per-class thresholds, and report threshold-independent metrics like AUPRC.

5. Unacknowledged degradation on frequent classes and lower macro F1 under LinR2F — Major

dress imbalance driven by frequent labels. The LinR2F IV further demonstrates the framework’s flexibility, as performance across the prevalence spectrum fol- lows the assigned importance weights, achieving the highest performance on the rarest conditions and gradually decreasing as conditions become more frequent, as LinR2F prescribes. This highlights ML-CLAPPS’s ability to enable clinical

The authors infer that the LinR2F importance vector successfully enables clinical prioritization because its fitted F1 regression line in Figure 5 starts highest at R1R_1 (~0.66) and decreases toward R8R_8. However, Figure 5 also shows that for the more frequent half of the classes (R5R_5 through R8R_8), ML-CLAPPS (IV=LinR2F) drops below ML-CLAPPS (IV=uniform) and all other baselines, reaching near-zero F1 (~0.02) on the most frequent condition R8R_8 (Atrial Fibrillation), even though R8R_8 was assigned a non-zero weight of 1.0 (only 4.5x lower than R1R_1). Moreover, Table 1 shows that LinR2F reduces macro F1 from 0.386 to 0.347 and MCC from 0.421 to 0.363 compared to uniform IV. A 4.5:1 exposure ratio should not cause the classifier to completely fail on the most frequent class; because individual per-class F1 points are hidden behind the linear regression line in Figure 5, it is unclear whether the model genuinely collapsed on R8R_8 or if the regression line is an artifact of steep gains on R1R_1--R2R_2. The authors must report the actual per-class F1 scores for LinR2F and discuss the severity of the performance trade-off on lower-weighted classes.

6. Scaling of γ\gamma with dataset size nn is unexamined — Major

original label distribution (Fig. 1), reintroducing imbalance. We use γ = 10 3 in all experiments, as it achieves reasonably uniform sampling while retaining close alignment of d with the desired IV (Fig. 2), thereby reducing the utilization regularization loss while keeping the alignment loss extremely low (Fig. 3). Fig. 3.

In Equation (1), the alignment term 1mp⊤M⊤Mp\frac{1}{m}\mathbf{p}^\top\mathbf{M}^\top\mathbf{M}\mathbf{p} scales as O(1)\mathcal{O}(1) with respect to the number of instances nn (since Yp\mathbf{Y}\mathbf{p} is a convex combination of binary columns), whereas the dataset utilization term γn∥p−1n1∥22\frac{\gamma}{n}\|\mathbf{p} - \frac{1}{n}\mathbf{1}\|_2^2 scales as O(γ/n2)\mathcal{O}(\gamma / n^2) when p\mathbf{p} is near uniform (as reflected on the left y-axis of Figure 3, which is on the order of 10−610^{-6} for n≈4,417n \approx 4,417). Because the two terms have different asymptotic dependencies on nn and mm, the recommended value γ=103\gamma = 10^3 is tightly coupled to the specific size of the Mobile ECG training set and does not generalize across datasets of different sizes. The authors should normalize the regularizer by n2n^2 (i.e., n∥p−1n1∥22n\|\mathbf{p} - \frac{1}{n}\mathbf{1}\|_2^2) or explain how γ\gamma must be rescaled as a function of nn and mm.

7. Selection of γ=103\gamma = 10^3 is not validated on classification metrics — Minor

original label distribution (Fig. 1), reintroducing imbalance. We use γ = 10 3 in all experiments, as it achieves reasonably uniform sampling while retaining close alignment of d with the desired IV (Fig. 2), thereby reducing the utilization regularization loss while keeping the alignment loss extremely low (Fig. 3). Fig. 3.

The authors select γ=103\gamma = 10^3 solely by visually inspecting the trade-off curve between the QP's mathematical objective terms (dataset utilization loss and exposure-importance alignment loss in Figures 2 and 3), without reporting validation classification performance (e.g., F1 or MCC) across different values of γ\gamma. Because higher dataset utilization reduces overfitting to duplicated rare instances while better alignment increases rare-class exposure, the optimal trade-off for downstream neural network generalization cannot be determined from the QP objective values alone. The authors should provide an ablation study showing validation/test F1 and MCC across γ∈{101,102,103,104,105}\gamma \in \{10^1, 10^2, 10^3, 10^4, 10^5\}.

8. Single private dataset with undisclosed negative-instance handling — Critical

To demonstrate clinical applicability, we collected the Multilabel Mobile dataset, comprising 5,197 multilabel ECG photographs captured via mobile cameras ML-CLAPPS: Imbalanced Multilabel Learning with Class Prioritization

All empirical claims rest on a single proprietary dataset of 5,197 ECG images with 8 classes, and essential dataset characteristics are omitted. Specifically, the sum of label counts in Figure 1 is approximately 1,920 across 5,197 instances, implying either low label density or that a majority of images contain none of the 8 conditions (all-zero columns yj=0\mathbf{y}_j = \mathbf{0}). Under the ML-CLAPPS formulation, any all-zero instance has Myj=0\mathbf{M}\mathbf{y}_j = \mathbf{0} and contributes nothing to the alignment term, meaning its sampling probability is governed purely by the uniform regularizer. The paper does not state whether normal/all-zero ECGs exist in the dataset or how they are handled, nor does it validate the sampler on any public multilabel benchmark (e.g., PTB-XL or CPSC) to allow reproducibility and verify generalizability.

9. Key training hyperparameters and epoch definitions are omitted — Major

label image classification. To ensure a fair comparison, we fixed the architecture, optimization settings, and the number of training epochs, varying only the sam- pling strategy. We report F1 score, Matthews correlation coefficient (MCC) [18],

Although the authors state that the architecture, optimization settings, and number of training epochs were fixed across all samplers, none of these hyperparameters (learning rate, optimizer, batch size, number of epochs, image resolution, data augmentations, or whether ResNet18 was pretrained) are reported in the paper. Moreover, discrete oversamplers like LP ROS duplicate minority instances, thereby increasing the total number of instances per epoch compared to probabilistic samplers that draw nn instances per epoch from p⋆\mathbf{p}^\star. Without specifying whether an "epoch" is defined as a fixed number of gradient updates (nn samples) across all methods, it is unclear whether all samplers received the same training compute budget. The authors should report all training hyperparameters and confirm that the number of gradient steps was equalized across methods.

10. Per-class F1 scores are replaced by linear regression lines — Major

The x-axis shows class prevalence from rare (left) to frequent (right), where R k indicates the kth most rare class. The y-axis reports mean F1 across four runs. For each sampling method, a fitted linear regression line is shown to highlight performance trends across class frequencies.

In Figure 5, the authors evaluate performance across the class prevalence spectrum (R1R_1 to R8R_8) by plotting only fitted linear regression trend lines across the 8 discrete rank indices, completely omitting the actual per-class mean F1 data points and their standard deviations. Fitting a straight line to 8 categorical classes ordered by ordinal prevalence rank (where true class counts in Figure 1 vary non-linearly from ~35 to ~600) can obscure substantial class-specific variance, non-monotonic performance, or poor performance on specific conditions. The authors should plot the actual per-class mean F1 scores with error bars (and/or provide a per-class table) alongside or instead of the linear regression lines.

11. Prioritization is only tested when confounded with class rarity — Major

The LinR2F vector assigns linearly decaying importance weights, ranging from 4.5 for the rarest condition (Low QRS Voltages) to 1.0 for the most frequent (Atrial Fibrillation), and is designed to examine how prioritized importance correlates with performance gains on targeted conditions.

To demonstrate that ML-CLAPPS enables explicit prioritization of clinically critical conditions regardless of their prevalence, the authors evaluate a single non-uniform importance vector in classification experiments: LinR2F, which assigns weights inversely proportional to class frequency (4.5 for rarest R1R_1 down to 1.0 for most frequent R8R_8). Because LinR2F strictly aligns importance weights with class rarity, its effect is confounded with standard rare-class oversampling. Furthermore, no clinical rationale is given for why Low QRS Voltages (R1R_1) should be prioritized 4.5x over life-threatening conditions like Third Degree AV Block (R3R_3) or Atrial Fibrillation (R8R_8). To substantiate the claim that ML-CLAPPS can prioritize any target condition regardless of prevalence, the authors should evaluate an importance vector that prioritizes a specific mid-prevalence or clinically severe subset of conditions (e.g., Third Degree AV Block and WPW) or include classification results for the alternating/descending IVs used in Section 3.2.

12. Per-epoch overhead of multinomial sampling is reported as exactly zero — Major

is expected to be more scalable for two reasons. First, it uniquely combines high classification performance with zero per-epoch overhead (Table 1) by pre- 8 P. Hazan et al. calculating the optimal distribution p ⋆ once in polynomial time [20,4] and using it to sample training instances across all epochs. This avoids the recurring la-

Table 1 reports the per-epoch computational overhead of ML-CLAPPS as 0 seconds (in contrast to 0.01±.00 seconds for ClusterClip), and the text claims ML-CLAPPS incurs "zero per-epoch overhead" because p⋆\mathbf{p}^\star is precalculated before training. However, drawing nn samples per epoch from a non-uniform categorical distribution p⋆∈Δn−1\mathbf{p}^\star \in \Delta^{n-1} still requires executing a multinomial / alias-table sampling step at each epoch, just as UniformSampler requires random permutation/indexing. While this sampling time is small (e.g., milliseconds), reporting it as an exact integer 0 while reporting 0.01 for another method conflates "no per-epoch optimization update" with "zero runtime execution." The authors should clarify how per-epoch overhead is defined (e.g., overhead beyond standard PyTorch WeightedRandomSampler indexing) or report high-precision timing.

13. Missing patient-level and hospital-level split controls for data leakage — Critical

To demonstrate clinical applicability, we collected the Multilabel Mobile dataset, comprising 5,197 multilabel ECG photographs captured via mobile cameras ML-CLAPPS: Imbalanced Multilabel Learning with Class Prioritization 5 across five hospitals. The dataset was split into 85% training and 15% test sets.

The authors evaluate ML-CLAPPS on 5,197 ECG photographs collected across five hospitals using an 85% training and 15% test split, but do not specify whether the split was stratified or grouped by patient identity or hospital site. In clinical ECG datasets, multiple recordings or photographs are often taken from the same patient, and mobile camera capture conditions vary systematically across hospitals. If recordings from the same patient appear in both train and test sets, agresively oversampling rare instances (which ML-CLAPPS does via high instance probabilities pjp_j) will cause the model to memorize patient-specific or site-specific visual artifacts, artificially inflating test F1 and MCC on rare conditions. The authors must clarify whether the split enforces patient-level disjointness and report performance under patient-grouped (and ideally hospital-grouped) cross-validation.

XSci (AI review)

October 15, 2026

Summary

The manuscript addresses two coupled problems in multilabel clinical classification: class imbalance, which resamplers handle poorly when labels co-occur, and the need to prioritize high-risk conditions regardless of prevalence. The authors propose ML-CLAPPS, which replaces duplication-based resampling with a distribution over training instances obtained from one convex quadratic program: a first term aligns the expected class exposure d = Yp with a user-supplied importance vector (IV), a second keeps p near uniform. The program is strictly convex over the simplex, so p* is unique and is computed once before training. On an in-house set of 5,197 multilabel ECG photographs, ML-CLAPPS with a uniform IV reaches macro F1 0.386 and MCC 0.421 against 0.325 and 0.365 for the strongest sampler baseline, at zero per-epoch cost.

Contribution and Significance

The core contribution is the reformulation itself. Aligning expected class exposure with a target proportion vector reduces to a quadratic in p through M = Y − ŵᵏY, and the utilization ridge makes H = (2/m)MᵀM + (2γ/n)I strictly positive definite, so Eq. (1) is a strictly convex QP over a compact set with a unique global minimizer. I re-derived Eq. (1) and it is correct. This matters because it converts a family of heuristics — LP ROS [6,13], ClusterClip [24], LeastSampledClassSampler [19] — into a one-shot solve with a guarantee, and because it exposes a control those methods lack: the IV lets a user state class priorities declaratively rather than encode them through duplication counts.

The novelty is real but narrower than the framing suggests. Charte et al. [6,7] and the samplers in [19,24] are heuristic and priority-blind, so the convex formulation is new within multilabel resampling. Learning a distribution over training data is not new in general, however — Ren et al. ("Learning to Reweight Examples for Robust Deep Learning", ICML 2018) do so via a bilevel loop, and the authors should position against that literature. What distinguishes ML-CLAPPS is that the solve is convex and needs only the label matrix, with no proxy model and no training signal; the manuscript does not make this argument because it does not engage with that work, and "learnable sampler" is misleading for a one-shot QP on labels.

Strengths

  • Section 2.1 is set up correctly throughout: the collinearity definition of alignment, the self-consistent target (1ᵀYp)ŵ that drives the loss to exactly zero at perfect alignment, and the strict-convexity argument.
  • Figure 4 tests alignment on an alternating IV [2,1,2,1,2,1,2,1], not only a monotone one; that exposure tracks a non-monotone target under real label co-occurrence is a genuine test of the formulation.
  • γ is selected (Figures 2 and 3) from properties of the solution — utilization and alignment loss — rather than from test performance, which is the right protocol and is rarely followed.
  • Table 1 combines the best F1 and MCC with zero per-epoch overhead; against LeastSampledClass [19] at 0.49±.05 s per epoch, the 1.06±.09 s initialization is recovered in about three epochs, and the margin (F1 0.386±.01 vs 0.325±.02) is large relative to the spread across four runs.

Recommendation

Major Revision for ECML PKDD (Applied Data Science Track). The formulation and the exposure-alignment result are convincingly supported and the contribution fits the track. Two headline claims are not: "state-of-the-art performance" excludes the loss-level methods the authors themselves argue against, and the claim that raising a class's importance improves its performance rests on one IV in which importance is monotone in rarity. Both gaps are closable within the authors' own approach, hence a revision rather than a rejection.

Major Concerns

  1. No loss-level or weighted-sampling baseline, so the state-of-the-art claim is not established (Section 3.1; Table 1). Section 1 motivates the entire data-level choice by arguing that class-weighting schemes "may yield unbounded gradients" and produce "unstable optimization", yet no loss-based method appears in Table 1. Asymmetric Loss is cited as [3] and never run; the obvious comparison, Wu, Huang, Liu, Wang and Lin, "Distribution-Balanced Loss for Multi-Label Classification in Long-Tailed Datasets", ECCV 2020, is absent from the reference list and targets exactly this setting. Also missing is sampling with weights inversely proportional to class frequency — the default practitioner baseline, itself free per epoch, which would isolate how much of the gain comes from the QP rather than from upweighting rare classes at all. ML-ROS [7] is cited but not run. Until these appear, "state-of-the-art performance" should read "best among the compared samplers".

  2. The prioritization claim rests on one importance vector confounded with rarity (Section 3.3; Figure 5). The abstract claims that "increasing a class's importance leads to corresponding improvements in its classification performance". The only evidence is LINR2F, whose weights decay from 4.5 for the rarest condition to 1.0 for the most frequent, read through linear regression fits over eight classes. Because importance is monotone in rarity here, the trend is equally consistent with the weaker statement that the sampler shifts exposure toward rare classes; the design cannot separate the two. A controlled sweep would settle it: from a uniform IV, raise one class's weight at a time over several values and report that class's F1 and MCC with variance across runs, for two or three classes at different prevalences. Carrying the alternating IV of Figure 4 through to downstream performance would also do, and per-class numbers belong in a table rather than in fitted lines.

  3. The evidence base is one private dataset, and the protocol is underspecified (Section 3.1). All results come from one in-house set of 5,197 ECG photographs with eight classes and a single backbone (ResNet18 [14]); the dataset is not stated to be released, so no reader can reproduce Table 1. Nothing in the method is ECG-specific, so a public benchmark is needed — PTB-XL (Wagner et al., Scientific Data 7:154, 2020) is the standard one here. Details that materially affect macro F1 are also missing: there is no validation split (the data is "split into 85% training and 15% test sets"), so it is unclear on what γ, the epoch count and the learning rate were chosen; the decision threshold for F1 is never stated, and macro F1 is very sensitive to it under this imbalance; and with five contributing hospitals the manuscript does not say whether the split is patient- and recording-disjoint, leaving leakage between near-duplicate photographs open.

  4. Scalability is asserted, not shown (Section 3.3; Conclusion). The Conclusion calls ML-CLAPPS "a scalable probabilistic framework" and Section 3.3 says it "is expected to be more scalable", but the only evidence is a 1.06±.09 s initialization at roughly 4,400 instances, and "polynomial time [20,4]" is never made concrete in n. H is n×n, so a naive formulation costs O(n²) memory and O(n³) per interior-point iteration, which would not survive the 10⁵–10⁶ regime invoked to argue the advantage over per-epoch samplers. MᵀM has rank at most m = 8, so the problem can be recast with an auxiliary variable z = Mp of dimension m and solved at a cost essentially linear in n; this is neither exploited nor discussed. Curves of initialization time and peak memory against n and m, plus a statement of how the QP is passed to Clarabel, would resolve the point.

Minor Comments

  1. In Section 2.1 the factor p and the vector ŵ are repeatedly dropped — "(1/m)‖Y − (1ᵀYp)‖²", "(1/m)‖M‖² = (1/m)pᵀMᵀM" — and in "d = cw" the scalar c is bold; Eq. (1) itself is correct.
  2. The caption of Table 1 states "ML-CLAPPS outperforms prior methods", but ML-CLAPPS (IV=LinR2F) reaches MCC 0.363±.01 against 0.365±.02 for LeastSampledClass [19].
  3. With four runs and differences as small as F1 0.347±.01 versus 0.325±.02, please report a paired significance test rather than standard deviations alone.
  4. Section 3.3 calls Low QRS Voltages "the rarest condition", whereas Figure 1 appears to show Early Repolarization and Wolff-Parkinson-White with lower counts.
  5. The counts in Figure 1 sum to roughly 2,000 for 5,197 images, so most instances carry no positive label, contribute nothing to d, and are retained only by the utilization term; this deserves a sentence.
  6. In Figure 2 the per-instance probabilities are of order 10⁻³, whereas uniform p over roughly 4,400 training instances would be about 2.3×10⁻⁴; please state how many instances the QP was solved over.
  7. The Section 1 claim that "data-level solutions address imbalance more stably by preserving the optimization landscape and gradient dynamics" cites [15], a loss for unbalanced segmentation, and [10], on complementary-label learning; neither makes that comparison.
  8. γ is tuned under a uniform IV and reused for LINR2F; please confirm it transfers, and give guidance for setting γ on a new dataset, since its scale depends on m, n and label density.
  9. A second backbone, and ideally raw-waveform input alongside photographs, would show the gains are not specific to ResNet18.
  10. Please report the training-set size, learning rate, optimizer, epoch count, augmentation and random seeds, none of which appear in Section 3.1.
  11. State whether p* is drawn with or without replacement, and how many draws constitute an epoch, since both affect realized exposure.