<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Using Shape to Categorize: Low-Shot Learning with an Explicit Shape Bias</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>2021 June</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10293832</idno>
					<idno type="doi"></idno>
					<title level='j'>IEEE Computer Society Conference on Computer Vision and Pattern Recognition</title>
<idno>2332-564X</idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Stefan Stojanov</author><author>Anh Thai</author><author>James M. Rehg</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[It is widely accepted that reasoning about object shape is important for object recognition. However, the most powerful object recognition methods today do not explicitly make use of object shape during learning. In this work, motivated by recent developments in low-shot learning, findings in developmental psychology, and the increased use of synthetic data in computer vision research, we investigate how reasoning about 3D shape can be used to improve low-shot learning methods’ generalization performance. We propose a new way to improve existing low-shot learning approaches by learning a discriminative embedding space using 3D object shape, and using this embedding by learning how to map images into it. Our new approach improves the performance of image-only low-shot learning approaches on multiple datasets. We also introduce Toys4K, a 3D object dataset with the largest number of object categories currently available, which supports low-shot learning.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>Understanding the role of 3D object shape in categorizing objects from images is a classical topic in computer vision <ref type="bibr">[29,</ref><ref type="bibr">9,</ref><ref type="bibr">51]</ref>, and the early history of object recognition was dominated by considerations of object shape. For example, David Marr's influential theory <ref type="bibr">[27]</ref> posits that image-based recognition should be formulated as a sequence of information extraction steps culminating in a 3D representation to be used for recognition. The difficulty of reliably extracting 3D shape from images, combined with the availability of large-scale image datasets <ref type="bibr">[6,</ref><ref type="bibr">22]</ref>, motivated the modern development of purely appearancebased approaches to recognition and categorization. This has culminated in current approaches such as CNNs that learn feature representations directly from images. Moreover, a study by Geirhos et al. <ref type="bibr">[14]</ref> of the inductive biases of CNNs trained on ImageNet suggests that categorization performance is driven primarily by a bias towards image texture rather than object shape. <ref type="foot">2</ref>However, studies of infant learning <ref type="bibr">[24,</ref><ref type="bibr">7,</ref><ref type="bibr">23,</ref><ref type="bibr">15]</ref> suggest that shape does play a significant role in the ability to rapidly learn object categories from a small number of examples, a task which is analogous to few-shot learning. Both young children and adults who are forced to categorize novel objects based on a few examples display a shape bias, meaning that shape cues seem to play a dominant role in comparison to color and texture when inferring category membership. These studies beg the question of whether information about 3D object shape could be useful in learning to perform few-shot categorization from images. While prior work has demonstrated effective approaches to object categorization using 3D shapes as input <ref type="bibr">[34,</ref><ref type="bibr">36,</ref><ref type="bibr">55,</ref><ref type="bibr">56,</ref><ref type="bibr">4]</ref>, and there is a large literature on few-shot learning from images alone <ref type="bibr">[44,</ref><ref type="bibr">53,</ref><ref type="bibr">18,</ref><ref type="bibr">38,</ref><ref type="bibr">59,</ref><ref type="bibr">49,</ref><ref type="bibr">11]</ref>, the question of how shape cues could be used to learn effective representations for image-based low-shot categorization has not been investigated previously.</p><p>The goal of this paper is to explore the incorporation of a shape bias in SOTA approaches to few-shot object categorization and thereby investigate the utility of shape information in category learning. We leverage the recent availability of datasets of 3D object models with category labels, such as ModelNet40 <ref type="bibr">[56]</ref> and ShapeNet <ref type="bibr">[2]</ref>. By sampling surface point clouds and rendering images of these models, we can construct datasets that combine 3D shape and image cues. Unfortunately, however, ShapeNet and ModelNet contain a relatively small number of object categories (55 and 40 respectively), making it difficult to test categorization at a sufficient scale. To resolve this limitation, we introduce a new 3D object dataset, Toys4K consisting of 4,179 3D objects from 105 object categories, designed to contain categories of objects that are commonly encountered by infants and children during their development.</p><p>We report on two sets of investigations. First, we examine the relative effectiveness of purely image-based and purely shape-based approaches to few-shot categorization. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Maintain pairwise distances between point cloud and image embeddings</head><p>Figure 1. To perform low-shot learning with shape-bias, we train a embedding space defined by a point cloud encoder fp trained with crossentropy. Shape based embedding spaces are more discriminative than image-based ones (see Tbl. 1). We extract object shape embeddings, and train an image encoder fi to map images into the shape space. If trained successfully, fi will have the discriminative properties of fp.</p><p>We demonstrate that purely shape-based few-shot learning outperforms image-based approaches, and establish an empirical upper bound on the effectiveness of a shape bias. Second, we develop a novel approach for training an image embedding representation for low-shot categorization which incorporates an explicit shape bias, which we outline in Figure <ref type="figure">1</ref>. We benchmark this approach on a representative set of SOTA few-shot learning architectures and demonstrate that the incorporation of shape bias results in increased generalization accuracy over image-based training alone. In summary, this paper makes the following contributions:</p><p>&#8226; A new approach to add explicit shape-bias to existing low-shot image classification methods, utilizing 3D object shape to learn similarity relationships between objects, which leads to improved low-shot performance. &#8226; The first evidence that shape information can enable image-based low-shot classifiers to generalize with higher accuracy to novel object categories. &#8226; Toys4K -new 3D object dataset containing approximately twice the number of object categories as previous datasets which can be used for low-shot learning.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Related Work</head><p>Object Recognition from Synthetic Data A large body of work focuses on appearance <ref type="bibr">[46,</ref><ref type="bibr">28,</ref><ref type="bibr">35,</ref><ref type="bibr">10,</ref><ref type="bibr">17]</ref>, point cloud <ref type="bibr">[34,</ref><ref type="bibr">55,</ref><ref type="bibr">36,</ref><ref type="bibr">4]</ref> and voxel <ref type="bibr">[56,</ref><ref type="bibr">35]</ref> based recognition of synthetic object data with category taxonomies based on object shape such as ModelNet40 <ref type="bibr">[56]</ref>. The trade-offs between learning using point clouds, depth maps, voxels, or images have been studied by <ref type="bibr">[46,</ref><ref type="bibr">35]</ref> but their study focuses on standard supervised classification and does not extend to low-shot classification of novel object categories or on combining shape and appearance information during learning.</p><p>Low-Shot Learning Low-shot learning algorithms can be categorized into two broad sets. Optimization-based algorithms such as MAML <ref type="bibr">[11,</ref><ref type="bibr">12]</ref>, LEO <ref type="bibr">[38]</ref>, and Reptile <ref type="bibr">[30]</ref>, which during the baseclasses training stage, attempt to learn a representation that can quickly be adapted using small amounts of information with gradient-based learning in the low-shot learning stage. Metric learning-based methods such as Prototypical <ref type="bibr">[44]</ref>, Matching <ref type="bibr">[53]</ref>, and Relation <ref type="bibr">[47]</ref> networks, as well as the more recent SimpleShot <ref type="bibr">[54]</ref>, FEAT <ref type="bibr">[59]</ref>, and RFS <ref type="bibr">[49]</ref> aim to use the base class data to learn a similarity metric that will also be discriminative for novel classes during the low-shot phase. Despite their simplicity, metric-based approaches have superior performance on low-shot learning benchmarks <ref type="bibr">[54,</ref><ref type="bibr">59]</ref>. Our approach of adding shape bias belongs to the latter category, and compared to both is the first approach to combine both appearance and shape information for low-shot learning.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>3D Object Shape Datasets</head><p>Other related works focus on building datasets of 3D object models for recognition, single image object shape reconstruction and shape segmentation <ref type="bibr">[42,</ref><ref type="bibr">48,</ref><ref type="bibr">60,</ref><ref type="bibr">21,</ref><ref type="bibr">56,</ref><ref type="bibr">2,</ref><ref type="bibr">45]</ref>. The most widely used 3D shape datasets with category labels are ModelNet40 <ref type="bibr">[56]</ref> with 12K object instances of 40 categories with no object surface material properties, ShapeNetCore.v2 <ref type="bibr">[2]</ref> with 52K objects of 55 object categories with basic surface texture properties (basic shading and UV mapping, but no physically based materials). The ShapeNetSem split of ShapeNet consists of over 100 categories but is unsuitable for recognition since individual object instances are assigned to multiple categories. Datasets such as ABC <ref type="bibr">[21]</ref> and Thingi10k <ref type="bibr">[60]</ref> claim higher mesh quality than previous datasets but lack object category annotation, making them more suitable for low-level tasks like surface normal estimation and category agnostic shape reconstruction. The ModelNet40 and ShapeNet datasets were scraped from online repositories and have categories largely based on the data that was available in these repositories. In contrast, our new Toys4K is curated specifically for testing the generalization ability of learned representations to new classes. Compared to the aforementioned datasets, Toys4K consists of highly diverse object instances within a category (evident in Figure <ref type="figure">3</ref>, detailed composition is included in the supplement) and has the highest number of individual object categories despite its smaller total size.</p><p>Multi-modal Learning Aligning representations from different data modalities has been extensively studied in vision and language works on zero-shot learning <ref type="bibr">[57,</ref><ref type="bibr">19,</ref><ref type="bibr">39,</ref><ref type="bibr">13]</ref>. More recently, Schwartz et al. <ref type="bibr">[41]</ref> and Xing et al. <ref type="bibr">[58]</ref> improve low shot image classification performance on standard low-shot datasets by combining the representation learned through the appearance modality (images) with language model word vector embeddings. In comparison, we combine appearance (images) and shape (point clouds) to learn a representation for low shot object recognition that is biased to object shape and leads to better low-shot generalization. It is important to note that these works use multi-modal information for the low-shot queries at test time, whereas our approach only uses multi-modal information for the low-shot support set.</p><p>Another category of multi-modal learning works focuses on learning joint embedding spaces of 3D meshes and images for image-based 3D shape retrieval <ref type="bibr">[25,</ref><ref type="bibr">26]</ref>. While these works focus on retrieval for the same object categories at training and testing time, our work focuses on combining appearance and shape information for low-shot generalization to novel object categories.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Using Shape for Low-Shot Classification</head><p>In principle, 3D shape is an attractive representation for object recognition <ref type="bibr">[27,</ref><ref type="bibr">31,</ref><ref type="bibr">26,</ref><ref type="bibr">25]</ref> due to its invariance to the effects of viewpoint, illumination, and background, which can be challenging for appearance-based approaches. While appearance-based methods may be able to model these sources of variation given sufficient training images, there is always a question of how well such models can generalize to novel categories and objects <ref type="bibr">[14]</ref>.</p><p>Despite its potential advantages, no previous work on low-shot learning has utilized 3D shape, for at least two reasons: 1) It is unclear how to leverage 3D shape in improving image-based low shot learning; <ref type="foot">3</ref> 2) There is a lack of 3D shape datasets that contain a sufficient number of object categories to support effective experimentation. This is due to the additional data requirements of few-shot learning:</p><p>The training/validation/testing split is over different classes and not data points of the same class <ref type="bibr">[37,</ref><ref type="bibr">53]</ref> in order to effectively test generalization to unseen classes.</p><p>To explain this issue more formally, let D train denote the base classes, and D val and D test denote the validation and testing sets, respectively, where these sets comprise a disjoint partition of the total available classes. The base classes must be sufficiently large and diverse to learn an effective feature representation in the training phase, and the D val set must similarly support the accurate assessment of low-shot generalization ability during hyperparameter tuning (i.e. model selection while training on the base classes). The D test set is used to generate labeled low-shot training examples (supports), and unlabelled low-shot testing examples (queries), which are used to evaluate the generalization performance of the model at testing time, which we refer to as the low-shot phase. As a result of these constraints, the standard 3D shape datasets ModelNet40 <ref type="bibr">[56]</ref> and ShapeNet55 <ref type="bibr">[2]</ref> can only support 10-way and 20-way testing, respectively. If the number of testing classes is insufficient, the estimation of the generalization performance of the method may be inaccurate.</p><p>In this section, we describe our two primary contributions which address the limitations described above. In &#167; 3.1 we present our novel method for introducing shape bias in learning a low-shot image representation. In &#167; 3.2, we introduce a novel 3D object category dataset, Toys4K, consisting of 4,179 object instances organized into 105 categories, with an average of 35 objects (3D meshes) per category. Toys4K supports up to 50-way classification, expanding well beyond ModelNet40 and ShapeNet55 (see Fig. <ref type="figure">4</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.">Low-Shot Learning with Shape Bias</head><p>We begin by describing the problem formulation: We assume that shape data in the form of 3D point clouds is available for each RGB image in a dataset. We achieve this by rendering RGB images from the 3D models. 3D shape information is used directly during training and validation, in order to construct a representation with an explicit shape bias. In addition, during the low-shot phase, episodes are generated so that point clouds are available for the support objects, but not for the query objects. This assumption allows for both appearance and shape information to be used in building class prototypes, but inference is done using images only. The distinction between image only low-shot learning and our new setting is illustrated in Figure <ref type="figure">2</ref>.</p><p>In this work, we adopt a low-shot learning approach based on a metric embedding space. In this approach, D train is used to learn a function f i that maps the input data into an embedding space where object instances of the same category are close and instances of different categories are far apart, according to some distance metric. This mapping can be fixed after being learned from D train or fine-tuned further, depending upon the algorithm design. During the low-shot phase, the supports and queries are mapped into the embedding space (see Figure <ref type="figure">2</ref>), and the queries are classified according to a nearest neighbor or nearest class prototype (e.g. support centroid) rule. Metric-based low-shot learning has high accuracy <ref type="bibr">[54]</ref> and is significantly more computation-   ally efficient than approaches that fine-tune on the low-shot supports. We first demonstrate that shape-based low-shot learning allows for better generalization than image-based low-shot learning, and then show how a shape-based embedding with high generalization ability can be used to improve image-based low-shot classification.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Shape-based low-shot learning outperforms imagebased low-shot learning</head><p>We perform a simple empirical study to determine whether shape has an advantage for low-shot generalization. We train two embedding spaces, one using image data and one using point cloud data. For each type of data, we follow the SimpleShot <ref type="bibr">[54]</ref> approach, meaning that we train a classifier using cross-entropy on D train and use the learned feature space (output of the last pooling layer) to perform nearest centroid-based low-shot classification in normalized Euclidean space. We use a ResNet18 <ref type="bibr">[16]</ref> for image learning and a DGCNN <ref type="bibr">[55]</ref> for point cloud learning on the ModelNet40-LS dataset (see &#167; 4).</p><p>We present the results in Tbl. 1, and as might be expected, see significantly higher low-shot performance for the point cloud model relative to the image model. This quantifies the improvement in generalization to novel categories as as result of using a 3D shape-based representation and suggests that 3D shape can yield a more discriminative embedding space. The question then is how can this benefit be retained when testing the model on image data alone? Combining Appearance and Shape</p><p>Figure <ref type="figure">1</ref> illustrates our approach to using the 3D shape information available at training time in order to learn how to embed the image-only queries. </p><p>We train a model that learns the mapping from images to shape embeddings by minimizing two loss functions (see part 3 of Figure <ref type="figure">1</ref>). For a mini-batch B &#8834; D train the first loss minimizes the squared Euclidean distance (which we denote as d(x, y)) between the learned point cloud embeddings, and the image based embeddings</p><p>The second loss constrains the pairwise distances between the image embeddings of different object instances to be the same as the pairwise distances of the learned shape embeddings. Let I denote the set of all (k, l) = (o k i , o k p ), (o l i , o l p ) object instance data pairs in a minibatch. We define the second loss as</p><p>During training, both losses are minimized with equal weight. Validation for choosing f i is done by nearest centroid classification on D val . In Section 4 we show that minimizing only L 1 results in convergence without learning to match the distribution of the shape embedding well on the training set, resulting in poor performance.</p><p>Inference: During the low-shot phase, as shown in Figure <ref type="figure">2</ref>, class prototypes are built by averaging the shape &#966; p and image &#966; i embeddings for each support object, whereas only image information is used to map the query objects via  12,311 40 ShapeNet <ref type="bibr">[2]</ref> 52,000 55 Thingi10K <ref type="bibr">[60]</ref> 10,000 N/A ABC <ref type="bibr">[21]</ref> 750K N/A f i . The queries are classified based on the nearest centroid to the query embedding. This inference procedure is used for all algorithms in this paper that combine both image and shape information, with the exception of FEAT <ref type="bibr">[59]</ref>, which uses an additional set-to-set mapping.</p><p>It is important to understand how the shape-biased encoder performs when there is no explicit shape information available in the low-shot phase, and what is the gain in accuracy by making shape available for building class prototypes. To this end, in &#167; 4.3 we also evaluate the setting where there are no point clouds available in the low-shot phase. Why is mapping images to shape embeddings difficult? If the mapping f i (x) is learned exactly, it would map images to their corresponding point cloud embeddings so that</p><p>This is challenging, however, since f i can only be trained on the base classes in D train , requiring it to correctly extrapolate to the metric properties of objects from novel classes.</p><p>We perform a simple test to validate the feasibility of mapping images to shape embeddings in general and establish an empirical upper bound. We perform this by simply minimizing the L 2 distance between the images and their corresponding shape embeddings on combined data from base classes, validation and test classes (D train = {D train &#8746; D val &#8746; D test }). This model is referred to as Image + Point Cloud Oracle in Table <ref type="table">1</ref> and provides empirical evidence that it is possible to learn how to map images into a shape embedding space with high accuracy when all of the data is available. This model's performance closely matches that of the shape-only model, and significantly outperforms the image-based approach, providing further evidence that extrapolating the metric properties of the shape-embedding space to novel categories is the key challenge in learning to map images to shape embeddings.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.">Toys4K Dataset</head><p>An object dataset with a high number of diverse categories and high-quality 3D meshes is essential to study whether leveraging 3D object shape can enable improved low-shot generalization. We satisfy this requirement with our new Toys4K dataset. While it is possible to use existing datasets such as ModelNet40 and ShapeNet (which we include in our experiments), the limited number of categories is an obstacle to few-shot learning. For example, applying standard training/validation/test ratios (e.g. from mini-ImageNet <ref type="bibr">[53]</ref>) to the 40 categories in ModelNet40 results in a 20-10-10 split, which limits the possibilities for manyway testing. A comparison of Toys4K to prior datasets is available in Table <ref type="table">2</ref>. In Figure <ref type="figure">4</ref> we demonstrate that manyway low-shot classification on Toys4K is a challenging task in comparison to ModelNet40 and ShapeNet.</p><p>Toys4K consists of 4,179 object instances in 105 categories, with an average of 35 object instances per category with no less than 15 instances per category, allowing for 5 support 10 query low-shot episodes to be formed. Fig. <ref type="figure">3</ref> provides an example of the quality and variety of the models. Further details on the dataset composition are available in the supplement. Toys4K was collected by selecting freely-available objects from Blendswap [1], Sketchfab [43], Poly <ref type="bibr">[32]</ref> and Turbosquid [50] under Creative Commons and royalty-free licenses. Our list of object categories was developed in collaboration with experts in developmental psychology to include categories of objects available and relevant to children in their infancy. We manually selected each object and manually aligned the objects within each category to a canonical coordinate system that is consistent across all instances in that category.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Experiments</head><p>In this section, we perform an empirical evaluation of the benefit of explicit shape bias on multiple datasets and image-only low-shot learning algorithms.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1.">Datasets</head><p>In addition to our new dataset, Toys4K, we use the 3D object category datasets ModelNet40 <ref type="bibr">[56]</ref>, ShapeNet <ref type="bibr">[2]</ref>. For descriptions of the datasets please refer to &#167; 2. We render images using the Cycles ray tracing renderer in Blender <ref type="bibr">[33]</ref> using uniform lighting on white backgrounds. For all datasets, camera pose is randomly sampled for 25 views of each object with azimuth &#968; &#8712; [0, 360] and elevation &#952; &#8712; [-50, 50] degrees. Object surface point clouds are sampled from the 3D object meshes.</p><p>Toys4K is our new low-shot learning dataset is described in detail in &#167; 3.2. We use a split of 40, 10, 55 for base, low-shot validation, and testing classes, respectively. For Toys and all other datasets, the split is designed such that the categories with most classes are in the training set, and the validation and testing classes are randomly chosen from the remainder of the data.</p><p>ModelNet40-LS is the existing ModelNet40 [56] dataset, with a 20, 10, 10 split for base, low-shot validation and testing classes respectively.</p><p>ShapeNet-LS is the existing ShapeNetCore.v2 <ref type="bibr">[56]</ref> dataset, with a 25, 10, 20 split for base, low-shot validation and testing classes respectively, using a reduced subset of object samples per category to reduce training time due to the high data imbalance.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2.">Baselines</head><p>Regarding low-shot learning, we compare with the classical low-shot learning method Prototypical Networks <ref type="bibr">[44]</ref>, and the state-of-the-art algorithms FEAT <ref type="bibr">[59]</ref>, RFS <ref type="bibr">[49]</ref>, and SimpleShot <ref type="bibr">[54]</ref>. With respect to learning joint embeddings, we compare with a simple triplet loss-based approach that learns joint embeddings of images and point All baselines use a standard ResNet18 <ref type="bibr">[16]</ref> as a backbone for image encoding and a DGCNN <ref type="bibr">[55]</ref> to encode point clouds. In the supplement we perform an ablation study over different point cloud architectures including PointNet <ref type="bibr">[34]</ref> and PointNet++ <ref type="bibr">[36]</ref>. Our low-shot learning baseline implementations were all validated by re-creating the results from the original papers. 4  SimpleShot <ref type="bibr">[54]</ref> is a simple low-shot learning baseline algorithm that outperforms many recent methods. It makes use of an embedding space learned by a CNN by training on the base training classes for a standard classification task using cross-entropy loss. Validation and testing are done using a nearest neighbor classifier in the learned embedding 4 Experiment implementation details included in the supplement space, with feature normalization and training set mean subtraction resulting in improved performance.</p><p>RFS <ref type="bibr">[49]</ref> is another simple low-shot learning algorithm that is competitive with many recent approaches. Training the embedding space is done using cross-entropy on the training set, but at testing time, a simple logistic regression classifier is learned for each low-shot episode. In the original work, the authors show that training a set of embedding models with distillation slightly improves performance. We omit this for a fair comparison with all metric-based works since this addition would likely lead to performance improvements across the board.</p><p>Prototypical Networks <ref type="bibr">[44]</ref> is a standard metric-based low shot learning approach, which uses the base class set to create low-shot episodes and learn a feature space that embeds object instances close or far based on visual similarity.</p><p>FEAT <ref type="bibr">[59]</ref> builds on Prototypical Networks by learning an additional set-to-set function implemented as a Transformer <ref type="bibr">[52]</ref> on top of a cross-entropy pre-trained embedding space to refine the class prototypes used for low-shot classification. FEAT achieves state of the art performance for inductive low-shot learning. Note that FEAT requires separate retraining for each n-way m-shot configuration <ref type="foot">5</ref> .</p><p>Triplet We use a simple triplet loss-based approach as a baseline algorithm with access to both image and shape information during training, similar to prior approaches in shape retrieval <ref type="bibr">[25]</ref>. A joint embedding is learned by using triplet loss <ref type="bibr">[3,</ref><ref type="bibr">40]</ref>, creating positive pairs between image and point cloud features of same objects, and negative pairs between image and shape features from different object instances. Empirically we found that this performs better than using category labels. Inference is done by nearest centroid classification, building class prototypes that contain both appearance and shape information by averaging the individual support features.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3.">Explicit Shape-Bias Improves Image-Based Generalization</head><p>We evaluate our method of adding shape bias to low-shot learning algorithms with state of the art low-shot imageonly classification algorithms and show that shape bias improves performance in a low data regime. We present results on multiple datasets in Tables <ref type="table">3,</ref><ref type="table">4</ref>, and 5 where we refer to models as Shape Bias (w/pc) if the shape-biased image encoder uses point cloud information to build prototypes (see Fig <ref type="figure">2(b)</ref>) and (wo/pc) if there are no point clouds used to build prototypes for both validation and testing (see Fig <ref type="figure">2(a)</ref>). Our approach of introducing shape bias, when trained with L 1 and L 2 losses improves the performance of image-only low-shot recognition algorithms in the Episode Setup &#8594; 1-shot 5-way 5-shot 5-way 1-shot 10-way 5-shot 10-way RFS <ref type="bibr">[49]</ref> 56 Table <ref type="table">3</ref>. Results on image-only and shape-biased low-shot recognition on ModelNet40-LS. Parenthesis show confidence intervals based on 5K low shot episodes. Bold indicates best performance between a low-shot learning approach with and without shape bias; underline indicates best overall. Adding shape bias improves performance in the 1-shot learning setting and has competitive performance otherwise.</p><p>Episode Setup &#8594; 1-shot 5-way 5-shot 5-way 1-shot 10-way 5-shot 10-way 1-shot 20-way 5-shot 20-way 1-shot 30-way 5-shot 30-way RFS <ref type="bibr">[49]</ref> 67.10 Table <ref type="table">4</ref>. Results on image-only and shape-biased low-shot recognition on Toys4K. Parenthesis show 95% confidence intervals based on 5K low shot episodes. Bold indicates best performance for a low-shot approach with and without shape bias; underline indicates best overall. Adding shape-bias improves 1-shot performance when the number of low-shot ways is higher. low-data, one-shot learning regime for the SimpleShot and FEAT algorithms by up to 6%-points. For the (w/o pc) models that do not have any explicit shape information in the low-shot phase, we see a smaller one-shot improvement, but good five-shot performance. This indicates that shape bias is useful without any explicit shape information in the low-shot phase, and suggests possible future improvements by using strategies other than averaging to combine image and shape information in the low-shot phase.</p><p>We add shape-bias to SimpleShot by directly using the learned image to shape-mapping f i for nearest class mean classification, whereas for FEAT we train the set-to-set Transformer module on top of f i , fine-tuning the model end-to-end as in the original FEAT design. The object shape embeddings for the low-shot supports are fixed and not trained further. Notice that as the total number of categories (the number of low-shot ways) increases, the improvement in one-shot performance increases. Further, our approach of learning shape bias significantly outperforms the triplet-loss based approach, indicating that first learning an embedding space with point clouds only is a better strategy than joint training with images and point clouds. All experiments for SimpleShot are averaged over 5 runs and for FEAT are averaged over 3 runs, indicating consistent performance improvements. To ensure statistical significance, for all experiments we perform 5K low-shot episodes and report results with 95% confidence intervals. <ref type="foot">6</ref></p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.4.">Analysis of Pairwise Loss</head><p>We perform an analysis to determine the benefit of including the pairwise distance loss L 2 . In Figure <ref type="figure">5</ref>, we plot the pairwise interclass distances of object instances from categories in the validation set for the learned mapping f i trained either with one loss or both losses (blue and orange respectively), along with the interclass distances in the point cloud embedding that f i is trained to learn. The greater the overall interclass distance, the better, and ideally the pairwise distance distributions are the same between the learned mapping and the point cloud mapping. Just optimizing L 1 results in learning a poor mapping on both the training set Episode Setup &#8594; 1-shot 5-way 5-shot 5-way 1-shot 10-way 5-shot 10-way 1-shot 20-way 5-shot 20-way RFS <ref type="bibr">[49]</ref> 65.79 and the novel classes in the validation set, whereas adding the pairwise term L 2 leads to a better approximation of the cloud embedding. The utility of L 2 is also shown in Table <ref type="table">3</ref>, with the significant improvement over just L 1 on SimpleShot with shape bias.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.5.">Shape Bias and Failure Analysis</head><p>To better understand the distinctions between the purely image-based low-shot classifier and the shape-biased low shot classifier, we compute the Pearson correlation (p &lt; 0.05) between the accuracy achieved on the same 5K lowshot episodes for the point cloud model and the shapebiased and image-only classifiers (Figure <ref type="figure">6</ref>). The shapebiased low-shot classifier correlates more strongly with the point cloud model across multiple datasets. This is evidence for a qualitative difference beyond classification accuracy between the shape biased and purely image low-shot classifiers. This would not be possible if the image data was such that it could not be classified differently as a result of introducing shape bias. Furthermore, in Table <ref type="table">6</ref> we see that shape-biased SimpleShot misclassifies similarly to the point cloud SimpleShot, and that there is significant room for improvement by learning to map images into shape embeddings more accurately. . This indicates there is significant room for improvement by learning better maps from images to shape embeddings.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>ModelNet</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.">Discussion and Conclusion</head><p>This paper takes the first step in investigating the utility of shape bias for low-shot object categorization. Through extensive empirical analysis of our novel approach for adding shape bias to image-only low-shot learning algorithms, we demonstrate improved generalization. We also introduce Toys4K, a diverse and challenging dataset for object learning with the largest number of categories available to date. While dependence of our findings on synthetic object data limits our ability to draw conclusions about shape bias under more general conditions, it is essential since it is currently the only feasible way to obtain matched 2D and 3D data at a large enough scale. Moreover, synthetic data has been widely adopted for other vision tasks <ref type="bibr">[5,</ref><ref type="bibr">8,</ref><ref type="bibr">20]</ref>. Progress in few-shot learning is crucial in order to overcome the need for large amounts of labeled training data. This work constitutes a step in a new direction: the exploitation of the natural biases of the visual world, such as object shape, in the design of few-shot architectures. Building on this approach by exploiting other sources of bias is a logical and exciting direction for future work.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0"><p>The code and data for this paper are available at our project page https://rehg-lab.github.io/publication-pages/lowshot-shapebias/</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_1"><p>This study does not speak to the possibility of whether shape could be used more effectively, and it is unclear how much of the bias stems from the composition of the ImageNet dataset itself.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_2"><p>Our focus is on few-shot methods in which the queries are images, with no 3D shape information available, as this is the most general and useful paradigm.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="5" xml:id="foot_3"><p>Since none of the datasets have more than 10 classes for validation, the 20 and 30-way evaluations are done using a model trained for 10-way classification.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="6" xml:id="foot_4"><p>For further qualitative and quantitative analysis please refer to the supplement.</p></note>
		</body>
		</text>
</TEI>
