HOME

TheInfoList



OR:

The constellation model is a probabilistic,
generative model In statistical classification, two main approaches are called the generative approach and the discriminative approach. These compute classifiers by different approaches, differing in the degree of statistical modelling. Terminology is inconsis ...
for category-level object recognition in
computer vision Computer vision is an interdisciplinary scientific field that deals with how computers can gain high-level understanding from digital images or videos. From the perspective of engineering, it seeks to understand and automate tasks that the hum ...
. Like other
part-based models Part-based models refers to a broad class of detection algorithms used on images, in which various parts of the image are used separately in order to determine if and where an object of interest exists. Amongst these methods a very popular one is t ...
, the constellation model attempts to represent an object class by a set of ''N'' parts under mutual geometric constraints. Because it considers the geometric relationship between different parts, the constellation model differs significantly from appearance-only, or " bag-of-words" representation models, which explicitly disregard the location of image features. The problem of defining a generative model for object recognition is difficult. The task becomes significantly complicated by factors such as background clutter, occlusion, and variations in viewpoint, illumination, and scale. Ideally, we would like the particular representation we choose to be robust to as many of these factors as possible. In category-level recognition, the problem is even more challenging because of the fundamental problem of intra-class variation. Even if two objects belong to the same visual category, their appearances may be significantly different. However, for structured objects such as cars, bicycles, and people, separate instances of objects from the same category are subject to similar geometric constraints. For this reason, particular parts of an object such as the headlights or tires of a car still have consistent appearances and relative positions. The Constellation Model takes advantage of this fact by explicitly modeling the relative location, relative scale, and appearance of these parts for a particular object category. Model parameters are estimated using an
unsupervised learning Unsupervised learning is a type of algorithm that learns patterns from untagged data. The hope is that through mimicry, which is an important mode of learning in people, the machine is forced to build a concise representation of its world and t ...
algorithm, meaning that the visual concept of an object class can be extracted from an unlabeled set of training images, even if that set contains "junk" images or instances of objects from multiple categories. It can also account for the absence of model parts due to appearance variability, occlusion, clutter, or detector error.


History

The idea for a "parts and structure" model was originally introduced by Fischler and Elschlager in 1973. This model has since been built upon and extended in many directions. The Constellation Model, as introduced by Dr. Perona and his colleagues, was a probabilistic adaptation of this approach. In the late '90s, Burl et al. revisited the Fischler and Elschlager model for the purpose of face recognition. In their work, Burl et al. used manual selection of constellation parts in training images to construct a statistical model for a set of detectors and the relative locations at which they should be applied. In 2000, Weber et al. tp://vision.caltech.edu/pub/tech-reports/CVPR00-recog.pdf M. Weber, M. Welling, and P. Perona. ''Towards Automatic Discovery of Object Categories.'' (2000)/ref> tp://vision.caltech.edu/pub/tech-reports/ECCV00-recog.pdf M. Weber, M. Welling and P. Perona. ''Unsupervised Learning of Models for Recognition.'' (2000)/ref> made the significant step of training the model using a more unsupervised learning process, which precluded the necessity for tedious hand-labeling of parts. Their algorithm was particularly remarkable because it performed well even on cluttered and occluded image data. Fergus et al. tp://vision.caltech.edu/pub/tech-reports/Fergus_CVPR03.pdf R. Fergus, P. Perona, and A. Zisserman. ''Object Class Recognition by Unsupervised Scale-Invariant Learning.'' (2003)/ref>R. Fergus. ''Visual Object Category Recognition.'' PhD Thesis. (2005)
/ref> then improved upon this model by making the learning step fully unsupervised, having both shape and appearance learned simultaneously, and accounting explicitly for the relative scale of parts.


The method of Weber and Welling et al.

In the first step, a standard
interest point detection In computer vision and image processing, a feature is a piece of information about the content of an image; typically about whether a certain region of the image has certain properties. Features may be specific structures in the image such as p ...
method, such as
Harris Harris may refer to: Places Canada * Harris, Ontario * Northland Pyrite Mine (also known as Harris Mine) * Harris, Saskatchewan * Rural Municipality of Harris No. 316, Saskatchewan Scotland * Harris, Outer Hebrides (sometimes called the Isle o ...
corner detection Corner detection is an approach used within computer vision systems to extract certain kinds of features and infer the contents of an image. Corner detection is frequently used in motion detection, image registration, video tracking, image mosai ...
, is used to generate interest points. Image features generated from the vicinity of these points are then clustered using
k-means ''k''-means clustering is a method of vector quantization, originally from signal processing, that aims to partition ''n'' observations into ''k'' clusters in which each observation belongs to the cluster with the nearest mean (cluster centers o ...
or another appropriate algorithm. In this process of
vector quantization Vector quantization (VQ) is a classical quantization technique from signal processing that allows the modeling of probability density functions by the distribution of prototype vectors. It was originally used for data compression. It works by di ...
, one can think of the centroids of these clusters as being representative of the appearance of distinctive object parts. Appropriate feature detectors are then trained using these clusters, which can be used to obtain a set of candidate parts from images. As a result of this process, each image can now be represented as a set of parts. Each part has a type, corresponding to one of the aforementioned appearance clusters, as well as a location in the image space.


Basic generative model

Weber & Welling here introduce the concept of ''foreground'' and ''background''. ''Foreground'' parts correspond to an instance of a target object class, whereas ''background'' parts correspond to background clutter or false detections. Let ''T'' be the number of different types of parts. The positions of all parts extracted from an image can then be represented in the following "matrix," : X^o = \begin x_,x_, ,x_ \\ x_,x_, ,x_ \\ \vdots \\ x_,x_, ,x_ \end where N_i\, represents the number of parts of type i \in \ observed in the image. The superscript ''o'' indicates that these positions are ''observable'', as opposed to ''missing''. The positions of unobserved object parts can be represented by the vector x^m\,. Suppose that the object will be composed of F\, distinct foreground parts. For notational simplicity, we assume here that F = T\,, though the model can be generalized to F > T\,. A ''hypothesis'' h\, is then defined as a set of indices, with h_i = j\,, indicating that point x_\, is a foreground point in X^o\,. The generative probabilistic model is defined through the joint probability density p(X^o,x^m,h)\,.


Model details

The rest of this section summarizes the details of Weber & Welling's model for a single component model. The formulas for multiple component models are extensions of those described here. To parametrize the joint probability density, Weber & Welling introduce the auxiliary variables b\, and n\,, where b\, is a binary vector encoding the presence/absence of parts in detection (b_i = 1\, if h_i > 0\,, otherwise b_i = 0\,), and n\, is a vector where n_i\, denotes the number of ''background'' candidates included in the i^ row of X^o\,. Since b\, and n\, are completely determined by h\, and the size of X^o\,, we have p(X^o,x^m,h) = p(X^o,x^m,h,n,b)\,. By decomposition, : p(X^o,x^m,h,n,b) = p(X^o,x^m, h,n,b)p(h, n,b)p(n)p(b)\, The probability density over the number of background detections can be modeled by a
Poisson distribution In probability theory and statistics, the Poisson distribution is a discrete probability distribution that expresses the probability of a given number of events occurring in a fixed interval of time or space if these events occur with a known co ...
, : p(n) = \prod_^T \frac(M_i)^e^ where M_i\, is the average number of background detections of type i\, per image. Depending on the number of parts F\,, the probability p(b)\, can be modeled either as an explicit table of length 2^F\,, or, if F\, is large, as F\, independent probabilities, each governing the presence of an individual part. The density p(h, n,b)\, is modeled by : p(h, n,b) = \begin \frac, & \mbox h \in H(b,n) \\ 0, & \mbox h \end where H(b,n)\, denotes the set of all hypotheses consistent with b\, and n\,, and N_f\, denotes the total number of detections of parts of type f\,. This expresses the fact that all consistent hypotheses, of which there are \textstyle \prod_^F N_f^, are equally likely in the absence of information on part locations. And finally, : p(X^o,x^m, h,n) = p_(z)p_(x_)\, where z = (x^ox^m)\, are the coordinates of all foreground detections, observed and missing, and x_\, represents the coordinates of the background detections. Note that foreground detections are assumed to be independent of the background. p_(z)\, is modeled as a joint Gaussian with mean \mu\, and covariance \Sigma\,.


Classification

The ultimate objective of this model is to classify images into classes "object present" (class C_1\,) and "object absent" (class C_0\,) given the observation X^o\,. To accomplish this, Weber & Welling run part detectors from the learning step exhaustively over the image, examining different combinations of detections. If occlusion is considered, then combinations with missing detections are also permitted. The goal is then to select the class with maximum a posteriori probability, by considering the ratio : \frac \propto \frac where h_0\, denotes the null hypothesis, which explains all parts as background noise. In the numerator, the sum includes all hypotheses, including the null hypothesis, whereas in the denominator, the only hypothesis consistent with the absence of an object is the null hypothesis. In practice, some threshold can be defined such that, if the ratio exceeds that threshold, we then consider an instance of an object to be detected.


Model learning

After the preliminary step of interest point detection, feature generation and clustering, we have a large set of candidate parts over the training images. To learn the model, Weber & Welling first perform a greedy search over possible model configurations, or equivalently, over potential subsets of the candidate parts. This is done in an iterative fashion, starting with random selection. At subsequent iterations, parts in the model are randomly substituted, the model parameters are estimated, and the performance is assessed. The process is complete when further model performance improvements are no longer possible. At each iteration, the model parameters : \Theta = \\, are estimated using
expectation maximization Expectation or Expectations may refer to: Science * Expectation (epistemic) * Expected value, in mathematical probability theory * Expectation value (quantum mechanics) * Expectation–maximization algorithm, in statistics Music * ''Expectation' ...
. \mu\, and \Sigma\,, we recall, are the mean and covariance of the joint Gaussian p_(z)\,, p(b)\, is the probability distribution governing the binary presence/absence of parts, and M\, is the mean number of background detections over part types.


M-step

EM proceeds by maximizing the likelihood of the observed data, : L(X^o, \Theta) = \sum_^I \log \sum_ \int p(X_i^o,x_i^m,h_i, \Theta)dx_i^m with respect to the model parameters \Theta\,. Since this is difficult to achieve analytically, EM iteratively maximizes a sequence of cost functions, : Q(\tilde, \Theta) = \sum_^I E \tilde) Taking the derivative of this with respect to the parameters and equating to zero produces the update rules: : \tilde = \frac \sum_^I E _i : \tilde = \frac \sum_^I E _iz_i^T- \tilde\tilde^T : \tilde(\bar) = \frac \sum_^I E
delta_ Delta commonly refers to: * Delta (letter) (Δ or δ), a letter of the Greek alphabet * River delta, at a river mouth * D (NATO phonetic alphabet: "Delta") * Delta Air Lines, US * Delta variant of SARS-CoV-2 that causes COVID-19 Delta may also re ...
: \tilde = \frac \sum_^I E _i


E-step

The update rules in the M-step are expressed in terms of
sufficient statistics In statistics, a statistic is ''sufficient'' with respect to a statistical model and its associated unknown parameter if "no other statistic that can be calculated from the same sample provides any additional information as to the value of the p ...
, E ,, E z^T,, E
delta_ Delta commonly refers to: * Delta (letter) (Δ or δ), a letter of the Greek alphabet * River delta, at a river mouth * D (NATO phonetic alphabet: "Delta") * Delta Air Lines, US * Delta variant of SARS-CoV-2 that causes COVID-19 Delta may also re ...
, and E ,, which are calculated in the E-step by considering the posterior density: : p(h_i,x_i^m, X_i^o,\Theta) = \frac


The method of Fergus et al.

In Weber et al., shape and appearance models are constructed separately. Once the set of candidate parts had been selected, shape is learned independently of appearance. The innovation of Fergus et al. is to learn not only two, but three model parameters simultaneously: shape, appearance, and relative scale. Each of these parameters are represented by Gaussian densities.


Feature representation

Whereas the preliminary step in the Weber et al. method is to search for the locations of interest points, Fergus et al. use the detector of Kadir and Brady to find salient regions in the image over both location (center) and scale (radius). Thus, in addition to location information X\, this method also extracts associated scale information S\,. Fergus et al. then normalize the squares bounding these circular regions to 11 x 11 pixel patches, or equivalently, 121-dimensional vectors in the appearance space. These are then reduced to 10-15 dimensions by
principal component analysis Principal component analysis (PCA) is a popular technique for analyzing large datasets containing a high number of dimensions/features per observation, increasing the interpretability of data while preserving the maximum amount of information, and ...
, giving the appearance information A\,.


Model structure

Given a particular object class model with parameters \Theta\,, we must decide whether or not a new image contains an instance of that class. This is accomplished by making a Bayesian decision, : R = \frac : = \frac : \approx \frac where \Theta_ is the background model. This ratio is compared to a threshold T\, to determine object presence/absence. The likelihoods are factored as follows: : p(X,S,A, \Theta) = \sum_ p(X,S,A,h, \Theta) = : \sum_ \underbrace_ \underbrace_ \underbrace_ \underbrace_


Appearance

Each part p\, has an appearance modeled by a Gaussian density in the appearance space, with mean and covariance parameters \Theta_p^ = \, independent of other parts' densities. The background model has parameters \Theta_^ = \. Fergus et al. assume that, given detected features, the position and appearance of those features are independent. Thus, p(A, X,S,h,\Theta) = p(A, h,\Theta)\,. The ratio of the appearance terms reduces to : \frac = \frac : = \prod_^P \left ( \frac \right )^ Recall from Weber et al. that h\, is the hypothesis for the indices of foreground parts, and b\, is the binary vector giving the occlusion state of each part in the hypothesis.


Shape

Shape is represented by a joint Gaussian density of part locations within a particular hypothesis, after those parts have been transformed into a scale-invariant space. This transformation precludes the need to perform an exhaustive search over scale. The Gaussian density has parameters \Theta^ = \\,. The background model \Theta_\, is assumed to be a uniform distribution over the image, which has area \alpha\,. Letting f\, be the number of foreground parts, : \frac = G(X(h), \mu,\Sigma)\alpha^f


Relative scale

The scale of each part p\, relative to a reference frame is modeled by a Gaussian density with parameters \Theta^ = \\,. Each part is assumed to be independent of other parts. The background model \Theta_\, assumes a uniform distribution over scale, within a range r\,. : \frac = \prod_^P G(S(h_p), t_p,U_p)^ r^f


Occlusion and statistics of feature detection

: \frac = \frac \frac p(b, \Theta) The first factor models the number of features detected using a
Poisson distribution In probability theory and statistics, the Poisson distribution is a discrete probability distribution that expresses the probability of a given number of events occurring in a fixed interval of time or space if these events occur with a known co ...
, which has mean M. The second factor serves as a "book-keeping" factor for the hypothesis variable. The last factor is a probability table for all possible occlusion patterns.


Learning

The task of learning the model parameters \Theta = \\, is accomplished by
expectation maximization Expectation or Expectations may refer to: Science * Expectation (epistemic) * Expected value, in mathematical probability theory * Expectation value (quantum mechanics) * Expectation–maximization algorithm, in statistics Music * ''Expectation' ...
. This is carried out in a spirit similar to that of Weber et al. Details and formulas for the E-step and M-step can be seen in the literature.


Performance

The Constellation Model as conceived by Fergus et al. achieves successful categorization rates consistently above 90% on large datasets of motorbikes, faces, airplanes, and spotted cats. For each of these datasets, the Constellation Model is able to capture the "essence" of the object class in terms of appearance and/or shape. For example, face and motorbike datasets generate very tight shape models because objects in those categories have very well-defined structure, whereas spotted cats vary significantly in pose, but have a very distinctive spotted appearance. Thus, the model succeeds in both cases. It is important to note that the Constellation Model does not generally account for significant changes in orientation. Thus, if the model is trained on images of horizontal airplanes, it will not perform well on, for instance, images of vertically oriented planes unless the model is extended to account for this sort of rotation explicitly. In terms of computational complexity, the Constellation Model is very expensive. If N\, is the number of feature detections in the image, and P\, the number of parts in the object model, then the hypothesis space H\, is O(N^P)\,. Because the computation of sufficient statistics in the E-step of
expectation maximization Expectation or Expectations may refer to: Science * Expectation (epistemic) * Expected value, in mathematical probability theory * Expectation value (quantum mechanics) * Expectation–maximization algorithm, in statistics Music * ''Expectation' ...
necessitates evaluating the likelihood for every hypothesis, learning becomes a major bottleneck operation. For this reason, only values of P \le 6 have been used in practical applications, and the number of feature detections N\, is usually kept within the range of about 20-30 per image.


Variations

One variation that attempts to reduce complexity is the star model proposed by Fergus et al.R. Fergus, P. Perona, and A. Zisserman. ''A Sparse Object Category Model for Efficient Learning and Exhaustive Recognition.'' (2005)
/ref> The reduced dependencies of this model allows for learning in O(N^2P)\, time instead of O(N^P)\,. This allows for a greater number of model parts and image features to be used in training. Because the star model has fewer parameters, it is also better at avoiding the problem of over-fitting when trained on fewer images.


References

{{reflist


External links


L. Fei-fei. ''Object categorization: the constellation models''. Lecture Slides. (2005)
(link not working)


See also

*
Part-based models Part-based models refers to a broad class of detection algorithms used on images, in which various parts of the image are used separately in order to determine if and where an object of interest exists. Amongst these methods a very popular one is t ...
* One-shot learning in computer vision Learning in computer vision Probabilistic models