Skip to main content
QUICK REVIEW

[Paper Review] Lighthouse: A User-Centered Web Service for Linear Algebra Software

Boyana Norris, Sa-Lin Bernstein|arXiv (Cornell University)|Aug 6, 2014
Parallel Computing and Optimization TechniquesComputer Science16 references3 citations
TL;DR

Lighthouse is a user-centered web service that uses machine learning and a structured taxonomy to recommend optimal high-performance linear algebra software (LAPACK, PETSc, SLEPc) for scientific applications. It enables automated code generation and tuning by classifying solver performance based on problem features, achieving 86.39% accuracy in predicting the best eigensolvers via decision trees.

ABSTRACT

Various fields of science and engineering rely on linear algebra for large scale data analysis, modeling and simulation, machine learning, and other applied problems. Linear algebra computations often dominate the execution time of such applications. Meanwhile, experts in these domains typically lack the training or time required to develop efficient, high-performance implementations of linear algebra algorithms. In the Lighthouse project, we enable developers with varied backgrounds to readily discover and effectively apply the best available numerical software for their problems. We have developed a search-based expert system that combines expert knowledge, machine learningbased classification of existing numerical software collections, and automated code generation and optimization. Lighthouse provides a novel software engineering environment aimed at maximizing both developer productivity and application performance for dense and sparse linear algebra computations.

Motivation & Objective

  • To address the challenge of selecting optimal high-performance linear algebra libraries for scientific applications, which requires expertise in numerical analysis and HPC.
  • To reduce the time and expertise required to implement efficient linear algebra computations by providing a user-friendly, searchable interface to numerical software.
  • To integrate machine learning with software engineering to automate the recommendation of optimal solvers based on problem characteristics.
  • To support both dense and sparse linear algebra computations through code generation and autotuning for improved application performance.
  • To extend the utility of existing numerical software collections (LAPACK, PETSc, SLEPc) by enabling intelligent, guided discovery and deployment.

Proposed method

  • Construction of a comprehensive software taxonomy covering LAPACK, PETSc, and SLEPc, organizing solvers by functionality, matrix type, and performance characteristics.
  • Application of machine learning via decision tree induction on 29,000 performance data points to classify and predict the best-performing eigensolvers for given input conditions.
  • Conversion of trained decision trees into a MySQL database for real-time query-based solver recommendations in the Lighthouse interface.
  • Implementation of a guided search interface that queries users on problem-specific features (e.g., matrix size, type, desired eigenvalue spectrum) to retrieve optimal solvers.
  • Integration of code generation and autotuning via the BTO compiler to produce optimized, fused linear algebra operations from high-level MATLAB-like descriptions.
  • Use of 10-fold cross-validation to evaluate and validate the accuracy of solver recommendations, achieving 86.39% prediction accuracy for the best-performing eigensolvers.

Experimental results

Research questions

  • RQ1How can a taxonomy-based system improve the discoverability and usability of high-performance linear algebra software for non-expert users?
  • RQ2What machine learning approach enables accurate prediction of the most performant linear algebra solver for a given problem configuration?
  • RQ3To what extent can automated code generation and tuning improve developer productivity and application performance in HPC workloads?
  • RQ4How can a guided, interactive interface effectively map user input to optimal solver selection across diverse linear algebra problems?
  • RQ5Can a unified framework integrate and recommend from multiple numerical software libraries (LAPACK, PETSc, SLEPc) with consistent performance and usability?

Key findings

  • The machine learning model achieved 86.39% average accuracy in predicting the best-performing eigensolver across 10-fold cross-validation, demonstrating strong generalization to unseen problem configurations.
  • The decision tree classifier successfully identified the fastest eigensolver for each problem instance, with additional recommendations for solvers within 110% of the best performance to provide users with high-quality alternatives.
  • The Lighthouse system enables automated code template generation and autotuned code production from high-level problem descriptions, significantly reducing manual implementation effort.
  • The integration of the decision tree into a MySQL database allows efficient, scalable retrieval of recommended solvers based on user-specified problem features.
  • The guided search interface effectively translates user inputs into optimal solver recommendations, improving accessibility for non-expert developers.
  • The framework supports both dense and sparse linear algebra computations and is extensible to include additional functionalities such as dense eigensolvers and orthogonal factorizations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.