English

Imbalances in Neurosymbolic Learning: Characterization and Mitigating Strategies

Machine Learning 2025-12-18 v4 Machine Learning

Abstract

We study one of the most popular problems in **neurosymbolic learning** (NSL), that of learning neural classifiers given only the result of applying a symbolic component σ\sigma to the gold labels of the elements of a vector x\mathbf x. The gold labels of the elements in x\mathbf x are unknown to the learner. We make multiple contributions, theoretical and practical, to address a problem that has not been studied so far in this context, that of characterizing and mitigating *learning imbalances*, i.e., major differences in the errors that occur when classifying instances of different classes (aka **class-specific risks**). Our theoretical analysis reveals a unique phenomenon: that σ\sigma can greatly impact learning imbalances. This result sharply contrasts with previous research on supervised and weakly supervised learning, which only studies learning imbalances under data imbalances. On the practical side, we introduce a technique for estimating the marginal of the hidden gold labels using weakly supervised data. Then, we introduce algorithms that mitigate imbalances at training and testing time by treating the marginal of the hidden labels as a constraint. We demonstrate the effectiveness of our techniques using strong baselines from NSL and long-tailed learning, suggesting performance improvements of up to 14%.

Keywords

Cite

@article{arxiv.2407.10000,
  title  = {Imbalances in Neurosymbolic Learning: Characterization and Mitigating Strategies},
  author = {Kaifu Wang and Efthymia Tsamoura and Dan Roth},
  journal= {arXiv preprint arXiv:2407.10000},
  year   = {2025}
}