# US 2010/0076723 A1 · Tensor linear laplacian discrimination for feature extraction

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2010/0076723 A1
- Document ID: US20100076723A1
- Status: Published application
- Kind: A1
- Application number: 12/235,927
- Filed: 2008-09-23
- Published: 2010-03-25
- Earliest claimed: 2008-09-23
- Assignees: Microsoft Corporation
- Inventors: Wei Zhang; Zhouchen Lin; Xiaoou Tang
- Web page: https://patentgrep.com/patent/US20100076723A1

## CPC

- G06F 16/285: {Clustering or classification}
- G06F 18/2132: based on discrimination criteria, e.g. discriminant analysis
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Tensor linear Laplacian discrimination for feature extraction is disclosed. One embodiment comprises generating a contextual distance based sample weight and class weight, calculating a within-class scatter using the at least one sample weight and a between-class scatter for multiple classes of data samples in a sample set using the class weight, performing a mode-k matrix unfolding on scatters and generating at least one orthogonal projection matrix.

## Claims

### Claim 1

A method to extract discriminant features from tensor based data samples, the method comprising:
generating at least one sample weight based on a contextual distance for each of a plurality of data samples in a sample set;
generating a class weight based on a contextual distance for a first class of data samples in a sample set;
calculating a within-class scatter for a class of data samples in a sample set, the within-class scatter calculated using the at least one sample weight;
calculating a between-class scatter for multiple classes of data samples in a sample set, the between-class scatter calculated using the class weight;
performing a mode-k matrix unfolding on the within-class scatter to generate a mode-k within-class scatter matrix;
performing a mode-k matrix unfolding on the between-class scatter to generate a mode-k between-class scatter matrix; and
generating at least one orthogonal projection matrix using the mode-k within-class scatter matrix and the mode-k between-class scatter matrix.

### Claim 2 (depends on 1)

The method of claim 1, wherein the contextual distance for each of a plurality of samples in a sample set is calculated according to a formula:
d(Xi,Ωsi)=∥f(Ωsi)−f(Ωsi\{Xi})∥.

### Claim 3 (depends on 1)

The method of claim 1, wherein the contextual distance for a first class in a sample set is calculated according to a formula: d(Ωs, Ω)=∥f(Ω)−f(Ω\Ωs)∥.

### Claim 4 (depends on 2)

The method of claim 2, wherein generating at least one sample weight based on a contextual distance for each of a plurality of samples in a sample set, further comprises generating a sample weight wi using a formula:
w
i
=
exp
(
-
d
2

(
X
i
,
Ω
s
i
)
t
)
.

### Claim 5 (depends on 3)

The method of claim 3, wherein generating a class weight based on a contextual distance for a first class in a sample set, further comprises generating a class weight ws using a formula:
w
s
=
exp
(
-
d
2

(
Ω
s
,
Ω
)
t
)
.

### Claim 6 (depends on 4)

The method of claim 4, wherein calculating a within-class scatter for a class of tensor based data samples in a sample set and calculated using at least one sample weight wi, further comprises calculating a within-class scatter α using a formula:
α
=
∑
s
=
1
c

∑
X
i
∈
Class


s

w
i


Y
i
-
Y
_
s

2
.

### Claim 7 (depends on 5)

The method of claim 5, wherein calculating a between-class scatter for a class of tensor based data samples in a sample set and calculated using a class weight ws, further comprises calculating a between-class scatter β using a formula:
β
=
∑
s
=
1
c

w
s

N
s


Y
_
s
-
Y
_

2
.

### Claim 8 (depends on 1)

The method of claim 1, further comprising generating a tensor coding length for each of the tensor based data samples.

### Claim 9

A system for extracting discriminant features from tensor based data, the system with an input, a memory, and a processor in communication with the input and the memory, the system comprising:
a weight generator module to receive a plurality of data samples and generate at least one sample weight based on a contextual distance for each of the plurality of data samples, and further to generate a class weight based on a contextual distance for a first class of data samples;
a scatter module in communication with the weight generator, the scatter module to receive the at least one sample weight and the class weight and calculate a within-class scatter for a class of data samples using the at least one sample weight, and to calculate a between-class scatter for multiple classes of data samples using the class weight;
an unfolding module coupled with the weight generator module and the scatter module, the unfolding module to perform a mode-k matrix unfolding on the within-class scatter to generate a mode-k within-class scatter matrix and to perform a mode-k matrix unfolding on the between-class scatter to generate a mode-k between-class scatter matrix; and
a projection matrix module coupled with the scatter module and the unfolding module, the projection matrix module to generate at least one orthogonal projection matrix using the mode-k within-class scatter matrix and the mode-k between-class scatter matrix.

### Claim 10 (depends on 9)

The system of claim 9, wherein the contextual distance for each of a plurality of samples in a sample set is calculated according to a formula:
d(Xi,Ωsi)=∥f(Ωsi)−f(Ωsi\{Xi})∥.

### Claim 11 (depends on 9)

The system of claim 9, wherein the contextual distance for a first class in a sample set is calculated according to a formula: d(Ωs, Ω)=∥f(Ω)−f(Ω\Ωs)∥.

### Claim 12 (depends on 10)

The system of claim 10, wherein at least one sample weight wi is generated using a formula:
w
i
=
exp
(
-
d
2

(
X
i
,
Ω
s
i
)
t
)
.

### Claim 13 (depends on 11)

The system of claim 11, wherein a class weight ws is generated using a formula:
w
s
=
exp
(
-
d
2

(
Ω
s
,
Ω
)
t
)
.

### Claim 14 (depends on 12)

The system of claim 12, wherein a within-class scatter α is calculated using a formula:
α
=
∑
s
=
1
c

∑
X
i
∈
Class


s

w
i


Y
i
-
Y
_
s

2
.

### Claim 15 (depends on 13)

The system of claim 13, wherein a between-class scatter β is calculated using a formula:
β
=
∑
s
=
1
c

w
s

N
s


Y
_
s
-
Y
_

2
.

### Claim 16 (depends on 9)

The system of claim 9, wherein at least one orthogonal projection matrix is generated according to a formula:
arg


max
U
k

β
α
=
tr

(
U
k
t

S
b
(
k
)

U
k
)
tr

(
U
k
T

S
w
(
k
)

U
k
)
.

### Claim 17

A computer-readable medium comprising instructions executable by a computing device to enable discriminant feature extraction using tensor based data, the instructions being executable to perform a method comprising:
generating at least one sample weight based on a contextual distance for each of a plurality of data samples in a sample set;
generating a class weight based on a contextual distance for a first class of data samples in a sample set;
calculating a within-class scatter for a class of data samples in a sample set, the within-class scatter calculated using the at least one sample weight;
calculating a between-class scatter for multiple classes of data samples in a sample set, the between-class scatter calculated using the class weight;
performing a mode-k matrix unfolding on the within-class scatter to generate a mode-k within-class scatter matrix;
performing a mode-k matrix unfolding on the between-class scatter to generate a mode-k between-class scatter matrix; and
generating at least one orthogonal projection matrix using the mode-k within-class scatter matrix and the mode-k between-class scatter matrix, wherein a contribution from the mode-k between-class scatter matrix is given more weight than a contribution from the mode-k within-class scatter matrix.

### Claim 18 (depends on 17)

The computer-readable medium of claim 17, wherein the within-class scatter is calculated using a formula: α=tr(UkTSw(k)Uk).

### Claim 19 (depends on 18)

The computer-readable medium of claim 18, wherein the between-class scatter is calculated using a formula: β=tr(UkTSb(k)Uk).

### Claim 20 (depends on 19)

The computer-readable medium of claim 19, wherein the at least one orthogonal projection matrix is generated according to a formula:
arg

max
U
k

β
α
=
tr

(
U
k
T

S
b
(
k
)

U
k
)
tr

(
U
k
T

S
w
(
k
)

U
k
)
.
