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 0 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 1, a composite prompt 2 is constructed by concatenating its raw text 3 and textual descriptions of its 1-hop or multi-hop neighbors 4. The teacher LLM 5 receives 6 and samples 7 chain-of-thoughts:
8
Each 9 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 0 is proposed to select high-value chains:
1
where 2 is cosine similarity and 3 is a lightweight encoder (e.g., BERT-tiny), balancing semantic relevance and structural alignment. Scores are normalized to 4 across samples.
To ensure that distilled CoTs are both fraud-relevant and diverse, the procedure selects:
- 5: the top-6 CoTs with scores 7,
- 8: the bottom-9 CoTs with scores 0, retaining only those with pairwise Levenshtein edit distance 1 to enforce diversity.
The student model 2 is distilled by minimizing:
3
where 4 and 5 are sets of positive and negative chains, and 6 is an unlikelihood loss coefficient. LoRA (Low-Rank Adaptation) adapters with rank 7–8 are employed for efficient parameterization during student finetuning. Empirically, 9 nodes, 0 samples, 1–3, and 2 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 3 as 4 and concatenated with the raw text to yield 5. This extended textual attribute is processed by an LLM-style encoder 6 to obtain initial node embeddings:
7
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 8, only target nodes 9 are freshly encoded:
0
while neighbor nodes 1 utilize cached embeddings 2 computed once at initialization. Message passing employs 3 heterogeneous GraphSAGE layers:
4
The total loss is a weighted sum of binary cross-entropy node classification and distillation loss:
5
Typically, 6. Only target nodes propagate gradients through 7, greatly reducing backpropagation cost.
In terms of efficiency, the asymmetric strategy decreases per-epoch LLM calls from 8 (naive) to 9, with a one-time 0 cache build. Using the DigitalMusic dataset, this yields epoch time reduction from 1 s (naive) to 2 s (asymmetric), corresponding to a 3 speedup, and permits batch size scaling from 4 to 5 (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 6 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 7–8.
- Set unlikelihood loss 9.
- Sample 0 neighbors, with hop number 1.
- Cache node embeddings on CPU or host memory to minimize GPU LLM calls.
- Apply early stopping based on validation AUROC; batch sizes 2–3 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).