1. Technical Field
The present invention relates to processing data, and more particularly to systems and methods for determining a composite distance metric between data from different sources.
2. Description of the Related Art
Distance metric learning is one of the most fundamental problems in data mining. Existing techniques aim at constructing a single distance metric directly from the data. However, in real applications, multiple base distance metrics may already exist. For example, in healthcare applications, different physicians may have different patient distance metrics in mind.
Distance Metric Learning (DML) is applicable in data mining and machine learning fields. Most DML algorithms are learned directly from the data. Depending on the availability of supervision information in the training data set (e.g., labels or constraints), a DML algorithm can be classified as unsupervised, or semi-supervised and supervised. In particular, supervised DML (SDML) constructs a proper distance metric that leads data from the same class closer to each other, while data from different classes are moved further apart from each other. In fact, SDML can be categorized as including global and local methods. A global SDML method attempts to learn a distance metric that keeps all data points within the same class close, while separating all data points from different classes far apart. Typical approaches in this category include Linear Discriminant Analysis (LDA) and its variants.
Although global SDML approaches achieve empirical success in many applications, it is difficult for a global SDML to separate data from different classes since the data distribution is usually very complicated (e.g., the data from different classes are entangled with each other). Local SDML methods, on the other hand, first construct local regions (e.g., neighborhoods around each data point) and, in each local region, attempts to pull data within the same class closer while pushing data in different classes further apart. Some representative algorithms include Large Margin Nearest Neighbor (LMNN) classifiers, Neighborhood Component Analysis (NCA) and Locality Sensitive Discriminant Analysis (LSDA). It is observed that these local methods can generally perform much better than global methods.
A related topic includes multiple kernel learning, which has been studied extensively in the machine learning and vision community. The goal in multiple kernel learning is to learn a strong kernel by integrating multiple weak kernels. In healthcare applications, multiple patient-patient kernel matrices are combined into a strong kernel to assess patient similarity. However, the practical difficulty of multiple kernel learning includes the following: 1) multiple kernel learning is not easy to generalize to new data points. For example, the existing similarity kernel will not be able to handle new patient arrivals until the kernel is recomputed to capture the new patient. 2) The computation complexity for multiple kernel learning is prohibitively expensive, often requiring a computational complexity of O(N3), where N is the number of data points. These challenges significantly limit the practical value of multiple kernel learning.
In accordance with the present principles, a method for processing data includes inputting a data distribution of multiple expert judgments stored on a computer readable storage medium. Base distance metrics are converted from a plurality of sources into neighborhoods for comparison. Each base distance metric represents an expert. The neighborhoods are combined to leverage the local discriminalities of all base distance metrics by applying at least one iterative process to output a composite distance metric.
In accordance with the present principles, a system for processing data includes inputting a data distribution of multiple expert judgments stored on a computer readable storage medium into a neighborhood formulation module. The neighborhood formulation module is configured to convert base distance metrics from a plurality of sources into neighborhoods for comparison. Each base distance metric represents an expert. A neighborhood combination module is configured to combine the neighborhoods to leverage the local discriminalities of all base distance metrics by applying at least one iterative process to output a composite distance metric.
These and other features and advantages will become apparent from the following detailed description of illustrative embodiments thereof, which is to be read in connection with the accompanying drawings.
The disclosure will provide details in the following description of preferred embodiments with reference to the following figures wherein:
The present principles provide a new notion of learning a composite distance metric from multiple expert inputs. For most existing approaches in distance metric learning, only one expert input is involved. However, in real world applications, different experts typically have different inputs. For example, different doctors may have different opinions as to the similarities between different patients. The present principles provide a system and method to incorporate multiple expert judgments to learn a proper distance metric.
Neighborhoods are created around each expert and a distance function is learned for each expert input providing the distances among data points in relation to the expert opinion by solving an optimization problem. For multiple expert inputs, a linear combination is constructed of all the objectives to be optimized on each input, which are then optimized together with the combination coefficients simultaneously. The present methods are (1) scalable to large scale data sets; (2) easily generalized to process different types of data (nonlinear, multilinear); and (3) able to incorporate new expert input and new data.
In one embodiment in accordance with the present principles, multiple kernel learning integrates distance metrics. In particular, given a set of data points, multiple Base Distance Metrics (BDM) with the same set of features are assumed (e.g., Lp distance with different p values, cosine similarity). For each BDM, a local nearest neighborhood is identified around each data point. Then, the Composite Distance Metric (CDM) learns a composite distance (e.g., a Mahalanobis distance) by combining the discriminative information of the different neighborhoods as a quadratic optimization problem. The optimization problem is solved using iterative methods to output a global similarity measure. In another embodiment, the CDM may be modified to handle nonlinear data distributions in a kernelized CDM. Similarly, in another embodiment, the CDM may also be modified to handle multilinear data distributions in a tensorized CDM.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing. Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
Aspects of the present invention are described below with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Referring now to the drawings in which like numerals represent the same or similar elements and initially to
In block 110, a patient cohort of the medical group is shown. The patient cohort is divided into subsets and assigned to a physician in blocks 120. In blocks 130, the CDM constructs a patient neighborhood around each physician, with the neighborhood representing the physician's judgments for each of the patients. Based on this neighborhood, an individual similarity measure for each physician is determined in blocks 140. The CDM will aggregate the individual similarity measures for all physicians to determine a global similarity measure in block 150. The global similarity measure 150 is provided back to each physician in feedback 160 so that each physician will be able to compare their individual similarity measure with the global similarity measure of the medical group. In another application, the CDM may be used to compare patient similarity by determining a distance between two patients.
It will be appreciated by one of ordinary skill in the art that the present principles are not restricted to the healthcare field. For example, in a computer repair business, a group of computer technicians may work together to serve a particular client base. The CDM can construct neighborhoods around each computer technician to create an individual similarity measure. The individual similarity measures can then be combined to determine a global similarity measure.
Referring now to
In block 220, neighborhoods are constructed around each expert from the data distribution. Block 220 is explained in further detail with respect to
The CDM method will be explained in more detail below, however, in doing so, the framework of a Distance Metric Learning (DML) with local discrimination will be followed. Therefore, the DML with local discrimination will first be explained and then applied to the CDM. In presenting the DML with local discrimination, let X=[x1, . . . , xn]εRd×n be the matrix containing n data points, where each column xiεRd represents the i-th data point. Let y=[y1, . . . , yn]TεRn be the data label vector with yiε{1, 2, . . . , C} denoting the label xi and C denoting the number of classes. The goal is to find a Mahalanobis distance as follows:
d
Σ(xi,xj)=√{square root over ((xi−xj)TΣ(xi−xj))}{square root over ((xi−xj)TΣ(xi−xj))}
where ΣεRd×d is a Symmetric Positive Semi-Definite (SPSD) matrix.
A neighborhood is identified around each data point and classified as either homogeneous or heterogeneous to provide for enhanced local discriminability. The homogeneous neighborhood of xi, denoted as io, is the |io|-nearest data points of xi with the same label, where |io| is the size of io. The heterogeneous neighborhood of xi, denoted as ie, is the |ie|-nearest data points of xi with different labels, where |ie| is the size of ie. The base distance metric is used to construct the neighborhood io and ie. Local compactness is applied to the homogeneous neighborhood of point xi as follows:
C
i
=
d
Σ
2(xi,xj)
and local scatterness is applied to the heterogeneous neighborhood of point xi as follows:
S
i
=
d
Σ
2(xi,xk).
The average distance between the heterogeneous neighborhoods and homogeneous neighborhoods are computed using the following trace difference criterion:
=Σi=1n(Ci−Si).
An optimal distance metric is learned by maximizing the difference between the heterogeneous neighborhoods and homogeneous neighborhoods, which is achieved by minimizing the trace difference criterion. Optimizing a trace difference criterion has several advantages over optimizing a trace quotient criterion, as it is easy to manipulate, convex and avoids the singularity problem.
Incomplete Cholesky decomposition can be applied since Σ is SPSD:
Σ=WWT.
Then can be expanded as
=tr(WT(ΣC−ΣS)W)
where tr(•) is the trace of the matrix, and
ΣC=Σi(xi−xj)(xi−xj)T
ΣS=Σi(xi−xk)(xi−xk)T
are the local compactness and scatterness matrices, respectively. Thus, a base distance metric can be converted into a local neighborhood and formulated as follows:
minW:W
The orthogonality constraint WTW=I is imposed to reduce the information redundancy among different dimensions of W. Under the Ky Fan Theorem, let HεRd×d be a symmetric matrix with eigenvalues λ1≦λ2≦ . . . λd and corresponding eigenvectors U=[u1, u2, . . . ud]. Then
and the optimal P*[u1, u2, . . . , uk] subject to orthonormal transformation. Applying the Ky Fan Theorem to equation (1), the optimal W is obtained by W*=[w1, w2, . . . , wk] with wiεRd being the eigenvector of ΣC−ΣC, whose corresponding eigenvalue is the i-th smallest. The local neighborhood, formulated by equation (1), is parameterized by the projection matrix W.
Referring back to the CDM method, the framework of the DML with local discrimination will be followed as it applies to the CDM. Once the data distribution is inputted into the CDM, neighborhoods are constructed.
Referring to
In block 310, neighborhoods are identified as either heterogeneous or homogeneous. In constructing the neighborhoods, the goal is still to learn a Mahalanobis distance as learned above. For the q-th BDM, a homogeneous neighborhood io(q) and a heterogeneous neighborhood ie(q) are constructed for xi. Correspondingly, a compactness matrix ΣCq and scatterness matrix ΣSq are constructed for the q-th BDM as follows:
ΣCq=Σi(xi−xj)(xi−xj)T
ΣSq=Σi(xi−xk)(xi−xk)T.
In block 320, the average distance between the heterogeneous neighborhoods and homogeneous neighborhoods is computed using the trace difference criterion, as performed above. In block 330, the average distance between the heterogeneous neighborhoods and homogeneous neighborhoods is maximized by minimizing the trace difference criterion. Each neighborhood can then be expressed as follows:
minW:W
In the healthcare application example, the above equation represents the individual similarity measure for each physician.
Minimizing the trace difference criterion over all BDMs results in the following:
=Σq=1mαqq=Σq=1mαqtr(WT(ΣCq−ΣSq)W)
where αq is the combination coefficient for the q-th BDM, α is constrained to be in a simplex as αq≧0, Σqαq=1 and m is the number of BDMs. By minimizing the trace difference criterion over all BDMs, the local discriminalities of all BDMs are leveraged to create a more powerful discriminative metric. The CDM is then formulated as the following optimization problem:
minα,WΣq=1mαqtr(WT(ΣCq−ΣSq)W)+λΩ(α)
s.t. α≧0,αTe=1
W
T
W=I (2)
where α=(α1, α2, . . . , αm)T, Ω(α) is some regularization teen used to avoid trivial solutions, and λ≧0 is the tradeoff parameter. In particular, when λ=inf, then αq=1/m for all q and when λ=0, then αq=1 for only the best BDM while all others have zero weight.
Referring again to
In
In block 410, an optimization problem is inputted into the alternating optimization method. If Ω(α) is a convex regularizer with respect to α, then the objective is convex with respect to α with W fixed and to W with α fixed. In block 420, α is fixed to solve for W. Starting at α=α°, at step t, the optimization problem is solved for W(t) with α fixed at α=α(t-1) using eigenvalue decomposition as follows:
minWΣq=1mαq(t-1)tr(WT(ΣCq−ΣSq)W)+λΩ(α)
s.t. W
T
W=I (3).
Since the second term of the objective is irrelevant with respect to W, it can be discarded. The first term of the objective can then be rewritten as follows:
Σq=1mα(t-1)tr(WT(ΣCq−ΣSq)W)=tr(WT└Σqmαq(t-1)(ΣCq−ΣSq┘W).
Considering the orthogonality constraint WTW=I, the Ky Fan Theorem can be applied to solve equation (3) for W(t)=└w1(t), W2(t), . . . , wk(t)┘, with wi(t) being the eigenvector of E(t-1)=Σqmαq(t-1)(ΣCq−ΣSq) whose eigenvalue is the i-th smallest. The computational complexity is O(d3), which is dominated by the eigenvalue decomposition.
In block 430, once W(t) is determined at step t, α is then solved for with W fixed. In one embodiment, α(t) is determined by solving the following optimization problem:
minαΣq=1mαqtr((W(t))T(ΣCq−ΣSq)W(t))+λΩ(α)
s.t. α≧0,αTe=1 (4)
where e is all one vector. To solve the optimization problem of equation (4), different choices of Ω(α) are evaluated. For notational convenience, let w(t)=(w1(t), w2(t), . . . wm(t))T with wi(t)=tr((W(t))T(ΣCq−ΣSq)W(t)).
The optimization problem of equation (4) is first evaluated using L2 norm regularization, where Ω(α)=∥α∥22. Here, ∥α∥22=αTα is applied, which is a common regularizer, so that the optimization problem of equation (4) can be rewritten as follows:
minααTw(t)+λ∥α∥22
s.t. α≧0,αTe=1.
The above result is a standard Quadratic Programming problem and can be solved by numerous mature software programs. However, since solving a Quadratic Programming problem can be time consuming, the problem is reformulated, for efficiency, to the following:
Since the second term is irrelevant with respect to α, it can be discarded and the optimization problem rewritten as follows:
minα∥α−{tilde over (w)}(t)∥22
s.t. α≧0,αTe=1
where
Therefore, the optimization problem turns into a Euclidean projection problem under the simplex constraints with L2 norm regularization.
The problem with L2 regularization is that it tends to uniformly select all base distance metrics, which may introduce some redundancies. Therefore, the optimization problem of equation (4) is evaluated using L1 norm regularization, where Ω(α)=∥α∥1. Here, ∥α∥1=Σq=1m|αq|, which is a common regularizer, is applied to enforce a sparsity penalty on α, such that the smaller ∥α∥1 is, the sparser α will be. The optimization problem of equation (4) can be rewritten to the following:
minααTw(t)+λ∥α∥1
s.t. α≧0,αTe=1.
The optimal solution to α* is expected to have only nonzero entries whose corresponding base distance metrics are highly discriminative. However, with the nonnegativity and sum-to-one constraints, ∥α∥1 is already restricted to 1, which makes the L1 regularization meaningless in this case. Therefore, either the L1 regularization or the sum-to-one constraint can be dropped. If the sum-to-one constraint is dropped, the optimal solution would be an all-zero vector, which is trivial. If the L1 regularization term is dropped, the optimal solution becomes:
which only selects the most discriminative base distance metric and is, therefore, overly sparse.
Alternatively, a hybrid approach can be adopted. The optimization problem of equation (4) is evaluated using elastic net regularization, where Ω(α)=λ1∥α∥22+λ2∥α∥1. Here, λ1>0 and λ2>0 are regularization constants. The elastic net regularizer can be viewed as a tradeoff between the nonsparse L2 norm regularization and sparse L1 norm regularization. The optimization problem can be rewritten as:
Since the third term is irrelevant with respect to α, it can be discarded and the problem simplified to:
minα∥α−ŵ(t)∥22+λ2∥α∥1
where
As can be observed, the sum-to-one constraint and L1 norm regularizer are still redundant in this case and, therefore, one can be dropped. If the L1 norm regularizer is dropped, the problem becomes the same as L2 regularization. If the sum-to-one constraint is dropped, the problem becomes a nonnegative least absolute shrinkage and selection operator (LASSO) problem and can be solved by standard methods.
Evaluating the optimization problem of equation (4) for different choices of Ω(α), L2 regularization using Euclidean projection is sufficient with a computational complexity of O(m). Referring again to
In the healthcare application example, the output of the CDM is represented by projection matrix W. Patient similarity may be determined for two patients, each represented by a feature vector v1 and v2, respectively. A Mahalanobis distance between the two vectors is determined using precision matrix WTW as follows:
(v1−v2)(v1−v2)TWWT.
New feature vectors and new base distance metrics may be incorporated to adjust the distance of the CDM. New feature vectors are first absorbed into each base distance metric through a distance updating process, i.e., all base distance metrics are recomputed by adding the new feature. The new neighborhoods will be reconstructed and the composite distance will be relearned afterwards. New base distance metrics are converted into neighborhoods with an initial weight of zero. Alternating optimization will then be performed to further update the weights of all the BDMs.
One potential issue in applying the CDM is that the projected dimensionality k of matrix W needs to be predefined. Because there is no prior knowledge of the data distribution set, the projected dimensionality k is difficult to predefine. However, under the Ky Fan theorem, the optimal objective value of the optimization problem expressed in equation (3) is the sum of the smallest k eigenvalues of E(t-1). Therefore, k can be set to the number of negative eigenvalues of E(t-1).
As should be appreciated by one of ordinary skill in the art, the above-described CDM is one exemplary embodiment in accordance with the present principles. In other embodiments, the CDM may be modified to make it more effective and efficient for particular applications. In particular, where the data distribution consists of high dimensional data (e.g., text data), the data vectors {xi}i=1n are typically sparse, which will make the compactness matrix ΣCq and scatterness matrix ΣSq sparse, and the resultant matrix E(t) may also be sparse. As only the eigenvectors corresponding to the smallest k eigenvalues of E(t) need be found, faster iterative methods may be applied, such as the Lanczon algorithm, which would improve computational complexity from O(d3) to O(dk2).
In another embodiment in accordance with the present principles, the CDM may also be modified to handle new information. In dealing with new data from the population x, such as new patient data, it is projected into the feature space as follows:
{tilde over (x)}=W
T
x.
In this way, the Mahalanobis distance of x is projected into the feature space as a Euclidean distance d({tilde over (x)},•). The new expert input information is equivalent to adding a new BDM, which will first be transformed into a neighborhood with an initial weight of zero. Next, alternating optimization is applied by solving for αnew by fixing W=Wold then solving for Wnew iteratively. Alternating optimization is performed until a stopping criterion is met. The composite distance metric is then outputted, represented by projection matrix W.
In another embodiment in accordance with the present principles, the CDM method is modified for nonlinear data distributions. A limitation of CDM is that it assumes a linear transform W to map the data points to a feature space so that the Euclidean distance in that feature space is the Mahalanobis distance in the original space. However, since most data distributions are nonlinear in nature, such a linear transform may not be optimal. Therefore, the CDM can be modified to create a kernelized composite distance metric.
The kernelized CDM method is similar to the CDM method outlined in
d
Σ
(xi,xj)=√{square root over (φ(xi)−φ(xj))TΣφ(φ(xi)−φ(xj)))}{square root over (φ(xi)−φ(xj))TΣφ(φ(xi)−φ(xj)))}{square root over (φ(xi)−φ(xj))TΣφ(φ(xi)−φ(xj)))}{square root over (φ(xi)−φ(xj))TΣφ(φ(xi)−φ(xj)))}.
Similar to CDM, incomplete Cholesky decomposition can be applied to factorize Σφ as follows:
Σφ=WφWφ
where Wφ=└w1φ, w2φ, . . . , wkφ┘ is a low rank matrix, playing a similar role as W plays in CDM. To learn Wφ in the feature space F, the following optimization problem is solved:
minα,W
s.t. α≧0,αTe=1
W
φ
W
φ
=I (5)
where ΣCφ
Under the Representer Theorem, Wφ is extended to the following:
W
φ=Φ
where =[γ1, γ2, . . . γk] and wiφ=Φγi. Then:
where a kernel matrix KεRn×n is defined with its (i,j)-th entry Kij=φ(xi)Tφ(xj), Ki denotes the i-th column of K, and
Similarly, the Representer Theorem is used to find the following:
W
φ
ΣSφ
where
The objective of the optimization problem of equation (5) can then be rewritten into the following:
and the orthogonality constraint of Wφ becomes:
W
φ
W
φ=TΦTΦ=TK.
The optimization problem of the kernelized CDM can then be rewritten as follows:
Σq=1mαqtr(T(ΞCq−ΞSq))+λΩ(α)
s.t. α≧0,αTe=1
T
K
=I (6).
The optimization problem can be solved using alternating optimization, as in CDM. The optimization problem is convex with respect to or α with α or fixed, respectively, if Ω(α)=∥α∥22 is chosen under L2 norm regularization.
In solving the optimization problem of equation (6) by first fixing the problem of solving a becomes a quadratic programming problem, as it was in CDM. However, to solve by fixing α=α(t-1), the optimization problem is rewritten as follows:
Σq=1mαq(t-1)tr(T(ΞCq−ΞSq))
s.t.
T
K
=I.
The regularization term of the objective was discarded as it is irrelevant with respect to T. To solve the optimization problem, let:
Θq(t-1)=Σq=1mαq(t-1)(ΞCq−ΞSq).
The optimization problem can then be simplified to:
tr(TΘq(t-1))
s.t.
T
K
=I.
Since K is positive semi-definite, it can be factorized as the following:
K=U
T
ΛU
where Λ is a diagonal matrix with all positive eigenvalues of K on its diagonal line and U is stacked by their corresponding eigenvectors. By letting =Λ1/2U, the optimization problem becomes:
tr(Λ−1/2UΘ(t-1)UTΛ−1/2)
s.t.
T
=I.
The solution of the optimization problem can be determined by applying the Ky Fan theorem, which states that the optimal should be stacked by the eigenvectors of:
{tilde over (Θ)}=Λ−1/2UΘq(t-1)UTΛ−1/2
corresponding to its smallest k eigenvalues, and
=UTΛ−1/2.
As in CDM, the alternating optimization method of kernelized CDM is repeated until a stopping criterion is met. The composite distance metric is then outputted.
In another embodiment in accordance with the present principles, the CDM is modified for multilinear data, such as image, EEG, and fMRI data. In this Tensorized CDM, data is presented as a multidimensional array (i.e., tensors) and a CDM for tensors is learned. The tensorized CDM method is similar to the CDM method illustrated in
Let Yik be the mode K unfolding of yi. The mode K compactness and scatterness matrices for the q-th BDM can then be defined as follows:
ΣCqK=Σi(UKYiK−UKYjK)(UKYiK−UKYjK)T
ΣSqK=Σi(UKYiK−UKYjK)(UKYiK−UKYjK)T.
The optimization problem is solved for α and UK for each dimension K as follows:
The above formulation suggests that UK can be obtained by stacking the eigenvectors of
corresponding to its smallest k eigenvalues with a fixed. Then, α can be obtained by solving problem (7) when solving for all UK and all yi. This procedure will be repeated iteratively until the stopping criterion is met.
Neighborhood formulation module 550 converts the base distance metrics into neighborhoods for comparison. In a preferred embodiment, the neighborhoods include heterogeneous and homogeneous neighborhoods. Neighborhood formulation module 550 performs the method detailed in
Having described preferred embodiments of a system and method for a Composite Distance Metric leveraging multiple expert judgments (which are intended to be illustrative and not limiting), it is noted that modifications and variations can be made by persons skilled in the art in light of the above teachings. It is therefore to be understood that changes may be made in the particular embodiments disclosed which are within the scope of the invention as outlined by the appended claims. Having thus described aspects of the invention, with the details and particularity required by the patent laws, what is claimed and desired protected by Letters Patent is set forth in the appended claims.
This application claims priority to provisional application Ser. No. 61/391,321 filed on Oct. 8, 2010, which is incorporated by reference herein in its entirety.
Number | Date | Country | |
---|---|---|---|
61391321 | Oct 2010 | US |