Approximate computation for big data analytics

Shuai Ma, Jinpeng Huai

TL;DR

This paper introduces "approximate computation" as a paradigm for tackling the efficiency challenges in big data analytics. It proposes two main strategies: query approximation (making queries faster by accepting slightly less precise answers) and data approximation (reducing data size while preserving essential information for analysis), demonstrating their effectiveness across various real-world big data tasks.

What Problem Does This Paper Address?

Big data analytics, while booming, faces a fundamental efficiency bottleneck. For many applications, obtaining an exact, optimal solution is either computationally infeasible due to massive data volumes or simply not required. The paper addresses this by proposing "approximate computation," a framework that sacrifices absolute precision for significant gains in speed and efficiency, making complex analyses practical for large datasets. This is particularly relevant when dealing with the inherent noise and scale of big data, where exact solutions might be misleading or impossible to compute in a timely manner.

Methods

The paper systematically introduces approximate computation through two primary approaches:

  • Query Approximation: This involves transforming complex, computationally expensive queries ($Q$) into simpler, faster ones ($Q'$) that yield "good" or "satisfiable" approximate answers. The core idea is to find a balance between query efficiency and answer quality. The paper illustrates this with three examples:
  • Strong Simulation: An efficient algorithm for graph pattern matching that preserves key topological properties of the pattern graph, offering a significant speedup (over 100x) compared to exact subgraph isomorphism while retaining high-quality matches.
  • One-Pass Trajectory Compression: A method for simplifying trajectory data by processing each point only once, achieving comparable compression ratios to existing algorithms but with significantly better speed (over 4x faster).
  • Dense Temporal Subgraph Computation: A data-driven approach (FIDES) to identify dense subgraphs in temporal networks, outperforming existing methods by over 1000x while maintaining comparable quality.
  • Data Approximation: This approach focuses on reducing the size of the dataset ($D$) to a smaller representation ($D'$) from which approximate answers can be derived more efficiently. This often involves modifying the query slightly ($Q'$). The rationale is based on the Pareto principle, suggesting that a small subset of data often drives most of the analytical results. Examples include:
  • Proxies for Shortest Paths and Distances: A technique that uses a small set of "proxies" to represent large groups of nodes, enabling efficient computation of shortest paths and distances on massive graphs.
  • Network Anomaly Detection: An embedding approach that reduces the dimensionality of graph data, making it scalable for detecting anomalies in large networks, combined with a novel dimension reduction technique.
  • Ensemble Enabled Link Prediction: A method that uses ensemble techniques to decompose large search spaces in link prediction, leading to significant speedups (over 50x) and improved accuracy.

Datasets

The paper mentions using "real-life data and synthetic data" for experimental studies across its proposed methods. Specific datasets are not detailed, but the applications discussed (social networks, road traffic networks, online store data, trajectories) imply the use of large-scale, real-world datasets typical in big data analytics.

Key Insights and Ideas

  • The "Good Enough" Principle: For many big data tasks, exact solutions are overkill. Accepting slightly imperfect results can unlock massive efficiency gains, making previously intractable problems solvable.
  • Query vs. Data Approximation: The paper elegantly separates the problem into two complementary strategies: optimizing the query process itself or optimizing the data being queried.
  • Beyond Theoretical Bounds: While approximation algorithms are often defined by worst-case error bounds, the paper focuses on practical effectiveness, showing that approximate methods can achieve high accuracy in practice without strict theoretical guarantees.
  • Combining Techniques: The authors highlight that no single technique is a silver bullet. Effective big data analytics often requires combining sampling, graph partitioning, dimension reduction, and distributed computing.
  • Scalability is Key: Many of the proposed methods are explicitly designed to overcome the scalability limitations of traditional exact algorithms when faced with massive datasets.

Key Results

The paper reports significant performance improvements across its proposed methods:

  • Strong Simulation: Over 100 times faster than subgraph isomorphism.
  • One-Pass Trajectory Compression: Over 4 times faster than existing online algorithms, with comparable compression ratios.
  • Dense Temporal Subgraph Computation: Over 1000 times faster than existing methods.
  • Ensemble Enabled Link Prediction: Over 50 times faster and 20% more accurate than a baseline method (BIGCLAM).
  • Network Anomaly Detection: Demonstrated scalability to graphs with millions of nodes, outperforming traditional multidimensional scaling which ran out of memory.

Limitations and Future Work

  • No One-Size-Fits-All: The authors acknowledge that approximate computation is not a universal solution. The suitability of a specific technique depends on the task and the acceptable level of approximation.
  • Theoretical Foundation: While the paper emphasizes practical effectiveness, it notes the importance of theoretical analyses for developing robust approximation techniques, suggesting future work in this area.
  • Combining Resources: The paper points out the need to consider various computing resources (bounded resources, incremental computation) and theoretical analyses for developing advanced approximation techniques.
  • Further Exploration of Hybrid Approaches: The paper suggests that combining different approximation techniques and system-level optimizations (like caching and distributed computing) is a promising direction for future research.

Summary updated

BibTeX
@article{ma2021approximate,
  author = {Shuai Ma and Jinpeng Huai},
  title = {{Approximate computation for big data analytics}},
  journal = {SIGWEB Newsl.},
  year = {2021},
  doi = {10.1145/3447879.3447883},
}
Figure