ATMC icon indicating copy to clipboard operation
ATMC copied to clipboard

UV decomposition

Open icey-zhang opened this issue 5 years ago • 3 comments

Hello, I would like to ask which part of the implementation of UV decomposition mentioned in the paper, I did not find the code of this part

icey-zhang avatar Nov 26 '20 08:11 icey-zhang

Please take a look at this line https://github.com/VITA-Group/ATMC/blob/ecf61a6f07525c8e259db764513c0820259be319/super_module/super_class.py#L485

For the implementation, the DeepLRModel could substitute the sp one as the super class for models like ResNet34.

shupenggui avatar Nov 26 '20 23:11 shupenggui

But the code use DeepSP_v2Model rather than DeepLRModel (cidar10, ResNet34), Is there any difference between them? Do the weightA and weightB correspond to the decomposition values? what do the modelu and modelz stand for?

icey-zhang avatar Dec 03 '20 13:12 icey-zhang

But the code use DeepSP_v2Model rather than DeepLRModel (cidar10, ResNet34), Is there any difference between them?

Please refer to this line https://github.com/VITA-Group/ATMC/blob/ecf61a6f07525c8e259db764513c0820259be319/super_module/super_class.py#L793 if you are trying to figure out how the decomposition work in ATMC.

By the way, the DeepLRModel serves at the Low-rank baseline in the paper. I thought you were trying to reproduce that one in your previous question. No relation exists between those two super modules.

Do the weightA and weightB correspond to the decomposition values?

Yes, those two weights are the decomposition matrices for U and V.

what do the modelu and modelz stand for?

Those models refer to the duplicated optimization variables applied in ADMM.

shupenggui avatar Dec 03 '20 21:12 shupenggui