On Regularization and Inference with Label Constraints
Kaifu Wang, Hangfeng He, Tin D. Nguyen, Piyush Kumar, Dan Roth
Abstract
Prior knowledge and symbolic rules in machine learning are often expressed in the form of label constraints, especially in structured prediction problems. In this work, we compare two common strategies for encoding label constraints in a machine learning pipeline, regularization with constraints and constrained inference, by quantifying their impact on model performance. For regularization, we show that it narrows the generalization gap by precluding models that are inconsistent with the constraints. However, its preference for small violations introduces a bias toward a suboptimal model. For constrained inference, we show that it reduces the population risk by correcting a model's violation, and hence turns the violation into an advantage. Given these differences, we further explore the use of two approaches together and propose conditions for constrained inference to compensate for the bias introduced by regularization, aiming to improve both the model complexity and optimal risk.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers3
- On Learning Latent Models with Multi-Instance Weak SupervisionKaifu Wang, Efthymia Tsamoura, Dan RothNeurIPS 2023 · 19 citations
- On the Independence Assumption in Neurosymbolic LearningEmile van Krieken, Pasquale Minervini, Edoardo M. Ponti, Antonio VergariICML 2024 · 18 citations
- Imbalances in Neurosymbolic Learning: Characterization and Mitigating StrategiesEfthymia Tsamoura, Kaifu Wang, Dan RothNeurIPS 2025 · 2 citations
Builds on4
- Structured Prediction with Partial Labelling through the Infimum LossVivien Cabannes, Alessandro Rudi, Francis R. BachICML 2020 · 50 citations
- Learning Constraints and Descriptive Segmentation for Subevent DetectionHaoyu Wang, Hongming Zhang, Muhao Chen, Dan RothEMNLP 2021 · 15 citations
- Learnability with Indirect Supervision SignalsKaifu Wang, Qiang Ning, Dan RothNeurIPS 2020 · 10 citations
- Learning Constraints for Structured Prediction Using Rectifier NetworksXingyuan Pan, Maitrey Mehta, Vivek SrikumarACL 2020 · 6 citations
Related papers
- Understanding the Impact of Introducing Constraints at Inference Time on Generalization ErrorMasaaki Nishino, Kengo Nakamura, Norihito YasudaICML 2024 · 1 citation
- Learning where and when to reason in neuro-symbolic inferenceCristina Cornelio, Jan Stuehmer, Shell Xu Hu, Timothy M. HospedalesICLR 2023
- Learning with Logical Constraints but without Shortcut SatisfactionZenan Li, Zehua Liu, Yuan Yao, Jingwei Xu et al.ICLR 2023
- From Predictions to Decisions: Using Lookahead RegularizationNir Rosenfeld, Sophie Hilgard, Sai Srivatsa Ravindranath, David C. ParkesNeurIPS 2020 · 27 citations
- Scalable Theory-Driven Regularization of Scene Graph Generation ModelsDavide Buffelli, Efthymia TsamouraAAAI 2023 · 4 citations
