TAAF: A Trace Abstraction and Analysis Framework Synergizing Knowledge Graphs and LLMs
Not on the map. Why?
Abstract (arXiv)
Execution traces are a critical source of information for understanding, debugging, and optimizing complex software systems. However, traces from OS kernels or large-scale applications like Chrome or MySQL are massive and difficult to analyze. Existing tools rely on predefined analyses, and custom insights often require writing domain-specific scripts, which is an error-prone and time-consuming task. This paper introduces TAAF (Trace Abstraction and Analysis Framework), a novel approach that combines time-indexing, knowledge graphs (KGs), and large language models (LLMs) to transform raw trace data into actionable insights. TAAF constructs a time-indexed KG from trace events to capture relationships among entities such as threads, CPUs, and system resources. An LLM then interprets query-specific subgraphs to answer natural-language questions, reducing the need for manual inspection and deep system expertise. To evaluate TAAF, we introduce TraceQA-100, a benchmark of 100 questions grounded in real kernel traces. Experiments across three LLMs and multiple temporal settings show that TAAF improves answer accuracy by up to 31.2%, particularly in multi-hop and causal reasoning tasks. We further analyze where graph-grounded reasoning helps and where limitations remain, offering a foundation for next-generation trace analysis tools.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 15 of its 36 references that are in the map. First posted on arXiv 6 Jan 2026.
Builds on
15 of 36 references.
References · 15
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2022Survey of Hallucination in Natural Language Generationcited by 2,056
- 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 786
- 2023Unifying Large Language Models and Knowledge Graphs: A Roadmapcited by 663
- 2019ERNIE: Enhanced Language Representation with Informative Entitiescited by 525
- 2021QA-GNN: Reasoning with Language Models and Knowledge Graphs for Question Answeringcited by 386
- 2020LUKE: Deep Contextualized Entity Representations with Entity-aware Self-attentioncited by 326
- 2020K-Adapter: Infusing Knowledge into Pre-Trained Models with Adapterscited by 318
- 2022Pretrained Language Models for Text Generation: A Surveycited by 121
- 2022A Survey of Knowledge Graph Reasoning on Graph Types: Static, Dynamic, and Multimodalcited by 106
3 more
- 2023Knowledge Solver: Teaching LLMs to Search for Domain Knowledge from Knowledge Graphscited by 35
- 2025ReliableEval: A Recipe for Stochastic LLM Evaluation via Method of Momentscited by 10
- 2023Node Compass: Multilevel Tracing and Debugging of Request Executions in JavaScript-Based Web-Serverscited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025Do Code Semantics Help? A Comprehensive Study on Execution Trace-Based Information for Code Large Language Models
- 2026BatchDAG: LLM-Planned Execution Graphs for Scalable Ad-Hoc Analysis Over Enterprise Data
- 2025Towards Effectively Leveraging Execution Traces for Program Repair with Code LLMs
- 2025CoRe: Benchmarking LLMs Code Reasoning Capabilities through Static Analysis Tasks
- 2026An Execution-Verified Multi-Language Benchmark for Code Semantic Reasoning
- 2024LLMDFA: Analyzing Dataflow in Code with Large Language Models
- 2025AIRepr: An Analyst-Inspector Framework for Evaluating Reproducibility of LLMs in Data Science
- 2025Chain of Execution Supervision Promotes General Reasoning in Large Language Models