paper-with-me

홈 › Papers

Lego Sketch: A Scalable Memory-augmented Neural Network for Sketching Data Streams

2025-05-26 · Yuan Feng, Yukun Cao, Hairu Wang, Xike Xie, S Kevin Zhou

Sketches, probabilistic structures for estimating item frequencies in infinite data streams with limited space, are widely used across various domains. Recent studies have shifted the focus from handcrafted sketches to neural sketches, leveraging memory-augmented neural networks (MANNs) to enhance the streaming compression capabilities and achieve better space-accuracy trade-offs.However, existing neural sketches struggle to scale across different data domains and space budgets due to inflexible MANN configurations. In this paper, we introduce a scalable MANN architecture that brings to life the {\it Lego sketch}, a novel sketch with superior scalability and accuracy. Much like assembling creations with modular Lego bricks, the Lego sketch dynamically coordinates multiple memory bricks to adapt to various space budgets and diverse data domains. Our theoretical analysis guarantees its high scalability and provides the first error bound for neural sketch. Furthermore, extensive experimental evaluations demonstrate that the Lego sketch exhibits superior space-accuracy trade-offs, outperforming existing handcrafted and neural sketches. Our code is available at https://github.com/FFY0/LegoSketch_ICML.

📄 PDF Abstract BibTeX arXiv:2505.19561

Code (1)

ffy0/legosketch_icml 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

Focus 설명 없음

Similar Papers 제목 키워드 기반

Fast, Scalable, Warm-Start Semidefinite Programming with Spectral Bundling and Sketching

2023-12-19 · Rico Angell, Andrew McCallum

While semidefinite programming (SDP) has traditionally been limited to moderate-sized problems, recent algorithms augmented with matrix sketching techniques have enabled solving larger SDPs. However, these methods achiev…

Efficient Sketches for Training Data Attribution and Studying the Loss Landscape

2024-02-06 · Andrea Schioppa

The study of modern machine learning models often necessitates storing vast quantities of gradients or Hessian vector products (HVPs). Traditional sketching methods struggle to scale under these memory constraints. We pr…

ALS: Augmented Lagrangian Sketching Methods for Linear Systems

2022-08-12 · Md Sarowar Morshed

We develop two fundamental stochastic sketching techniques; Penalty Sketching (PS) and Augmented Lagrangian Sketching (ALS) for solving consistent linear systems. The proposed PS and ALS techniques extend and generalize …

Stochastic Optimization

Randomized Matrix Sketching for Neural Network Training and Gradient Monitoring

2025-10-01 · Harbir Antil, Deepanshu Verma arxiv

Neural network training relies on gradient computation through backpropagation, yet memory requirements for storing layer activations present significant scalability challenges. We present the first adaptation of control…

BEAR: Sketching BFGS Algorithm for Ultra-High Dimensional Feature Selection in Sublinear Memory

2020-10-26 · Amirali Aghazadeh, Vipul Gupta, Alex DeWeese, O. Ozan Koyluoglu 외

We consider feature selection for applications in machine learning where the dimensionality of the data is so large that it exceeds the working memory of the (local) computing machine. Unfortunately, current large-scale …

feature selection