Skip to main content
. 2019 Feb 5;8:e38471. doi: 10.7554/eLife.38471

Table 2. Regularized NMF and convNMF: cost functions and algorithms.

NMF
β„’=12⁒||𝐗~-𝐗||22+β„›
𝐗~=𝐖𝐇
W←WΓ—XH⊀X~H⊀+βˆ‚β„›βˆ‚W
H←HΓ—W⊀XW⊀X~+βˆ‚β„›βˆ‚H
convNMF
β„’=12⁒||𝐗~-𝐗||22+β„›
𝐗~=π–βŠ›π‡
W⋅⋅ℓ←Wβ‹…β‹…β„“Γ—XΒ Hβ„“β†’βŠ€X~Β Hβ„“β†’βŠ€+βˆ‚β„›βˆ‚Wβ‹…β‹…β„“
H←HΓ—WβŠ›βŠ€XWβŠ›βŠ€X~+βˆ‚β„›βˆ‚H
L⁒1 regularization for 𝐇 ( L⁒1 for 𝐖 is analogous)
β„›=λ⁒||𝐇||1 βˆ‚β‘β„›βˆ‚β‘π–β‹…β£β‹…β„“=0
βˆ‚β‘β„›βˆ‚β‘π‡=λ⁒𝟏
Orthogonality cost for 𝐇
β„›=Ξ»2⁒||π‡π‡βŠ€||1,iβ‰ j βˆ‚β‘β„›βˆ‚β‘π–β‹…β£β‹…β„“=0
βˆ‚β‘β„›βˆ‚β‘π‡=λ⁒(𝟏-𝐈)⁒𝐇
Smoothed orthogonality cost for 𝐇 (favors β€˜events-based’)
β„›=Ξ»2⁒||π‡π’π‡βŠ€||1,iβ‰ j βˆ‚β‘β„›βˆ‚β‘π–β‹…β£β‹…β„“=0
βˆ‚β‘β„›βˆ‚β‘π‡=λ⁒(𝟏-𝐈)⁒𝐇𝐒
Smoothed orthogonality cost for 𝐖 (favors β€˜parts-based’)
β„›=Ξ»2⁒||𝐖f⁒l⁒a⁒tβŠ€β’π–f⁒l⁒a⁒t||1,iβ‰ j
 where
(𝐖f⁒l⁒a⁒t)n⁒k=βˆ‘β„“π–n⁒k⁒ℓ
βˆ‚β‘β„›βˆ‚β‘π–β‹…β£β‹…β„“=λ⁒𝐖f⁒l⁒a⁒t⁒(𝟏-𝐈)
βˆ‚β‘β„›βˆ‚β‘π‡=0
Smoothed cross-factor orthogonality (x-ortho penalty)
β„›=λ⁒||(π–β’βŠ›βŠ€β’π—)β’π’π‡βŠ€||1,iβ‰ j βˆ‚β‘β„›βˆ‚β‘π–β‹…β£β‹…β„“=Ξ»β’π—β†β„“β’π’π‡βŠ€β’(𝟏-𝐈)
βˆ‚β‘β„›βˆ‚β‘π‡=λ⁒(𝟏-𝐈)β’π–β’βŠ›βŠ€β’π—π’