A Frame-Theoretic Model of Bayesian Category Learning

Bayesian models of category learning typically assume that the most prob-ablecategoriesarethosethatgroupinputstimulitogetheraroundamaximallyoptimalnumberofsharedfeatures.Onepotentialweaknessofsuchfeaturelistapproaches, however,isthatitisunclearhowtoweightobservedfeaturestobemoreorless diagnosticforagivencategory.Inthistheoreticallyorientedpaper,wedevelopa frame-theoreticmodelofBayesiancategorylearningthatweightsthediagnostic-ityofobservedattributevaluesintermsoftheirpositionwithinthestructureofa frame(formalisedasdistancefromtheframe’scentralnode).Wearguethatthereare goodgroundstofurtherdevelopandempiricallytestframe-basedlearningmodels, becausetheyhavetheoreticaladvantagesoverunweightedfeaturelistmodels,and becauseframestructuresprovideaprincipledmeansofassigningweightstoattribute valueswithoutappealingtosupervisedtrainingdata.


Introduction
Bayesian models of categorisation typically assume that there is both an input to categorisation-the stimulus to be categorised-and an output from categorisationthe (cognitive) behaviour of the categoriser (Kruschke 2008). But in order to count as cognitively adequate, the model must also represent the cognitive processes that mediate between input and output, and take these representations to be informative about the hypothesis space over which Bayesian inference operates. There are a number of possible candidates that could be sourced from cognitive scientific theoriese.g. prototypes, bundles of exemplars, or theory-like structures (Carey 1985;Lakoff 1987;McClelland and Rumelhart 1981;Nosofsky 1988;Rehder 2003). However, it has become standard practice to assume that Bayesian models operate over representations of unstructured lists of features; e.g. feature list representations (Anderson 1991;Sanborn 2006;Goodman et al. 2008;Shafto et al. 2011).
In this paper, we introduce and motivate frames as a candidate for the representations that mediate between (sensory) input and behavioural output, and as the representational format over which Bayesian inference operates in a Bayesian model of category learning. In other words, we introduce frame-theoretic representations (attribute-value structures) as the representational format of the data observed and operated on by the model. Our argument is that the resulting frame-theoretic model of Bayesian category learning is a theoretical improvement on feature list models, because our model can make fine-grained discrimination between competing categories without basing the weighting of attribute values on supervised training data. This is the case because frames-as the representational format of the input to our model-are not mere unordered lists of features, but, rather, are recursive attribute-value structures organised around a central node. For example, instead of three features such as fur, black, and soft, frames represent how these features are related by defining each feature as the value of some attribute i.e., that fur has (at least) two attributes colour and texture, and that the values of these attributes are black and soft, respectively. As such, frames can be interpreted as assigning attribute values more or less weight depending on properties defined in terms of the structure of frames themselves. As a rough heuristic, our model proposes to weight attribute values as more or less diagnostic depending on whether or not they appear more centrally within a frame. In other words, our model takes a feature's 'path distance' from the central node to determine the diagnosticity of that feature for a given category.
As an example, suppose that the fur, black, and soft values appeared in a frame for a cat. Since, black and soft are values of attributes of fur, and fur is the value of an attribute of cat, a parameter based on distance from the central node would rank black and soft lower than fur. By incorporating this diagnosticity weighting in our model, we develop a frame-theoretic model of Bayesian category leaning that introduces constraints on the most probable categories in terms of the diagnosticity of the observed features of entities being categorised.
The structure of this paper is as follows. In Sect. 2, we consider weighted Bayesian models of categorisation and argue that there is space to introduce a model that weights the relative diagnosticity of observed features that is not based on labelled training data. Then, in Sect. 3, we introduce a frame-theoretic representation of observed data and categories (e.g. the input and output of a categorisation model), in which frames are recursive attribute-value structures (Barsalou 1992; Barsalou and Hale 1993;Löbner 2014;Petersen 2015;Ziem 2014). Building upon this claim, we argue that the informational-structure of frames can be used to introduce a constraint on the relative diagnosticity of information encoded within a category and/or set of categories, where diagnosticity can be defined partly by properties of frame structure (distance from the central node). Finally, we outline how feature list models of Bayesian category learning can be extended to operate over frames. On our frame-theoretic approach, the information-structural constraints of the model's frame representational-input influences the conditional probability of possible sets of categories by weighting the diagnosticity of the features of entities being categorised. We consider possible challenges to our model and possible future developments, before concluding that our model is better suited to describe and explain the unsupervised process of categorisation than comparable feature list based alternatives.

Weighted Bayesian Models of Categorisation
Categorisation is the cognitive process of representing given (natural) domains according to relevant features or properties. These features can be distinguished by our sense modalities-e.g. when we categorise objects in terms of their shape, size, or smell. But these features can also be distinguished by their informational content-e.g. when we can categorise foods in terms of their social role or nutritional content, or when we can categorise animals in terms of their ecological niches or taxonomic group (Shafto et al. 2011). In Bayesian models, categorisation occurs as the result of the model probabilistically grouping together sets of objects with shared features (e.g. yellow, curved). For instance, in the domain of, say, fruits, yellow and curved objects will have a relatively higher probability of being categorised together than all yellow objects, since other yellow fruits differ widely in their other properties (shape, size etc.), meaning that a clustering of all yellow fruits would yield a category with a below-optimal similarity of features. In this way, Bayesian models of categorisation explain how objects or sets of objects come to be categorised as one type or another (Anderson 1991;Tenenbaum 1999;Fei-Fei and Perona 2005;Wu et al. 2014 amongst many others).
An important question for Bayesian models of categorisation, however, is how models should represent input feature spaces, and, furthermore, how the representation of feature spaces influences the process of Bayesian categorisation. On many approaches to Bayesian category learning, feature inputs are represented as unordered lists of features (Anderson 1991;Sanborn 2006;Goodman et al. 2008;Shafto et al. 2011). And, on this approach, Bayesian categorisation proceeds by making the most probable categories those categories that group input stimuli together around a maximally optimal number of shared features. But, unless weights are added to lists of features in some principled way, this approach can be criticised for failing to provide an account of the relative importance of the features around which categorisation occurs. For example, on this approach the features of colour, shape, texture, genus, and region of first domestication all count as equally relevant for the differentiation of, say, bananas and oranges. And this seems counter-intuitive, because the representation of certain features-say, colour and shape in the case of bananas and oranges-appears to be more important for categorisation and so should have a bearing on what is taken to be the maximally optimal grouping of shared features.
In order to resolve the problem of uniformly diagnostic features, weights have been added to Bayesian models of categorisation, which make different features more or less diagnostic for specific categories. Such weighted models, however, face the challenge of finding a principled way to assign weights to individual features. For example, Hall (2007) makes use of a "decision tree-based filter method for setting [feature] weights," where feature weights are estimated by constructing an unpruned decision tree and looking at the depth at which features are tested in the tree (Hall 2007, p. 121). Similarly, Wu et al. (2014) assign weight values to features by allowing the model to construct an unpruned decision tree that can be used to estimate each feature's dependence on other features (Wu et al. 2014(Wu et al. , pp. 1675(Wu et al. -1676. These example models-and many others like them-have contributed to a growing literature that aims to improve the performance of naive Bayesian models while retaining their simplicity and computational efficiency. Notably, however, models which assign weights to features do so on the basis of, for example, frequency of features for categories, where categories are established via supervised learning. It follows that the weighting schemas implemented by frequency-based approaches are derived from periods of supervised learning; that is, they are schemas that are dependent upon the input of supervised training data (Wu et al. 2014(Wu et al. , p. 1676. In principle, there is nothing wrong with the application of such supervised trainingbased weighting schemas. However, the simplicity and tractability of models based on naive Bayesian assumptions is attractive (Pham 2009), especially if such models can be used in unsupervised learning tasks. This is the challenge that we take up in this paper. We develop a model that maintains the independence assumptions of naive Bayes, whilst assigning weights to features without appealing to weighting schemas derived from a period of supervised learning. The price to pay for this is that one must enrich the data that is input into the model. We do this by taking the input data to be in representational format of frames and not of feature lists. Our justification for this move is set out in Sect. 3, where we argue that there is support for the view that human cognition is structured around richer structures than lists of features and, therefore, that the data made available to learning models ought to be enriched. Furthermore, we argue that the hierarchical structure of frames allows models to assign weights to attribute values in frames.
In the remainder of this paper, we develop a Bayesian frame-based model of category learning. Our model will assign weights to features in virtue of the information structure of the feature spaces observed by the model. 1 In doing so, we drop the assumption that the input feature spaces over which Bayesian models operate are themselves flat and uniformly diagnostic for all categorisation tasks. Our claim is that the relative diagnosticity of features for categories can be captured by enriching the representational format of the data observed by the model. Such an enrichment, we claim, makes explicit how the probability of a system of categories can be cal-culated not only from features (the values of attributes in our terms), but also from the structure of the data itself (such as the path distance that attribute is from the central node). The end result, therefore, is that certain, observed features-e.g. the features colour and shape in the group of observed features colour, shape, texture, genus, and region of first domestication-will have more of an influence on the probability of categorising the observed data as one category or another-e.g. as banana or orange.
To be clear, we accept that the evaluation of our model will ultimately be empirical, whereby the model is compared to actual human performance in the course of experimental testing. However, the contribution of this paper is the theoretical development of a model that shows promise as an improvement on current models of Bayesian category learning, since it derives relative feature diagnosticity in an unsupervised manner.

Frames
According to Barsalou (1992), frame representations capture the general format of cognition. As attribute-value structures, frames represent both the "general properties or dimensions by which the respective concept is described (e.g., color, spokesperson, habitat ...)" and the values that each property or dimension takes in any given instantiation "(e.g. [color: red], [spokesperson: Ellen Smith], [habitat: jungle] ...)" (Petersen 2015, p. 151). Thus, "a frame is a representation of a concept for a category which is recursively composed out of attributes of the object to be represented, and the values of these attributes" (Löbner 2014, p. 11). For Barsalou, an attribute is "a concept that describes an aspect of at least some category members"; and values are "subordinate concepts of an attribute" (Barsalou 1992, pp. 30-31). And, thus, a picture emerges of frames as representations of categories that encode, at the attribute level, general properties, dimensions, or aspects of the category in question; and, at the value level, the values taken by specific instantiations of the category in question.
Frames, then, are constituted of attribute-value pairings, where for "every attribute there is the range of values which it can possibly adopt" and "The range of possible values for a given attribute constitutes a space of alternatives" (Löbner 2014, p. 11). For example, an attribute such as colour maps entities to colour values (e.g., [colour: red]), and an attribute such as shape maps entities to geometrical values (e.g, [shape: round]). 2 Frames can themselves be represented by directed-graphs, whereby labelled nodes specify instantiated regions of the value space and arcs  (Petersen 2015) specify attribute designations of regions in the value space (see Fig. 1). 3 Importantly, however, frames cannot be reduced to simple lists of features, because: [...] it is not possible to simply replace the nodes in the frame definition by their labels, since two distinct nodes of a graph can be labeled with the same type. E.g., we could modify the lolly-frame in [ Fig. 1] so that the stick and the body of the described lollies were produced in two distinct factories, where one is located in Belgium and one in Canada. (Petersen 2015, pp. 49-50) Two questions arise, the answers to which are important for justifying our model: (i) Why should we assume that the frames are the representations that mediate between (sensory) input and categorisation of that input (as opposed to feature lists)?; (ii) What benefits do frames have as such input over feature lists?
Our simple answer to (i) is that the construction of feature lists implicitly assumes a richer relation between features, which is made explicit when we construct frames. Take the frame in Fig. 1. As a feature list, one could represent part of this information with the following features has a stick, has a body, body is red, stick is green. For the latter two in particular, the alternative would be to list two incongruent colour features red and green (resulting in potential contradiction). Yet, given that features must be more fully specified in this way, such lists of features simultaneously assume an attribute-value structure and make the structure invisible to any model that attempts to form categories on the basis of those features. (Bear in mind, that for a categorisation model, the features has a stick, has a body, body is red, stick is green may as well be represented as f 1 , f 2 , f 3 , f 4 , since the fact that two features share 'stick' and two features share 'body' as part of their labels is not something that a model based on feature lists can access.) Therefore, there is a very real sense in which providing feature lists as data input sells itself short by both implicitly assuming a richer structure to the data, but also not allowing any learning model to access that structure.
With respect to (ii), our claim is that the reason why frames are useful and relevant to categorisation is that they can be used to constrain information. In the first place, frames provide constraints on the range of values at any given node, because "information represented in a frame does not depend on the concrete set of nodes. It depends rather on how the nodes are connected by directed arcs and how the nodes and arcs are labelled" (Petersen 2015, p. 49). In other words, if we assume that frames are the category representations that mediate between (sensory) input and behavioural output, then it follows that categories must have a structure that relates the general properties, dimensions, or aspects of a category to the possible values that such general properties, dimensions, or aspects can take. For example, if the value of colour is given as square-e.g. [colour: square]-then it is clear that the established 'category' is, in fact, no category at all (square is not a possible colour value). Thus, it follows that even where a notional 'category' contains attribute-value pairs, it may still follow that the 'category' in question is impermissible because some of the attributes are assigned infelicitous values.
A second way in which frames constrain information derives from the fact that they are recursive (the value of one attribute can itself have attributes). The central node (graphically, the double-ringed node) indicates what the frame represents (i.e., lollies in the case of Fig. 1). Attribute-value pairs 'closer' to the central node encode relatively important, but general, information about the represented object. And attribute-value pairs 'further' from the central node encode relatively less important, but more specific, information about the represented object (because they are, e.g., values of attributes of values of attributes of the central node). For example, in Fig. 1 the 'closer' attribute-value pairs specify what physical structure and component parts the lolly in question has; and the 'further' attributes specify the colour and producer of these components. It follows, therefore, that those attribute-value pairs that are closer to the central node are more likely to be diagnostic of the category into which the object represented should be sorted. Thus, we can conclude that, at least as a rough heuristic, frames with more uniform 'closer' attribute-value pairs will represent more likely categories than frames with less uniform 'closer' attribute-value pairs (even if the latter has more uniform 'distant' attribute-value pairs), because the former categories will be more effective in organising (sensory) input according to more 'central' properties. 4 For example, looking again at the lolly frame in Fig. 1, a category containing only red things that may or may not have bodies and sticks will be a less probable category than one which contains objects of different colours that all have bodies and sticks.
In an important paper, Shafto et al. (2011, p. 5) observe that standard approaches to modelling category learning appeal to a 'single system model' of categorisation (although the aim of their paper is to develop and motivate a more sophisticated cross categorisation model). They define a single system model of categorisation as a model that "embodies two intuitions about category structure in the world: the world tends to be clumpy, with objects clustered into a relatively small number of categories, and objects in the same category tend to have similar features." So a single system model "assumes as input a matrix of objects and features, D, where entry D o, f contains the value of feature f for object o" (Shafto et al. 2011). For the single system model, therefore, "there are an unknown number of categories that underlie the [input]," but the objects that are categorised within the same category "tend to have the same value for a given feature" (Shafto et al. 2011). As a result, the ultimate goal of the model is to infer-by means of establishing groupings within D according to shared features-likely set of categories, w ∈ W , where the process of categorisation occurs as the result of a trade-off between two goals or constraints: "minimizing the number of [categories] posited and maximizing the relative similarity of objects within [each category]" (Shafto et al. 2011).
Such models, and the model we develop here, make independence assumptions regarding feature spaces (value spaces for attributes, in our terms). For example, that the colour of the body of a lolly is independent from the manufacturer of the body. Single system models of categorisation proceed by partitioning the hypothesis space-e.g. the objects in the input matrix, D-according to more or less probable sets of categories, w. Finally, the posterior probability of hypotheses given the data ( p(w|D)) is calculated, where this posterior probability is influenced by the extent to which objects grouped into categories share features (are homogeneous) (Shafto et al. 2011, p. 6).
Replacing feature lists with frames amounts to making the input matrix D richer. When the input matrix specifies frames and not merely feature lists, the structure of frames can be used to define parameters for a categorisation model. Here, we investigate the possibility of exploiting the fact that frames are hierarchical. Graphically, each node can be measured in terms of path distance from the central node. Added to the fact that attributes are functional, this allows us to define, as a rough heuristic, the relative diagnostic strength of an attribute value from that value's distance from the central node. Hence, by including in D weighted values, where weights are derived from frame structure, Bayesian inference operates over a richer information set.
Consider the simple feature list matrix for four witnessed objects a, b, c, d and four features fur, feathers, brown, black in Table 1. If we assume that, even as feature lists, these features can be grouped into classes, which we label colour and layer, the joint probability distribution for the data can be given as shown in Table 2.
The possible groupings of objects into categories for this sample already numbers 15. Four such are given in (1) with the additional information of how these groupings relate to the features of objects.
However, the number of possible sets of categories increases exponentially with the number of objects. This presents a categorisation challenge. Given a huge number of hypotheses for categorising a set of objects, the options must be whittled down. Bayesian approaches to categorisation can do this by calculating the maximum probability for some set of categories w i , given the data D, namely: MAX w i ∈W [ p(w i |D)] (such that these probabilities can be updated in the light of new data). (Other alternatives include Markov Chain Monte Carlo Variational Bayesian methods.) For example, Shafto et al. (2011), following Anderson (1991), argue that this probability depends on the prior probability of assigning objects to categories (in a set of categories w) and the probability of the data given a set of categories.
We adopt Shafto et al.'s (2011) use of two parameters and the way in which they contribute to calculating p(w|D, α, δ) 5 : In (2), p(w|α) contains the parameter α which sets the extent to which the number categories should be minimised. p(D|w, δ) contains the parameter δ which sets the extent to which features of objects within categories should be similar (i.e., that memebers of categories should have the same feature/attribute values).  As a simple example of how these parameters work, take the data in Table 1. If the α parameter is set to maximally minimise the number of categories, then maximising p(w|α) would select w 15 in (1); namely, a singleton set of one category that includes all objects so far observed. If, however, the parameter δ is set to maximise feature harmony within categories, then maximising p(D|w, δ) would select w 1 in (1); namely, a set of categories that contains as many categories as there are ways to distinguish objects by their features.
Such feature list models have been implemented for categorisation tasks (Chater and Oaksford 2008;Shafto et al. 2011). However, notice that for some data sets, although we would intuitively categorise some entities together, unweighted feature lists provide an insufficient amount of information to distinguish between competing hypotheses. Take, once more, the data in Table 1. No matter how one sets parameters such as α and δ in a feature list based Bayesian categorisation model, the probability value for w 8 in (1) could not differ from the value for w 9 in (3): The reason for this is because even if we grant that a model can be set up to see brown versus black and feathers versus fur as two distinct comparison classes, the flat nature of feature lists does not allow for (observed) relations between features to be expressed, which, were they articulated, could be used to inform judgements regarding probable sets of categories. In other words, as has been recognised, feature lists must, at the very least, be weighted in some principled way. The problem is that, in an unsupervised learning task, it is difficult to justify the selection of one feature over another. Given frames as input data, however, such weightings can be defined by parameterising the structure of frames themselves. In other words, with frames, a categorisation model can be defined that can distinguish cases such as w 8 and w 9 . This is made possible because frames introduce a hierarchy between feature values in virtue of the fact that some values are values of attributes of other values. For the case in hand, for example, black and brown could be observed to be values of a colour attribute, such that colour is an attribute of the values fe and/or fu. 6 That is to say the data in Table 1 could license the attribute-value structure shown in Fig. 2. 6 In this paper, we are making the assumption that fur/feather-based categories are preferable. We take this to be reasonable on common-sense grounds. However, we also accept that there may be cross-cultural variation in the kinds of feature-based categories preferred. For example, it may be the case that individuals in certain cultures-e.g. Yucatec-speaking cultures-prefer material-based categories, while individuals in other cultures-e.g. English-speaking cultures-prefer shape-based categories (Lucy and Gaskins 2001). The kinds of cross-cultural differences that may be apparent in categorisation tasks cannot be dealt with adequately in this paper due to lack of space. Still, it is worth noting that our model-like any other Bayesian model of category learning-could be supplemented with further constraints to account for such differences in categorisation tasks. Such supplementation would first have to be justified in the light of ongoing debates about the relation between language, culture, and thought (cf. McWhorter 2014; Lucy 1992a, b).

Fig. 2
Attribute-value structure for data in Table 1 w V 1 V 2 Our proposal is that, in general, the importance of the similarity of feature values of objects within categories is proportional to how 'close' these feature values are to the central node measured by (minimum) path distance. The intuitive idea is that properties of objects within the same category tend to be similar, at least in terms of type, when these properties are more diagnostic of the category in question (see Sect. 3). Take the frame from Petersen (2015) in Fig.1. The type of value for the body and stick attributes will be very similar across different lollies. Indeed, if something had, e.g., lolly properties but no stick, one might judge it to be a sweet, not a lolly. However, the shape, colour, and producer for each lolly component may vary to a greater extent without giving one cause to judge, e.g., that two differently coloured objects belong to different categories qua lolly or not a lolly.
Using unweighted feature lists alone, one cannot formally capture that similarity between values is more important for more central nodes. With frames we can. Given that we will not here be exploiting further properties of frames, data sets can be minimally changed to include a distance measure. For the frame in Fig. 2, for example, V 1 measures a distance of 1 from the central node. V 2 measures a distance of 2. (For more complex frames, this means that there may be multiple values that measure the same distance. 7 ) This requires a fairly minimal adjustment in how data sets are represented. The data in Table 1, for example, will be represented as in Table 3. The adjustment made is that we now represent features as pairs f, d where f is a feature (e.g. brown or feathers) and d is a measure of distance such that d ∈ N. This change is not trivial. Enriching the data set could be seen as some kind of cheat, i.e., by providing more information that guides the process of forming categories. However, as we argued in Sect. 3, such structure is often implicit in feature lists, even if it invisible to the learning model. In our model, we make this implicit information available. 8 A full specification of our model is given in Appendix 1. In brief, we calculate the value for p(w|α) from the sum of the entropy of the set of categories in w with respect to the assignment of objects to categories in w, weighted by α. In other words, in terms of the average amount of information required to determine which object a category is in, given a set of categories. A w with only one category will minimise entropy (no information is required to know which category an object is in because all objects are in one category). This translates into a high value for p(w|α). Depending on the value of α, a w with many categories will have comparably higher entropy (especially if the categories are evenly distributed/of similar size). This translates into a comparably lower value for p(w|α). Values of p(D|w, δ) are calculated from the δ-weighted entropy of each category with respect to the features of objects within that category. If all objects within each category have the same features, then entropy will be minimised (one would need no information to know which features an object has given the category it is in). This translates into a high value for p (D|w, δ). If objects in the same category differ with respect to their attribute values, then, depending on the setting for δ, this probability will be lower.
The difference between our model and one based on feature lists, therefore, is that unsupervised feature list models do not have a principled way to weight similarity with respect to some features more heavily than similarity with respect to others. For feature list models, given the data set in Fig. 1 and w 8 and w 9 from (1) and (3), for example, p(w 8 |D, α, δ) = p(w 9 |D, α, δ) for all settings of α and δ. However, our frame-based model can discriminate between these two sets of categories. Objects in categories in w 8 have the same attribute values at distance 1 from the central node (viz. fe and fu), but different attribute values at distance 2 from the central node (viz. br and bl). In contrast, objects in categories in w 9 have different attribute values at distance 1 from the central node (viz. fe and fu), and the same attribute values at distance 2 from the central node (viz. br and bl). (See Appendix 1 for details.) 9

Challenges and Future Developments
Refining the model to discriminate between subkinds/superkinds. This kind of model opens up an intriguing avenue for further research: we could define levels of granularity for categorisation by manipulating the function which underpins δ. For example, relatively coarse-grained categorisation would prioritise similarity of object features only for nodes that are small distances from the central node. This 9 We do not claim that there is no other way to do this. For example, possible sets of categories, formed from unweighted feature list input, could be ranked according to other principles such as simplicity in which sets of categories are preferred if they minimise similarities within categories and maximise differences between categories (Chater 1999;Pothos and Chater 2002). Indeed, it is an open and interesting question whether our model ends up approximating the results of a simplicitydriven strategy, or, if not, whether both a frame based input and a simplicity-driven categorisation strategy could be combined in some way. We leave the comparison between our model and others for future work.  might, for example, cluster birds together and mammals together. If, however, δ is set to push towards similarity of values in 'further out' nodes, then distinctions between categories would be more fine grained. This could, for example, allow for the bird category to be partitioned into species of birds. The reason for this is that there is a general tendency for birds to be similar with respect to values closer to the central node (e.g. feathers, wings, beak etc.), but dissimilar with respect to less central values. For example, beaks, wings, and feathers may differ with respect to shape, size, and colour. The basic idea is shown in Fig. 3. If values at distance 1 from the central node are enforced to be similar (V 1.1 , V 1.2 , and V 1.3 ), but values at distance 2 can differ (V 2.1 -V 2.5 ), then we would expect birds to be categorised together. However, if the setting for δ was such that values at distance 1 and at distance 2 were enforced to be (more-or-less) similar, we would get a categorisation of, say, different bird species. An interesting avenue for further research is whether or not our model, which is a single system model in the sense of Shafto et al. (2011), could be used as a cross categorisation model by manipulating the function that underpins the δ parameter.
Distance may be insufficient as a measure. Our model has limitations as a result of our simplistic adoption of distance from the central node as the basis for justifying the weighting of certain attribute values over others, namely, for some cases, such a coarse measure is unlikely to get the right results. For example, take a frame for shoes such that one wishes to discriminate high-heeled shoes from loafers. In such a case the height of the heel is surely a highly diagnostic factor. However, as indicated by Fig. 4, other, far less relevant factors, such as the colour of the heel will appear at the same distance from the central node. Developments of our account will therefore have to investigate if there are other features of frames that can be parameterized in a categorisation model to capture such cases. For example, an extra feature of frames that we have not discussed here are constraints between values. For example, finding out the height of a shoe's heel may be highly informative as to other attribute values (such as the shape of the upper, the (un)likelihood of shoelaces etc.). One possible extension would therefore be to enrich the model with a parameter based upon numbers of constraints a node has linking it to other nodes. (The colour of a heel will be less likely to constrain other values than the height of the heel.) 10 Necessity of empirical verification of the model. We submit that our frame-theoretic model of Bayesian category learning is an important theoretical development in one crucial respect: the model incorporates weights on the relative diagnosticity of attribute-value pairs without having to index such weightings to properties discerned from a period of supervised learning. In other words, our model provides an unsupervised way of introducing weights on the relative diagnosticity of attribute-value pairs, such that one need not train the model on a data set already imbued with category distinctions. However, we also accept that, in this paper, we have only been able to make explicit a theoretical difference between our model and comparable alternatives. It follows that our model-if it is to be taken as an accurate representation of human performance in categorisation tasks-must be empirically tested. That is, experimental methods must be employed to compare the categorisation performance of our model with the categorisation performance of other available models. In this way, our model must be comparatively evaluated according to how well it accounts for a given set of data relating to human performance, so that it can be empirically demonstrated that our model better explains human performance than its rivals. We therefore plan to test our model empirically in future research.

Conclusion
Although a number of representational formats have been exploited to account for the input to Bayesian categorisation models, it remains unclear which is best suited to modelling human categorisation. On the received view, Bayesian inference is taken to operate over input in the form of object-feature list matrices. Although such models have made progress, we have argued here that they only have sufficient discriminatory power because they tend to implement weighting schemas based on supervised learning (weights are derived from exemplars of categories provided in a period of supervised (or semi-supervised) learning).
Our central contribution has been to introduce and exploit frames as the representational format of the input to Bayesian models of category learning. Frames have a richer informational-structure than do feature lists, and so can be used to determine the weighted diagnosticity of the information encoded within a category. As a result, the frame-based model we developed can discriminate between competing sets of categories without having to define weights based on samples of data labelled with categories. In other words, we have given a theoretical basis for a Bayesian categorisation model that, in principle, can approximate weighted naive Bayesian models without a period of supervised learning or weakening the independence assumptions of such models. This follows because the structure frames inherently have (and feature lists lack) can be used to define such weights directly from training data that is not tagged with categories to be learned.
Our adoption of frames as representations of data input and category output extends and consolidates the enlightened Bayesian paradigm, which looks to developments in the cognitive sciences to inform Bayesian modelling techniques (Chater et al. 2011;Jones and Love 2011). As postulates of cognitive scientific theories, frames are already a well-established representational architecture (among many others, see Barsalou 1992;Löbner 2014;Ziem 2014). However, until now, the theoretical benefits of frames had not been made explicit within the context of Bayesian models of category learning. By arguing that frames allow for the development of a more intuitively discriminatory model of category learning based on enriched input, we hope to have shown one way that an account of categorisation based upon the mathematical ideals of Bayesianism can still be subject to principled representational constraints. Although we accept that more work is needed to spell-out the evolutionary and practical relationship between Bayesian inference and (mental) representations in the broader domain of cognitive development, we think that our frame-theoretic approach to Bayesian category learning serves as a welcome further step on the path to developing a mechanistically-grounded and formally rigorous picture of cognition. We maintain the small categories preference parameter α, but the similar features preference δ, on our model, sets the preference for how strongly distance from the central node affects the overall similarity score for a set of categories. Definitions of elements of the model are given in Table 4. Categories are sets of objects and category schemas are sets of categories. The data input for the model consists of frames, here simplified to objects paired with attribute values and a distance of this value from the central node. Distance from the central node forms the basis for the weighting of attribute values determined by δ.
We assume, for simplicity, that for any set of categories, w, no object is in more than one category and every object is in a category. (Sets of categories completely partition the domain of objects.) In other words, as given in (5), for a set of objects, O, for each w, we have a distribution over the categories c i ∈ w (the probability function is accordingly labelled O, w, we suppress O in most of the following since we will not consider cases for multiple O sets).
The prior probability of a category c relative to a set of categories w is calculated as the number of objects in the category divided by the number of objects so far observed: Other distributions occur at the level of nodes in frames. Each node has a set of possible values (e.g., red, green etc., for colour, and feathers, fur, scales etc. for covering). We say more about such distributions in Appendix 1.2. Table 5 The effect of α on calculating the prior p(w|α) for the data in Table 3

The α Parameter
The intuitive idea behind the calculation of p M (w|α) is that w should minimise entropy over the object space (minimise the average amount of information required to identify in which category in w an object belongs). This is given in (7). If alpha is set to 1, then the probability is proportional to the inverse log of the entropy of w. If α = 0, then, assuming a base-2 logarithm, for all w ∈ W , p M (w|α) ∝ 2 0 (i.e. ∝ 1), thus all w ∈ W would receive the same prior. 11 In other words, there would be no preferential effect of reducing (or increasing) the number of categories.
As an example of how α operates, consider four objects a, b, c, d and a space of two category sets w 1 , w 15 . If w 1 = {c 1 = a, c 2 = b, c 3 = c, c 4 = d} and w 15 = {c 5 = {a, b, c, d}}, then, for varying vales for α, we get the results in Table 5 (values given to 2 decimal places).

The δ Parameter
The intuitive idea behind the calculation of p(D|w i , δ) is that, with respect to the values for an attribute, each category should minimise entropy (weighted by distance the attribute is from the central node). In other words, minimise the average amount of information it takes to decide which properties an object has if it is in a particular category.
Given that each d ∈ D is a tuple of an object and a set of attribute value-distance pairs, calculating p M (D|w, δ) turns on calculating, for each category c in w, the probability that the objects in c have some particular value for the relevant attribute. Let |f j | c k ,w,D be the number of times the attribute value f j occurs as a value in category c k ∈ w for a data set D. Let |c k | w,D be the number of objects in c k ∈ w. p w,D (f j |c k ) is, then: namely, for a set of categories w, the total number of times objects in c k ∈ w have value f j , divided by the total number of objects in c k . This forms a distribution for any set of attribute values that are the mutually exclusive values of some attribute (e.g., a distribution over feathers and fur, and a distribution over black and brown in our toy example).
The entropy values for attribute value spaces, given a category, are weighted depending on the distance d the feature is from the central node. This weighting is set by δ, which is a function from d to a real number in the range [0, 1]. The weighted entropy value for a category is, then, the sum of the weighted sum of the surprisal values for each attribute value, given a category, also weighted by δ. The weighted entropy value for a set of categories w is the weighted average of the entropy values for each category in w (relative to p w (c)). So, for all w ∈ W : Intuitively, p M (D|w, δ) is a measure on how well the data is predicted by each w (weighted by δ). This value will be 1 if every piece of data (an object and its attribute values and distances) falls into a totally homogenous category with respect to the objects it contains. This is because the average amount of information to determine the attribute values of members of each category is 0. As categories get more and more heterogeneous, the value of p(D|w, δ) will get lower. This is because the average amount of information need to determine the attribute values of members of each category is high.
For example, for the data in Table 3, so with four objects a, b, c, d, and also with the four category sets w 1 , w 8 , w 9 , w 15 Table 3, then we get the impact of altering the δ function as given in Table 6 (values given to 2 decimal places). Since w 1 contains only singleton categories, the probability of the data given w 1 Table 6 The effect of δ on calculating the likelihood p(D|w, δ) for the data in Table 3 for w 1 , w 8 , w 9 and w 15 , for δ(n j ) = n 0 j , δ(n j ) = n −1 j , and δ(n j ) = n −2 j δ(n j ) is 1 no matter how δ(n j ) is defined, since for all attribute values and all categories p w 1 , f,c (f j |c) equals 1 or zero (so the weighted entropy value is 0 and 2 0 = 1). The worst performing is w 15 , since this contains only one category so heterogeneity for features is high (this is mitigated a little when δ(n j ) is defined to decrease the homogeneity requirement for attribute values with larger distances from the central node). We now turn to the the comparison between w 8 and w 9 (which is important for our toy example). In the case where δ(n j ) = n 0 j (i.e. where δ(n j ) is always equal to 1), there is no weighting towards the importance of similarity of values with respect to being close to the central node. This gives us the same result as would be given for a simple unweighted feature list. In other words, given some things that are furry and black, furry and brown, feathered and black, and feathered and brown, the model has no preference towards grouping furry things together and feathered things together over grouping black things together and brown things together. When δ(n j ) = n −1 j , the result is that entropy is weighted to be halved for values at a distance of two nodes away from the central node. When δ(n j ) = n −2 j , the result is that entropy is weighted to be quartered for values at a distance of two nodes away from the central node. This translates into an increasing preference for no entropy at the inner most nodes and an allowance of higher entropy at further out nodes.
Open Access This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made.
The images or other third party material in this chapter are included in the chapter's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.