Fraud-Aware Selective CoT Distillation
- The paper introduces a novel fraud-aware selective CoT distillation mechanism that autonomously generates and selects multi-hop reasoning chains to reveal fraud cues in text-attributed graphs.
- The methodology combines semantic and structural cues through an integrated LLM-GNN pipeline, achieving up to +8.8% improvement in AUPRC over leading baseline models.
- The approach employs asymmetric co-training and caching strategies to reduce LLM calls and scale batch sizes efficiently, enabling significant computational speedups.
Fraud-aware selective Chain-of-Thought (CoT) distillation is a targeted mechanism developed to enhance graph-based fraud detection in text-attributed graphs (TAGs) by autonomously generating and selecting diverse, semantically-relevant reasoning paths. Integrated within the FraudCoT framework, it addresses the limitations of predefined prompting and decoupled LLM-GNN training pipelines by aligning semantic and structural cues from textual and relational data. This process involves autonomous LLM generation of multi-hop reasoning chains, their selective distillation based on fraud-relevance and diversity, and their integration into node representations for downstream graph neural network (GNN) classification—enabling state-of-the-art detection performance and scalable end-to-end optimization (Li et al., 30 Jan 2026).
1. Problem Formulation and Notation
Fraud-aware selective CoT distillation operates on a text-attributed graph (TAG) , where is the set of nodes (e.g., reviews, transactions, users), represents binary relations, and comprises raw textual attributes. Each node is assigned a binary fraud label , and denotes the adjacency matrix, with defining the set of neighbors of . The objective is to learn a scoring function approximating for accurate node-level fraud detection (Li et al., 30 Jan 2026).
2. Autonomous Chain-of-Thought Generation
The distillation process begins with teacher LLM-based generation of graph-aware reasoning chains for selected nodes. For each distillation node , a composite prompt is constructed by concatenating its raw text and textual descriptions of its 1-hop or multi-hop neighbors . The teacher LLM receives and samples chain-of-thoughts:
Each is a free-form path that references both local semantic features and relational (neighbor) signals, aiming to uncover multi-hop fraud cues embedded in the graph structure (Li et al., 30 Jan 2026).
3. Selective Distillation: Relevance Scoring and Diversity Enforcement
A fraud-aware CoT scoring function is proposed to select high-value chains:
where is cosine similarity and is a lightweight encoder (e.g., BERT-tiny), balancing semantic relevance and structural alignment. Scores are normalized to across samples.
To ensure that distilled CoTs are both fraud-relevant and diverse, the procedure selects:
- : the top- CoTs with scores ,
- : the bottom- CoTs with scores , retaining only those with pairwise Levenshtein edit distance to enforce diversity.
The student model is distilled by minimizing:
where and are sets of positive and negative chains, and is an unlikelihood loss coefficient. LoRA (Low-Rank Adaptation) adapters with rank –$16$ are employed for efficient parameterization during student finetuning. Empirically, nodes, samples, –3, and are optimal (Li et al., 30 Jan 2026).
4. Integration of Distilled CoTs into GNN Representation
After student finetuning, a distilled CoT is generated for each node as and concatenated with the raw text to yield . This extended textual attribute is processed by an LLM-style encoder to obtain initial node embeddings:
These enriched embeddings encode both direct and multi-hop semantic-structural fraud cues, providing a more informative input for the downstream GNN (Li et al., 30 Jan 2026).
5. Asymmetric LLM–GNN Co-Training and Efficiency
A key component is the asymmetric co-training pipeline. In each batch , only target nodes are freshly encoded:
while neighbor nodes utilize cached embeddings computed once at initialization. Message passing employs heterogeneous GraphSAGE layers:
The total loss is a weighted sum of binary cross-entropy node classification and distillation loss:
Typically, . Only target nodes propagate gradients through , greatly reducing backpropagation cost.
In terms of efficiency, the asymmetric strategy decreases per-epoch LLM calls from (naive) to , with a one-time cache build. Using the DigitalMusic dataset, this yields epoch time reduction from s (naive) to $55$ s (asymmetric), corresponding to a speedup, and permits batch size scaling from $2$ to $256$ (Li et al., 30 Jan 2026).
6. Empirical Evaluation and Baselines
FraudCoT, incorporating fraud-aware selective CoT distillation, is experimentally validated on InstantVideo (37,126 nodes, 9.9M edges), DigitalMusic (64,706 nodes, 7.7M edges), and PromotionAbuse (371K nodes, 1.3M edges). Comparisons are drawn against:
- GNNs: GraphSAGE, HGT, ConsisGAD, PMP, GAAP
- Pure LLMs: Qwen-8B, InstructGLM
- Graph-enhanced LLMs: LLaGA, GraphGPT, HiGPT
- LLM-enhanced GNNs: TAPE, FLAG
Evaluation metrics include Macro-F1, AUROC, and AUPRC (using scikit-learn implementations). FraudCoT achieves up to improvement in AUPRC over the best baseline (PromotionAbuse), with consistent performance gains across all public and industrial dataset splits. Ablation studies confirm that both the selective distillation and asymmetric co-training components are essential for optimal results (Li et al., 30 Jan 2026).
| Dataset | Nodes | Edges | Best AUPRC Gain |
|---|---|---|---|
| InstantVideo | 37,126 | 9.9M | up to +8.8% |
| DigitalMusic | 64,706 | 7.7M | up to +8.8% |
| PromotionAbuse | 371,000 | 1.3M | up to +8.8% |
7. Implementation Strategies and Practical Considerations
Implementation guidelines include:
- Use LoRA adapters with rank –$16$.
- Set unlikelihood loss .
- Sample neighbors, with hop number .
- Cache node embeddings on CPU or host memory to minimize GPU LLM calls.
- Apply early stopping based on validation AUROC; batch sizes $128$–$256$ provide optimal throughput.
- Precompute all text encodings for CoT scoring to accelerate distillation selection.
A plausible implication is that this design allows practitioners to scale LLM-enhanced GNNs to industrial TAGs with both superior predictive performance and orders-of-magnitude throughput improvements, without requiring expensive end-to-end LLM inference on all neighbors during training (Li et al., 30 Jan 2026).