Introduction
Submodular functions are often described as the "convex functions" of discrete optimization. They follow the principle of diminishing returns: adding an element to a small set provides more "gain" than adding it to a large set. This property makes them essential for machine learning tasks like document summarization, sensor placement, and social network influence maximization.
While maximizing monotone submodular functions (where more is always better) is well-understood, many real-world problems are non-monotone. In these scenarios, adding too much can actually decrease the objective value—similar to finding a Max-Cut or balancing cost-benefit trade-offs. The gold standard for non-monotone functions is the double greedy algorithm, which provides a tight 1/2-approximation guarantee.
The catch? The double greedy algorithm is inherently serial. It processes elements one by one, making decisions based on every previous choice. This creates a massive bottleneck for modern "big data" applications that require parallel processing across multiple CPU cores. To solve this, researchers from UC Berkeley have developed two novel ways to parallelize the "double greedy" algorithm, enabling these complex optimization problems to scale to billion-edge graphs.
Methods: A Database Perspective on Optimization
The authors reframe the double greedy algorithm through the lens of parallel transaction processing. By treating the addition or removal of elements as "Read-Write transactions" on the program state, they apply database concurrency theory to discrete optimization.
They propose two distinct parallel strategies:
- CF-2g (Coordination-Free): This is the "optimistic" approach. Multiple threads process elements in parallel using potentially "stale" information about what other threads have decided. It prioritizes raw speed. While it risks making slightly worse decisions, the authors provide new theoretical bounds on how much the approximation quality might degrade based on inter-processor message delay.
- CC-2g (Concurrency Control): This approach uses "coordinated bounds." Before a thread makes a decision, it checks if the current uncertainty (caused by other concurrent threads) could lead to a "wrong" choice compared to a serial execution. If the choice is safe, it proceeds; if not, the transaction "fails" and is retried serially. This ensures the final result is identical to a valid serial execution, preserving the strict 1/2-approximation guarantee.
Key Insights and Ideas
- The Database Connection: The most striking idea is applying database concurrency theory to discrete optimization. By treating sets $A$ and $B$ as data objects, the authors could use established techniques like serializability to manage parallel execution.
- The "Uncertainty Region": CC-2g identifies a specific range where a random variable might fall.
If the variable falls outside this "uncertainty region," the thread can guarantee its decision is correct regardless of what other threads are doing. This allows for massive parallelism without losing accuracy.
- Graceful Degradation: In CF-2g, the "error" in the marginal gain is directly tied to the inter-processor message delay ($\tau$). This allows practitioners to quantify exactly how much accuracy they are trading for speed.
- Staleness is Often Fine: A key "aha" moment in the results is that for many real-world graphs, the "stale" information used by the fast CF-2g algorithm results in a negligible loss in objective value (less than 0.01%).
Datasets and Key Results
The algorithms were evaluated on both synthetic graphs (Erdos-Renyi graphs with ~2 billion edges, ZigZag expander graphs) and massive real-world social/web graphs (Friendster, Arabic-2005, UK-2005, IT-2004) with up to 41 million vertices and 1.1 billion edges.
- Scalability and Efficiency: Both algorithms achieved roughly 10x speedup on 16 threads compared to the serial version. Even on billion-edge graphs, the parallel algorithms outperformed the serial version once more than three threads were used.
- Robustness of CC-2g: In practice, the number of "failed" transactions in CC-2g was extremely low (less than 0.015%), meaning the overhead of coordination was minimal for standard datasets.
- Adversarial Cases: The authors showed that while CF-2g is usually highly effective, it can be "tricked" by adversarial data orderings (like a Ring Set Cover), where its accuracy drops to 20% of the serial version. In these specific cases, CC-2g is necessary to maintain the 1/2-approximation.
Limitations and Future Work
The performance of these algorithms can be sensitive to the order in which elements are processed. While random permutation helps, more sophisticated partitioning schemes could further improve scalability. Additionally, the current work focuses on multi-core shared memory. Extending this to distributed systems—where communication delays are much higher—remains a challenge. Finally, the authors suggest a future system could "smoothly interpolate" between CF-2g and CC-2g, automatically adjusting the level of coordination based on the observed error or conflict rate.
Summary updated