Manuscript Offprint
arXiv:2610.10724Cognitive Thermometers: Machine Learning and Logical Complexity
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
How does the human mind represent semantic categories? Why do natural languages favor certain meanings over others? Prior explanations have relied on logical definability and complexity, but these are highly sensitive to the choice of logical language, rendering some design choices unmotivated. In this article, we propose that machine learning provides a somewhat more agnostic approach to measuring semantic complexity. We review emerging evidence that logic and machine learning often yield converging results on relative complexity and its resulting effects in semantic typology. Where they diverge, learning appears to be a better explanation than logical complexity. We argue that treating machine learning models as “cognitive thermometers” enables a unified approach to complexity that bridges symbolic logic and connectionist AI.
1 Ease of Learning and Semantic Universals
The natural languages of the world exhibit tremendous variation at every level, from sound (phonetics and phonology) to grammar (morphology and syntax) to meaning (semantics). Famously, however, this variation is constrained: despite their differences, languages also exhibit a great deal of shared structure. A central concern of theoretical linguistics is to explain this constrained variation: what, out of the large space of mathematically possible linguistic systems, distinguishes the humanly possible ones?
When it comes to semantics, a prominent line of work has argued that ease of learning plays a central role (Steinert-Threlkeld and Szymanik, 2019; Steinert-Threlkeld, 2020; Steinert-Threlkeld and Szymanik, 2020; Douven, forthcoming; Maldonado, Culbertson, and Uegaki, 2022; Chemla, Buccola, and Dautriche, 2019). In this domain, the constrained variation often takes the form of lexical property universals, which state that all expressions of a particular kind express meanings with a particular property (Steinert-Threlkeld and Szymanik, in prep). For example (developed more in the next section), it has been argued that all determiners (words like 'some', 'most', and the like) denote monotone quantifiers.
*To appear in Logic & AI, edited by Johan van Benthem, Levin Hornischer, Thomas Icard and Fenrong Liu (Stanford, CA: CSLI Publications), which will be published open access. This is the authors' preprint; please cite the book version once it is available. Comments welcome.
The so-called EASE OF LEARNING HYPOTHESIS then states that meanings with these distinguished properties are easier to learn than meanings without those properties; this can explain the prevalence of these semantic universals by additionally assuming that languages lexicalize easier-to-learn meanings and rely on grammar and compositional interpretation for more complex ones. For example: if the hypothesis holds, monotone quantifiers would be easier to learn than non-monotone ones.
To argue for this hypothesis, we use machine learning as a kind of cognitive thermometer. In a given empirical domain, the goal is to measure the ‘temperature’ of all mathematically possible meanings. One can think of ‘warmer’ meanings as the easier-to-learn ones and ‘cool’ ones as harder. Once this ‘heatmap’ on the space of possible meanings has been made, one hopes to find that natural language meanings lie in the warmer regions of the space. The use of machine learning both enables the measurement of ease-of-learning at a scale that is not feasible with human learners, while simultaneously avoiding confounds that come from the fact that people have already acquired languages which satisfy given semantic universals.
In the next section, we illustrate this approach with one prominent, concrete example: the monotonicity of quantifiers. From there, we discuss the relationship between this machine learning approach and other forms of complexity, including logical complexity, before discussing future directions.
In the application of the logical theory of generalized quantifiers (Mostowski, 1957; Lindström, 1966) to natural language pioneered by Barwise and Cooper (1981), this property can be cast as the monotonicity of the characteristic function of a generalized quantifier. The latter authors proposed a lexical property universal: all determiners (the relevant syntactic category) denote monotone quantifiers.
As a first test of the EASE OF LEARNING HYPOTHESIS, Steinert-Threlkeld and Szymanik (2019) trained neural networks to learn the meaning of quantifiers in a minimal pair setting, comparing the upward monotone at least 4 and downward monotone at most 3 with the non-monotone at least 6 or at most 2. These models take as input a representation of a model-theoretic model, a label (akin to a nonce word) for a quantifier, and are trained to predict whether the quantifier is true or false in that situation. We experimentally manipulated the meaning of the nonce word, i.e. what the gold mapping to truth values was. The results
For human learning evidence complementing the machine learning experiments in the next section, see Ramotowska, van Maanen, and Szymanik, 2026 who show in an artificial-language-learning study that adults' acquisition of a novel quantifier tracks the same universals, including monotonicity, described below for neural learners.
For reasons that do not concern us presently, their official formulation also allowed conjunctions of monotone quantifiers. For more detailed treatments, see Peters and Westerstahl, 2006; Szymanik, 2016.
of these two experiments, shown in Figure 1, showed that while all of the quantifiers are learnable by the model, the monotone ones were reliably learned more quickly than the non-monotone one, suggesting that they are indeed easier to learn.

Figure 1: Results from two experiments in Steinert-Threlkeld and Szymanik, 2019. The x-axis shows the number of training steps. The y-axis shows the neural models' accuracy on instances that were not seen during training (to test whether the model has truly extracted the meaning and not simply memorized examples). Blue is a monotone quantifier (at least 4 in the left, at most 3 on the right) and red a non-monotone one (at least 6 or at most 2 in both).
To more thoroughly develop the cognitive thermometer metaphor and build the aforementioned heatmap, Haberland and Steinert-Threlkeld (2025) expanded these experiments in two directions. Firstly, they tested a wide range of quantifiers by sampling mathematical expressions for their denotations from a context-free grammar. Secondly, they generalized a definition of a degree of monotonicity (Carcassi, Steinert-Threlkeld, and Szymanik, 2021) as the mutual information between any function and its so-defined minimal monotone extension. Figure 2 shows that this degree of monotonicity is well correlated with a standard measure of ease of learning: quantifiers that are more monotone are easier to learn.
To summarize: we have used machine learning as a tool to measure the ease of learning of various semantic objects in the service of explaining linguistic universals. Similar patterns have been found for other quantifier universals, as well as for convexity of color terms (Steinert-Threlkeld and Szymanik, 2020) and certain attitude predicates (Steinert-Threlkeld, 2020). We think of these machine learning models as cognitive thermometers because they are a measurement device that lets us build a heatmap across large semantic spaces.
3 (Machine) Learning and (Logical) Complexity
While we have motivated the use of machine learning as a cognitive thermometer due to its ability to measure ease of learning at scale without language-specific confounds, it may not be the only useful device for measuring the target that we are after. A particularly natural reaction would argue that simplicity plays a key role: perhaps the universally expressed meanings are just simpler. We explore this thought by looking at several measures of simplicity and how they interact with the relevant universals. Our conclusion will be that (i) each such measure earns its explanatory power only by first fixing a representation language, a set of primitive operations, or an encoding, whereas the learnability thermometer commits to no such thing. Moreover, (ii) in many cases, we will see that learning has

Figure 2: Results from Haberland and Steinert-Threlkeld, 2025. Each dot corresponds to one quantifier. The x-axis is the area under the learning curves; these are computed with respect to a loss, so lower values mean easier to learn. The y-axis corresponds to the degree of monotonicity of each quantifier. The line of best fit, in red, shows that there is a correlation between ease of learning and degree of monotonicity.
more explanatory power than complexity. Because of these points, we argue that ease of learning is not merely one measurement device among others, but is conceptually prior to the complexity measures.
First, following a prominent line in cognitive science, we investigate logical complexity (Feldman, 2000; Goodman, Tenenbaum, Feldman, et al., 2008; Goodman, Tenenbaum, and Gerstenberg, 2015). Roughly: given a plausible representation language for meanings, take the simplicity of a meaning to be the length of the shortest expression in that logical language which denotes it. So, for instance, 'every A is B' might be represented by , but not by the equivalent because the latter is more complex. Van de Pol et al. (2023) analyzed quantifiers from this perspective, and found that monotone
Many of these papers show empirically that human concept learning tracks logical complexity. The Bayesian approach to cognitive science can be viewed as building this link between learning and simplicity in to the theory: when using structured representations, the prior is heavily biased towards simple representations (Griffiths, 2024; Griffiths, Chater, and Tenenbaum, 2024; Quilty-Dunn, Porot, and Mandelbaum, 2023).
Walsh (2026) has recently argued that the generalized quantifiers in natural language are all either or -definable, i.e. are of relatively low descriptive complexity broadly. This complements rather than competes with the present program: Walsh assumes two universals (conservativity and domain-independence) to derive a complexity ceiling, so his bound is downstream of the universals, whereas we treat the universals as the explanandum. His result also bounds the class as a whole without distinguishing between the monotone and non-monotone quantifiers within it, leaving open whether ease of learning refines the bound by recovering that finer structure.
quantifiers do tend to have shorter minimum description lengths than non-monotone ones, suggesting that learning and logical complexity broadly agree in this case. In a follow-up analysis of the learning data from Haberland and Steinert-Threlkeld, 2025, we performed a regression comparing logical complexity and ease of learning as predictors of the degree of monotonicity. The results are clear: ease of learning has a much stronger effect than complexity. When added as a predictor with complexity, learning explains significantly more variance in monotonicity. When complexity is added as a predictor over and above ease of learning, the additional explained variance is very small. This suggests that ease of learning plays a stronger role than complexity in explaining monotonicity.
Carcassi and Szymanik (2022) show that neural-network learning effort and logical complexity are positively rank-correlated across Boolean categories, but that the strength of the correlation depends on which operators the language of thought admits. This is an example of language-relativity of complexity. The minimal description length is defined only relative to a set of primitive operators, and different choices of that set induce very different complexity profiles. The same 65,536 categories that a nine-operator language expresses in at most eight symbols require up to sixteen under a NAND-only language and up to thirty-five under {OR, NOT} (Figure 3). Which meanings count as “simple”—and hence, on the simplicity story, easy to learn—thus depends on a prior choice of language.

Figure 3: The complexity of a Boolean meaning is defined only relative to a choice of primitive operators. Distribution of minimal-formula lengths across all 65,536 Boolean categories under three languages of thought: all nine operators (left), NAND alone (centre), and {OR, NOT} (right). The same meanings that the nine-operator language expresses in at most eight symbols require up to sixteen operators under NAND and up to thirty-five under {OR, NOT}. Adapted from Carcassi and Szymanik (2023).
The problem is wider, and one cannot escape it by reading the operators off behaviour: Carcassi and Szymanik (2023) find that the true Boolean language of thought (LoT) is recoverable from category-learning data only in narrowly restricted regimes—few operators, a strong simplicity bias, and a favourable design—succeeding in well under one percent of their simulated experiments. In general, then, both the complexity of a meaning and the language relative to which it is defined are under-determined by the learning data. Machine learning is attractive precisely because it forces neither choice up front.
A candidate complexity measure that purports to overcome this language-dependence is Kolmogorov complexity: for any object x (encoded as a binary sequence), is the length of the shortest program for a universal Turing machine to compute x (Li and Vitányi, 2008). A famous invariance result states that the choice of universal TM (roughly, choice of description language) only affects K(x) by an additive constant that depends only on the two TMs, but not the object x. Van de Pol et al. (2023) measured quantifier complexity using an empirical approximation to the uncomputable K(x) (Lempel-Ziv complexity) and found that, while monotone quantifiers are less complex, quantifiers satisfying other universals are often more complex on this measure. Furthermore, the language-invariance of K(x) does not obviate the need for modeling choices in a cognitive context (Chater and Vitányi, 2003): the additive constant merely relocates the arbitrary choice from the description language to the encoding of objects by the mind, and this encoding strongly affects the empirical predictions made by this measure of simplicity. For example: different ways of representing quantifiers as binary strings for computing K(x) can yield different relative orderings of their complexity.
The sensitivity of both forms of complexity to language and representational choices points to another virtue of using machine learning in this application: while such learners do have their own inductive biases, the assumptions made to apply such models are more domain-general than the assumptions needed for other complexity measures. Crucially, this domain-generality is not only an argument we can make theoretically. Because the learnability ordering we measure is reproduced across markedly different architectures—LSTMs and Transformers alike (Figure 2)—we have direct evidence that it does not simply reflect the inductive bias of one particular learner. Where a complexity measure’s verdict can be flipped by re-choosing its primitives, the ease-of-learning verdict has so far proved stable under analogous alternative choices. That stability licenses treating ease of learning as a measurement of the meanings themselves, rather than an artifact of the instrument. How far this learner-invariance extends is itself an important question, to which we return below.
4 Moving Forward
We have used machine learning to measure the temperature of meaning spaces and found semantic universals in warm regions. We close by asking what must be true of the world for this to work. To that end, we also offer a conjecture which captures the assumption on which the program rests.
We have spoken of “ease of learning” as a property of a meaning. Yet every learner brings its own inductive biases, and one might worry that our heat-map is an artifact of the instrument: other learning architectures may produce different warm regions. The evidence gives reason for optimism: the ordering of quantifiers by ease of learning is largely preserved across learners as different as LSTMs and transformers. We propose to take this as evidence for a more general claim:
EASE-OF-LEARNING INVARIANCE THESIS: There is an ordering of meanings by ease of learning that is invariant across sufficiently general learners—up to the learning analog of an additive constant—and it is this ordering that natural language semantic universals track.
The analogy is with Kolmogorov complexity, where the choice of universal machine shifts only by a constant independent of x; here it is the choice of learner, not of description language, that is meant to wash out not the absolute effort of acquisition, which surely varies, but the order it imposes on the space of meanings. In that light, the previous section’s moral becomes positive: each symbolic measure of simplicity fixes an arbitrary language and reads complexity off it, whereas ease of learning is the invariant those measures were approximating, agreeing with it when their primitives happen to be well-adapted, and diverging otherwise.
Unqualified, the thesis is false, and instructively so. No-free-lunch results (Wolpert, 1996; Wolpert and Macready, 1997) guarantee that no learner is best for every target: over wholly unnatural spaces, different learning biases give different orders. All the content lives in sufficiently natural spaces, which is the bet that cognitively plausible, domain-general learners converge on a single order over the meanings that human languages actually use. Delimiting that class, and the domains on which convergence holds, is not a caveat but the program’s central problem.
If the bet is right, the payoff runs both ways. Forward, a single learnability scale would organize universals well beyond quantifiers—across color, kinship, modality, and more—a common temperature we would expect to coincide with pressures such as communicative efficiency. Backward, the typological record becomes an instrument of its own: from the regions the world’s languages show us are warm, we can begin to reverse-engineer the human learner’s prior. The thermometer is always only an instrument. Future research will uncover the thermodynamics.
References
Barwise, Jon and Robin Cooper (1981). "Generalized Quantifiers and Natural Language". In: Linguistics and Philosophy 4.2, pp. 159–219. DOI: 10.1007/BF00350139.
van Benthem, Johan (1986). Essays in Logical Semantics. Dordrecht: D. Reidel Publishing Company. DOI: 10.1007/978-94-009-4540-1.
— (1991). Language in Action. Vol. 130. Amsterdam: Elsevier.
Carcassi, Fausto, Shane Steinert-Threlkeld, and Jakub Szymanik (2021). "Monotone Quantifiers Emerge via Iterated Learning". In: Cognitive Science 45.8, e13027. ISSN: 1551-6709. DOI: 10.1111/cogs.13027.
Carcassi, Fausto and Jakub Szymanik (2022). "Neural Networks Track the Logical Complexity of Boolean Concepts". In: Open Mind 6, pp. 132–146. ISSN: 2470-2986. DOI: 10.1162/opmi_a_00059. URL: https://doi.org/10.1162/opmi_a_00059.
(2023). "The Boolean Language of Thought is recoverable from learning data". In: Cognition 239, p. 105541. ISSN: 0010-0277. DOI: https://doi.org/10.1016/j.cognition.2023.105541. URL: https://www.sciencedirect.com/science/article/pii/S0010027723001750.
Chater, Nick and Paul Vitányi (2003). "Simplicity: A Unifying Principle in Cognitive Science?" In: Trends in Cognitive Sciences 7.1, pp. 19–22.
Chemla, Emmanuel, Brian Buccola, and Isabelle Dautriche (2019). "Connecting Content and Logical Words". In: Journal of Semantics 36.3, pp. 531–547. ISSN: 0167-5133. DOI: 10.1093/jos/ffz001.
Douven, Igor (forthcoming). "The Learnability of Natural Concepts". In: Mind & Language. ISSN: 1468-0017. DOI: 10.1111/mila.12523.
Feldman, Jacob (2000). "Minimization of Boolean Complexity in Human Concept Learning". In: Nature 407, pp. 630–633. DOI: 10.1038/35036586.
Goodman, Noah D, Joshua B Tenenbaum, Jacob Feldman, et al. (2008). "A Rational Analysis of Rule-Based Concept Learning". In: Cognitive Science 32.1, pp. 108–154. DOI: 10.1080/03640210701802071.
Goodman, Noah D, Joshua B Tenenbaum, and Tobias Gerstenberg (2015). "Concepts in a Probabilistic Language of Thought". In: The Conceptual Mind. Ed. by Eric Margolis and Stephen Laurence. The MIT Press, pp. 623–654. ISBN: 978-0-262-32686-5. DOI: 10.7551/mitpress/9383.003.0035.
Griffiths, Thomas L (2024). "Bayesian Models of Cognition". In: Open Encyclopedia of Cognitive Science. DOI: 10.21428/e2759450.7b420317. URL: https://oecs.mit.edu/pub/lwxmte1p/release/2.
Griffiths, Thomas L, Nick Chater, and Joshua B Tenenbaum (2024). Bayesian Models of Cognition: Reverse Engineering the Mind. Cambridge, MA, USA: MIT Press. ISBN: 978-0-262-38104-8. URL: https://mitpress.mit.edu/9780262381048/bayesian-models-of-cognition/.
Haberland, Christopher and Shane Steinert-Threlkeld (2025). "Quantifiers That Are More Monotone Are Easier to Learn". In: Proceedings of the 35th Semantics and Linguistic Theory Conference (SALT35). Ed. by Youngdong Cho et al., pp. 286–309. DOI: 10.3765/6qa95941. URL: https://journals.linguisticsociety.org/proceedings/index.php/SALT/article/view/35.015.
Icard III, Thomas F. and Lawrence S. Moss (2014). "Recent Progress on Monotonicity". In: Linguistic Issues in Language Technology 9. URL: https://aclanthology.org/2014.lilt-9.7/.
Li, Ming and Paul Vitányi (2008). An Introduction to Kolmogorov Complexity and Its Applications. Springer.
Lindström, Per (1966). "First Order Predicate Logic with Generalized Quantifiers". In: Theoria 32.3, pp. 186–195. DOI: 10.1111/j.1755-2567.1966.tb00600.x.
Maldonado, Mora, Jennifer Culbertson, and Wataru Uegaki (2022). "Learnability and Constraints on the Semantics of Clause-Embedding Predicates". In: Proceedings of the Annual Meeting of the Cognitive Science Society 44.44.
Mostowski, Andrzej (1957). "On a Generalization of Quantifiers". In: Fundamenta Mathematicae 44.2, pp. 12–36.
Peters, Stanley and Dag Westerstahl (2006). Quantifiers in Language and Logic. Oxford: Clarendon Press.
van de Pol, Iris et al. (2023). "Quantifiers Satisfying Semantic Universals Have Shorter Minimal Description Length". In: Cognition 232, p. 105150. DOI: 10.1016/j.cognition.2022.105150.
Quilty-Dunn, Jake, Nicolas Porot, and Eric Mandelbaum (Jan. 2023). "The Best Game in Town: The Reemergence of the Language-of-Thought Hypothesis across the Cognitive Sciences". In: Behavioral and Brain Sciences 46, e261. ISSN: 0140-525X, 1469-1825. DOI: 10.1017/S0140525X22002849. (Visited on 02/04/2025).
Ramotowska, Sonia, Leendert van Maanen, and Jakub Szymanik (2026). "Adult learning of a novel quantifier tracks semantic universals". In: Cognition 273, p. 106523. ISSN: 0010-0277. DOI: https://doi.org/10.1016/j.cognition.2026.106523. URL: https://www.sciencedirect.com/science/article/pii/S0010027726000909.
Steinert-Threlkeld, Shane (2020). "An Explanation of the Veridical Uniformity Universal". In: Journal of Semantics 37.1, pp. 129–144. ISSN: 0167-5133. DOI: 10.1093/jos/ffz019.
Steinert-Threlkeld, Shane and Jakub Szymanik (2019). "Learnability and Semantic Universals". In: Semantics & Pragmatics 12.4. DOI: 10.3765/sp.12.4.
— (2020). "Ease of Learning Explains Semantic Universals". In: Cognition 195, p. 104076. ISSN: 0010-0277. DOI: 10.1016/j.cognition.2019.104076.
— (in prep). Computational Explanations of Semantic Universals. Cambridge Elements in Semantics and Pragmatics. Cambridge University Press.
Szymanik, Jakub (2016). Quantifiers and Cognition. Logical and Computational Perspectives. Studies in Linguistics and Philosophy. Springer.
Walsh, Sean (2026). "The Generalized Quantifiers of Natural Language Are Predicatively Definable". In: The Review of Symbolic Logic, pp. 1–45. ISSN: 1755-0203, 1755-0211. DOI: 10.1017/S1755020326101191.
Wolpert, David H (Oct. 1, 1996). "The Lack of A Priori Distinctions Between Learning Algorithms". In: Neural Computation 8.7, pp. 1341–1390. ISSN: 0899-7667. DOI: 10.1162/neco.1996.8.7.1341. URL: https://doi.org/10.1162/neco.1996.8.7.1341.
Wolpert, David H and William G Macready (Apr. 1997). "No Free Lunch Theorems for Optimization". In: IEEE Transactions on Evolutionary Computation 1.1, pp. 67–82. ISSN: 1941-0026. DOI: 10.1109/4235.585893. URL: https://ieeexplore.ieee.org/document/585893.