SearcharxivSearch

arXiv subjects

Dongning Liu

Publications and source records attributed to Dongning Liu.

9 recordsLinked to original sources

Frequency-Aware Continual Learning for Smart Contract Vulnerability Detection with Large Language Models

Smart contract vulnerability detection with Large Language Models (LLMs) faces three causally linked challenges. First, new vulnerability categories demand parameter-efficient adaptation, since full retraining is prohibitive for sequentially arriving tasks. Second, training per-task adapters on a shared backbone causes catastrophic forgetting of previously learned vulnerabilities. Third, the resulting multiplicity of adapters must be consolidated into a single model, since task identity is unknown at inference time. Each challenge arises directly from the solution to its predecessor, making an integrated framework essential. We propose a three-stage pipeline in which each stage addresses one challenge and feeds into the next. The adaptation stage uses Frequency-Aware Low-Rank Adaptation (FA-LoRA), which performs adaptation in the Fourier domain with per-frequency importance gates, requiring only 0.4% trainable parameters while outperforming standard LoRA and QLoRA. The continual learning stage applies Forget-Aware Replay (FAR), which uses these frequency gates to estimate per-sample forgetting risk via loss dynamics and prioritizes vulnerable knowledge for rehearsal, achieving an average Micro-F1 of 0.8022 across sequential tasks. The deployment stage employs Anchor-Protected Progressive Merging (APPM), which exploits the asymmetric generalization produced by FAR training to identify the strongest-generalizing adapter as an anchor and consolidates all adapters into a single model via anchor-protected weighted merging with frequency-domain gate competition. APPM achieves a Micro-F1 of 0.8085, within 2.7% of the independent per-task upper bound, at a merge cost of 156 ms and no additional runtime memory. Experiments on DIVE confirm the framework effectively addresses all three challenges for evolving blockchain ecosystems.

cs.AI

ParaVul: A Parallel Large Language Model and Retrieval-Augmented Framework for Smart Contract Vulnerability Detection

Smart contracts play a significant role in automating blockchain services. Nevertheless, vulnerabilities in smart contracts pose serious threats to blockchain security. Currently, traditional detection methods primarily rely on static analysis and formal verification, which can result in high false-positive rates and poor scalability. Large Language Models (LLMs) have recently made significant progress in smart contract vulnerability detection. However, they still face challenges such as high inference costs and substantial computational overhead. In this paper, we propose ParaVul, a parallel LLM and retrieval-augmented framework to improve the reliability and accuracy of smart contract vulnerability detection. Specifically, we first develop Sparse Low-Rank Adaptation (SLoRA) for LLM fine-tuning. SLoRA introduces sparsification by incorporating a sparse matrix into quantized LoRA-based LLMs, thereby reducing computational overhead and resource requirements while enhancing their ability to understand vulnerability-related issues. We then construct a vulnerability contract dataset and develop a hybrid Retrieval-Augmented Generation (RAG) system that integrates dense retrieval with Best Matching 25 (BM25), assisting in verifying the results generated by the LLM. Furthermore, we propose a meta-learning model to fuse the outputs of the RAG system and the LLM, thereby generating the final detection results. After completing vulnerability detection, we design chain-of-thought prompts to guide LLMs to generate comprehensive vulnerability detection reports. Simulation results demonstrate the superiority of ParaVul, especially in terms of F1 scores, achieving 0.9398 for single-label detection and 0.9330 for multi-label detection.

cs.CR

Chip-to-chip photonic quantum teleportation over optical fibers of 12.3km

Quantum teleportation is a crucial function in quantum networks. The implementation of photonic quantum teleportation could be highly simplified by quantum photonic circuits. To extend chip-to-chip teleportation distance, more effort is needed on both chip design and system implementation. In this work, we demonstrate a chip-to-chip photonic quantum teleportation over optical fibers under the scenario of star-topology quantum network. Time-bin encoded quantum states are used to achieve a long teleportation distance. Three photonic quantum circuits are designed and fabricated on a single chip, each serving specific functions: heralded single-photon generation at the user node, entangled photon pair generation and Bell state measurement at the relay node, and projective measurement of the teleported photons at the central node. The unbalanced Mach-Zehnder interferometers (UMZI) for time-bin encoding in these quantum photonic circuits are optimized to reduce insertion losses and suppress noise photons generated on the chip. Besides, an active feedback system is employed to suppress the impact of fiber length fluctuation between the circuits, achieving a stable quantum interference for the Bell state measurement in the relay node. As the result, a photonic quantum teleportation over optical fibers of 12.3km is achieved based on these quantum photonic circuits, showing the potential of chip integration on the development of quantum networks.

quant-ph

Hyperbolic photonic topological insulators

Topological photonics provides a new degree of freedom to robustly control electromagnetic fields. To date, most of established topological states in photonics have been employed in Euclidean space. Motivated by unique properties of hyperbolic lattices, which are regular tessellations in non-Euclidean space with a constant negative curvature, the boundarydominated hyperbolic topological states have been proposed. However, limited by highly crowded boundary resonators and complicated site couplings, the hyperbolic topological insulator has only been experimentally constructed in electric circuits. How to achieve hyperbolic photonic topological insulators is still an open question. Here, we report the experimental realization of hyperbolic photonic topological insulators using coupled ring resonators on silicon chips. Boundary-dominated one-way edge states with pseudospindependent propagation directions have been observed. Furthermore, the robustness of edge states in hyperbolic photonic topological insulators is also verified. Our findings have potential applications in the field of designing high-efficient topological photonic devices with enhanced boundary responses.

physics.optics

Reconfigurable entanglement distribution network based on pump management of spontaneous four-wave mixing source

Leveraging the unique properties of quantum entanglement, quantum entanglement distribution networks support multiple quantum information applications and are essential to the development of quantum networks. However, its practical implementation poses significant challenges to network scalability and flexibility. In this work, we propose a novel reconfigurable entanglement distribution network based on tunable multi-pump excitation of a spontaneous four-wave mixing (SFWM) source and a time-sharing method. We characterize the two-photon correlation under different pump conditions to demonstrate the effect of pump degenerate and pump non-degenerate SFWM processes on the two-photon correlation, and its tunability. Then as a benchmark application, a 10-user fully-connected quantum key distribution (QKD) network is established in a time-sharing way with triple pump lights. Each user receives one frequency channel thus it shows a linear scaling between the number of frequency channels and the user number in despite of the network topology. Our results thus provide a promising networking scheme for large-scale entanglement distribution networks owing to its scalability, functionality, and reconfigurability.

quant-ph

Super-compact universal quantum logic gates with inversedesigned elements

Integrated quantum photonic circuit is a promising platform for the realization of quantum information processing in the future. To achieve the largescale quantum photonic circuits, the applied quantum logic gates should be as small as possible for the high-density integration on chips. Here, we report the implementation of super-compact universal quantum logic gates on silicon chips by the method of inverse design. In particular, the fabricated controlled-NOT gate and Hadamard gate are both nearly a vacuum wavelength, being the smallest optical quantum gates reported up to now. We further design the quantum circuit by cascading these fundamental gates to perform arbitrary quantum processing, where the corresponding size is about several orders smaller than that of previous quantum photonic circuits. Our study paves the way for the realization of largescale quantum photonic chips with integrated sources, and can possess important applications in the field of quantum information processes.

physics.optics

High-dimensional quantum key distribution using energy-time entanglement over 242 km partially deployed fiber

Entanglement-based quantum key distribution (QKD) is an essential ingredient in quantum communication, owing to the property of source-independent security and the potential on constructing large-scale quantum communication networks. However, implementation of entanglement-based QKD over long-distance optical fiber links is still challenging, especially over deployed fibers. In this work, we report an experimental QKD using energy-time entangled photon pairs that transmit over optical fibers of 242 km (including a section of 19 km deployed fibers). High-quality entanglement distribution is verified by Franson-type interference with raw fringe visibilities of 94.1$\pm$1.9% and %92.4$\pm$5.4% in two non-orthogonal bases. The QKD is realized through the protocol of dispersive-optics QKD. A high-dimensional encoding is applied to utilize coincidence counts more efficiently. Using reliable, high-accuracy time synchronization technology, the system operates continuously for more than 7 days, even without active polarization or phase calibration. We ultimately generate secure keys with secure key rates of 0.22 bps and 0.06 bps in asymptotic and finite-size regime,respectively. This system is compatible with existing telecommunication infrastructures, showing great potential on realizing large-scale quantum communication networks in future.

quant-ph

Controllable Entanglement Distribution Network Based on Silicon Quantum Photonics

The entanglement distribution network connects remote users through sharing entanglement resources, which is essential for realizing quantum internet. We proposed a controllable entanglement distribution network (c-EDN) based on a silicon quantum photonic chip. The entanglement resources were generated by a quantum light source array based on spontaneous four-wave mixing (SFWM) in silicon waveguides and distributed to different users through time-reversed Hong-Ou-Mandel interferences in on-chip Mach-Zehnder interferometers with thermal phase shifters. A chip sample was designed and fabricated, supporting a c-EDN with 3 subnets and 24 users. The network topology of entanglement distributions could be reconfigured in three network states by controlling the quantum interferences through the phase shifters, which was demonstrated experimentally. Furthermore, a reconfigurable entanglement-based QKD network was realized as an application of the c-EDN. The reconfigurable network topology makes the c-EDN suitable for future quantum networks requiring complicated network control and management. Moreover, it is also shows that silicon quantum photonic chips have great potential for large-scale c-EDN, thanks to their capacities on generating and manipulating plenty of entanglement resources.

quant-ph

Generation and dynamical manipulation of polarization entangled Bell states by a silicon quantum photonic circuit

A silicon quantum photonic circuit was proposed and demonstrated as an integrated quantum light source for telecom band polarization entangled Bell state generation and dynamical manipulation. Biphoton states were firstly generated in four silicon waveguides by spontaneous four wave mixing. They were transformed to polarization entangled Bell states through on-chip quantum interference and quantum superposition, and then coupled to optical fibers. The property of polarization entanglement in generated photon pairs was demonstrated by two-photon interferences under two non-orthogonal polarization bases. The output state could be dynamically switched between two polarization entangled Bell states, which was demonstrated by the experiment of simplified Bell state measurement. The experiment results indicate that its manipulation speed supported a modulation rate of several tens kHz, showing its potential on applications of quantum communication and quantum information processing requiring dynamical quantum entangled Bell state control.

quant-ph