%0 Conference Proceedings %T A Logic-Driven Framework for Consistency of Neural Models %A Li, Tao %A Gupta, Vivek %A Mehta, Maitrey %A Srikumar, Vivek %Y Inui, Kentaro %Y Jiang, Jing %Y Ng, Vincent %Y Wan, Xiaojun %S Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP) %D 2019 %8 November %I Association for Computational Linguistics %C Hong Kong, China %F li-etal-2019-logic %X While neural models show remarkable accuracy on individual predictions, their internal beliefs can be inconsistent across examples. In this paper, we formalize such inconsistency as a generalization of prediction error. We propose a learning framework for constraining models using logic rules to regularize them away from inconsistency. Our framework can leverage both labeled and unlabeled examples and is directly compatible with off-the-shelf learning schemes without model redesign. We instantiate our framework on natural language inference, where experiments show that enforcing invariants stated in logic can help make the predictions of neural models both accurate and consistent. %R 10.18653/v1/D19-1405 %U https://aclanthology.org/D19-1405 %U https://doi.org/10.18653/v1/D19-1405 %P 3924-3935