Search arXiv⌕ Search

arXiv subjects

Yumeng Cao

Publications and source records attributed to Yumeng Cao.

4 recordsLinked to original sources

TriSpark: A Sparse Ternary Spiking Transformer with Event-Driven Acceleration on Edge FPGAs

Spiking Transformers have shown strong potential for image classification, but their deployment on resource-constrained edge devices remains difficult due to the limited representation capability of binary spikes and the high computational cost of attention and projection layers. In this work, we present TriSpark, a sparse ternary Spiking Transformer framework for FPGA edge platforms. TriSpark introduces ternary spikes into the Q/K/V branches to preserve positive and negative responses, while block-wise learnable scaling is employed to adjust the magnitude of attention outputs. RIA-guided 8:16 semi-structured weight pruning is further applied to the Q/K/V and MLP projection layers to reduce redundant computation and storage overhead while retaining important weights and preserving classification accuracy. TriSpark adopts an ExSpikeinspired event-driven architecture with nonzero event detection, 8:16 sparsity, and an attention core supporting positive and negative spike computation to translate spike and weight sparsity into practical hardware acceleration. Experimental evaluation demonstrates that TriSpark preserves classification accuracy while turning spike and weight sparsity into measured speed and energy gains. On a PYNQ-Z2 FPGA, TriSpark reaches an areanormalised energy efficiency of 10.32 GOPS/W/kLUTs, which is 1.46x and 2.8x higher than ExSpike and FireFly-T, and RIA 8:16 lowers its energy per image by 25% over dense weights.

cs.AR↗

ESL-former: Event Sparse Linear Transformer for FPGA-Accelerated Malware Detection

Transformer based intrusion detection has shown strong potential for identifying unknown malware variants, but its deployment on resource constrained edge devices remains difficult due to the high computational and memory cost of self attention. This paper presents an event sparse Linear Transformer framework for malware detection on FPGA edge platforms. Instead of relying on an explicit attention matrix, the proposed method derives token and channel importance directly from the accumulated key value state of Linear Transformer. A contribution aware scoring function is introduced to measure the perturbation of each token or kernel channel to the linear attention state, allowing redundant tokens and low contribution channels to be removed without constructing quadratic attention maps. To translate sparsity into practical hardware acceleration, the proposed design further replaces conventional binary mask based execution with a Top K active token buffer and a hardware compaction unit. The selected active tokens and channels are reorganized into dense fixed length data streams, enabling downstream processing elements to execute regular multiply accumulate operations with reduced redundant memory access and control overhead. This design is suitable for low power FPGA based malware detection, where both latency and on chip resource usage are critical. Experimental evaluation demonstrates that the proposed sparse Linear Transformer can reduce hardware cost while preserving malware classification accuracy.

cs.AR↗

Pedestrian Wind Factor Estimation in Complex Urban Environments

Urban planners and policy makers face the challenge of creating livable and enjoyable cities for larger populations in much denser urban conditions. While the urban microclimate holds a key role in defining the quality of urban spaces today and in the future, the integration of wind microclimate assessment in early urban design and planning processes remains a challenge due to the complexity and high computational expense of computational fluid dynamics (CFD) simulations. This work develops a data-driven workflow for real-time pedestrian wind comfort estimation in complex urban environments which may enable designers, policy makers and city residents to make informed decisions about mobility, health, and energy choices. We use a conditional generative adversarial network (cGAN) architecture to reduce the computational computation while maintaining high confidence levels and interpretability, adequate representation of urban complexity, and suitability for pedestrian comfort estimation. We demonstrate high quality wind field approximations while reducing computation time from days to seconds.

cs.LG↗

Image2Lego: Customized LEGO Set Generation from Images

Although LEGO sets have entertained generations of children and adults, the challenge of designing customized builds matching the complexity of real-world or imagined scenes remains too great for the average enthusiast. In order to make this feat possible, we implement a system that generates a LEGO brick model from 2D images. We design a novel solution to this problem that uses an octree-structured autoencoder trained on 3D voxelized models to obtain a feasible latent representation for model reconstruction, and a separate network trained to predict this latent representation from 2D images. LEGO models are obtained by algorithmic conversion of the 3D voxelized model to bricks. We demonstrate first-of-its-kind conversion of photographs to 3D LEGO models. An octree architecture enables the flexibility to produce multiple resolutions to best fit a user's creative vision or design needs. In order to demonstrate the broad applicability of our system, we generate step-by-step building instructions and animations for LEGO models of objects and human faces. Finally, we test these automatically generated LEGO sets by constructing physical builds using real LEGO bricks.

cs.CV↗