VLDB 2026 Research / reviewers in the wild / expert
Barzan Mozafari
dblp:45/2495
· DBLP profile ↗
47ranked-venue papers
14as first author
5since 2021 · last 2023
0000-0002-3581-3875ORCID · corroborated
Domains — the database's venue-derived domains; a paper can count in several
Databases, data management, data science and information retrieval · 36 · 14 first-author · 1 since 2021Artificial intelligence and machine learning · 6 · 3 since 2021Graphics, computer vision, multimedia, augmented reality and games · 3 · 1 since 2021Systems, architecture and hardware · 2Software engineering, systems software and programming languages · 2 · 1 since 2021Security and privacy · 1Human-computer interaction and ubiquitous computing · 1Applied, interdisciplinary, general and emerging computing · 1
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.
| Databases, data mining, and information retrieval
31 papers |
Query processing and optimization · 43% Database system architecture and tuning · 12% Transaction processing and concurrency control · 11% | |
| Artificial intelligence
6 papers |
Optimization for machine learning · 33% Efficient and distributed learning · 31% Deep learning architectures and training · 22% | |
| Computer architecture, parallel and distributed computing, and storage systems
5 papers |
Memory systems · 40% Performance modeling and evaluation · 35% Distributed systems · 25% | |
| Theoretical computer science
6 papers |
Mathematical optimization · 48% Algorithms and data structures · 29% Computational complexity · 17% |
Topics — the 30 heaviest of 96, each with the papers that count most for it
| Topic | Weight | Papers | Last | Evidence papers |
|---|---|---|---|---|
Query processing and optimization
approximate query processing |
2.8 | 12 | 2019 | Join on Samples: A Theoretical Guide for Practitioners · Proc. VLDB Endow. 2019 VerdictDB: Universalizing Approximate Query Processing · SIGMOD Conference 2018 Demonstration of VerdictDB, the Platform-Independent AQP System · SIGMOD Conference 2018 |
Machine learning › Deep learning architectures and training
transformer |
1.2 | 2 | 2023 | Provable Memorization Capacity of Transformers · ICLR 2023 Transformer with Memory Replay · AAAI 2022 |
Performance modeling and evaluation
workload characterization |
0.8 | 2 | 2021 | DMon: Efficient Detection and Correction of Data Locality Problems Using Selective Profiling · OSDI 2021 Statistical Analysis of Latency Through Semantic Profiling · EuroSys 2017 |
Query processing and optimization › approximate query processing
error estimation |
0.7 | 3 | 2018 | Demonstration of VerdictDB, the Platform-Independent AQP System · SIGMOD Conference 2018 The analytical bootstrap: a new method for fast error estimation in approximate query processing · SIGMOD Conference 2014 ABS: a system for scalable approximate queries with accuracy guarantees · SIGMOD Conference 2014 |
Query processing and optimization
query rewriting |
0.7 | 1 | 2023 | SlabCity: Whole-Query Optimization using Program Synthesis · Proc. VLDB Endow. 2023 |
Program synthesis and code generation › DSL-based synthesis
query synthesis |
0.7 | 1 | 2023 | SlabCity: Whole-Query Optimization using Program Synthesis · Proc. VLDB Endow. 2023 |
Machine learning › Efficient and distributed learning
distributed training |
0.6 | 1 | 2022 | Communication-efficient Distributed Learning for Large Batch Optimization · ICML 2022 |
Machine learning › Efficient and distributed learning › distributed training
gradient compression |
0.6 | 1 | 2022 | Communication-efficient Distributed Learning for Large Batch Optimization · ICML 2022 |
Machine learning › Optimization for machine learning › large-scale optimization
large batch optimization |
0.6 | 1 | 2022 | Communication-efficient Distributed Learning for Large Batch Optimization · ICML 2022 |
Machine learning › Learning paradigms › continual learning
memory replay |
0.6 | 1 | 2022 | Transformer with Memory Replay · AAAI 2022 |
Machine learning › Efficient and distributed learning › data-efficient learning
sample-efficient training |
0.6 | 1 | 2022 | Transformer with Memory Replay · AAAI 2022 |
Data stream processing
complex event processing |
0.5 | 4 | 2013 | High-performance complex event processing over hierarchical data · ACM Trans. Database Syst. 2013 Complex pattern matching in complex structures: The XSeq approach · ICDE 2013 High-performance complex event processing over XML streams · SIGMOD Conference 2012 |
Memory systems
cache |
0.5 | 1 | 2021 | DMon: Efficient Detection and Correction of Data Locality Problems Using Selective Profiling · OSDI 2021 |
Memory systems
data locality |
0.5 | 1 | 2021 | DMon: Efficient Detection and Correction of Data Locality Problems Using Selective Profiling · OSDI 2021 |
Database system architecture and tuning › self-managing database systems
database diagnosis |
0.5 | 2 | 2016 | DBSherlock: A Performance Diagnostic Tool for Transactional Databases · SIGMOD Conference 2016 DBSeer: Pain-free Database Administration through Workload Intelligence · Proc. VLDB Endow. 2015 |
Machine learning › Optimization for machine learning › adaptive optimization
adam |
0.4 | 1 | 2020 | Adam with Bandit Sampling for Deep Learning · NeurIPS 2020 |
Machine learning › Optimization for machine learning › stochastic optimization
adaptive gradient methods |
0.4 | 1 | 2020 | Adam with Bandit Sampling for Deep Learning · NeurIPS 2020 |
Machine learning › Optimization for machine learning
stochastic optimization |
0.4 | 1 | 2020 | Adam with Bandit Sampling for Deep Learning · NeurIPS 2020 |
Query processing and optimization
selectivity estimation |
0.4 | 1 | 2020 | QuickSel: Quick Selectivity Learning with Mixture Models · SIGMOD Conference 2020 |
Memory systems
cache coherence |
0.4 | 1 | 2019 | Huron: hybrid false sharing detection and repair · PLDI 2019 |
Memory systems › cache coherence
false sharing detection |
0.4 | 1 | 2019 | Huron: hybrid false sharing detection and repair · PLDI 2019 |
Algorithms and data structures › learning algorithms
best arm identification |
0.4 | 1 | 2019 | A Bandit Approach to Maximum Inner Product Search · AAAI 2019 |
Mathematical optimization
convergence analysis |
0.4 | 1 | 2019 | Revisiting Projection-Free Optimization for Strongly Convex Constraint Sets · AAAI 2019 |
Mathematical optimization › continuous optimization
convex optimization |
0.4 | 1 | 2019 | Revisiting Projection-Free Optimization for Strongly Convex Constraint Sets · AAAI 2019 |
Mathematical optimization
frank-wolfe algorithm |
0.4 | 1 | 2019 | Revisiting Projection-Free Optimization for Strongly Convex Constraint Sets · AAAI 2019 |
Algorithms and data structures › similarity search
maximum inner product search |
0.4 | 1 | 2019 | A Bandit Approach to Maximum Inner Product Search · AAAI 2019 |
Mathematical optimization
nonconvex optimization |
0.4 | 1 | 2019 | Revisiting Projection-Free Optimization for Strongly Convex Constraint Sets · AAAI 2019 |
Mathematical optimization › continuous optimization › convex optimization › first-order methods
projection-free optimization |
0.4 | 1 | 2019 | Revisiting Projection-Free Optimization for Strongly Convex Constraint Sets · AAAI 2019 |
Algorithms and data structures
similarity search |
0.4 | 1 | 2019 | A Bandit Approach to Maximum Inner Product Search · AAAI 2019 |
Transaction processing and concurrency control
contention management |
0.3 | 1 | 2018 | Contention-Aware Lock Scheduling for Transactional Databases · Proc. VLDB Endow. 2018 |
Methods — techniques the papers use, named apart from their topics
query dataflows · 1.3provable analysis · 1.3program synthesis · 1.3stratified sampling · 1.2sampling · 0.9visibly pushdown automata · 0.7statistical analysis · 0.6pre-training · 0.6memory replay · 0.6layer-wise adaptive learning rate · 0.6gradient compression · 0.6convergence analysis · 0.6control flow graph · 0.6selective profiling · 0.5optimization · 0.4multi-armed bandit · 0.4mixture model · 0.4importance sampling · 0.4
| Year | Publication | Venue | Position |
|---|---|---|---|
| 2023 | Provable Memorization Capacity of Transformers
Michelle Kim, Barzan Mozafari |
ICLR | 3 |
| 2023 | SlabCity: Whole-Query Optimization using Program SynthesisabstractQuery rewriting is often a prerequisite for effective query optimization, particularly for poorly-written queries. Prior work on query rewriting has relied on a set of "rules" based on syntactic pattern-matching. Whether relying on manual rules or auto-generated ones, rule-based query rewriters are inherently limited in their ability to handle new query patterns. Their success is limited by the quality and quantity of the rules provided to them. To our knowledge, we present the first synthesis-based query rewriting technique, SlabCity, capable of whole-query optimization without relying on any rewrite rules. SlabCity directly searches the space of SQL queries using a novel query synthesis algorithm that leverages a new concept called query dataflows. We evaluate SlabCity on four workloads, including a newly curated benchmark with more than 1000 real-life queries. We show that not only can SlabCity optimize more queries than state-of-the-art query rewriting techniques, but interestingly, it also leads to queries that are significantly faster than those generated by rule-based systems. Rui Dong 0006, Jie Liu 0048, Yuxuan Zhu 0003, Cong Yan, Barzan Mozafari, Xinyu Wang 0006 |
Proc. VLDB Endow. | 5 |
| 2022 | Transformer with Memory ReplayabstractTransformers achieve state-of-the-art performance for natural language processing tasks by pre-training on large-scale text corpora. They are extremely compute-intensive and have very high sample complexity. Memory replay is a mechanism that remembers and reuses past examples by saving to and replaying from a memory buffer. It has been successfully used in reinforcement learning and GANs due to better sample efficiency. In this paper, we propose Transformer with Memory Replay, which integrates memory replay with transformer, making transformer more sample efficient. Experiments on GLUE and SQuAD benchmark datasets showed that Transformer with Memory Replay can achieve at least 1% point increase compared to the baseline transformer model when pre-trained with the same number of examples. Further, by adopting a careful design that reduces the wall-clock time overhead of memory replay, we also empirically achieve a better runtime efficiency. Rui Liu 0013, Barzan Mozafari |
AAAI | 2 |
| 2022 | Communication-efficient Distributed Learning for Large Batch OptimizationabstractMany communication-efficient methods have been proposed for distributed learning, whereby gradient compression is used to reduce the communication cost. However, given recent advances in large batch optimization (e.g., large batch SGD and its variant LARS with layerwise adaptive learning rates), the compute power of each machine is being fully utilized. This means, in modern distributed learning, the per-machine computation cost is no longer negligible compared to the communication cost. In this paper, we propose new gradient compression methods for large batch optimization, JointSpar and its variant JointSpar-LARS with layerwise adaptive learning rates, that jointly reduce both the computation and the communication cost. To achieve this, we take advantage of the redundancy in the gradient computation, unlike the existing methods compute all coordinates of the gradient vector, even if some coordinates are later dropped for communication efficiency. JointSpar and its variant further reduce the training time by avoiding the wasted computation on dropped coordinates. While computationally more efficient, we prove that JointSpar and its variant also maintain the same convergence rates as their respective baseline methods. Extensive experiments show that, by reducing the time per iteration, our methods converge faster than state-of-the-art compression methods in terms of wall-clock time. Rui Liu 0013, Barzan Mozafari |
ICML | 2 |
| 2021 | DMon: Efficient Detection and Correction of Data Locality Problems Using Selective Profiling
Tanvir Ahmed Khan 0001, Ian Neal, Gilles Pokam, Barzan Mozafari, Baris Kasikci |
OSDI | 4 |
| 2020 | Adam with Bandit Sampling for Deep LearningabstractAdam is a widely used optimization method for training deep learning models. It computes individual adaptive learning rates for different parameters. In this paper, we propose a generalization of Adam, called Adambs, that allows us to also adapt to different training examples based on their importance in the model's convergence. To achieve this, we maintain a distribution over all examples, selecting a mini-batch in each iteration by sampling according to this distribution, which we update using a multi-armed bandit algorithm. This ensures that examples that are more beneficial to the model training are sampled with higher probabilities. We theoretically show that Adambs improves the convergence rate of Adam---$O(\sqrt{\frac{\log n}{T} })$ instead of $O(\sqrt{\frac{n}{T}})$ in some cases. Experiments on various models and datasets demonstrate Adambs's fast convergence in practice. Rui Liu 0013, Barzan Mozafari |
NeurIPS | 3 |
| 2020 | QuickSel: Quick Selectivity Learning with Mixture ModelsabstractEstimating the selectivity of a query is a key step in almost any cost-based query optimizer. Most of today's databases rely on histograms or samples that are periodically refreshed by re-scanning the data as the underlying data changes. Since frequent scans are costly, these statistics are often stale and lead to poor selectivity estimates. As an alternative to scans, query-driven histograms have been proposed, which refine the histograms based on the actual selectivities of the observed queries. Unfortunately, these approaches are either too costly to use in practice---i.e., require an exponential number of buckets---or quickly lose their advantage as they observe more queries. In this paper, we propose a selectivity learning framework, called QuickSel, which falls into the query-driven paradigm but does not use histograms. Instead, it builds an internal model of the underlying data, which can be refined significantly faster (e.g., only 1.9 milliseconds for 300 queries). This fast refinement allows QuickSel to continuously learn from each query and yield increasingly more accurate selectivity estimates over time. Unlike query-driven histograms, QuickSel relies on a mixture model and a new optimization algorithm for training its model. Our extensive experiments on two real-world datasets confirm that, given the same target accuracy, QuickSel is 34.0x--179.4x faster than state-of-the-art query-driven histograms, including ISOMER and STHoles. Further, given the same space budget, QuickSel is 26.8%--91.8% more accurate than periodically-updated histograms and samples, respectively. Yongjoo Park, Shucheng Zhong, Barzan Mozafari |
SIGMOD Conference | 3 |
| 2019 | A Bandit Approach to Maximum Inner Product SearchabstractThere has been substantial research on sub-linear time approximate algorithms for Maximum Inner Product Search (MIPS). To achieve fast query time, state-of-the-art techniques require significant preprocessing, which can be a burden when the number of subsequent queries is not sufficiently large to amortize the cost. Furthermore, existing methods do not have the ability to directly control the suboptimality of their approximate results with theoretical guarantees. In this paper, we propose the first approximate algorithm for MIPS that does not require any preprocessing, and allows users to control and bound the suboptimality of the results. We cast MIPS as a Best Arm Identification problem, and introduce a new bandit setting that can fully exploit the special structure of MIPS. Our approach outperforms state-of-the-art methods on both synthetic and real-world datasets. Rui Liu 0013, Barzan Mozafari |
AAAI | 3 |
| 2019 | Revisiting Projection-Free Optimization for Strongly Convex Constraint SetsabstractWe revisit the Frank-Wolfe (FW) optimization under strongly convex constraint sets. We provide a faster convergence rate for FW without line search, showing that a previously overlooked variant of FW is indeed faster than the standard variant. With line search, we show that FW can converge to the global optimum, even for smooth functions that are not convex, but are quasi-convex and locally-Lipschitz. We also show that, for the general case of (smooth) non-convex functions, FW with line search converges with high probability to a stationary point at a rate of O(1/t), as long as the constraint set is strongly convex—one of the fastest convergence rates in non-convex optimization. Jarrid Rector-Brooks, Jun-Kun Wang, Barzan Mozafari |
AAAI | 3 |
| 2019 | Huron: hybrid false sharing detection and repairabstractWriting efficient multithreaded code that can leverage the full parallelism of underlying hardware is difficult. A key impediment is insidious cache contention issues, such as false sharing. False sharing occurs when multiple threads from different cores access disjoint portions of the same cache line, causing it to go back and forth between the caches of different cores and leading to substantial slowdown. Tanvir Ahmed Khan 0001, Gilles Pokam, Barzan Mozafari, Baris Kasikci |
PLDI | 4 |
| 2019 | BlinkML: Efficient Maximum Likelihood Estimation with Probabilistic GuaranteesabstractThe rising volume of datasets has made training machine learning (ML) models a major computational cost in the enterprise. Given the iterative nature of model and parameter tuning, many analysts use a small sample of their entire data during their initial stage of analysis to make quick decisions (e.g., what features or hyperparameters to use) and use the entire dataset only in later stages (i.e., when they have converged to a specific model). This sampling, however, is performed in an ad-hoc fashion. Most practitioners cannot precisely capture the effect of sampling on the quality of their model, and eventually on their decision-making process during the tuning phase. Moreover, without systematic support for sampling operators, many optimizations and reuse opportunities are lost. In this paper, we introduce BlinkML, a system for fast, quality-guaranteed ML training. BlinkML allows users to make error-computation tradeoffs: instead of training a model on their full data (i.e., full model), BlinkML can quickly train an approximate model with quality guarantees using a sample. The quality guarantees ensure that, with high probability, the approximate model makes the same predictions as the full model. BlinkML currently supports any ML model that relies on maximum likelihood estimation (MLE), which includes Generalized Linear Models (e.g., linear regression, logistic regression, max entropy classifier, Poisson regression) as well as PPCA (Probabilistic Principal Component Analysis). Our experiments show that BlinkML can speed up the training of large-scale ML tasks by 6.26×?629× while guaranteeing the same predictions, with 95% probability, as the full model. Yongjoo Park, Jingyi Qing, Xiaoyang Shen, Barzan Mozafari |
SIGMOD Conference | 4 |
| 2019 | Join on Samples: A Theoretical Guide for PractitionersabstractDespite decades of research on AQP (approximate query processing), our understanding of sample-based joins has remained limited and, to some extent, even superficial. The common belief in the community is that joining random samples is futile. This belief is largely based on an early result showing that the join of two uniform samples is not an independent sample of the original join, and that it leads to quadratically fewer output tuples. Unfortunately, this early result has little applicability to the key questions practitioners face. For example, the success metric is often the final approximation's accuracy, rather than output cardinality. Moreover, there are many non-uniform sampling strategies that one can employ. Is sampling for joins still futile in all of these settings? If not, what is the best sampling strategy in each case? To the best of our knowledge, there is no formal study answering these questions. This paper aims to improve our understanding of sample-based joins and offer a guideline for practitioners building and using real-world AQP systems. We study limitations of offline samples in approximating join queries: given an offline sampling budget, how well can one approximate the join of two tables? We answer this question for two success metrics: output size and estimator variance. We show that maximizing output size is easy, while there is an information-theoretical lower bound on the lowest variance achievable by any sampling strategy. We then define a hybrid sampling scheme that captures all combinations of stratified, universe, and Bernoulli sampling, and show that this scheme with our optimal parameters achieves the theoretical lower bound within a constant factor. Since computing these optimal parameters requires shuffling statistics across the network, we also propose a decentralized variant in which each node acts autonomously using minimal statistics. We also empirically validate our findings on popular SQL and AQP engines. Dawei Huang, Dong Young Yoon, Seth Pettie, Barzan Mozafari |
Proc. VLDB Endow. | 4 |
| 2018 | Demonstration of VerdictDB, the Platform-Independent AQP SystemabstractWe demonstrate VerdictDB, the first platform-independent approximate query processing (AQP) system. Unlike existing AQP systems that are tightly-integrated into a specific database, VerdictDB operates at the driver-level, acting as a middleware between users and off-the-shelf database systems. In other words, VerdictDB requires no modifications to the database internals; it simply relies on rewriting incoming queries such that the standard execution of the rewritten queries under relational semantics yields approximate answers to the original queries. VerdictDB exploits a novel technique for error estimation called variational subsampling, which is amenable to efficient computation via SQL. In this demonstration, we showcase VerdictDB's performance benefits (up to two orders of magnitude) compared to the queries that are issued directly to existing query engines. We also illustrate that the approximate answers returned by VerdictDB are nearly identical to the exact answers. We use Apache Spark SQL and Amazon Redshift as two examples of modern distributed query platforms. We allow the audience to explore VerdictDB using a web-based interface (e.g., Hue or Apache Zeppelin) to issue queries and visualize their answers. VerdictDB is currently open-sourced and available under Apache License (V2). Yongjoo Park, Idris Hanafi, Jacob Yatvitskiy, Barzan Mozafari |
SIGMOD Conference | 5 |
| 2018 | VerdictDB: Universalizing Approximate Query ProcessingabstractDespite 25 years of research in academia, approximate query processing (AQP) has had little industrial adoption. One of the major causes of this slow adoption is the reluctance of traditional vendors to make radical changes to their legacy codebases, and the preoccupation of newer vendors (e.g., SQL-on-Hadoop products) with implementing standard features. Additionally, the few AQP engines that are available are each tied to a specific platform and require users to completely abandon their existing databases---an unrealistic expectation given the infancy of the AQP technology. Therefore, we argue that a universal solution is needed: a database-agnostic approximation engine that will widen the reach of this emerging technology across various platforms. Yongjoo Park, Barzan Mozafari, Joseph Sorenson |
SIGMOD Conference | 2 |
| 2018 | Distributed Lock Management with RDMA: Decentralization without StarvationabstractLock managers are a crucial component of modern distributed systems. However, with the increasing availability of fast RDMA-enabled networks, traditional lock managers can no longer keep up with the latency and throughput requirements of modern systems. Centralized lock managers can ensure fairness and prevent starvation using global knowledge of the system, but are themselves single points of contention and failure. Consequently, they fall short in leveraging the full potential of RDMA networks. On the other hand, decentralized (RDMA-based) lock managers either completely sacrifice global knowledge to achieve higher throughput at the risk of starvation and higher tail latencies, or they resort to costly communications in order to maintain global knowledge, which can result in significantly lower throughput. Dong Young Yoon, Mosharaf Chowdhury, Barzan Mozafari |
SIGMOD Conference | 3 |
| 2018 | Contention-Aware Lock Scheduling for Transactional DatabasesabstractLock managers are among the most studied components in concurrency control and transactional systems. However, one question seems to have been generally overlooked: "When there are multiple lock requests on the same object, which one(s) should be granted first?" Boyu Tian, Jiamin Huang, Barzan Mozafari, Grant Schoenebeck |
Proc. VLDB Endow. | 3 |
| 2017 | SnappyData: A Unified Cluster for Streaming, Transactions and Interactice Analytics
Barzan Mozafari, Jags Ramnarayan, Sudhir Menon, Yogesh Mahajan, Soubhik Chakraborty, Hemant Bhanawat, Kishor Bachhav |
CIDR | 1 |
| 2017 | Statistical Analysis of Latency Through Semantic ProfilingabstractMost software profiling tools quantify average performance and rely on a program's control flow graph to organize and report results. However, in interactive server applications, performance predictability is often an equally important measure. Moreover, the end user is often concerned with the performance of a semantically defined interval of execution, such as a request or transaction, which may not directly map to any single function in the call graph, especially in high-performance applications that use asynchrony or event-based programming. It is difficult to distinguish functionality that lies on the critical path of a semantic interval from other activity (e.g., periodic logging or side operations) that may nevertheless appear prominent in a conventional profile. Existing profilers lack the ability to (i) aggregate results for a semantic interval and (ii) attribute its performance variance to individual functions. Jiamin Huang, Barzan Mozafari, Thomas F. Wenisch |
EuroSys | 2 |
| 2017 | A Top-Down Approach to Achieving Performance Predictability in Database SystemsabstractWhile much of the research on transaction processing has focused on improving overall performance in terms of throughput and mean latency, surprisingly less attention has been given to performance predictability: how often individual transactions exhibit execution latency far from the mean. Performance predictability is increasingly important when transactions lie on the critical path of latency-sensitive applications, enterprise software, or interactive web services. Jiamin Huang, Barzan Mozafari, Grant Schoenebeck, Thomas F. Wenisch |
SIGMOD Conference | 2 |
| 2017 | Approximate Query Engines: Commercial Challenges and Research OpportunitiesabstractRecent years have witnessed a surge of interest in Approximate Query Processing (AQP) solutions, both in academia and the commercial world. In addition to well-known open problems in this area, there are many new research challenges that have surfaced as a result of the first interaction of AQP technology with commercial and real-world customers. We categorize these into deployment, planning, and interface challenges. At the same time, AQP settings introduce many interesting opportunities that would not be possible in a database with precise answers. These opportunities create hopes for overcoming some of the major limitations of traditional database systems. For example, we discuss how a database can reuse its past work in a generic way, and become smarter as it answers new queries. Our goal in this talk is to suggest some of the exciting research directions in this field that are worth pursuing. Barzan Mozafari |
SIGMOD Conference | 1 |
| 2017 | Database Learning: Toward a Database that Becomes Smarter Every TimeabstractIn today's databases, previous query answers rarely benefit answering future queries. For the first time, to the best of our knowledge, we change this paradigm in an approximate query processing (AQP) context. We make the following observation: the answer to each query reveals some degree of knowledge about the answer to another query because their answers stem from the same underlying distribution that has produced the entire dataset. Exploiting and refining this knowledge should allow us to answer queries more analytically, rather than by reading enormous amounts of raw data. Also, processing more queries should continuously enhance our knowledge of the underlying distribution, and hence lead to increasingly faster response times for future queries. Yongjoo Park, Ahmad Shahab Tajik, Michael J. Cafarella, Barzan Mozafari |
SIGMOD Conference | 4 |
| 2017 | Ensuring Authorized Updates in Multi-user Database-Backed Applications
Kevin Eykholt, Atul Prakash 0001, Barzan Mozafari |
USENIX Security Symposium | 3 |
| 2016 | Visualization-aware sampling for very large databasesabstractInteractive visualizations are crucial in ad hoc data exploration and analysis. However, with the growing number of massive datasets, generating visualizations in interactive timescales is increasingly challenging. One approach for improving the speed of the visualization tool is via data reduction in order to reduce the computational overhead, but at a potential cost in visualization accuracy. Common data reduction techniques, such as uniform and stratified sampling, do not exploit the fact that the sampled tuples will be transformed into a visualization for human consumption. We propose a visualization-aware sampling (VAS) that guarantees high quality visualizations with a small subset of the entire dataset. We validate our method when applied to scatter and map plots for three common visualization goals: regression, density estimation, and clustering. The key to our sampling method's success is in choosing a set of tuples that minimizes a visualization-inspired loss function. While existing sampling approaches minimize the error of aggregation queries, we focus on a loss function that maximizes the visual fidelity of scatter plots. Our user study confirms that our proposed loss function correlates strongly with user success in using the resulting visualizations. Our experiments show that (i) VAS improves user's success by up to 35% in various visualization tasks, and (ii) VAS can achieve a required visualization quality up to 400× faster. Yongjoo Park, Michael J. Cafarella, Barzan Mozafari |
ICDE | 3 |
| 2016 | SnappyData: A Hybrid Transactional Analytical Store Built On SparkabstractIn recent years, our customers have expressed frustration in the traditional approach of using a combination of disparate products to handle their streaming, transactional and analytical needs. The common practice of stitching heterogeneous environments in custom ways has caused enormous production woes by increasing development complexity and total cost of ownership. With SnappyData, an open source platform, we propose a unified engine for real-time operational analytics, delivering stream analytics, OLTP and OLAP in a single integrated solution. We realize this platform through a seamless integration of Apache Spark (as a big data computational engine) with GemFire (as an in-memory transactional store with scale-out SQL semantics). In this demonstration, after presenting a few use case scenarios, we exhibit SnappyData as our our in-memory solution for delivering truly interactive analytics (i.e., a couple of seconds), when faced with large data volumes or high velocity streams. We show that SnappyData can exploit state-of-the-art approximate query processing techniques and a variety of data synopses. Finally, we allow the audience to define various high-level accuracy contracts (HAC), to communicate their accuracy requirements with SnappyData in an intuitive fashion. Jags Ramnarayan, Barzan Mozafari, Sumedh Wale, Sudhir Menon, Neeraj Kumar 0003, Hemant Bhanawat, Soubhik Chakraborty, Yogesh Mahajan, Rishitesh Mishra, Kishor Bachhav |
SIGMOD Conference | 2 |
| 2016 | DBSherlock: A Performance Diagnostic Tool for Transactional DatabasesabstractRunning an online transaction processing (OLTP) system is one of the most daunting tasks required of database administrators (DBAs). As businesses rely on OLTP databases to support their mission-critical and real-time applications, poor database performance directly impacts their revenue and user experience. As a result, DBAs constantly monitor, diagnose, and rectify any performance decays. Unfortunately, the manual process of debugging and diagnosing OLTP performance problems is extremely tedious and non-trivial. Rather than being caused by a single slow query, performance problems in OLTP databases are often due to a large number of concurrent and competing transactions adding up to compounded, non-linear effects that are difficult to isolate. Sudden changes in request volume, transactional patterns, network traffic, or data distribution can cause previously abundant resources to become scarce, and the performance to plummet. Dong Young Yoon, Ning Niu, Barzan Mozafari |
SIGMOD Conference | 3 |
| 2015 | Verdict: A System for Stochastic Query Planning
Barzan Mozafari |
CIDR | 1 |
| 2015 | CliffGuard: A Principled Framework for Finding Robust Database DesignsabstractA fundamental problem in database systems is choosing the best physical design, i.e., a small set of auxiliary structures that enable the fastest execution of future queries. Almost all commercial databases come with designer tools that create a number of indices or materialized views (together comprising the physical design) that they exploit during query processing. Existing designers are what we call nominal; that is, they assume that their input parameters are precisely known and equal to some nominal values. For instance, since future workload is often not known a priori, it is common for these tools to optimize for past workloads in hopes that future queries and data will be similar. In practice, however, these parameters are often noisy or missing. Since nominal designers do not take the influence of such uncertainties into account, they find designs that are sub-optimal and remarkably brittle. Often, as soon as the future workload deviates from the past, their overall performance falls off a cliff, leading to customer discontent and expensive redesigns. Thus, we propose a new type of database designer that is robust against parameter uncertainties, so that overall performance degrades more gracefully when future workloads deviate from the past. Users express their risk tolerance by deciding on how much nominal optimality they are willing to trade for attaining their desired level of robustness against uncertain situations. To the best of our knowledge, this paper is the first to adopt the recent breakthroughs in the theory of robust optimization to build a practical framework for solving some of the most fundamental problems in databases, replacing today's brittle designs with a principled world of robust designs that can guarantee predictable and consistent performance. Barzan Mozafari, Eugene Zhen Ye Goh, Dong Young Yoon |
SIGMOD Conference | 1 |
| 2015 | Neighbor-Sensitive HashingabstractApproximate k NN ( k -nearest neighbor) techniques using binary hash functions are among the most commonly used approaches for overcoming the prohibitive cost of performing exact k NN queries. However, the success of these techniques largely depends on their hash functions' ability to distinguish k NN items; that is, the k NN items retrieved based on data items' hashcodes , should include as many true k NN items as possible. A widely-adopted principle for this process is to ensure that similar items are assigned to the same hashcode so that the items with the hashcodes similar to a query's hashcode are likely to be true neighbors. In this work, we abandon this heavily-utilized principle and pursue the opposite direction for generating more effective hash functions for k NN tasks. That is, we aim to increase the distance between similar items in the hashcode space, instead of reducing it. Our contribution begins by providing theoretical analysis on why this revolutionary and seemingly counter-intuitive approach leads to a more accurate identification of k NN items. Our analysis is followed by a proposal for a hashing algorithm that embeds this novel principle. Our empirical studies confirm that a hashing algorithm based on this counter-intuitive idea significantly improves the efficiency and accuracy of state-of-the-art techniques. Yongjoo Park, Michael J. Cafarella, Barzan Mozafari |
Proc. VLDB Endow. | 3 |
| 2015 | DBSeer: Pain-free Database Administration through Workload IntelligenceabstractThe pressing need for achieving and maintaining high performance in database systems has made database administration one of the most stressful jobs in information technology. On the other hand, the increasing complexity of database systems has made qualified database administrators (DBAs) a scarce resource. DBAs are now responsible for an array of demanding tasks; they need to (i) provision and tune their database according to their application requirements, (ii) constantly monitor their database for any performance failures or slowdowns, (iii) diagnose the root cause of the performance problem in an accurate and timely fashion, and (iv) take prompt actions that can restore acceptable database performance. However, much of the research in the past years has focused on improving the raw performance of the database systems, rather than improving their manageability. Besides sophisticated consoles for monitoring performance and a few auto-tuning wizards, DBAs are not provided with any help other than their own many years of experience. Typically, their only resort is trial-and-error, which is a tedious, ad-hoc and often sub-optimal solution. In this demonstration, we present DBSeer, a workload intelligence framework that exploits advanced machine learning and causality techniques to aid DBAs in their various responsibilities. DBSeer analyzes large volumes of statistics and telemetry data collected from various log files to provide the DBA with a suite of rich functionalities including performance prediction, performance diagnosis, bottleneck explanation, workload insight, optimal admission control, and what-if analysis. In this demo, we showcase various features of DBSeer by predicting and analyzing the performance of a live database system. Will also reproduce a number of realistic performance problems in the system, and allow the audience to use DBSeer to quickly diagnose and resolve their root cause. Dong Young Yoon, Barzan Mozafari, Douglas P. Brown |
Proc. VLDB Endow. | 2 |
| 2014 | Knowing when you're wrong: building fast and reliable approximate query processing systemsabstractModern data analytics applications typically process massive amounts of data on clusters of tens, hundreds, or thousands of machines to support near-real-time decisions.The quantity of data and limitations of disk and memory bandwidth often make it infeasible to deliver answers at interactive speeds. However, it has been widely observed that many applications can tolerate some degree of inaccuracy. This is especially true for exploratory queries on data, where users are satisfied with "close-enough" answers if they can come quickly. A popular technique for speeding up queries at the cost of accuracy is to execute each query on a sample of data, rather than the whole dataset. To ensure that the returned result is not too inaccurate, past work on approximate query processing has used statistical techniques to estimate "error bars" on returned results. However, existing work in the sampling-based approximate query processing (S-AQP) community has not validated whether these techniques actually generate accurate error bars for real query workloads. In fact, we find that error bar estimation often fails on real world production workloads. Fortunately, it is possible to quickly and accurately diagnose the failure of error estimation for a query. In this paper, we show that it is possible to implement a query approximation pipeline that produces approximate answers and reliable error bars at interactive speeds. Sameer Agarwal 0002, Henry Milner, Ariel Kleiner, Ameet Talwalkar, Michael I. Jordan, Samuel Madden 0001, Barzan Mozafari, Ion Stoica |
SIGMOD Conference | 7 |
| 2014 | ABS: a system for scalable approximate queries with accuracy guaranteesabstractApproximate Query Processing (AQP) based on sampling is critical for supporting timely and cost-effective analytics over big data. To be applied successfully, AQP must be accompanied by reliable estimates on the quality of sample-produced approximate answers; the two main techniques used in the past for this purpose are (i) closed-form analytic error estimation, and (ii) the bootstrap method. Approach (i) is extremely efficient but lacks generality, whereas (ii) is general but suffers from high computational overhead. Our recently introduced Analytical Bootstrap method combines the strengths of both approaches and provides the basis for our ABS system, which will be demonstrated at the conference. The ABS system models bootstrap by a probabilistic relational model, and extends relational algebra with operations on probabilistic relations to predict the distributions of the AQP results. Thus, ABS entails a very fast computation of bootstrap-based quality measures for a general class of SQL queries, which is several orders of magnitude faster than the standard simulation-based bootstrap. In this demo, we will demonstrate the generality, automaticity, and ease of use of the ABS system, and its superior performance over the traditional approaches described above. Kai Zeng 0002, Shi Gao, Jiaqi Gu 0001, Barzan Mozafari, Carlo Zaniolo |
SIGMOD Conference | 4 |
| 2014 | The analytical bootstrap: a new method for fast error estimation in approximate query processingabstractSampling is one of the most commonly used techniques in Approximate Query Processing (AQP)-an area of research that is now made more critical by the need for timely and cost-effective analytics over "Big Data". Assessing the quality (i.e., estimating the error) of approximate answers is essential for meaningful AQP, and the two main approaches used in the past to address this problem are based on either (i) analytic error quantification or (ii) the bootstrap method. The first approach is extremely efficient but lacks generality, whereas the second is quite general but suffers from its high computational overhead. In this paper, we introduce a probabilistic relational model for the bootstrap process, along with rigorous semantics and a unified error model, which bridges the gap between these two traditional approaches. Based on our probabilistic framework, we develop efficient algorithms to predict the distribution of the approximation results. These enable the computation of any bootstrap-based quality measure for a large class of SQL queries via a single-round evaluation of a slightly modified query. Extensive experiments on both synthetic and real-world datasets show that our method has superior prediction accuracy for bootstrap-based quality measures, and is several orders of magnitude faster than bootstrap. Kai Zeng 0002, Shi Gao, Barzan Mozafari, Carlo Zaniolo |
SIGMOD Conference | 3 |
| 2014 | Scaling Up Crowd-Sourcing to Very Large Datasets: A Case for Active LearningabstractCrowd-sourcing has become a popular means of acquiring labeled data for many tasks where humans are more accurate than computers, such as image tagging, entity resolution, and sentiment analysis. However, due to the time and cost of human labor, solutions that rely solely on crowd-sourcing are often limited to small datasets (i.e., a few thousand items). This paper proposes algorithms for integrating machine learning into crowd-sourced databases in order to combine the accuracy of human labeling with the speed and cost-effectiveness of machine learning classifiers. By using active learning as our optimization strategy for labeling tasks in crowd-sourced databases, we can minimize the number of questions asked to the crowd, allowing crowd-sourced applications to scale (i.e., label much larger datasets at lower costs). Designing active learning algorithms for a crowd-sourced database poses many practical challenges: such algorithms need to be generic, scalable, and easy to use, even for practitioners who are not machine learning experts. We draw on the theory of nonparametric bootstrap to design, to the best of our knowledge, the first active learning algorithms that meet all these requirements. Our results, on 3 real-world datasets collected with Amazons Mechanical Turk, and on 15 UCI datasets, show that our methods on average ask 1--2 orders of magnitude fewer questions than the baseline, and 4.5--44 × fewer than existing active learning algorithms. Barzan Mozafari, Purnamrita Sarkar, Michael J. Franklin, Michael I. Jordan, Samuel Madden 0001 |
Proc. VLDB Endow. | 1 |
| 2013 | DBSeer: Resource and Performance Prediction for Building a Next Generation Database Cloud
Barzan Mozafari, Carlo Curino, Samuel Madden 0001 |
CIDR | 1 |
| 2013 | BlinkDB: queries with bounded errors and bounded response times on very large dataabstractIn this paper, we present BlinkDB, a massively parallel, approximate query engine for running interactive SQL queries on large volumes of data. BlinkDB allows users to trade-off query accuracy for response time, enabling interactive queries over massive data by running queries on data samples and presenting results annotated with meaningful error bars. To achieve this, BlinkDB uses two key ideas: (1) an adaptive optimization framework that builds and maintains a set of multi-dimensional stratified samples from original data over time, and (2) a dynamic sample selection strategy that selects an appropriately sized sample based on a query's accuracy or response time requirements. We evaluate BlinkDB against the well-known TPC-H benchmarks and a real-world analytic workload derived from Conviva Inc., a company that manages video distribution over the Internet. Our experiments on a 100 node cluster show that BlinkDB can answer queries on up to 17 TBs of data in less than 2 seconds (over 200 x faster than Hive), within an error of 2-10%. Sameer Agarwal 0002, Barzan Mozafari, Aurojit Panda, Henry Milner, Samuel Madden 0001, Ion Stoica |
EuroSys | 2 |
| 2013 | Complex pattern matching in complex structures: The XSeq approachabstractThere is much current interest in applications of complex event processing over data streams and of complex pattern matching over stored sequences. While some applications use streams of flat records, XML and various semi-structured information formats are preferred by many others-in particular, applications that deal with domain science, social networks, RSS feeds, and finance. XSeq and its system improve complex pattern matching technology significantly, both in terms of expressive power and efficient implementation. XSeq achieves higher expressiveness through an extension of XPath based on Kleene-* pattern constructs, and achieves very efficient execution, on both stored and streaming data, using Visibly Pushdown Automata (VPA). In our demo, we will (i) show examples of XSeq in different application domains, (ii) explain its compilation/query optimization techniques and show the speed-ups they deliver, and (iii) demonstrate how powerful and efficient application-specific languages were implemented by superimposing simple `skins' on XSeq and its system. Kai Zeng 0002, Mohan Yang, Barzan Mozafari, Carlo Zaniolo |
ICDE | 3 |
| 2013 | Performance and resource modeling in highly-concurrent OLTP workloadsabstractDatabase administrators of Online Transaction Processing (OLTP) systems constantly face difficult questions. For example, "What is the maximum throughput I can sustain with my current hardware?", "How much disk I/O will my system perform if the requests per second double?", or "What will happen if the ratio of transactions in my system changes?". Resource prediction and performance analysis are both vital and difficult in this setting. Here the challenge is due to high degrees of concurrency, competition for resources, and complex interactions between transactions, all of which non-linearly impact performance. Barzan Mozafari, Carlo Curino, Alekh Jindal, Samuel Madden 0001 |
SIGMOD Conference | 1 |
| 2013 | High-performance complex event processing over hierarchical dataabstractWhile Complex Event Processing (CEP) constitutes a considerable portion of the so-called Big Data analytics, current CEP systems can only process data having a simple structure, and are otherwise limited in their ability to efficiently support complex continuous queries on structured or semistructured information. However, XML-like streams represent a very popular form of data exchange, comprising large portions of social network and RSS feeds, financial feeds, configuration files, and similar applications requiring advanced CEP queries. In this article, we present the XSeq language and system that support CEP on XML streams, via an extension of XPath that is both powerful and amenable to an efficient implementation. Specifically, the XSeq language extends XPath with natural operators to express sequential and Kleene-* patterns over XML streams, while remaining highly amenable to efficient execution. In fact, XSeq is designed to take full advantage of the recently proposed Visibly Pushdown Automata (VPA), where higher expressive power can be achieved without compromising the computationally attractive properties of finite state automata. Besides the efficiency and expressivity benefits, the choice of VPA as the underlying model also enables XSeq to go beyond XML streams and be easily applicable to any data with both sequential and hierarchical structures, including JSON messages, RNA sequences, and software traces. Therefore, we illustrate the XSeq's power for CEP applications through examples from different domains and provide formal results on its expressiveness and complexity. Finally, we present several optimization techniques for XSeq queries. Our extensive experiments indicate that XSeq brings outstanding performance to CEP applications: two orders of magnitude improvement is obtained over the same queries executed in general-purpose XML engines. Barzan Mozafari, Kai Zeng 0002, Loris D'Antoni, Carlo Zaniolo |
ACM Trans. Database Syst. | 1 |
| 2012 | High-performance complex event processing over XML streamsabstractMuch research attention has been given to delivering high-performance systems that are capable of complex event processing (CEP) in a wide range of applications. However, many current CEP systems focus on processing efficiently data having a simple structure, and are otherwise limited in their ability to support efficiently complex continuous queries on structured or semi-structured information. However, XML streams represent a very popular form of data exchange, comprising large portions of social network and RSS feeds, financial records, configuration files, and similar applications requiring advanced CEP queries. In this paper, we present the XSeq language and system that support CEP on XML streams, via an extension of XPath that is both powerful and amenable to an efficient implementation. Specifically, the XSeq language extends XPath with natural operators to express sequential and Kleene-* patterns over XML streams, while remaining highly amenable to efficient implementation. XSeq is designed to take full advantage of recent advances in the field of automata on Visibly Pushdown Automata (VPA), where higher expressive power can be achieved without compromising efficiency (whereas the amenability to efficient implementation was not demonstrated in XPath extensions previously proposed). Barzan Mozafari, Kai Zeng 0002, Carlo Zaniolo |
SIGMOD Conference | 1 |
| 2012 | Blink and It's Done: Interactive Queries on Very Large DataabstractIn this demonstration, we present BlinkDB, a massively parallel, sampling-based approximate query processing framework for running interactive queries on large volumes of data. The key observation in BlinkDB is that one can make reasonable decisions in the absence of perfect answers. BlinkDB extends the Hive/HDFS stack and can handle the same set of SPJA (selection, projection, join and aggregate) queries as supported by these systems. BlinkDB provides real-time answers along with statistical error guarantees, and can scale to petabytes of data and thousands of machines in a fault-tolerant manner. Our experiments using the TPC-H benchmark and on an anonymized real-world video content distribution workload from Conviva Inc. show that BlinkDB can execute a wide range of queries up to 150x faster than Hive on MapReduce and 10--150x faster than Shark (Hive on Spark) over tens of terabytes of data stored across 100 machines, all with an error of 2--10%. Sameer Agarwal 0002, Aurojit Panda, Barzan Mozafari, Anand Padmanabha Iyer, Samuel Madden 0001, Ion Stoica |
Proc. VLDB Endow. | 3 |
| 2011 | SMM: A data stream management system for knowledge discoveryabstractThe problem of supporting data mining applications proved to be difficult for database management systems and it is now proving to be very challenging for data stream management systems (DSMSs), where the limitations of SQL are made even more severe by the requirements of continuous queries. The major technical advances that achieved separately on DSMSs and on data stream mining algorithms have failed to converge and produce powerful data stream mining systems. Such systems, however, are essential since the traditional pull-based approach of cache mining is no longer applicable, and the push-based computing mode of data streams and their bursty traffic complicate application development. For instance, to write mining applications with quality of service (QoS) levels approaching those of DSMSs, a mining analyst would have to contend with many arduous tasks, such as support for data buffering, complex storage and retrieval methods, scheduling, fault-tolerance, synopsis-management, load shedding, and query optimization. Our Stream Mill Miner (SMM) system solves these problems by providing a data stream mining workbench that combines the ease of specifying high-level mining tasks, as in Weka, with the performance and QoS guarantees of a DSMS. This is accomplished in three main steps. The first is an open and extensible DSMS architecture where KDD queries can be easily expressed as user-defined aggregates (UDAs) - our system combines that with the efficiency of synoptic data structures and mining-aware load shedding and optimizations. The second key component of SMM is its integrated library of fast mining algorithms that are light enough to be effective on data streams. The third advanced feature of SMM is a Mining Model Definition Language (MMDL) that allows users to define the flow of mining tasks, integrated with a simple box&arrow GUI, to shield the mining analyst from the complexities of lower-level queries. SMM is the first DSMS capable of online mining and this paper describes its architecture, design, and performance on mining queries. Hetal Thakkar, Nikolay Laptev, Hamid Mousavi 0001, Barzan Mozafari, Vincenzo Russo, Carlo Zaniolo |
ICDE | 4 |
| 2010 | Optimal load shedding with aggregates and mining queriesabstractTo cope with bursty arrivals of high-volume data, a DSMS has to shed load while minimizing the degradation of Quality of Service (QoS). In this paper, we show that this problem can be formalized as a classical optimization task from operations research, in ways that accommodate different requirements for multiple users, different query sensitivities to load shedding, and different penalty functions. Standard nonlinear programming algorithms are adequate for non-critical situations, but for severe overloads, we propose a more efficient algorithm that runs in linear time, without compromising optimality. Our approach is applicable to a large class of queries including traditional SQL aggregates, statistical aggregates (e.g., quantiles), and data mining functions, such as k-means, naive Bayesian classifiers, decision trees, and frequent pattern discovery (where we can even specify a different error bound for each pattern). In fact, we show that these aggregate queries are special instances of a broader class of functions, that we call reciprocal-error aggregates, for which the proposed methods apply with full generality. Finally, we propose a novel architecture for supporting load shedding in an extensible system, where users can write arbitrary User Defined Aggregates (UDA), and thus confirm our analytical findings with several experiments executed on an actual DSMS. Barzan Mozafari, Carlo Zaniolo |
ICDE | 1 |
| 2010 | K*SQL: a unifying engine for sequence patterns and XMLabstractA strong interest is emerging in SQL extensions for sequence patterns using Kleene-closure expressions. This burst of interest from both the research community and the commercial world is due to the many database and data stream applications made possible by these extensions, including financial services, RFID-based inventory management, and electronic health systems. In this demo we will present the K*SQL system that represents a major step forward in this area. K*SQL supports a more expressive language that allows for generalized Kleene-closure queries and also achieves the expressive power of the nested word model, which greatly expands the application domain to include XML queries, software trace analysis, and genomics. In this demo, we first introduce the core features of our language in expressing complex pattern queries over both relational and XML data. We overview the architecture of our unifying engine and its user-friendly interfaces. We also present several K*SQL queries from stock market, XML, software trace analysis and genomic applications. Barzan Mozafari, Kai Zeng 0002, Carlo Zaniolo |
SIGMOD Conference | 1 |
| 2010 | From Regular Expressions to Nested Words: Unifying Languages and Query Execution for Relational and XML SequencesabstractThere is growing interest in query language extensions for pattern matching over event streams and stored database sequences, due to the many important applications that such extensions make possible. The push for such extensions has led DBMS vendors and DSMS venture companies to propose Kleene-closure extensions of SQL standards, building on seminal research that demonstrated the effectiveness and amenability to efficient implementation of such constructs. These extensions, however powerful, suffer from limitations that severely impair their effectiveness in many real-world applications. To overcome these problems, we have designed the K*SQL language and system, based on our investigation of the nested words , which are recent models that generalize both words and trees. K*SQL extends the existing relational sequence languages, and also enables applications from other domains such as genomics, software analysis, and XML processing. At the same time, K*SQL remains extremely efficient, using our powerful optimizations for pattern search over nested words. Furthermore, we show that other sequence languages and XPath can be automatically translated into K*SQL, allowing for K*SQL to be also used as a high-performance query execution back-end for those languages. Therefore, K*SQL is a unifying SQL-based engine for sequence and XML queries, which provides novel optimization techniques for both. Barzan Mozafari, Kai Zeng 0002, Carlo Zaniolo |
Proc. VLDB Endow. | 1 |
| 2009 | Publishing Naive Bayesian Classifiers: Privacy without Accuracy LossabstractWe address the problem of publishing a Naïve Bayesian Classifier (NBC) or, equivalently, publishing the necessary views for building an NBC, while protecting privacy of the individuals who provided the training data. Our approach completely preserves the accuracy of the original classifier, and thus significantly improves on current approaches, such as randomization or anonymization, which typically degrade accuracy to preserve privacy. Current query-view security checkers address the question of 'Is the view safe to publish?' and are computationally expensive (often Π p 2 -complete). Here instead, we tackle the question of 'How to make a view safe to publish?' and propose a linear-time algorithm to publish safe NBC-enabling views. We first show that a simple measure that restricts the ratios between the published NBC statistics is sufficient to prevent any breach of privacy. Then, we propose a linear-time algorithm to enforce this measure by producing perturbed statistics that assure both (i) individuals' privacy, and (ii) a classifier that behaves in the same way as the NBC trained on the original data. By carefully expressing the derived statistics using rational numbers, we can easily produce synthetic (sanitized) datasets. Thus, for any given dataset, we produce another dataset that is secure to publish (w.r.t. a uniform prior) and achieves the same classification accuracy. Finally, we extend our results by providing sufficient conditions to cope with arbitrary (non-uniform prior) distributions, and we validate their effectiveness in practice through experiments on real-world data. Barzan Mozafari, Carlo Zaniolo |
Proc. VLDB Endow. | 1 |
| 2008 | Verifying and Mining Frequent Patterns from Large Windows over Data StreamsabstractMining frequent itemsets from data streams has proved to be very difficult because of computational complexity and the need for real-time response. In this paper, we introduce a novel verification algorithm which we then use to improve the performance of monitoring and mining tasks for association rules. Thus, we propose a frequent itemset mining method for sliding windows, which is faster than the state-of-the-art methods - in fact, its running time that is nearly constant with respect to the window size entails the mining of much larger windows than it was possible before. The performance of other frequent itemset mining methods (including those on static data) can be improved likewise, by replacing their counting methods (e.g., those using hash trees) by our verification algorithm. Barzan Mozafari, Hetal Thakkar, Carlo Zaniolo |
ICDE | 1 |
| 2007 | On the Evolution of Wikipedia
Rodrigo B. Almeida, Barzan Mozafari, Junghoo Cho |
ICWSM | 2 |