# Data-Driven Dynamic Algorithm Dispatch with Large Language Models

arXiv: https://arxiv.org/abs/2608.21584 · HTML: https://mlsanity.com/paper/2608.21584/

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Builds on 0 of its 4 references that are in the map.
- First posted on arXiv 21 Aug 2026.

## Abstract (arXiv)

We introduce a large language model (LLM)-driven approach for generating dynamic algorithmic dispatch heuristics in high-performance linear algebra. By combining prompt engineering with LLaMA 3 and a curated performance database, the model learns to synthesize selection heuristics that exploit structural patterns to identify fast algorithmic choices. A case study on LU factorization demonstrates the model's ability to replicate expert-designed strategies. This work, developed as part of the DARPA-MIT SmartSolve project, highlights the promise of LLMs for algorithmic discovery and the development of more adaptive, fast linear algebra software.
