English

Unit Testing for Concepts in Neural Networks

Computation and Language 2022-11-29 v2 Artificial Intelligence

Abstract

Many complex problems are naturally understood in terms of symbolic concepts. For example, our concept of "cat" is related to our concepts of "ears" and "whiskers" in a non-arbitrary way. Fodor (1998) proposes one theory of concepts, which emphasizes symbolic representations related via constituency structures. Whether neural networks are consistent with such a theory is open for debate. We propose unit tests for evaluating whether a system's behavior is consistent with several key aspects of Fodor's criteria. Using a simple visual concept learning task, we evaluate several modern neural architectures against this specification. We find that models succeed on tests of groundedness, modularlity, and reusability of concepts, but that important questions about causality remain open. Resolving these will require new methods for analyzing models' internal states.

Keywords

Cite

@article{arxiv.2208.10244,
  title  = {Unit Testing for Concepts in Neural Networks},
  author = {Charles Lovering and Ellie Pavlick},
  journal= {arXiv preprint arXiv:2208.10244},
  year   = {2022}
}

Comments

TACL, In Press. 12 Pages

R2 v1 2026-06-25T01:52:09.700Z