Search arXiv⌕ Search

arXiv subjects

Huiheng Li

Publications and source records attributed to Huiheng Li.

2 recordsLinked to original sources

Prior Shift in Disguise: Rethinking the Evaluation of Data Augmentation for Rare-Attack Network Intrusion Detection

Rare attack classes such as web injections, backdoors and worms are the hardest for flow-based network intrusion detectors and have the fewest labelled flows, which has made synthetic training data, most recently from large language models (LLMs), a popular remedy. We show that much of its reported benefit can be produced by the evaluation itself. On CSE-CIC-IDS2018, NF-UNSW-NB15-v3 and CIC-IDS2017, 13-44% of test flows are copies of training flows unless duplicates are removed, results vary 3 to 13 times more across train/test splits than across training seeds, and on one dataset the entire gain of oversampling is reproduced by shifting the decision threshold of an unaugmented detector. We therefore evaluate augmentation under a protocol with de-duplication, repeated splits, reweighting baselines and a threshold-only baseline, covering 13 rare classes, four tree-ensemble detectors and sources from SMOTE and generic tabular generators to fine-tuned LLMs from two model families. The fine-tuned LLMs generate flows that a classifier can barely distinguish from real ones, yet no generator is consistently better than class weighting or random oversampling; augmentation does not improve PR-AUC and increases benign false positives. A controlled experiment shows that the gains come from a shift of the decision boundary whose benefit depends on the attack prior of the test data. Detection is limited by class overlap, which persists with the full flow features and on an industrial network, and richer features help more than any augmentation. We derive an evaluation checklist for researchers and a decision procedure for operators.

cs.CR↗

Balancing Privacy and Compliance in DeFi: A Zero-Knowledge-Based Auditable Cross-Chain Framework

The rapid emergence of decentralized finance (DeFi) has introduced complex challenges for cross-chain transactions, which involve transferring assets across disparate blockchain networks. A fundamental dilemma arises between user privacy and ensuring regulatory compliance. Unlike single-chain systems, cross-chain environments must address privacy and auditability across heterogeneous architectures. Existing approaches,ranging from transparent ledgers to anonymous cryptocurrencies, fail to reconcile these two requirements, hindering regulatory adoption. This research presents an auditable cross-chain framework that integrates three core components. First, zero-knowledge proofs (ZKPs) enable compliance verification (e.g., amount non-negativity, signature validity) without revealing transaction details. Second, a light-client mechanism enables trust-minimized cross-chain verification without dependence on third-party relayers. Third, a threshold view-key mechanism based on distributed key generation (DKG) restricts that audit access to authorized entities under legal triggers such as the FATF Travel Rule and MiCA Regulation. For cross-border investigations, the framework adheres to national laws and the EU Directive on Mutual Legal Assistance. This work systematically integrates ZKPs, threshold cryptography, and light-client verification into an auditable, privacy-preserving cross-chain protocol, and evaluates a prototype on the Ethereum Sepolia testnet. The results demonstrate the practical feasibility of privacy-preserving compliance verification for cross-chain DeFi. At the same time, broader interoperability and Regulatory Technology (RegTech) impact require further validation on additional chains and with real regulatory workflows.

cs.CR↗