{"slug": "darpa-case-study-up-to-100x-faster-sparse-arrays-openteams", "title": "DARPA Case Study: Up to 100x Faster Sparse Arrays | OpenTeams", "summary": "Under DARPA contract HR001123C0139, OpenTeams and Quansight, working with MIT, integrated PyData/Sparse with the Tensor Algebra Compiler (TACO) and the Finch framework, demonstrating a 100x speedup on sparse array benchmarks while changing fewer than 5% of lines of code. The project adopted TACO's concrete index notation, iteration graphs and merge lattices to optimize sparse loop kernels, and enabled JIT compilation via Julia/LLVM and MLIR to target x86-64, ARM, PowerPC and CUDA GPUs. The work aims to make sparse data processing in Python as accessible and performant as dense processing across NumPy, SciPy and scikit-learn APIs.", "body_md": "Most world data is stored in multi-dimensional arrays or tensors, much of which is inherently sparse. Traditional Python processing either treats sparse data as dense, incurring high computational overhead, or forces complex format transformations. Under DARPA contract HR001123C0139, OpenTeams and Quansight partnered with MIT to integrate PyData/Sparse with the Tensor Algebra Compiler (TACO) and Finch framework. The project successfully demonstrated a **100x speedup** on sparse array benchmarks, while requiring **<5% lines of code changed.**\n\nLines of code changed\n\nThe primary objective was to make sparse data processing in Python as accessible, performant, and device-agnostic as dense processing across standard APIs (NumPy, SciPy, scikit-learn). Key pillars included:\n\nAdopted TACO’s concrete index notation, iteration graphs, and merge lattices to optimize sparse loop kernels.\n\nEnabled JIT compilation via Julia/LLVM and MLIR to target multiple architectures (x86-64, ARM, PowerPC, CUDA GPUs).\n\n01\n\n02\n\n03\n\nfor sampled matrix multiplication ((A @ B) * C)\n\nfor matrix multiplication\n\nBenchmarks, deep dives, and lessons from OpenTeams. Get the OpenTeams newsletter once a month, or follow the feed.\n\nBy subscribing, you agree to get the OpenTeams newsletter. Unsubscribe anytime. [Privacy policy](https://openteams.com/privacy-policy/)\n\nWe build and maintain the open source tools your team already uses, and we can tune them for your workloads.\n\nWe use cookies to improve your experience on this website. You may choose which types of cookies to allow and change your preferences at any time. Disabling cookies may impact your experience on this website. You can learn more by viewing our Cookie Policy.", "url": "https://wpnews.pro/news/darpa-case-study-up-to-100x-faster-sparse-arrays-openteams", "canonical_source": "https://openteams.com/accelerating-scientific-computing-for-darpa-via-pydata-sparse-and-taco-integration/", "published_at": "2026-11-05 15:04:52+00:00", "updated_at": "2026-12-03 18:47:40.200484+00:00", "lang": "en", "topics": ["artificial-intelligence", "machine-learning", "ai-research", "developer-tools", "ai-infrastructure"], "entities": ["DARPA", "OpenTeams", "Quansight", "MIT", "PyData/Sparse", "Tensor Algebra Compiler (TACO)", "Finch", "NumPy"], "also_reported_by": [], "takeaway": "Integrating PyData/Sparse with TACO and Finch delivered a 100x speedup on sparse array benchmarks with under 5% of lines of code changed, using TACO's concrete index notation and JIT compilation via Julia/LLVM and MLIR across x86-64, ARM, PowerPC and CUDA GPUs.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/darpa-case-study-up-to-100x-faster-sparse-arrays-openteams", "markdown": "https://wpnews.pro/news/darpa-case-study-up-to-100x-faster-sparse-arrays-openteams.md", "text": "https://wpnews.pro/news/darpa-case-study-up-to-100x-faster-sparse-arrays-openteams.txt", "jsonld": "https://wpnews.pro/news/darpa-case-study-up-to-100x-faster-sparse-arrays-openteams.jsonld"}}