mlsanityData to 7 Oct 2026

AI Assistants to Enhance and Exploit the PETSc Knowledge Base

arXiv 2506.20608 ↗First posted 25 Jun 2025cs.AI cs.NA math.NAcited by 1

Not on the map. Why?

Abstract (arXiv)

Generative AI, especially through large language models (LLMs), is transforming how technical knowledge can be accessed, reused, and extended. PETSc, a widely used numerical library for high-performance scientific computing, has accumulated a rich but fragmented knowledge base over its three decades of development, spanning source code, documentation, mailing lists, GitLab issues, Discord conversations, technical papers, and more. Much of this knowledge remains informal and inaccessible to users and new developers. To activate and utilize this knowledge base more effectively, the PETSc team has begun building an LLM-powered system that combines PETSc content with custom LLM tools -- including retrieval-augmented generation (RAG), reranking algorithms, and chatbots -- to assist users, support developers, and propose updates to formal documentation. This paper presents initial experiences designing and evaluating these tools, focusing on system architecture, using RAG and reranking for PETSc-specific information, evaluation methodologies for various LLMs and embedding models, and user interface design. Leveraging the Argonne Leadership Computing Facility resources, we analyze how LLM responses can enhance the development and use of numerical software, with an initial focus on scalable Krylov solvers. Our goal is to establish an extensible framework for knowledge-centered AI in scientific software, enabling scalable support, enriched documentation, and enhanced workflows for research and development. We conclude by outlining directions for expanding this system into a robust, evolving platform that advances software ecosystems to accelerate scientific discovery.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 10 of its 31 references that are in the map. First posted on arXiv 25 Jun 2025.

Builds on

10 of 31 references.

References · 10

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  2. 2025Agent Laboratory: Using LLM Agents as Research Assistantscited by 405
  3. 2023LLaMA-Reviewer: Advancing Code Review Automation with Large Language Models through Parameter-Efficient Fine-Tuningcited by 47
  4. 2023Comparing Llama-2 and GPT-3 LLMs for HPC kernels generationcited by 30
  5. 2023LM4HPC: Towards Effective Language Model Application in High-Performance Computingcited by 18
  6. 2024OMPGPT: A Generative Pre-trained Transformer Model for OpenMPcited by 16
  7. 2023LLM4VV: Developing LLM-Driven Testsuite for Compiler Validationcited by 15
  8. 2021The PetscSF Scalable Communication Layercited by 3
  9. 2022The PETSc Community Is the Infrastructurecited by 1
  10. 2024PETSc/TAO Developments for GPU-Based Early Exascale Systemscited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Models
  2. 2023Getting from Generative AI to Trustworthy AI: What LLMs might learn from Cyc
  3. 2023A Study on the Implementation of Generative AI Services Using an Enterprise Data-Based LLM Application Architecture
  4. 2024Developing Retrieval Augmented Generation (RAG) based LLM Systems from PDFs: An Experience Report
  5. 2025From Struggle (06-2024) to Mastery (02-2025) LLMs Conquer Advanced Algorithm Exams and Pave the Way for Editorial Generation
  6. 2024Comparing the Utility, Preference, and Performance of Course Material Search Functionality and Retrieval-Augmented Generation Large Language Model (RAG-LLM) AI Chatbots in Information-Seeking Tasks
  7. 2024Evaluating the Impact of Advanced LLM Techniques on AI-Lecture Tutors for a Robotics Course
  8. 2024LLM as HPC Expert: Extending RAG Architecture for HPC Data