paper-with-me

홈 › Papers

Sketching Transformed Matrices with Applications to Natural Language Processing

2020-02-23 · Yingyu Liang, Zhao Song, Mengdi Wang, Lin F. Yang, Xin Yang

Suppose we are given a large matrix $A=(a_{i,j})$ that cannot be stored in memory but is in a disk or is presented in a data stream. However, we need to compute a matrix decomposition of the entry-wisely transformed matrix, $f(A):=(f(a_{i,j}))$ for some function $f$. Is it possible to do it in a space efficient way? Many machine learning applications indeed need to deal with such large transformed matrices, for example word embedding method in NLP needs to work with the pointwise mutual information (PMI) matrix, while the entrywise transformation makes it difficult to apply known linear algebraic tools. Existing approaches for this problem either need to store the whole matrix and perform the entry-wise transformation afterwards, which is space consuming or infeasible, or need to redesign the learning method, which is application specific and requires substantial remodeling. In this paper, we first propose a space-efficient sketching algorithm for computing the product of a given small matrix with the transformed matrix. It works for a general family of transformations with provable small error bounds and thus can be used as a primitive in downstream learning tasks. We then apply this primitive to a concrete application: low-rank approximation. We show that our approach obtains small error and is efficient in both space and time. We complement our theoretical results with experiments on synthetic and real data.

📄 PDF Abstract BibTeX arXiv:2002.09812

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Non-PSD Matrix Sketching with Applications to Regression and Optimization

2021-06-16 · Zhili Feng, Fred Roosta, David P. Woodruff

A variety of dimensionality reduction techniques have been applied for computations involving large matrices. The underlying matrix is randomly compressed into a smaller one, while approximately retaining many of its ori…

Dimensionality Reductionregression

Even Simpler Deterministic Matrix Sketching

2022-02-03 · Edo Liberty

This paper provides a one-line proof of Frequent Directions (FD) for sketching streams of matrices. The simpler proof arises from sketching the covariance of the stream of matrices rather than the stream itself.

Oblivious Sketching-based Central Path Method for Solving Linear Programming Problems

2021-01-01 · Zhao Song, Zheng Yu

In this work, we propose a sketching-based central path method for solving linear programmings, whose running time matches the state of art results [Cohen, Lee, Song STOC 19; Lee, Song, Zhang COLT 19]. Our method opens u…

Sketchy Empirical Natural Gradient Methods for Deep Learning

2020-06-10 · Ming-Han Yang, Dong Xu, Zaiwen Wen, Mengyun Chen 외

In this paper, we develop an efficient sketchy empirical natural gradient method (SENG) for large-scale deep learning problems. The empirical Fisher information matrix is usually low-rank since the sampling is only pract…

Deep Learning

Federated Sketching LoRA: On-Device Collaborative Fine-Tuning of Large Language Models

2025-01-31 · Wenzhi Fang, Dong-Jun Han, Liangqi Yuan, Seyyedali Hosseinalipour 외

Fine-tuning large language models (LLMs) on devices remains a challenging problem. Recent works have fused low-rank adaptation (LoRA) techniques with federated fine-tuning to mitigate challenges associated with device mo…