SlideShare a Scribd company logo
Non-negative Matrix Factorization:
Applications and Algorithms
Trial Lecture
Akanksha Agrawal
Matrix
1 2 3
1 55 119 11
2 -112 456 154
3 513 33 223
4 324 123 543
4 x 3
A =
Matrix
1 2 3
1 55 119 11
2 -112 456 154
3 513 33 223
4 324 123 543
4 x 3
A =
A;1
Matrix
1 2 3
1 55 119 11
2 -112 456 154
3 513 33 223
4 324 123 543
4 x 3
A =
A2;
Matrix
1 2 3
1 55 119 11
2 -112 456 154
3 513 33 223
4 324 123 543
4 x 3
A =
a32
n x m
= xA W H
Minimize k
n x k
k x m
Factor of a Matrix
n x m
= xA W H
Minimize k
k is the rank, r of A
n x k
k x m
Factor of a Matrix
n x m n x k
= x
A basis
k ≤ r
k x m
W H
Factor of a Matrix
n x m
= x
k ≤ r
n x r
r x m
H
Factor of a Matrix
A basis
n x m
= x
k ≤ r
a1 a2 ar+ + +
n x r
r x m
H
Factor of a Matrix
A basis
j
n x m
= x
k ≤ r
a1 a2 ar+ + +
j
a1
a2
ar
n x r
r x m
Factor of a Matrix
A basis
j
n x m
= x
r ≤ k
n x k
k x m
A H
Factor of a Matrix
n x m
= x
r ≤ k
n x k
k x m
Can obtain a generating
set of the vector space
spanned by columns of A
A H
Factor of a Matrix
Non-Negative Matrix
1 2 3
1 55 119 11
2 -112 456 154
3 513 33 223
4 324 123 543
4 x 3
All elements are non-negative
Non-Negative Matrix
1 2 3
1 55 119 11
2 -112 456 154
3 513 33 223
4 324 123 543
4 x 3
All elements are non-negative
Non-Negative Matrix
1 2 3
1 55 119 11
2 112 456 154
3 513 33 223
4 324 123 543
4 x 3
All elements are non-negative
Non-negative (Exact) Factor of a Non-negative
Matrix
n x m
= xA W H
Minimize k
n x k
k x m
non-negative non-negative non-negative
Non-negative (Exact) Factor of a Non-negative
Matrix
n x m
= xA W H
Minimize k
n x k
k x m
non-negative non-negative non-negative
Non-negative
rank
Decision Version of the Problem
Exact Non-negative Matrix Factorization (ENMF)
Input:
Question:
An n x m non-negative matrix A and an
integer k.
Are there non-negative matrices W and H
such that A = W x H, W is of order
n x k, and H is of order k x m?
(A,k)
n x m
A
a11 a12 a1m
a21 a22 a2m
an1 an2 anm
(Cohen and Rothblum)
A Simple Algorithm for ENMF
A Simple Algorithm for ENMF
= W
x
n x k
w11 w12 w1k
w21 w22 w2k
wn1 wn2 wnk
k x m
h11 h12 h1m
h21 h22 h2m
wk1 wk2 wkm
Create variables
n x m
A
a11 a12 a1m
a21 a22 a2m
an1 an2 anm
H
A Simple Algorithm for ENMF
n x m
A
W
a11 a12 a1m
a21 a22 a2m
an1 an2 anm
x
n x k
w11 w12 w1k
w21 w22 w2k
wn1 wn2 wnk
k x m
h11 h12 h1m
h21 h22 h2m
wk1 wk2 wkm
Create variables
=
H
Create polynomial constraints:
[Const(A,k)]
1. For all i,j wij, hij ≥ 0.
A Simple Algorithm for ENMF
n x m
A
W
a11 a12 a1m
a21 a22 a2m
an1 an2 anm
x
n x k
w11 w12 w1k
w21 w22 w2k
wn1 wn2 wnk
H
k x m
h11 h12 h1m
h21 h22 h2m
wk1 wk2 wkm
Create variables
Create polynomial constraints:
[Const(A,k)]
1. For all i,j wij, hij ≥ 0.
2. For all i,j, aij = wik hkj.∑
k
=
A Simple Algorithm for ENMF
(A,k)
n x m
A
a11 a12 a1m
a21 a22 a2m
an1 an2 anm
Number of variables:
Number of polynomial
constraints:
nk + km
nm + nk + km
(A,k) is a yes-instance of ENMF if and only if
Const(A,k) is satisfiable (over reals)
A Simple Algorithm for ENMF
(A,k)
n x m
A
a11 a12 a1m
a21 a22 a2m
an1 an2 anm
Number of variables:
Number of polynomial
constraints:
nk + km
nm + nk + km
We can find a solution to
a set of polynomial
inequalities in time (Dp)O(x)
A Simple Algorithm for ENMF
(A,k)
n x m
A
a11 a12 a1m
a21 a22 a2m
an1 an2 anm
Number of variables:
Number of polynomial
constraints:
nk + km
nm + nk + km
We can find a solution to
a set of polynomial
inequalities in time (Dp)O(x)
x: number of variables
p: number of inequalities
D: Maximum degree of a
polynomial inequality
A Simple Algorithm for ENMF
(A,k)
n x m
A
a11 a12 a1m
a21 a22 a2m
an1 an2 anm
Number of variables:
Number of polynomial
constraints:
nk + km
nm + nk + km
We can decide if Const(A,k) is
satisfiable in time O((nm)O(k(n+m)))
An Illustration of Variable Reduction
Simplicial Factorization
Input:
Question:
An n x m non-negative matrix A of rank k.
Are there non-negative matrices W and H
such that A = W x H, W is of order n x k,
and H is of order k x m?
n x m
xA W H
n x k
k x m
Rank k
Simplicial Factorization
=
Simplicial Factorization
n x m
= xA W H
n x k
k x m
Rank k Full column rank Full row rank
n x m
x
k ≤ r
n x r
r x m
H
Factor of a Matrix
A basis
=
Simplicial Factorization
n x m
xA W H
n x k
k x m
Rank k Full column rank Full row rank
=
Simplicial Factorization
Goal: To design an algorithm for Simplicial
Factorization that runs in time O((nm)O(r )).2
Simplicial Factorization
Goal: To design an algorithm for Simplicial
Factorization that runs in time O((nm)O(r )).2
Follow similar approach as the algorithm for ENMF, but
apply with reduced number of variables.
Pseudo Inverse
Consider a full column (or row) rank
matrix Mp,q of rank p (q).
M+ has all real entries;
M+ has order q x p;
M+ x M = Iq,q and M x M+ = Ip,p.
The (unique) pseudo inverse M+, of M satisfies
the following:
Simplicial Factorization
n x m
= xA W H
n x k
k x m
Rank k Full column rank Full row rank
Simplicial Factorization
n x m
= xA W H
n x k
k x m
W+
W+ has order k x n and H+ has order m x k;
W+ x W = Ik,k and H x H+ = Ik,k.
H+Pseudo inverse:
Simplicial Factorization
n x m
= xA W H
n x k
k x m
W+ has order k x n and H+ has order m x k;
W+ x W = Ik,k and H x H+ = Ik,k.
A;i
H;i
W+ A;i = W+ W H;i = H;i
Simplicial Factorization
n x m
= xA W H
n x k
k x m
W+ has order k x n and H+ has order m x k;
W+ x W = Ik,k and H x H+ = Ik,k.
A;i
H;i
W+ A;i = W+ W H;i = H;i
Simplicial Factorization
n x m
= xA W H
n x k
k x m
W+ has order k x n and H+ has order m x k;
W+ x W = Ik,k and H x H+ = Ik,k.
A;i
H;i
k x k k x 1
W+ A;i = W+ W H;i = H;i
Simplicial Factorization
n x m
= xA W H
n x k
k x m
W+ has order k x n and H+ has order m x k;
W+ x W = Ik,k and H x H+ = Ik,k.
A;i
H;i
W+ A;i = W+ W H;i = H;i
Simplicial Factorization
n x m
= xA W H
n x k
k x m
W+ has order k x n and H+ has order m x k;
W+ x W = Ik,k and H x H+ = Ik,k.
A;i
W+ A;i = W+ W H;i = H;i
H;i
Simplicial Factorization
n x m
= xA W H
n x k
k x m
W+ has order k x n and H+ has order m x k;
W+ x W = Ik,k and H x H+ = Ik,k.
A;i
H;i
aji Wj;
W+ A;i = W+ W H;i = H;i
Simplicial Factorization
n x m
= xA W H
n x k
k x m
W+ has order k x n and H+ has order m x k;
W+ x W = Ik,k and H x H+ = Ik,k.
A;i
H;i
W+ A;i = W+ W H;i = H;i
Simplicial Factorization
n x m
= xA W H
n x k
k x m
W+ has order k x n and H+ has order m x k;
W+ x W = Ik,k and H x H+ = Ik,k.
A;i
H;i
W+ A;i = W+ W H;i = H;i
Aj; H+ = Wj; H H+ = Wj;
Simplicial Factorization
C = {U1, U2,…, Uk} : A column basis for A.
R = {V1, V2,…, Vk} : A row basis for A.
A
Columns of A
expressed in basic C
a1U1 + a2U2 + … + akUk
j AC
k x mn x m
a1
a2
ak
j
Simplicial Factorization
AC AR
Columns of A
expressed in basic C
Rows of A
expressed in basic R
n x kk x m
C = {U1, U2,…, Uk} : A column basis for A.
R = {V1, V2,…, Vk} : A row basis for A.
Simplicial Factorization
TC AC and AR TR are non-negative;
AR TR TC AC = A.
Lemma: A has a simplicial factor if and only if the for
every column and row basis C and R of A
there are k x k matrices TC and TR such that:
Simplicial Factorization
Lemma: A has a simplicial factor if and only if the for
every column and row basis C and R of A
there are k x k matrices TC and TR such that:
TC AC and AR TR are non-negative;
AR TR TC AC = A.
A has a simplicial factors
by the two conditions and the
construction of AC and AR.
n x k k x m
Simplicial Factorization
TC AC and AR TR are non-negative;
AR TR TC AC = A.
Lemma: A has a simplicial factor if and only if the for
every column and row basis C and R of A
there are k x k matrices TC and TR such that:
A = W x H
n x k k x m
U and V be column and
row basis respectively
Simplicial Factorization
A = W x H
n x k k x m
U and V be column and
row basis respectively
U
n x k
V
k x m
Simplicial Factorization
A = W x H
n x k k x m
U and V be column and
row basis respectively
U
n x k
V
k x m
TC = W+ x U
TR = V x H+
Simplicial Factorization
A = W x H
n x k k x m
U and V be column and
row basis respectively k x k
TC = W+ x U
TR = V x H+
Simplicial Factorization
A = W x H
n x k k x m
U and V be column and
row basis respectively
TC = W+ x U
TR = V x H+
k x k
TC x AC = W+ x U x AC = H
W+ A;i = W+ W H;i = H;i
Aj; H+ = Wj; H H+ = Wj;
(non -ve)
Simplicial Factorization
A = W x H
n x k k x m
U and V be column and
row basis respectively
TC = W+ x U
TR = V x H+
k x k
TC x AC = W+ x U x AC = H
W+ A;i = W+ W H;i = H;i
Aj; H+ = Wj; H H+ = Wj;
AR x TR = AR x V x H+ = W
(non -ve)
(non -ve)
Simplicial Factorization
A = W x H
n x k k x m
U and V be column and
row basis respectively
TC = W+ x U
TR = V x H+
k x k
TC x AC = W+ x U x AC = H (non -ve)
AR x TR = AR x V x H+ = W (non -ve)
TC AC and AR TR are non-negative;
AR TR TC AC = A.
Simplicial Factorization
TC AC and AR TR are non-negative;
AR TR TC AC = A.
Lemma: A has a simplicial factor if and only if the for
every column and row basis C and R of A
there are k x k matrices TC and TR such that:
A Simple Algorithm for ENMF
n x m
A
W
a11 a12 a1m
a21 a22 a2m
an1 an2 anm
x
n x k
w11 w12 w1k
w21 w22 w2k
wn1 wn2 wnk
H
k x m
h11 h12 h1m
h21 h22 h2m
wk1 wk2 wkm
Create variables
Create polynomial constraints:
[Const(A,k)]
1. For all i,j wij, hij ≥ 0.
2. For all i,j, aij = wik hkj.∑
k
=
Simplicial Factorization
TC AC and AR TR are non-negative;
AR TR TC AC = A.
Lemma: A has a simplicial factor if and only if the for
every column and row basis C and R of A
there are k x k matrices TC and TR such that:
U n x k V k x m
n x m
A
a11 a12 a1m
a21 a22 a2m
an1 an2 anm
Simplicial Factorization
n x m
A
a11 a12 a1m
a21 a22 a2m
an1 an2 anm
Simplicial Factorization
AR AC
k x mn x k k x k
w11 w12 w1k
w21 w22 w2k
wk1 wk2 wkk
TR
k x k
h11 h12 h1k
h21 h22 h2k
hk1 hk2 hkk
TC
=
n x m
A
a11 a12 a1m
a21 a22 a2m
an1 an2 anm
Number of variables:
Number of polynomial
constraints:
2k2
poly(n,m,k)
We can find a solution to
a set of polynomial
inequalities in time (Dp)O(x)
x: number of variables
p: number of inequalities
D: Maximum degree of a
polynomial inequality
Simplicial Factorization
n x m
A
a11 a12 a1m
a21 a22 a2m
an1 an2 anm
Number of variables:
Number of polynomial
constraints:
2k2
poly(n,m,k)
Simplicial Factorization
We can solve Simplicial Factorization
in time O((nm)O(k )).
2
Other Results on ENMF
[Vavasis] ENMF is known to be NP-Hard.
Other Results on ENMF
[Vavasis] ENMF is known to be NP-Hard.
[Arora et al.] Assuming ETH, there is no algorithm for
ENMF running in time O((nm)o(k)).
Other Results on ENMF
2
[Vavasis] ENMF is known to be NP-Hard.
[Arora et al.] Assuming ETH, there is no algorithm for
ENMF running in time O((nm)o(k)).
[Moitra] EMNF admits an algorithm running in time
O((nm)O(k )).
n x m
= xA W H
n x k
k x m
non-negative non-negative non-negative
Exact Non-negative Matrix Factorization
For most applications, close
approximation is good enough.
n x m
xA W H
n x k
k x m
non-negative non-negative non-negative
Non-negative Matrix Factorization
For most applications, close
approximation is good enough.
≈
Notions of closeness
Is f symmetric?
Distance
f: M x M —> R [ {1}
Divergence
Example: Distance Function
Square of Euclidean distance:
For matrices A and B (of same order)
|| A - B ||2 = (Aij - Bij)2∑
i,j
|| A - B ||2 = 0 if and only if A = B
Example: Divergence Function
For matrices A and B (of same order)
D(A || B ) = (Aij log (Aij/Bij) - Aij + Bij)∑
i,j
D(A || B ) = 0 if and only if A = B
General Scheme of Algorithm: Non-negative
Matrix Factorization
Input:
Output:
A, W(0), H(0), and t=1.
W and H.
General Scheme of Algorithm: Non-negative
Matrix Factorization
1. Fix H(t-1) and find W(t), such that D(A, W(t)H(t-1)) ≤
D(A, W(t-1)H(t-1)).
2. Fix W(t) and find H(t), such that D(A, W(t)H(t)) ≤ D(A,
W(t)H(t-1)).
3. If convergence satisfied return W and H.
4. t=t+1.
Input:
Output:
A, W(0), H(0), and t=1.
W and H.
While true
Main Challenges in Designing Better NMF
Algorithms
Getting a good seeding for initialisation of W and H.
Main Challenges in Designing Better NMF
Algorithms
Getting a good seeding for initialisation of W and H.
Devising updating rules for W and H at subsequent
iterations.
Main Challenges in Designing Better NMF
Algorithms
Getting a good seeding for initialisation of W and H.
Devising updating rules for W and H at subsequent
iterations.
Selecting distance/ divergence norms based on the
application.
Main Challenges in Designing Better NMF
Algorithms
Getting a good seeding for initialisation of W and H.
Devising updating rules for W and H at subsequent
iterations.
Selecting distance/ divergence norms based on the
application.
Proving/ giving enough evidences for convergence of
the algorithm.
Why are non-
negative matrices and
non-negative
factorisations
important?
Origin of Non-negative Matrix Factorization
Evolved from Principal Component Analysis, which is
used for dimension reduction.
Disadvantage: Both positive and
negative elements appear in
principal components and
coefficients in linear combinations.
Hard to interpret results in
applications like storing pixel
brightness
Applications
Image Processing.
The work due to Lee and Seung (1970)
attracted lot of attention to NMF
Applications
Image Processing.
Data represented as a non-negative matrix of
pixels.
NMF can find A W x H≈
W is the basis matrix, its
column can be regarded as
parts like nose, ear, eye,
etc.
Applications
Image Processing.
Data represented as a non-negative matrix of
pixels.
NMF can find A W x H≈
H encodes weights of each
of basic parts of the face.
Applications
Image Processing.
Data represented as a non-negative matrix of
pixels.
NMF can find A W x H≈
Therefore, we obtain a
compressed from of data.
Applications
Clustering
This is regarded as one of the most
successful applications of NFM.
Applications
Clustering
Data represented as a non-negative matrix of
pixels.
Columns of it are samples
described by n features
Applications
Clustering
Data represented as a non-negative matrix of
pixels.
NMF can find A W x H≈
W which is of order n x k,
k, which denotes the
number of clusters.
Applications
Clustering
Data represented as a non-negative matrix of
pixels.
NMF can find A W x H≈
H is used as the cluster
membership indicator
matrix.
Applications
Clustering
Data represented as a non-negative matrix of
pixels.
NMF can find A W x H≈
Sample i is in cluster j
if Hji is the largest
value in H;i.
Applications
Financial Data Mining
The stock price fluctuations seem to be
dominated by several underlying factors. NMF
has been used to obtain underlying trends
from the stock market data.
Thanks!

More Related Content

What's hot

Particle filter
Particle filterParticle filter
Particle filter
Mohammad Reza Jabbari
 
14 Machine Learning Single Layer Perceptron
14 Machine Learning Single Layer Perceptron14 Machine Learning Single Layer Perceptron
14 Machine Learning Single Layer Perceptron
Andres Mendez-Vazquez
 
Recurrence relation of Bessel's and Legendre's function
Recurrence relation of Bessel's and Legendre's functionRecurrence relation of Bessel's and Legendre's function
Recurrence relation of Bessel's and Legendre's function
Partho Ghosh
 
Kohonen self organizing maps
Kohonen self organizing mapsKohonen self organizing maps
Kohonen self organizing maps
raphaelkiminya
 
Markov chain
Markov chainMarkov chain
Markov chain
Namita Joseph
 
Top down parsering and bottom up parsering.pptx
Top down parsering and bottom up parsering.pptxTop down parsering and bottom up parsering.pptx
Top down parsering and bottom up parsering.pptx
LaibaFaisal3
 
Multi Layer Network
Multi Layer NetworkMulti Layer Network
Neural Networks: Self-Organizing Maps (SOM)
Neural Networks:  Self-Organizing Maps (SOM)Neural Networks:  Self-Organizing Maps (SOM)
Neural Networks: Self-Organizing Maps (SOM)
Mostafa G. M. Mostafa
 
FUNCTION APPROXIMATION
FUNCTION APPROXIMATIONFUNCTION APPROXIMATION
FUNCTION APPROXIMATIONankita pandey
 
Monte Carlo Statistical Methods
Monte Carlo Statistical MethodsMonte Carlo Statistical Methods
Monte Carlo Statistical Methods
Christian Robert
 
square matrix
square matrixsquare matrix
square matrix
sanjana mun
 
Unit 3 random number generation, random-variate generation
Unit 3 random number generation, random-variate generationUnit 3 random number generation, random-variate generation
Unit 3 random number generation, random-variate generation
raksharao
 
Linear Algebra presentation.pptx
Linear Algebra presentation.pptxLinear Algebra presentation.pptx
Linear Algebra presentation.pptx
ProveedorIptvEspaa
 
Discrete Fourier Transform
Discrete Fourier TransformDiscrete Fourier Transform
Discrete Fourier Transform
Abhishek Choksi
 
Fuzzy Logic and Neural Network
Fuzzy Logic and Neural NetworkFuzzy Logic and Neural Network
Fuzzy Logic and Neural Network
SHIMI S L
 
Chapter 09 classification advanced
Chapter 09 classification advancedChapter 09 classification advanced
Chapter 09 classification advanced
Houw Liong The
 
Knapsack problem using greedy approach
Knapsack problem using greedy approachKnapsack problem using greedy approach
Knapsack problem using greedy approach
padmeshagrekar
 
Kernels and Support Vector Machines
Kernels and Support Vector  MachinesKernels and Support Vector  Machines
Kernels and Support Vector Machines
Edgar Marca
 
Artificial Neural Network Lect4 : Single Layer Perceptron Classifiers
Artificial Neural Network Lect4 : Single Layer Perceptron ClassifiersArtificial Neural Network Lect4 : Single Layer Perceptron Classifiers
Artificial Neural Network Lect4 : Single Layer Perceptron Classifiers
Mohammed Bennamoun
 

What's hot (20)

Particle filter
Particle filterParticle filter
Particle filter
 
14 Machine Learning Single Layer Perceptron
14 Machine Learning Single Layer Perceptron14 Machine Learning Single Layer Perceptron
14 Machine Learning Single Layer Perceptron
 
Recurrence relation of Bessel's and Legendre's function
Recurrence relation of Bessel's and Legendre's functionRecurrence relation of Bessel's and Legendre's function
Recurrence relation of Bessel's and Legendre's function
 
Kohonen self organizing maps
Kohonen self organizing mapsKohonen self organizing maps
Kohonen self organizing maps
 
Markov chain
Markov chainMarkov chain
Markov chain
 
Top down parsering and bottom up parsering.pptx
Top down parsering and bottom up parsering.pptxTop down parsering and bottom up parsering.pptx
Top down parsering and bottom up parsering.pptx
 
Multi Layer Network
Multi Layer NetworkMulti Layer Network
Multi Layer Network
 
Neural Networks: Self-Organizing Maps (SOM)
Neural Networks:  Self-Organizing Maps (SOM)Neural Networks:  Self-Organizing Maps (SOM)
Neural Networks: Self-Organizing Maps (SOM)
 
Gauss jordan
Gauss jordanGauss jordan
Gauss jordan
 
FUNCTION APPROXIMATION
FUNCTION APPROXIMATIONFUNCTION APPROXIMATION
FUNCTION APPROXIMATION
 
Monte Carlo Statistical Methods
Monte Carlo Statistical MethodsMonte Carlo Statistical Methods
Monte Carlo Statistical Methods
 
square matrix
square matrixsquare matrix
square matrix
 
Unit 3 random number generation, random-variate generation
Unit 3 random number generation, random-variate generationUnit 3 random number generation, random-variate generation
Unit 3 random number generation, random-variate generation
 
Linear Algebra presentation.pptx
Linear Algebra presentation.pptxLinear Algebra presentation.pptx
Linear Algebra presentation.pptx
 
Discrete Fourier Transform
Discrete Fourier TransformDiscrete Fourier Transform
Discrete Fourier Transform
 
Fuzzy Logic and Neural Network
Fuzzy Logic and Neural NetworkFuzzy Logic and Neural Network
Fuzzy Logic and Neural Network
 
Chapter 09 classification advanced
Chapter 09 classification advancedChapter 09 classification advanced
Chapter 09 classification advanced
 
Knapsack problem using greedy approach
Knapsack problem using greedy approachKnapsack problem using greedy approach
Knapsack problem using greedy approach
 
Kernels and Support Vector Machines
Kernels and Support Vector  MachinesKernels and Support Vector  Machines
Kernels and Support Vector Machines
 
Artificial Neural Network Lect4 : Single Layer Perceptron Classifiers
Artificial Neural Network Lect4 : Single Layer Perceptron ClassifiersArtificial Neural Network Lect4 : Single Layer Perceptron Classifiers
Artificial Neural Network Lect4 : Single Layer Perceptron Classifiers
 

Similar to Non-negative Matrix Factorization

MASSS_Presentation_20160209
MASSS_Presentation_20160209MASSS_Presentation_20160209
MASSS_Presentation_20160209Yimin Wu
 
Grovers Algorithm
Grovers Algorithm Grovers Algorithm
Grovers Algorithm
CaseyHaaland
 
An algorithm for computing resultant polytopes
An algorithm for computing resultant polytopesAn algorithm for computing resultant polytopes
An algorithm for computing resultant polytopes
Vissarion Fisikopoulos
 
"An output-sensitive algorithm for computing projections of resultant polytop...
"An output-sensitive algorithm for computing projections of resultant polytop..."An output-sensitive algorithm for computing projections of resultant polytop...
"An output-sensitive algorithm for computing projections of resultant polytop...
Vissarion Fisikopoulos
 
Discrete Signal Processing
Discrete Signal ProcessingDiscrete Signal Processing
Discrete Signal Processingmargretrosy
 
Normal equations for linear regression?
Normal equations for linear regression?Normal equations for linear regression?
Normal equations for linear regression?
Hamed Zakerzadeh
 
ECCV2008: MAP Estimation Algorithms in Computer Vision - Part 2
ECCV2008: MAP Estimation Algorithms in Computer Vision - Part 2ECCV2008: MAP Estimation Algorithms in Computer Vision - Part 2
ECCV2008: MAP Estimation Algorithms in Computer Vision - Part 2zukun
 
Mun unit5 cdp_slide_share
Mun unit5 cdp_slide_shareMun unit5 cdp_slide_share
Mun unit5 cdp_slide_shareJi Hyon Mun
 
Conctructing Polytopes via a Vertex Oracle
Conctructing Polytopes via a Vertex OracleConctructing Polytopes via a Vertex Oracle
Conctructing Polytopes via a Vertex Oracle
Vissarion Fisikopoulos
 
Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3
Fabian Pedregosa
 
L7%20AC.pdf
L7%20AC.pdfL7%20AC.pdf
L7%20AC.pdf
ArpitVidhani
 
Presentation1
Presentation1Presentation1
Presentation1emitche6
 
characteristic of function, average rate chnage, instant rate chnage.pptx
characteristic of function, average rate chnage, instant rate chnage.pptxcharacteristic of function, average rate chnage, instant rate chnage.pptx
characteristic of function, average rate chnage, instant rate chnage.pptx
PallaviGupta66118
 
E field dipole
E field dipoleE field dipole
E field dipole
FFMdeMul
 
Math For Physics
Math For PhysicsMath For Physics
Math For Physics
walt sautter
 
Dsp manual
Dsp manualDsp manual
Dsp manual
pramod naik
 
Bch and reed solomon codes generation in frequency domain
Bch and reed solomon codes generation in frequency domainBch and reed solomon codes generation in frequency domain
Bch and reed solomon codes generation in frequency domain
Madhumita Tamhane
 
power method.pdf
power method.pdfpower method.pdf
power method.pdf
LitanKumarSaha
 

Similar to Non-negative Matrix Factorization (20)

MASSS_Presentation_20160209
MASSS_Presentation_20160209MASSS_Presentation_20160209
MASSS_Presentation_20160209
 
Grovers Algorithm
Grovers Algorithm Grovers Algorithm
Grovers Algorithm
 
An algorithm for computing resultant polytopes
An algorithm for computing resultant polytopesAn algorithm for computing resultant polytopes
An algorithm for computing resultant polytopes
 
"An output-sensitive algorithm for computing projections of resultant polytop...
"An output-sensitive algorithm for computing projections of resultant polytop..."An output-sensitive algorithm for computing projections of resultant polytop...
"An output-sensitive algorithm for computing projections of resultant polytop...
 
Discrete Signal Processing
Discrete Signal ProcessingDiscrete Signal Processing
Discrete Signal Processing
 
Normal equations for linear regression?
Normal equations for linear regression?Normal equations for linear regression?
Normal equations for linear regression?
 
ECCV2008: MAP Estimation Algorithms in Computer Vision - Part 2
ECCV2008: MAP Estimation Algorithms in Computer Vision - Part 2ECCV2008: MAP Estimation Algorithms in Computer Vision - Part 2
ECCV2008: MAP Estimation Algorithms in Computer Vision - Part 2
 
Mun unit5 cdp_slide_share
Mun unit5 cdp_slide_shareMun unit5 cdp_slide_share
Mun unit5 cdp_slide_share
 
Conctructing Polytopes via a Vertex Oracle
Conctructing Polytopes via a Vertex OracleConctructing Polytopes via a Vertex Oracle
Conctructing Polytopes via a Vertex Oracle
 
Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3
 
Ch07 6
Ch07 6Ch07 6
Ch07 6
 
L7%20AC.pdf
L7%20AC.pdfL7%20AC.pdf
L7%20AC.pdf
 
Morales_21min_Talk
Morales_21min_TalkMorales_21min_Talk
Morales_21min_Talk
 
Presentation1
Presentation1Presentation1
Presentation1
 
characteristic of function, average rate chnage, instant rate chnage.pptx
characteristic of function, average rate chnage, instant rate chnage.pptxcharacteristic of function, average rate chnage, instant rate chnage.pptx
characteristic of function, average rate chnage, instant rate chnage.pptx
 
E field dipole
E field dipoleE field dipole
E field dipole
 
Math For Physics
Math For PhysicsMath For Physics
Math For Physics
 
Dsp manual
Dsp manualDsp manual
Dsp manual
 
Bch and reed solomon codes generation in frequency domain
Bch and reed solomon codes generation in frequency domainBch and reed solomon codes generation in frequency domain
Bch and reed solomon codes generation in frequency domain
 
power method.pdf
power method.pdfpower method.pdf
power method.pdf
 

More from AkankshaAgrawal55

Guarding Terrains though the Lens of Parameterized Complexity
Guarding Terrains though the Lens of Parameterized ComplexityGuarding Terrains though the Lens of Parameterized Complexity
Guarding Terrains though the Lens of Parameterized Complexity
AkankshaAgrawal55
 
Guarding Polygons via CSP
Guarding Polygons via CSPGuarding Polygons via CSP
Guarding Polygons via CSP
AkankshaAgrawal55
 
Polynomial Kernel for Interval Vertex Deletion
Polynomial Kernel for Interval Vertex DeletionPolynomial Kernel for Interval Vertex Deletion
Polynomial Kernel for Interval Vertex Deletion
AkankshaAgrawal55
 
Path Contraction Faster than 2^n
Path Contraction Faster than 2^nPath Contraction Faster than 2^n
Path Contraction Faster than 2^n
AkankshaAgrawal55
 
Ivd soda-2019
Ivd soda-2019Ivd soda-2019
Ivd soda-2019
AkankshaAgrawal55
 
COnflict Free Feedback Vertex Set: A Parameterized Dichotomy
COnflict Free Feedback Vertex Set: A Parameterized DichotomyCOnflict Free Feedback Vertex Set: A Parameterized Dichotomy
COnflict Free Feedback Vertex Set: A Parameterized Dichotomy
AkankshaAgrawal55
 
Simulataneous Feedback Edge Set: A Parameterized Perspective
Simulataneous Feedback Edge Set: A Parameterized PerspectiveSimulataneous Feedback Edge Set: A Parameterized Perspective
Simulataneous Feedback Edge Set: A Parameterized Perspective
AkankshaAgrawal55
 
Kernels for Deletion to Classes of Acyclic Digraphs
Kernels for Deletion to Classes of Acyclic DigraphsKernels for Deletion to Classes of Acyclic Digraphs
Kernels for Deletion to Classes of Acyclic Digraphs
AkankshaAgrawal55
 
Kernelization of Cycle Packing with Relaxed Disjointness Constraints
Kernelization of Cycle Packing with Relaxed Disjointness ConstraintsKernelization of Cycle Packing with Relaxed Disjointness Constraints
Kernelization of Cycle Packing with Relaxed Disjointness Constraints
AkankshaAgrawal55
 
Delaunay Graphs For Various Geometric Objects
Delaunay Graphs For Various Geometric ObjectsDelaunay Graphs For Various Geometric Objects
Delaunay Graphs For Various Geometric Objects
AkankshaAgrawal55
 
Graph Modification: Beyond the known Boundaries
Graph Modification: Beyond the known BoundariesGraph Modification: Beyond the known Boundaries
Graph Modification: Beyond the known Boundaries
AkankshaAgrawal55
 
Split Contraction: The Untold Story
Split Contraction: The Untold StorySplit Contraction: The Untold Story
Split Contraction: The Untold Story
AkankshaAgrawal55
 
Fine Grained Complexity
Fine Grained ComplexityFine Grained Complexity
Fine Grained Complexity
AkankshaAgrawal55
 
On the Parameterized Complexity of Simultaneous Deletion Problems
On the Parameterized Complexity of Simultaneous Deletion ProblemsOn the Parameterized Complexity of Simultaneous Deletion Problems
On the Parameterized Complexity of Simultaneous Deletion Problems
AkankshaAgrawal55
 
Kernel for Chordal Vertex Deletion
Kernel for Chordal Vertex DeletionKernel for Chordal Vertex Deletion
Kernel for Chordal Vertex Deletion
AkankshaAgrawal55
 
Fine Grained Complexity of Rainbow Coloring and its Variants
Fine Grained Complexity of Rainbow Coloring and its VariantsFine Grained Complexity of Rainbow Coloring and its Variants
Fine Grained Complexity of Rainbow Coloring and its Variants
AkankshaAgrawal55
 
Polylogarithmic approximation algorithm for weighted F-deletion problems
Polylogarithmic approximation algorithm for weighted F-deletion problemsPolylogarithmic approximation algorithm for weighted F-deletion problems
Polylogarithmic approximation algorithm for weighted F-deletion problems
AkankshaAgrawal55
 

More from AkankshaAgrawal55 (17)

Guarding Terrains though the Lens of Parameterized Complexity
Guarding Terrains though the Lens of Parameterized ComplexityGuarding Terrains though the Lens of Parameterized Complexity
Guarding Terrains though the Lens of Parameterized Complexity
 
Guarding Polygons via CSP
Guarding Polygons via CSPGuarding Polygons via CSP
Guarding Polygons via CSP
 
Polynomial Kernel for Interval Vertex Deletion
Polynomial Kernel for Interval Vertex DeletionPolynomial Kernel for Interval Vertex Deletion
Polynomial Kernel for Interval Vertex Deletion
 
Path Contraction Faster than 2^n
Path Contraction Faster than 2^nPath Contraction Faster than 2^n
Path Contraction Faster than 2^n
 
Ivd soda-2019
Ivd soda-2019Ivd soda-2019
Ivd soda-2019
 
COnflict Free Feedback Vertex Set: A Parameterized Dichotomy
COnflict Free Feedback Vertex Set: A Parameterized DichotomyCOnflict Free Feedback Vertex Set: A Parameterized Dichotomy
COnflict Free Feedback Vertex Set: A Parameterized Dichotomy
 
Simulataneous Feedback Edge Set: A Parameterized Perspective
Simulataneous Feedback Edge Set: A Parameterized PerspectiveSimulataneous Feedback Edge Set: A Parameterized Perspective
Simulataneous Feedback Edge Set: A Parameterized Perspective
 
Kernels for Deletion to Classes of Acyclic Digraphs
Kernels for Deletion to Classes of Acyclic DigraphsKernels for Deletion to Classes of Acyclic Digraphs
Kernels for Deletion to Classes of Acyclic Digraphs
 
Kernelization of Cycle Packing with Relaxed Disjointness Constraints
Kernelization of Cycle Packing with Relaxed Disjointness ConstraintsKernelization of Cycle Packing with Relaxed Disjointness Constraints
Kernelization of Cycle Packing with Relaxed Disjointness Constraints
 
Delaunay Graphs For Various Geometric Objects
Delaunay Graphs For Various Geometric ObjectsDelaunay Graphs For Various Geometric Objects
Delaunay Graphs For Various Geometric Objects
 
Graph Modification: Beyond the known Boundaries
Graph Modification: Beyond the known BoundariesGraph Modification: Beyond the known Boundaries
Graph Modification: Beyond the known Boundaries
 
Split Contraction: The Untold Story
Split Contraction: The Untold StorySplit Contraction: The Untold Story
Split Contraction: The Untold Story
 
Fine Grained Complexity
Fine Grained ComplexityFine Grained Complexity
Fine Grained Complexity
 
On the Parameterized Complexity of Simultaneous Deletion Problems
On the Parameterized Complexity of Simultaneous Deletion ProblemsOn the Parameterized Complexity of Simultaneous Deletion Problems
On the Parameterized Complexity of Simultaneous Deletion Problems
 
Kernel for Chordal Vertex Deletion
Kernel for Chordal Vertex DeletionKernel for Chordal Vertex Deletion
Kernel for Chordal Vertex Deletion
 
Fine Grained Complexity of Rainbow Coloring and its Variants
Fine Grained Complexity of Rainbow Coloring and its VariantsFine Grained Complexity of Rainbow Coloring and its Variants
Fine Grained Complexity of Rainbow Coloring and its Variants
 
Polylogarithmic approximation algorithm for weighted F-deletion problems
Polylogarithmic approximation algorithm for weighted F-deletion problemsPolylogarithmic approximation algorithm for weighted F-deletion problems
Polylogarithmic approximation algorithm for weighted F-deletion problems
 

Recently uploaded

Anemia_ types_clinical significance.pptx
Anemia_ types_clinical significance.pptxAnemia_ types_clinical significance.pptx
Anemia_ types_clinical significance.pptx
muralinath2
 
Seminar of U.V. Spectroscopy by SAMIR PANDA
 Seminar of U.V. Spectroscopy by SAMIR PANDA Seminar of U.V. Spectroscopy by SAMIR PANDA
Seminar of U.V. Spectroscopy by SAMIR PANDA
SAMIR PANDA
 
Orion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWSOrion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWS
Columbia Weather Systems
 
Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
Nistarini College, Purulia (W.B) India
 
Unveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdfUnveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdf
Erdal Coalmaker
 
Mudde & Rovira Kaltwasser. - Populism - a very short introduction [2017].pdf
Mudde & Rovira Kaltwasser. - Populism - a very short introduction [2017].pdfMudde & Rovira Kaltwasser. - Populism - a very short introduction [2017].pdf
Mudde & Rovira Kaltwasser. - Populism - a very short introduction [2017].pdf
frank0071
 
Nutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technologyNutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technology
Lokesh Patil
 
DMARDs Pharmacolgy Pharm D 5th Semester.pdf
DMARDs Pharmacolgy Pharm D 5th Semester.pdfDMARDs Pharmacolgy Pharm D 5th Semester.pdf
DMARDs Pharmacolgy Pharm D 5th Semester.pdf
fafyfskhan251kmf
 
Red blood cells- genesis-maturation.pptx
Red blood cells- genesis-maturation.pptxRed blood cells- genesis-maturation.pptx
Red blood cells- genesis-maturation.pptx
muralinath2
 
Lateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensiveLateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensive
silvermistyshot
 
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
David Osipyan
 
What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.
moosaasad1975
 
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
yqqaatn0
 
SAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdfSAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdf
KrushnaDarade1
 
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptxThe use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
MAGOTI ERNEST
 
bordetella pertussis.................................ppt
bordetella pertussis.................................pptbordetella pertussis.................................ppt
bordetella pertussis.................................ppt
kejapriya1
 
Mudde & Rovira Kaltwasser. - Populism in Europe and the Americas - Threat Or...
Mudde &  Rovira Kaltwasser. - Populism in Europe and the Americas - Threat Or...Mudde &  Rovira Kaltwasser. - Populism in Europe and the Americas - Threat Or...
Mudde & Rovira Kaltwasser. - Populism in Europe and the Americas - Threat Or...
frank0071
 
Deep Software Variability and Frictionless Reproducibility
Deep Software Variability and Frictionless ReproducibilityDeep Software Variability and Frictionless Reproducibility
Deep Software Variability and Frictionless Reproducibility
University of Rennes, INSA Rennes, Inria/IRISA, CNRS
 
Oedema_types_causes_pathophysiology.pptx
Oedema_types_causes_pathophysiology.pptxOedema_types_causes_pathophysiology.pptx
Oedema_types_causes_pathophysiology.pptx
muralinath2
 
Richard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlandsRichard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlands
Richard Gill
 

Recently uploaded (20)

Anemia_ types_clinical significance.pptx
Anemia_ types_clinical significance.pptxAnemia_ types_clinical significance.pptx
Anemia_ types_clinical significance.pptx
 
Seminar of U.V. Spectroscopy by SAMIR PANDA
 Seminar of U.V. Spectroscopy by SAMIR PANDA Seminar of U.V. Spectroscopy by SAMIR PANDA
Seminar of U.V. Spectroscopy by SAMIR PANDA
 
Orion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWSOrion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWS
 
Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
 
Unveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdfUnveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdf
 
Mudde & Rovira Kaltwasser. - Populism - a very short introduction [2017].pdf
Mudde & Rovira Kaltwasser. - Populism - a very short introduction [2017].pdfMudde & Rovira Kaltwasser. - Populism - a very short introduction [2017].pdf
Mudde & Rovira Kaltwasser. - Populism - a very short introduction [2017].pdf
 
Nutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technologyNutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technology
 
DMARDs Pharmacolgy Pharm D 5th Semester.pdf
DMARDs Pharmacolgy Pharm D 5th Semester.pdfDMARDs Pharmacolgy Pharm D 5th Semester.pdf
DMARDs Pharmacolgy Pharm D 5th Semester.pdf
 
Red blood cells- genesis-maturation.pptx
Red blood cells- genesis-maturation.pptxRed blood cells- genesis-maturation.pptx
Red blood cells- genesis-maturation.pptx
 
Lateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensiveLateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensive
 
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
 
What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.
 
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
 
SAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdfSAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdf
 
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptxThe use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
 
bordetella pertussis.................................ppt
bordetella pertussis.................................pptbordetella pertussis.................................ppt
bordetella pertussis.................................ppt
 
Mudde & Rovira Kaltwasser. - Populism in Europe and the Americas - Threat Or...
Mudde &  Rovira Kaltwasser. - Populism in Europe and the Americas - Threat Or...Mudde &  Rovira Kaltwasser. - Populism in Europe and the Americas - Threat Or...
Mudde & Rovira Kaltwasser. - Populism in Europe and the Americas - Threat Or...
 
Deep Software Variability and Frictionless Reproducibility
Deep Software Variability and Frictionless ReproducibilityDeep Software Variability and Frictionless Reproducibility
Deep Software Variability and Frictionless Reproducibility
 
Oedema_types_causes_pathophysiology.pptx
Oedema_types_causes_pathophysiology.pptxOedema_types_causes_pathophysiology.pptx
Oedema_types_causes_pathophysiology.pptx
 
Richard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlandsRichard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlands
 

Non-negative Matrix Factorization

  • 1. Non-negative Matrix Factorization: Applications and Algorithms Trial Lecture Akanksha Agrawal
  • 2. Matrix 1 2 3 1 55 119 11 2 -112 456 154 3 513 33 223 4 324 123 543 4 x 3 A =
  • 3. Matrix 1 2 3 1 55 119 11 2 -112 456 154 3 513 33 223 4 324 123 543 4 x 3 A = A;1
  • 4. Matrix 1 2 3 1 55 119 11 2 -112 456 154 3 513 33 223 4 324 123 543 4 x 3 A = A2;
  • 5. Matrix 1 2 3 1 55 119 11 2 -112 456 154 3 513 33 223 4 324 123 543 4 x 3 A = a32
  • 6. n x m = xA W H Minimize k n x k k x m Factor of a Matrix
  • 7. n x m = xA W H Minimize k k is the rank, r of A n x k k x m Factor of a Matrix
  • 8. n x m n x k = x A basis k ≤ r k x m W H Factor of a Matrix
  • 9. n x m = x k ≤ r n x r r x m H Factor of a Matrix A basis
  • 10. n x m = x k ≤ r a1 a2 ar+ + + n x r r x m H Factor of a Matrix A basis j
  • 11. n x m = x k ≤ r a1 a2 ar+ + + j a1 a2 ar n x r r x m Factor of a Matrix A basis j
  • 12. n x m = x r ≤ k n x k k x m A H Factor of a Matrix
  • 13. n x m = x r ≤ k n x k k x m Can obtain a generating set of the vector space spanned by columns of A A H Factor of a Matrix
  • 14. Non-Negative Matrix 1 2 3 1 55 119 11 2 -112 456 154 3 513 33 223 4 324 123 543 4 x 3 All elements are non-negative
  • 15. Non-Negative Matrix 1 2 3 1 55 119 11 2 -112 456 154 3 513 33 223 4 324 123 543 4 x 3 All elements are non-negative
  • 16. Non-Negative Matrix 1 2 3 1 55 119 11 2 112 456 154 3 513 33 223 4 324 123 543 4 x 3 All elements are non-negative
  • 17. Non-negative (Exact) Factor of a Non-negative Matrix n x m = xA W H Minimize k n x k k x m non-negative non-negative non-negative
  • 18. Non-negative (Exact) Factor of a Non-negative Matrix n x m = xA W H Minimize k n x k k x m non-negative non-negative non-negative Non-negative rank
  • 19. Decision Version of the Problem Exact Non-negative Matrix Factorization (ENMF) Input: Question: An n x m non-negative matrix A and an integer k. Are there non-negative matrices W and H such that A = W x H, W is of order n x k, and H is of order k x m?
  • 20. (A,k) n x m A a11 a12 a1m a21 a22 a2m an1 an2 anm (Cohen and Rothblum) A Simple Algorithm for ENMF
  • 21. A Simple Algorithm for ENMF = W x n x k w11 w12 w1k w21 w22 w2k wn1 wn2 wnk k x m h11 h12 h1m h21 h22 h2m wk1 wk2 wkm Create variables n x m A a11 a12 a1m a21 a22 a2m an1 an2 anm H
  • 22. A Simple Algorithm for ENMF n x m A W a11 a12 a1m a21 a22 a2m an1 an2 anm x n x k w11 w12 w1k w21 w22 w2k wn1 wn2 wnk k x m h11 h12 h1m h21 h22 h2m wk1 wk2 wkm Create variables = H Create polynomial constraints: [Const(A,k)] 1. For all i,j wij, hij ≥ 0.
  • 23. A Simple Algorithm for ENMF n x m A W a11 a12 a1m a21 a22 a2m an1 an2 anm x n x k w11 w12 w1k w21 w22 w2k wn1 wn2 wnk H k x m h11 h12 h1m h21 h22 h2m wk1 wk2 wkm Create variables Create polynomial constraints: [Const(A,k)] 1. For all i,j wij, hij ≥ 0. 2. For all i,j, aij = wik hkj.∑ k =
  • 24. A Simple Algorithm for ENMF (A,k) n x m A a11 a12 a1m a21 a22 a2m an1 an2 anm Number of variables: Number of polynomial constraints: nk + km nm + nk + km (A,k) is a yes-instance of ENMF if and only if Const(A,k) is satisfiable (over reals)
  • 25. A Simple Algorithm for ENMF (A,k) n x m A a11 a12 a1m a21 a22 a2m an1 an2 anm Number of variables: Number of polynomial constraints: nk + km nm + nk + km We can find a solution to a set of polynomial inequalities in time (Dp)O(x)
  • 26. A Simple Algorithm for ENMF (A,k) n x m A a11 a12 a1m a21 a22 a2m an1 an2 anm Number of variables: Number of polynomial constraints: nk + km nm + nk + km We can find a solution to a set of polynomial inequalities in time (Dp)O(x) x: number of variables p: number of inequalities D: Maximum degree of a polynomial inequality
  • 27. A Simple Algorithm for ENMF (A,k) n x m A a11 a12 a1m a21 a22 a2m an1 an2 anm Number of variables: Number of polynomial constraints: nk + km nm + nk + km We can decide if Const(A,k) is satisfiable in time O((nm)O(k(n+m)))
  • 28. An Illustration of Variable Reduction Simplicial Factorization Input: Question: An n x m non-negative matrix A of rank k. Are there non-negative matrices W and H such that A = W x H, W is of order n x k, and H is of order k x m?
  • 29. n x m xA W H n x k k x m Rank k Simplicial Factorization =
  • 30. Simplicial Factorization n x m = xA W H n x k k x m Rank k Full column rank Full row rank
  • 31. n x m x k ≤ r n x r r x m H Factor of a Matrix A basis =
  • 32. Simplicial Factorization n x m xA W H n x k k x m Rank k Full column rank Full row rank =
  • 33. Simplicial Factorization Goal: To design an algorithm for Simplicial Factorization that runs in time O((nm)O(r )).2
  • 34. Simplicial Factorization Goal: To design an algorithm for Simplicial Factorization that runs in time O((nm)O(r )).2 Follow similar approach as the algorithm for ENMF, but apply with reduced number of variables.
  • 35. Pseudo Inverse Consider a full column (or row) rank matrix Mp,q of rank p (q). M+ has all real entries; M+ has order q x p; M+ x M = Iq,q and M x M+ = Ip,p. The (unique) pseudo inverse M+, of M satisfies the following:
  • 36. Simplicial Factorization n x m = xA W H n x k k x m Rank k Full column rank Full row rank
  • 37. Simplicial Factorization n x m = xA W H n x k k x m W+ W+ has order k x n and H+ has order m x k; W+ x W = Ik,k and H x H+ = Ik,k. H+Pseudo inverse:
  • 38. Simplicial Factorization n x m = xA W H n x k k x m W+ has order k x n and H+ has order m x k; W+ x W = Ik,k and H x H+ = Ik,k. A;i H;i W+ A;i = W+ W H;i = H;i
  • 39. Simplicial Factorization n x m = xA W H n x k k x m W+ has order k x n and H+ has order m x k; W+ x W = Ik,k and H x H+ = Ik,k. A;i H;i W+ A;i = W+ W H;i = H;i
  • 40. Simplicial Factorization n x m = xA W H n x k k x m W+ has order k x n and H+ has order m x k; W+ x W = Ik,k and H x H+ = Ik,k. A;i H;i k x k k x 1 W+ A;i = W+ W H;i = H;i
  • 41. Simplicial Factorization n x m = xA W H n x k k x m W+ has order k x n and H+ has order m x k; W+ x W = Ik,k and H x H+ = Ik,k. A;i H;i W+ A;i = W+ W H;i = H;i
  • 42. Simplicial Factorization n x m = xA W H n x k k x m W+ has order k x n and H+ has order m x k; W+ x W = Ik,k and H x H+ = Ik,k. A;i W+ A;i = W+ W H;i = H;i H;i
  • 43. Simplicial Factorization n x m = xA W H n x k k x m W+ has order k x n and H+ has order m x k; W+ x W = Ik,k and H x H+ = Ik,k. A;i H;i aji Wj; W+ A;i = W+ W H;i = H;i
  • 44. Simplicial Factorization n x m = xA W H n x k k x m W+ has order k x n and H+ has order m x k; W+ x W = Ik,k and H x H+ = Ik,k. A;i H;i W+ A;i = W+ W H;i = H;i
  • 45. Simplicial Factorization n x m = xA W H n x k k x m W+ has order k x n and H+ has order m x k; W+ x W = Ik,k and H x H+ = Ik,k. A;i H;i W+ A;i = W+ W H;i = H;i Aj; H+ = Wj; H H+ = Wj;
  • 46. Simplicial Factorization C = {U1, U2,…, Uk} : A column basis for A. R = {V1, V2,…, Vk} : A row basis for A. A Columns of A expressed in basic C a1U1 + a2U2 + … + akUk j AC k x mn x m a1 a2 ak j
  • 47. Simplicial Factorization AC AR Columns of A expressed in basic C Rows of A expressed in basic R n x kk x m C = {U1, U2,…, Uk} : A column basis for A. R = {V1, V2,…, Vk} : A row basis for A.
  • 48. Simplicial Factorization TC AC and AR TR are non-negative; AR TR TC AC = A. Lemma: A has a simplicial factor if and only if the for every column and row basis C and R of A there are k x k matrices TC and TR such that:
  • 49. Simplicial Factorization Lemma: A has a simplicial factor if and only if the for every column and row basis C and R of A there are k x k matrices TC and TR such that: TC AC and AR TR are non-negative; AR TR TC AC = A. A has a simplicial factors by the two conditions and the construction of AC and AR. n x k k x m
  • 50. Simplicial Factorization TC AC and AR TR are non-negative; AR TR TC AC = A. Lemma: A has a simplicial factor if and only if the for every column and row basis C and R of A there are k x k matrices TC and TR such that: A = W x H n x k k x m U and V be column and row basis respectively
  • 51. Simplicial Factorization A = W x H n x k k x m U and V be column and row basis respectively U n x k V k x m
  • 52. Simplicial Factorization A = W x H n x k k x m U and V be column and row basis respectively U n x k V k x m TC = W+ x U TR = V x H+
  • 53. Simplicial Factorization A = W x H n x k k x m U and V be column and row basis respectively k x k TC = W+ x U TR = V x H+
  • 54. Simplicial Factorization A = W x H n x k k x m U and V be column and row basis respectively TC = W+ x U TR = V x H+ k x k TC x AC = W+ x U x AC = H W+ A;i = W+ W H;i = H;i Aj; H+ = Wj; H H+ = Wj; (non -ve)
  • 55. Simplicial Factorization A = W x H n x k k x m U and V be column and row basis respectively TC = W+ x U TR = V x H+ k x k TC x AC = W+ x U x AC = H W+ A;i = W+ W H;i = H;i Aj; H+ = Wj; H H+ = Wj; AR x TR = AR x V x H+ = W (non -ve) (non -ve)
  • 56. Simplicial Factorization A = W x H n x k k x m U and V be column and row basis respectively TC = W+ x U TR = V x H+ k x k TC x AC = W+ x U x AC = H (non -ve) AR x TR = AR x V x H+ = W (non -ve) TC AC and AR TR are non-negative; AR TR TC AC = A.
  • 57. Simplicial Factorization TC AC and AR TR are non-negative; AR TR TC AC = A. Lemma: A has a simplicial factor if and only if the for every column and row basis C and R of A there are k x k matrices TC and TR such that:
  • 58. A Simple Algorithm for ENMF n x m A W a11 a12 a1m a21 a22 a2m an1 an2 anm x n x k w11 w12 w1k w21 w22 w2k wn1 wn2 wnk H k x m h11 h12 h1m h21 h22 h2m wk1 wk2 wkm Create variables Create polynomial constraints: [Const(A,k)] 1. For all i,j wij, hij ≥ 0. 2. For all i,j, aij = wik hkj.∑ k =
  • 59. Simplicial Factorization TC AC and AR TR are non-negative; AR TR TC AC = A. Lemma: A has a simplicial factor if and only if the for every column and row basis C and R of A there are k x k matrices TC and TR such that:
  • 60. U n x k V k x m n x m A a11 a12 a1m a21 a22 a2m an1 an2 anm Simplicial Factorization
  • 61. n x m A a11 a12 a1m a21 a22 a2m an1 an2 anm Simplicial Factorization AR AC k x mn x k k x k w11 w12 w1k w21 w22 w2k wk1 wk2 wkk TR k x k h11 h12 h1k h21 h22 h2k hk1 hk2 hkk TC =
  • 62. n x m A a11 a12 a1m a21 a22 a2m an1 an2 anm Number of variables: Number of polynomial constraints: 2k2 poly(n,m,k) We can find a solution to a set of polynomial inequalities in time (Dp)O(x) x: number of variables p: number of inequalities D: Maximum degree of a polynomial inequality Simplicial Factorization
  • 63. n x m A a11 a12 a1m a21 a22 a2m an1 an2 anm Number of variables: Number of polynomial constraints: 2k2 poly(n,m,k) Simplicial Factorization We can solve Simplicial Factorization in time O((nm)O(k )). 2
  • 64. Other Results on ENMF [Vavasis] ENMF is known to be NP-Hard.
  • 65. Other Results on ENMF [Vavasis] ENMF is known to be NP-Hard. [Arora et al.] Assuming ETH, there is no algorithm for ENMF running in time O((nm)o(k)).
  • 66. Other Results on ENMF 2 [Vavasis] ENMF is known to be NP-Hard. [Arora et al.] Assuming ETH, there is no algorithm for ENMF running in time O((nm)o(k)). [Moitra] EMNF admits an algorithm running in time O((nm)O(k )).
  • 67. n x m = xA W H n x k k x m non-negative non-negative non-negative Exact Non-negative Matrix Factorization For most applications, close approximation is good enough.
  • 68. n x m xA W H n x k k x m non-negative non-negative non-negative Non-negative Matrix Factorization For most applications, close approximation is good enough. ≈
  • 69. Notions of closeness Is f symmetric? Distance f: M x M —> R [ {1} Divergence
  • 70. Example: Distance Function Square of Euclidean distance: For matrices A and B (of same order) || A - B ||2 = (Aij - Bij)2∑ i,j || A - B ||2 = 0 if and only if A = B
  • 71. Example: Divergence Function For matrices A and B (of same order) D(A || B ) = (Aij log (Aij/Bij) - Aij + Bij)∑ i,j D(A || B ) = 0 if and only if A = B
  • 72. General Scheme of Algorithm: Non-negative Matrix Factorization Input: Output: A, W(0), H(0), and t=1. W and H.
  • 73. General Scheme of Algorithm: Non-negative Matrix Factorization 1. Fix H(t-1) and find W(t), such that D(A, W(t)H(t-1)) ≤ D(A, W(t-1)H(t-1)). 2. Fix W(t) and find H(t), such that D(A, W(t)H(t)) ≤ D(A, W(t)H(t-1)). 3. If convergence satisfied return W and H. 4. t=t+1. Input: Output: A, W(0), H(0), and t=1. W and H. While true
  • 74. Main Challenges in Designing Better NMF Algorithms Getting a good seeding for initialisation of W and H.
  • 75. Main Challenges in Designing Better NMF Algorithms Getting a good seeding for initialisation of W and H. Devising updating rules for W and H at subsequent iterations.
  • 76. Main Challenges in Designing Better NMF Algorithms Getting a good seeding for initialisation of W and H. Devising updating rules for W and H at subsequent iterations. Selecting distance/ divergence norms based on the application.
  • 77. Main Challenges in Designing Better NMF Algorithms Getting a good seeding for initialisation of W and H. Devising updating rules for W and H at subsequent iterations. Selecting distance/ divergence norms based on the application. Proving/ giving enough evidences for convergence of the algorithm.
  • 78. Why are non- negative matrices and non-negative factorisations important?
  • 79. Origin of Non-negative Matrix Factorization Evolved from Principal Component Analysis, which is used for dimension reduction. Disadvantage: Both positive and negative elements appear in principal components and coefficients in linear combinations. Hard to interpret results in applications like storing pixel brightness
  • 80. Applications Image Processing. The work due to Lee and Seung (1970) attracted lot of attention to NMF
  • 81. Applications Image Processing. Data represented as a non-negative matrix of pixels. NMF can find A W x H≈ W is the basis matrix, its column can be regarded as parts like nose, ear, eye, etc.
  • 82. Applications Image Processing. Data represented as a non-negative matrix of pixels. NMF can find A W x H≈ H encodes weights of each of basic parts of the face.
  • 83. Applications Image Processing. Data represented as a non-negative matrix of pixels. NMF can find A W x H≈ Therefore, we obtain a compressed from of data.
  • 84. Applications Clustering This is regarded as one of the most successful applications of NFM.
  • 85. Applications Clustering Data represented as a non-negative matrix of pixels. Columns of it are samples described by n features
  • 86. Applications Clustering Data represented as a non-negative matrix of pixels. NMF can find A W x H≈ W which is of order n x k, k, which denotes the number of clusters.
  • 87. Applications Clustering Data represented as a non-negative matrix of pixels. NMF can find A W x H≈ H is used as the cluster membership indicator matrix.
  • 88. Applications Clustering Data represented as a non-negative matrix of pixels. NMF can find A W x H≈ Sample i is in cluster j if Hji is the largest value in H;i.
  • 89. Applications Financial Data Mining The stock price fluctuations seem to be dominated by several underlying factors. NMF has been used to obtain underlying trends from the stock market data.