Queryable Microarchitecture Knowledge Base using Retrieval-Augmented Generation
Microarchitecture documentation, such as datasheets and user manuals, is indispensable for embedded software development. However, the extensive volume and complexity of these documents render information retrieval a time- and effort-intensive task. To address this challenge, we propose a framework for constructing a queryable knowledge base on microarchitecture documentation, leveraging Retrieval-Augmented Generation (RAG) and Large Language Models (LLMs). As a proof of concept, we implement a knowledge base on AURIX TriCore TC27x documentation and evaluate this knowledge base by querying it with a curated set of questions. The generated responses are evaluated by measuring their semantic similarity to reference answers. In our evaluation, we assess the performance of six LLMs with different model architectures and sizes. The results show that the smaller models (with 8 billion and 3 billion parameters) achieve similarity scores comparable to those of the larger model (with 72 billion parameters). These initial findings demonstrate the robustness of our framework for creating queryable knowledge bases and the potential of smaller LLMs for efficient information retrieval in this context
Authors
- Tobias Scheipel (ORCID: https://orcid.org/0000-0003-0691-6119)
- Jesús Pestana (ORCID: https://orcid.org/0000-0002-0093-3092)
- Marcel Baunach (ORCID: https://orcid.org/0000-0002-3716-2682)
- Vignesh Manjunath (ORCID: https://orcid.org/0000-0002-5580-348X)
Institutions
- Graz University of Technology (AT)
- Procomcure Biotech (Austria) (AT)
Publication Details
- Journal
- WiPiEC Journal - Works in Progress in Embedded Computing Journal
- Published
- 2025-09-02
- DOI
- https://doi.org/10.64552/wipiec.v11i1.95
- Primary Topic
- Software Engineering Research
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- TU Graz, Internationale Beziehungen und Mobilitätsprogramme