AI-RAN distributes network control across multiple autonomous agents, namely xApps and rApps operating over shared radio resources. When an alert or degradation appears, operators currently lack a structured way to trace which decision caused it, what context triggered that decision, and how other agents interacted. Existing explainability tools focus on single-model feature attribution or linear event logging, neither of which captures cross-agent decision chains. We propose the Context Graph, a heterogeneous directed graph that organizes policies, measurements, decisions, and alerts into a queryable explanation layer. Its foundational primitive is the Decision-Event node acting as a causal junction, where incoming edges capture triggering context and outgoing edges track downstream consequences that are progressively upgraded through counterfactual verification. Instantiated over existing E2, A1, and O1 data flows, our proof-of-concept demonstrates that compliance and diagnosis queries are resolved at sub-millisecond latency over graphs of tens of thousands of nodes, while reliably distinguishing true causal impacts from spurious correlations.
Figures & tables
Fig. 1: Three-layer architecture of the Context Graph in AI-RAN. E2 streams enter through the Context-Logger xApp in the Near-RT RIC for sub-second timestamping. A1 policies and O1 VES events are ingested at the Non-RT RIC and SMO. All streams converge in the Context Graph Engine, which assembles nodes and edges, runs counterfactual inference, and serves queries.
Fig. 2: Graph structure of the Context Graph, centered on the Decision-Event node as a causal junction. Incoming edges (left) capture the triggering context; outgoing edges (right) capture verified consequences. For clarity, only the upgraded causes edge is shown. Before counterfactual verification, it exists as a candidate_effect edge.
Type
Description
Source
KPM-Snapshot
Measurement snapshot of a cell
E2SM-KPM report
Policy
Operator intent or SLA constraint
A1 interface
Slice
Network slice
A1 policy
Alert-Event
SLA violation or anomaly alert
VES over O1
Cell
Cell entity
Topology configuration
Agent
xApp or rApp instance
Agent identifier in messages, and RIC platform records
TABLE I: Context Graph Node Types
Type
Meaning
Relation Class
temporal
A occurs before B
Temporal
manages
Agent governs a cell or slice
Entity
executes
Agent performs a decision
Entity
observes
Cell or slice produces a KPM report
Entity
triggers
Policy or KPM context triggers a decision
Semantic
correlates
KPM changes are associated within the same analysis window
Semantic
TABLE II: Context Graph Edge Types
Fig. 3: Explanatory subgraph for the walkthrough chain. Incoming edges to each Decision-Event node capture the policy and KPM snapshot that triggered the decision, while the highlighted causal edges capture its counterfactually verified consequences. Policy identifiers use a version counter, while KPM, decision, and alert identifiers encode cell index and event time. Agent, cell, and slice entity nodes are omitted to focus on the event-level explanation path.
Config
Nodes
Edges
Assembly (s)
Candidate (s)
Annotation (s)
Compliance (ms)
Diagnosis (ms)
6 cells, 5 min
1,944
4,162
0.029
0.0062
0.018
0.0051
0.0053
12 cells, 5 min
3,820
8,216
0.053
0.010
0.080
0.0049
0.0055
24 cells, 5 min
7,666
16,702
0.11
0.023
0.50
0.0049
0.0054
12 cells, 30 min
22,883
48,723
0.33
0.053
0.40
0.0049
0.0052
24 cells, 30 min
45,267
96,002
0.76
0.11
2.0
0.0048
0.0052
TABLE III: Graph Size, Time of Each Stage, and Query Latency Across Configurations
Xijun Wang ([email protected]) received the B.S. degree from Xidian University, China, in 2005, and the Ph.D. degree from Tsinghua University, China, in 2012. Currently, he is an Associate Professor at Sun Yat-sen University, China.
Table 7
Zhaoyang Liu ([email protected]) received the B.E. degree from Sun Yat-sen University, China, in 2022, where he is currently pursuing the Ph.D. degree.
Table 8
Xiang Chen ([email protected]) received the B.E. and Ph.D. degrees from Tsinghua University in 2002 and 2008, respectively. Currently, he is a Full Professor at Sun Yat-sen University, China.
Table 9
Howard H. Yang ([email protected]) received the Ph.D. degree from Singapore University of Technology and Design in 2017. Currently, he is an assistant professor at Zhejiang University, China.
Table 10
Chenyuan Feng ([email protected]) received the Ph.D. degree from Singapore University of Technology and Design in 2021. Currently, she is a researcher at University of Exeter, U.K and a Marie Skłodowska-Curie Scholar.