Majid Daliri

dblp:315/4544 · DBLP profile ↗
← Back
8ranked-venue papers
3as first author
8since 2021 · last 2025
0000-0003-4001-4346ORCID · corroborated

Domains — the database's venue-derived domains; a paper can count in several

Artificial intelligence and machine learning · 3 · 1 first-author · 3 since 2021Databases, data management, data science and information retrieval · 2 · 1 first-author · 2 since 2021Software engineering, systems software and programming languages · 1 · 1 since 2021Graphics, computer vision, multimedia, augmented reality and games · 1 · 1 since 2021Theory of computation · 1 · 1 since 2021Applied, interdisciplinary, general and emerging computing · 1 · 1 first-author · 1 since 2021

Expertise — from the expertise taxonomy: the topics of the expert's papers under the CCF categories. A weight counts papers with recency: 1 for a paper about the topic, 0.3 when the topic is its context, halved every five years.

Artificial intelligence
2 papers
Deep learning architectures and training · 41% Efficient and distributed learning · 36% Language models and text generation · 18%
Theoretical computer science
3 papers
Algorithms and data structures · 84% Approximation and online algorithms · 16%
Databases, data mining, and information retrieval
3 papers
Data stream processing · 58% Data mining · 26% Query processing and optimization · 9%
Computer architecture, parallel and distributed computing, and storage systems
1 paper
Memory systems · 100%

Topics — the 17 heaviest of 19, each with the papers that count most for it

TopicWeightPapersLastEvidence papers
Algorithms and data structures
sketching
1.522025
Matrix Product Sketching via Coordinated Sampling · ICLR 2025
Weighted Minwise Hashing Beats Linear Sketching for Inner Product Estimation · PODS 2023
Data stream processing › sketch
inner product estimation
1.022024
Sampling Methods for Inner Product Sketching · Proc. VLDB Endow. 2024
Weighted Minwise Hashing Beats Linear Sketching for Inner Product Estimation · PODS 2023
Machine learning › Efficient and distributed learning › model compression › quantization
KV cache quantization
0.912025
QJL: 1-Bit Quantized JL Transform for KV Cache Quantization with Zero Overhead · AAAI 2025
Natural language and speech › Language models and text generation
large language model inference
0.912025
QJL: 1-Bit Quantized JL Transform for KV Cache Quantization with Zero Overhead · AAAI 2025
Machine learning › Efficient and distributed learning
model compression
0.912025
QJL: 1-Bit Quantized JL Transform for KV Cache Quantization with Zero Overhead · AAAI 2025
Algorithms and data structures › randomized algorithms › sampling
random sampling
0.912025
Matrix Product Sketching via Coordinated Sampling · ICLR 2025
Data mining
sampling
0.812024
Sampling Methods for Inner Product Sketching · Proc. VLDB Endow. 2024
Data stream processing
sketch
0.812024
Sampling Methods for Inner Product Sketching · Proc. VLDB Endow. 2024
Machine learning › Deep learning architectures and training
attention mechanism
0.712023
KDEformer: Accelerating Transformers via Kernel Density Estimation · ICML 2023
Machine learning › Deep learning architectures and training › attention mechanism
efficient attention
0.712023
KDEformer: Accelerating Transformers via Kernel Density Estimation · ICML 2023
Machine learning › Deep learning architectures and training
transformer
0.712023
KDEformer: Accelerating Transformers via Kernel Density Estimation · ICML 2023
Algorithms and data structures › data structure design › search structures › hashing
minwise hashing
0.712023
Weighted Minwise Hashing Beats Linear Sketching for Inner Product Estimation · PODS 2023
Memory systems › data layout optimization
cache-conscious data structure layout
0.612022
Efficient approximations for cache-conscious data placement · PLDI 2022
Memory systems
cache management
0.612022
Efficient approximations for cache-conscious data placement · PLDI 2022
Approximation and online algorithms
approximation algorithms
0.612022
Efficient approximations for cache-conscious data placement · PLDI 2022
Machine learning › Probabilistic and Bayesian machine learning › statistical inference › density estimation
kernel density estimation
0.212023
KDEformer: Accelerating Transformers via Kernel Density Estimation · ICML 2023
Memory systems › cache
cache miss reduction
0.212022
Efficient approximations for cache-conscious data placement · PLDI 2022

Methods — techniques the papers use, named apart from their topics

johnson-lindenstrauss projection · 1.7coordinated random sampling · 1.7hardness of approximation · 1.1approximation algorithm · 1.1sign-bit quantization · 0.9johnson-lindenstrauss transform · 0.9countsketch · 0.9count sketch · 0.9CUDA kernel · 0.9threshold sampling · 0.8priority sampling · 0.8linear sketching · 0.8subsampling · 0.7spectral norm bounds · 0.7kernel density estimation · 0.7
YearPublicationVenuePosition
2025 QJL: 1-Bit Quantized JL Transform for KV Cache Quantization with Zero Overhead
abstract
Serving LLMs requires substantial memory due to the storage requirements of Key-Value (KV) embeddings in the KV cache, which grows with sequence length. An effective approach to compress KV cache is quantization. However, traditional quantization methods face significant memory overhead due to the need to store quantization constants (at least a zero point and a scale) in full precision per data block. Depending on the block size, this overhead can add 1 or 2 bits per quantized number. We introduce QJL, a new quantization approach that consists of a Johnson-Lindenstrauss (JL) transform followed by sign-bit quantization. In contrast to existing methods, QJL eliminates memory overheads by removing the need for storing quantization constants. We propose an asymmetric estimator for the inner product of two vectors and demonstrate that applying QJL to one vector and a standard JL transform without quantization to the other provides an unbiased estimator with minimal distortion. We have developed an efficient implementation of the QJL sketch and its corresponding inner product estimator, incorporating a lightweight CUDA kernel for optimized computation. When applied across various LLMs and NLP tasks to quantize the KV cache to only 3 bits, QJL demonstrates a more than fivefold reduction in KV cache memory usage without compromising accuracy, all while achieving faster runtime.
Amir Zandieh, Majid Daliri, Insu Han
AAAI2
2025 Matrix Product Sketching via Coordinated Sampling
abstract
We revisit the well-studied problem of approximating a matrix product, $\bv{A}^T\bv{B}$, based on small space sketches $\mathcal{S}(\bv{A})$ and $\mathcal{S}(\bv{B})$ of $\bv{A} \in \R^{n \times d}$ and $\bv{B}\in \R^{n \times m}$. We are interested in the setting where the sketches must be computed independently of each other, except for the use of a shared random seed. We prove that, when $\bv{A}$ and $\bv{B}$ are sparse, methods based on \emph{coordinated random sampling} can outperform classical linear sketching approaches, like Johnson-Lindenstrauss Projection or CountSketch. For example, to obtain Frobenius norm error $\epsilon\|\bv{A}\|_F\|\bv{B}\|_F$, coordinated sampling requires sketches of size $O(s/\epsilon^2)$ when $\bv{A}$ and $\bv{B}$ have at most $s \leq d,m$ non-zeros per row. In contrast, linear sketching leads to sketches of size $O(d/\epsilon^2)$ and $O(m/\epsilon^2)$ for $\bv{A}$ and $\bv{B}$. We empirically evaluate our approach on two applications: 1) distributed linear regression in databases, a problem motivated by tasks like dataset discovery and augmentation, and 2) approximating attention matrices in transformer-based language models. In both cases, our sampling algorithms yield an order of magnitude improvement over linear sketching.
Majid Daliri, Juliana Freire, Danrong Li, Christopher Musco
ICLR1
2025 Coupling Without Communication and Drafter-Invariant Speculative Decoding
abstract
Suppose Alice has a distribution$\mathcal{P}$and Bob has a distribution$\mathcal{Q}$. Alice wants to draw a sample$a \sim \mathcal{P}$and Bob a sample$b \sim \mathcal{Q}$such that$a=b$with as high of probability as possible. It is well-known that, by sampling from an optimal coupling between the distributions, Alice and Bob can achieve$\operatorname{Pr}[a=b]=1-D_{T V}(\mathcal{P}, \mathcal{Q})$, where$D_{T V}(\mathcal{P}, \mathcal{Q})$is the total variation distance between$\mathcal{P}$and$\mathcal{Q}$. What if Alice and Bob must solve this same problem without communicating at all? Surprisingly, with access to public randomness, they can still achieve$\operatorname{Pr}[a=b] \geq \frac{1-D_{T V}(\mathcal{P}, \mathcal{Q})}{1+D_{T V}(\mathcal{P}, \mathcal{Q})}$using a simple protocol based on the Weighted MinHash algorithm. This bound was shown to be optimal in the worst-case by Bavarian, Ghazi, Haramaty, Kamath, Rivest, and Sudan [ToC 2020]. In this work, we revisit the “communication-free coupling” problem. We provide a simpler proof of the optimality result from [Bavarian et al., 2020]. Moreover we show that, while the worst-case success probability of Weighted MinHash cannot be improved, an equally simple protocol based on Gumbel sampling offers a Pareto improvement: for every pair of distributions$\mathcal{P}$and$\mathcal{Q}$, Gumbel sampling achieves an equal or higher value of$\operatorname{Pr}[a=b]$than Weighted MinHash. Importantly, this improvement translates to practice. We demonstrate an application of communicationfree coupling to speculative decoding, a recent method for accelerating autoregressive large language models. We show that communication-free protocols can be used to construct DrafterInvariant Speculative Decoding schemes, which have the desirable property that their output is fixed given a fixed random seed, regardless of what drafter is used for speculation. In experiments on language generation, Gumbel sampling outperforms Weighted MinHash. Finally, we study the coupling problem in the setting where communication is bounded, rather than completely eliminated. We describe a protocol that uses just$O(\log (n / \epsilon))$bits of communication to achieve$\operatorname{Pr}[a=b]=1-D_{T V}(\mathcal{P}, \mathcal{Q})-\epsilon$, i.e. to essentially match optimal coupling.
Majid Daliri, Christopher Musco, Ananda Theertha Suresh
ISIT1
2024 Sampling Methods for Inner Product Sketching
abstract
Recently, Bessa et al. (PODS 2023) showed that sketches based on coordinated weighted sampling theoretically and empirically outperform popular linear sketching methods like Johnson-Lindentrauss projection and CountSketch for the ubiquitous problem of inner product estimation. We further develop this finding by introducing and analyzing two alternative sampling-based methods. In contrast to the computationally expensive algorithm in Bessa et al., our methods run in linear time (to compute the sketch) and perform better in practice, significantly beating linear sketching on a variety of tasks. For example, they provide state-of-the-art results for estimating the correlation between columns in unjoined tables, a problem that we show how to reduce to inner product estimation in a black-box way. While based on known sampling techniques (threshold and priority sampling) we introduce significant new theoretical analysis to prove approximation guarantees for our methods.
Majid Daliri, Juliana Freire, Christopher Musco, Aécio S. R. Santos, Haoxiang Zhang 0003
Proc. VLDB Endow.1
2023 KDEformer: Accelerating Transformers via Kernel Density Estimation
abstract
Dot-product attention mechanism plays a crucial role in modern deep architectures (e.g., Transformer) for sequence modeling, however, naïve exact computation of this model incurs quadratic time and memory complexities in sequence length, hindering the training of long-sequence models. Critical bottlenecks are due to the computation of partition functions in the denominator of softmax function as well as the multiplication of the softmax matrix with the matrix of values. Our key observation is that the former can be reduced to a variant of the kernel density estimation (KDE) problem, and an efficient KDE solver can be further utilized to accelerate the latter via subsampling-based fast matrix products. Our proposed KDEformer can approximate the attention in sub-quadratic time with provable spectral norm bounds, while all prior results merely provide entry-wise error bounds. Empirically, we verify that KDEformer outperforms other attention approximations in terms of accuracy, memory, and arithmetic operations on various pre-trained models. For instance, on BigGAN image generation we achieve better generative scores than the exact computation with over 4× speedup. For ImageNet classification with T2T-ViT, KDEformer shows over 18× speedup while the accuracy drop is less than 0.5%.
Amir Zandieh, Insu Han, Majid Daliri, Amin Karbasi
ICML3
2023 Weighted Minwise Hashing Beats Linear Sketching for Inner Product Estimation
abstract
We present a new approach for independently computing compact sketches that can be used to approximate the inner product between pairs of high-dimensional vectors. Based on the Weighted MinHash algorithm, our approach admits strong accuracy guarantees that improve on the guarantees of popular linear sketching approaches for inner product estimation, such as CountSketch and Johnson-Lindenstrauss projection. Specifically, while our method exactly matches linear sketching for dense vectors, it yields significantly lower error for sparse vectors with limited overlap between non-zero entries. Such vectors arise in many applications involving sparse data, as well as in increasingly popular dataset search applications, where inner products are used to estimate data covariance, conditional means, and other quantities involving columns in unjoined tables. We complement our theoretical results by showing that our approach empirically outperforms existing linear sketches and unweighted hashing-based sketches for sparse vectors.
Aline Bessa, Majid Daliri, Juliana Freire, Cameron Musco, Christopher Musco, Aécio S. R. Santos, Haoxiang Zhang 0003
PODS2
2022 Efficient approximations for cache-conscious data placement
abstract
There is a huge and growing gap between the speed of accesses to data stored in main memory vs cache. Thus, cache misses account for a significant portion of runtime overhead in virtually every program and minimizing them has been an active research topic for decades. The primary and most classical formal model for this problem is that of Cache-conscious Data Placement (CDP): given a commutative cache with constant capacity k and a sequence Σ of accesses to data elements, the goal is to map each data element to a cache line such that the total number of cache misses over Σ is minimized. Note that we are considering an offline single-threaded setting in which Σ is known a priori. CDP has been widely studied since the 1990s. In POPL 2002, Petrank and Rawitz proved a notoriously strong hardness result: They showed that for every k ≥ 3, CDP is not only NP-hard but also hard-to-approximate within any non-trivial factor unless P=NP. As such, all subsequent works gave up on theoretical improvements and instead focused on heuristic algorithms with no theoretical guarantees.
Majid Daliri, Amir Kafshdar Goharshady, Andreas Pavlogiannis
PLDI2
2022 A 10-Approximation of the π/2-MST
Ahmad Biniaz, Majid Daliri, Amir Hossein Moradpour
STACS2