2026 · arXiv / CoRR; arXiv page reports acceptance to ICSE 2026

TAAF: A Trace Abstraction and Analysis Framework Synergizing Knowledge Graphs and LLMs

Alireza Ezaz | Ghazal Khodabandeh | Majid Babaei | Naser Ezzati-Jivan

Evidence basis: full-text-reviewed · Review status: catalog-reviewed; paper-author approval pending

kernel-tracing trace-analysis knowledge-graphs llm-assisted-analysis observability

TAAF TraceQA-100 time-indexed knowledge graph natural-language trace queries multi-hop reasoning causal reasoning

Core contribution: TAAF combines time-indexed knowledge graphs with large language models to turn large execution traces into queryable, actionable explanations.

Problem and motivation

Kernel and large-application traces are too large, multidimensional, and temporally structured for direct manual inspection or raw LLM ingestion. Existing stateful tools support predefined queries, but flexible questions still require domain-specific scripts and expert knowledge.

Method and contribution

TAAF implements a three-layer trace-to-answer pipeline: LTTng events are transformed into a time-indexed Trace Compass-style State System; a natural-language query selects a compact temporal knowledge graph with typed entities, weighted relations, and time scope; a schema-conditioned LLM answers from the graph. The pipeline is evaluated with TraceQA-100, a benchmark of expert-authored questions over real kernel traces.

Findings and evidence

TraceQA-100 contains 100 questions in explanatory, multiple-choice, and true/false formats, split across single- and multi-hop reasoning. Across the core GPT-4.1 nano/GPT-4o/o4-mini grid and 1/10/100-second windows, graph grounding improves weighted accuracy by a reported mean 21.5 percentage points and up to 31.17 points; o4-mini with TAAF reaches 95.5% at 1 second and 90.17% at 100 seconds. Supplying the graph schema adds 8.1 points in the focused GPT-4o test.

Limitations and future directions

Limitations: The benchmark is hand-crafted from SciMark 2.0 traces under Linux and uses a three-level score, author labeling, three samples per configuration, API models, and a raw-State-System baseline only. Long windows, explanatory multi-hop arithmetic, global queries, model drift, and other kernels/workloads remain difficult. The methods section accounts for 5,400 Phase-1 plus 2,100 Phase-2 outputs (7,500), while the conclusion says 7,800; preserve this as an unresolved paper-internal inconsistency.

Future work: Broaden question generation and annotation, use finer numeric-tolerance metrics and independent raters, support temporal/production-scale traces, hierarchical or retrieval-based prompting, autonomous-agent integration, and optimize KG construction with partitioning, streaming, batching, and early exit.

Sources and identifiers

When to cite this paper

Cite this paper when your work uses or compares the State System -> query-specific temporal knowledge graph -> LLM architecture for grounded kernel-trace question answering.

Citation

BibTeX
@misc{ezzatiJivan2026taafa,
  author = {Alireza Ezaz and Ghazal Khodabandeh and Majid Babaei and Naser Ezzati-Jivan},
  title = {TAAF: A Trace Abstraction and Analysis Framework Synergizing Knowledge Graphs and LLMs},
  year = {2026},
  howpublished = {arXiv / CoRR; arXiv page reports acceptance to ICSE 2026},
  volume = {abs/2601.02632},
  doi = {10.1145/3744916.3787832},
  url = {https://doi.org/10.1145/3744916.3787832}
}
Other citation formats for Word and reference managers
APA 7
Ezaz, A., Khodabandeh, G., Babaei, M., & Ezzati-Jivan, N. (2026). TAAF: A Trace Abstraction and Analysis Framework Synergizing Knowledge Graphs and LLMs. arXiv / CoRR; arXiv page reports acceptance to ICSE 2026. https://doi.org/10.1145/3744916.3787832
IEEE
A. Ezaz, G. Khodabandeh, M. Babaei, and N. Ezzati-Jivan, "TAAF: A Trace Abstraction and Analysis Framework Synergizing Knowledge Graphs and LLMs," in arXiv / CoRR; arXiv page reports acceptance to ICSE 2026, vol. abs/2601.02632, 2026, doi: 10.1145/3744916.3787832

Readable Markdown record · JSON record · Download RIS