Abstract
Transformer-based language models are widely used for text classification, but producing explanations suitable for deployment—e.g., for verification/validation, auditing, and failure diagnosis—can be computationally expensive and often yields token-level rationales that are difficult to interpret semantically. This paper proposes a methodology that converts sentences into constituency-based graphs and distills a fine-tuned language model into a lightweight graph neural network (GNN), enabling phrase-structured expla-nations grounded in linguistic constituents. Explanations are extracted with a post-hoc connected-subgraph method (SubgraphX) whose hyperparameters are optimized with multi-objective search (AutoGOAL) to obtain sparse subgraphs with high confidence scores. On AG News and SST-2, the GNN surrogate achieves F1 scores of 0.93 and 0.85, and the explanation optimization score reaches 0.87 and 0.79, respectively. The resultingsemantic and structural analyses support actionable diagnostics by highlighting critical phrases in correct predictions and recurring patterns in misclassifications, enabling model debugging with reduced computational overhead.