Lightweight Representation Learning for Low Tucker Rank Tensors
Abstract
Iterative estimators for low Tucker rank tensors, such as HOOI, nuclear-norm proximal and ADMM methods, Frank-Wolfe and scaled gradient descent, form large objects in every iteration: unfoldings, Kronecker operators, full SVDs and ambient iterates.
The update uses little of these objects, yet they make memory the limiting resource on large tensors and on edge-sized devices.
Remedies for each of these costs are known.
However, it is unclear when a rewriting keeps the iterates unchanged, and where it pays off against efficient implementations.
We therefore present a trajectory-preserving lightweight evaluation.
First, we state exactness as an intertwining relation between the stored state and the reference iteration.
Second, we show that three known components satisfy this relation for five estimators: computing only the singular triplets that an update needs, contracting without Kronecker products, and storing sparse-plus-factored states.
As a result, the iterates and all guarantees of the reference estimator stay the same.
On an A100 GPU, with the input data counted in the memory, lightweight HOOI needs the least memory of 15 HOOI-type methods at every size ($95\times$ less beyond the input than the lightest exact implementation on $800^3$ tensors), and it is the fastest method that reaches the HOOI estimate on the largest tensors.
Against efficient public code, ours is faster and lighter for three of five estimators.
On a surveillance video and a satellite hyperspectral cube, ours is the only implementation that fits a 1 GiB and a 4 GiB device.
Finally, we show that the memory and time gains need separate conditions, and we identify where these conditions fail.