mlsanityData to 14 Oct 2026

SpecMap: Hierarchical LLM Agent for Datasheet-to-Code Traceability Link Recovery in Systems Engineering

arXiv 2601.11688 ↗First posted 16 Jan 2026cs.SE cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Establishing precise traceability between embedded systems datasheets and their corresponding code implementations remains a fundamental challenge in systems engineering, particularly for low-level software where manual mapping between specification documents and large code repositories is infeasible. Existing Traceability Link Recovery approaches primarily rely on lexical similarity and information retrieval techniques, which struggle to capture the semantic, structural, and symbol level relationships prevalent in embedded systems software. We present a hierarchical datasheet-to-code mapping methodology that employs large language models for semantic analysis while explicitly structuring the traceability process across multiple abstraction levels. Rather than performing direct specification-to-code matching, the proposed approach progressively narrows the search space through repository-level structure inference, file-level relevance estimation, and fine-grained symbollevel alignment. The method extends beyond function-centric mapping by explicitly covering macros, structs, constants, configuration parameters, and register definitions commonly found in systems-level C/C++ codebases. We evaluate the approach on multiple open-source embedded systems repositories using manually curated datasheet-to-code ground truth. Experimental results show substantial improvements over traditional information-retrieval-based baselines, achieving up to 73.3% file mapping accuracy. We significantly reduce computational overhead, lowering total LLM token consumption by 84% and end-to-end runtime by approximately 80%. This methodology supports automated analysis of large embedded software systems and enables downstream applications such as training data generation for systems-aware machine learning models, standards compliance verification, and large-scale specification coverage analysis.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 6 of its 16 references that are in the map. First posted on arXiv 16 Jan 2026.

Builds on

6 of 16 references.

References · 6

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  2. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
  3. 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,796
  4. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  5. 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,253
  6. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026An Approach for Embedding-Guided Function Reuse Detection in Embedded C Software ↗
  2. 2026Tool-Guided Retrieval-Augmented Repair for Securing LLM-Generated C Code
  3. 2026Beyond Vector Similarity: Hierarchical Context-Aware Graph RAG vs Standard RAG in Enterprise Code Migration
  4. 2026Repository Intelligence Graph: Deterministic Architectural Map for LLM Code Assistants
  5. 2025Enhancing LLM-based Fault Localization with a Functionality-Aware Retrieval-Augmented Generation Framework ↗
  6. 2026Reasoning from Traces: Divergence-Guided Agentic Repair of WebAssembly Discrepancies
  7. 2026OwlPath: Lossless Knowledge Compression for LLM Bug Repair
  8. 2025VeriRAG: A Retrieval-Augmented Framework for Automated RTL Testability Repair