XNXuan Truong Nguyen

Xuan Truong Nguyen

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Xuan Truong Nguyen has a total of 49 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    vTen: Tensor-Centric Verification Framework for Domain-Specific Accelerators

    by Chanmin Baek, Keehyuk Lee, Mincheol Cha, Somi Hong, Xuan Truong Nguyen, Hyuk-Jae Lee

  • Open Access

    UDP: Up-or-Down Precision Quantization for Large Language Models via Evolutionary Search

    by Anh-Tuan Mai, Tien-Son Pham, Xuan Truong Nguyen, Thanh-Tuan Dao

    Large language models (LLMs) have shown outstanding capabilities across complex language tasks, but come with massive computational cost and memory footprint. LLM post-training quantizers such as AWQ, SmoothQuant, and QoQ have demonstrated excellent performance under specific configurations, for example, W4A16 (four-bit weight and sixteen-bit activation) and W8A8 (eight-bit weight and eight-bit activation). However, leveraging these quantizers in a mixed-precision problem is a nontrivial task due to the colossal design space and prolonged inference time in LLMs. To address this problem, this work presents UDP (Up-or-Down Precision), a quantizer-agnostic mixed-precision framework that restricts each layer to a low/high precision pair and selects which layers to promote under deployment-driven memory/latency budgets. UDP uses KLD-guided profiling to seed high-quality candidates and a budget-aware genetic search to optimize the layer promotion set. Across Llama and Mistral models and three PTQ backends (AWQ, SmoothQuant, QoQ), UDP improvesWikiText-2 perplexity by up to 0.69 over uniform low-bit baselines at the same low-precision setting and outperforms strong mixed-precision heuristics (FlattenQuant, QFeM, AsymKV) by up to 0.11 under identical budgets. In OmniServe on Llama-2-7B (1024/512 tokens), UDP preserves throughput (≤0.5% vs. W4A8) while reducing p95 time-to-first-token by ≈60 ms and using ≈10% less GPU memory than W8A8. These results show UDP produces practical mixed-precision policies aligned with real serving constraints.

  • OASIS: Outlier-Aware KV Cache Clustering for Scaling LLM Inference in CXL Memory Systems

    by Minseok Seo, Jungi Hyun, Seongho Jeong, Xuan Truong Nguyen, Hyuk-Jae Lee, Hyokeun Lee

    The key-value (KV) cache in large language models (LLM) now necessitates a substantial amount of memory capacity as its size proportionally grows with the context's size. Recently, Compute-Express Link (CXL) memory becomes a promising method to secure memory capacity. However, CXL memory in a GPU-based LLM inference platform entails performance and scalability challenges due to the limited bandwidth of CXL memory. This paper proposes OASIS, an outlier-aware KV cache clustering for scaling LLM inference in CXL memory systems. Our method is based on the observation that clustering is effective in trading off between performance and accuracy compared to previous quantization- or selection-based approaches if clustering is aware of outliers. Our evaluation shows OASIS yields 3.6× speedup compared to the case without clustering while preserving accuracy with just 5% of full KV cache.


  • FDAM: Filter-Dedicated Approximate Multiplier Design for Real-Time CNN Acceleration

    by Kihwan Kim, Xuan Truong Nguyen, Dongsuk Jeon, Hyuk-Jae Lee

    Video super-resolution (VSR) is widely used in various high-definition applications, such as HDTVs and smartphones, requiring a dedicated upscaling technique for real-time full-HD generation. To reduce on-chip buffers for large-size output feature maps, a streaming VSR accelerator may employ an output stationary dataflow, leading to a large energy consumption caused by frequent filter switching. To mitigate this, we introduce a new filter-dedicated multiplier design for real-time VSR acceleration. We replace costly multipliers with adders, shifters, and multiplexers (MUXes), referred to as unified multiple constant multiplications (UMCM). The conventional UMCM, however, may incur considerable area/power overhead due to the unified topology constraint among different filter sets. To address this problem, we propose a new approximated MCM (AMCM) problem to relax the constraint and an approximate compatible graph synthesis (A-CGS) framework to efficiently solve AMCM by jointly searching for approximated filters and constructing a unified graph. Additionally, we suggest a lightweight fine-tuning method by freezing approximated filters and only fine-tuning biases, which can recover the original model’s accuracy within a few epochs. Experimental results with synthetic data demonstrate that AMCM reduces the area by up to 49.8%, 44.8%, and 40.3% when considering constant sets of 2, 4, and 8, respectively. Our designs with SR application achieve up to a 73.3% reduction in energy consumption. Experiments with the Set5 and Set14 datasets show that our model with bias correction achieves similar restoration performance compared to the eight-bit models.


  • FACET: On-the-Fly Activation Compression for Efficient Transformer Training

    by Seungyong Lee, Geonu Yun, Xuan Truong Nguyen, Hyuk-Jae Lee

    Training Transformer models, known for their outstanding performance in various tasks, can be challenging due to extensive training times and substantial memory requirements. One promising approach to minimize the memory footprint and accelerate training is compressing activations, which account for more than half of the total memory usage for large batch sizes. However, conventional compression schemes, such as FP8 quantization, may not adequately represent the dynamic range of Transformer activations, potentially leading to unsatisfactory accuracy. To address this issue, we propose FACET, a lightweight yet effective Transformer activation compressor and its corresponding hardware design. This compressor comprises a base-delta compression (BDC) and a bit-plane compression (BPC), targeting the exponent and sign/mantissa of activation data, respectively. The bitstreams generated by BDC and BPC are concatenated and then truncated to a target size, e.g., 8 bits per data. Experimental results with popular Transformer models (BERT, GPT-2, and T5) indicate that FACET reduces activation memory by 2- $4\times $ , with negligible accuracy degradation. We implemented our compressor in hardware and synthesized it using the 45nm TSMC process library. The encoder and decoder require 16K and 12K gate counts, respectively, exhibiting a 2.2- $3.8\times $ smaller overhead compared to other compressors. We also propose a system that integrates our compressor within memory with minimal system modifications, leveraging the small overhead of the compressor.


  • A Highly-Scalable Deep-Learning Accelerator With a Cost-Effective Chip-to-Chip Adapter and a C2C-Communication-Aware Scheduler

    by Jicheon Kim, Chunmyung Park, Eunjae Hyun, Xuan Truong Nguyen, Hyuk-Jae Lee

    Multi-chip-module (MCM) technology heralds a new era for scalable DNN inference systems, offering a cost-effective alternative to large-scale monolithic designs by lowering fabrication and design costs. Nevertheless, MCMs often incur resource and performance overheads due to inter-chip communication , which largely reduce a performance gain in a scaling-out system. To address these challenges, this paper introduces a highly-scalable DNN accelerator with a lightweight chip-to-chip adapter (C2CA) and a C2C-communication-aware scheduler . Our design employs a C2CA for inter-chip communication, which accurately illustrates an MCM system with a constrained C2C bandwidth, e.g., about 1/16, 1/8, or 1/4 of an on-chip bandwidth. We empirically reveal that the limited C2C bandwidth largely affects the overall performance gain of an MCM system. For example, compared with the one-core engine, a four-chip MCM system with a constrained C2C bandwidth only achieves 2.60×, 3.27×, 2.84×, and 2.74× performance gains on Resnet50, Darknet19, MobilenetV1, and EfficientNetS, respectively. Mitigating the problem, we propose a novel C2C-communication-aware scheduler with forward and backward inter-layer scheduling . Specifically, our scheduler effectively utilizes a C2C bandwidth while a core is performing its own computation. To demonstrate the effectiveness and practicality of our concept, we modeled our design with Verilog HDL and implemented it on an FPGA board, i.e., Xilinx ZCU 104. The experimental results demonstrate that the system shows significant throughput improvements compared to a single-chip configuration, yielding average enhancements of 1.87× and 3.43× for two-chip and four-chip configurations, respectively, on Resnet50, Darknet19, MobilenetV1, and EfficientNetS.


  • Top Cited Papers
    Open Access

    IANUS: Integrated Accelerator based on NPU-PIM Unified Memory System

    by Minseok Seo, Xuan Truong Nguyen, Seok Joong Hwang, Yongkee Kwon, Guhyun Kim, Chanwook Park, Ilkon Kim, Jaehan Park, Jeongbin Kim, Woojae Shin, et al.


  • A Low-Latency FPGA Accelerator for YOLOv3-Tiny With Flexible Layerwise Mapping and Dataflow

    by Minsik Kim, Kyoungseok Oh, Youngmock Cho, Hojin Seo, Xuan Truong Nguyen, Hyuk-Jae Lee

    Object detection models have demonstrated outstanding performance in terms of accuracy. However, mapping convolutional neural network-based object-detection models to memory and computing-constrained devices is still challenging, which commonly leads to accuracy degradation and long latency. To address the problem, this work presents a design methodology to map the YOLOv3-tiny model onto a small FPGA board, in this case the Nexys A7-100T, which only has 0.5 MB on-chip SRAM and 240 DSPs. First, we design four identical MAC arrays to maximize the throughput by utilizing both DSPs and LUTs. Second, to exploit the MACs fully, we propose a dynamic data reuse scheme that handles inter-layer and intra-layer executions effectively under a small on-chip SRAM footprint. To this end, the proposed accelerator achieves an inference speed of 76.75 frames per second and throughput of 95.08 GOPs at 100MHz and consumes power of 2.203W. Specifically, it achieves a hardware utilization rate of 82.53%, thus significantly outperforming current YOLOv3-tiny accelerators.