9 research outputs found

    Accelerating Number Theoretic Transformations for Bootstrappable Homomorphic Encryption on GPUs

    Full text link
    Homomorphic encryption (HE) draws huge attention as it provides a way of privacy-preserving computations on encrypted messages. Number Theoretic Transform (NTT), a specialized form of Discrete Fourier Transform (DFT) in the finite field of integers, is the key algorithm that enables fast computation on encrypted ciphertexts in HE. Prior works have accelerated NTT and its inverse transformation on a popular parallel processing platform, GPU, by leveraging DFT optimization techniques. However, these GPU-based studies lack a comprehensive analysis of the primary differences between NTT and DFT or only consider small HE parameters that have tight constraints in the number of arithmetic operations that can be performed without decryption. In this paper, we analyze the algorithmic characteristics of NTT and DFT and assess the performance of NTT when we apply the optimizations that are commonly applicable to both DFT and NTT on modern GPUs. From the analysis, we identify that NTT suffers from severe main-memory bandwidth bottleneck on large HE parameter sets. To tackle the main-memory bandwidth issue, we propose a novel NTT-specific on-the-fly root generation scheme dubbed on-the-fly twiddling (OT). Compared to the baseline radix-2 NTT implementation, after applying all the optimizations, including OT, we achieve 4.2x speedup on a modern GPU.Comment: 12 pages, 13 figures, to appear in IISWC 202

    Toward Practical Privacy-Preserving Convolutional Neural Networks Exploiting Fully Homomorphic Encryption

    Full text link
    Incorporating fully homomorphic encryption (FHE) into the inference process of a convolutional neural network (CNN) draws enormous attention as a viable approach for achieving private inference (PI). FHE allows delegating the entire computation process to the server while ensuring the confidentiality of sensitive client-side data. However, practical FHE implementation of a CNN faces significant hurdles, primarily due to FHE's substantial computational and memory overhead. To address these challenges, we propose a set of optimizations, which includes GPU/ASIC acceleration, an efficient activation function, and an optimized packing scheme. We evaluate our method using the ResNet models on the CIFAR-10 and ImageNet datasets, achieving several orders of magnitude improvement compared to prior work and reducing the latency of the encrypted CNN inference to 1.4 seconds on an NVIDIA A100 GPU. We also show that the latency drops to a mere 0.03 seconds with a custom hardware design.Comment: 3 pages, 1 figure, appears at DISCC 2023 (2nd Workshop on Data Integrity and Secure Cloud Computing, in conjunction with the 56th International Symposium on Microarchitecture (MICRO 2023)

    Increased pulsatility index of the basilar artery is a risk factor for neurological deterioration after stroke: a case control study

    Get PDF
    Background : Higher pulsatility of the middle cerebral artery (MCA) is known to be associated with stroke progression. We investigated whether pulsatility index (PI) of the basilar artery (BA) can predict neurological deterioration (ND) after acute cerebral infarction. Methods : A total of 708 consecutive patients with acute ischemic stroke who had undergone transcranial Doppler (TCD) ultrasonography were included. ND was defined as an increase in the National Institutes of Health Stroke Scale scores by two or more points after admission. The patients were categorized into quartiles according to BA PI. Multivariable logistic regression analysis was performed to examine whether BA PI is independently associated with ND. Results : BA PI was well correlated with the right (n = 474, r2 = 0.573, P < 0.001) by Pearson correlation analysis although MCA PI could not be measured from right MCA (n = 234, 33.05%) and left MCA (n = 252, 35.59%) by TCD owing to insufficient temporal bone window. Multivariable logistic regression analysis including age, sex, cerebral atherosclerosis burden, National Institutes of Health Stroke Scale at admission, and the proportion of patients with current smoking status, hypertension, diabetes mellitus, atrial fibrillation revealed that the higher BA PI (odds ratio, 3.28; confidence interval, 1.07–10.17; P = 0.038) was independently associated with ND. Conclusions : BA PI, which would be identified regardless of temporal window, could predict ND among acute stroke patients.The work was supported by the Basic Science Research Program through the National Research Foundation of Korea (NRF) funded by the Ministry of Education (NRF-2017R1D1A1B03029909, NRF-2019R1F1A1059455) and by the Korean Society of Hypertension (2019). The funding has no role in design, collection, analysis, or interpretation of data; in the writing of the manuscript; and in the decision to submit the manuscript for publication

    Experimental Study on the Fire-Spreading Characteristics and Heat Release Rates of Burning Vehicles Using a Large-Scale Calorimeter

    No full text
    In this article, large-scale experimental studies were conducted to figure out the fire characteristics, such as fire-spreading, toxic gases, and heat release rates, using large-scale calorimeter for one- and two-vehicle fires. The initial ignition position was the passenger seat, and thermocouples were attached to each compartment in the vehicles to determine the temperature distribution as a function of time. For the analysis, the time was divided into sections for the various fire-spreading periods and major changes, e.g., the fire spreading from the first vehicle to the second vehicle. The maximum temperature of 1400 &deg;C occurred in the seats because they contained combustible materials. The maximum heat release rates were 3.5 MW and 6 MW for one and two vehicles, respectively. Since the time to reach 1 MW was about 240 s (4 min) before and after, the beginning of the car fire appears to be a medium-fast growth type. It shows the effect on the human body depending on the concentration of toxic substances such as carbon monoxide or carbon dioxide

    Lambda-Based Data Processing Architecture for Two-Level Load Forecasting in Residential Buildings

    No full text
    Building energy management systems (BEMS) have been intensively used to manage the electricity consumption of residential buildings more efficiently. However, the dynamic behavior of the occupants introduces uncertainty problems that affect the performance of the BEMS. To address this uncertainty problem, the BEMS may implement load forecasting as one of the BEMS modules. Load forecasting utilizes historical load data to compute model predictions for a specific time in the future. Recently, smart meters have been introduced to collect electricity consumption data. Smart meters not only capture aggregation data, but also individual data that is more frequently close to real-time. The processing of both smart meter data types for load forecasting can enhance the performance of the BEMS when confronted with uncertainty problems. The collection of smart meter data can be processed using a batch approach for short-term load forecasting, while the real-time smart meter data can be processed for very short-term load forecasting, which adjusts the short-term load forecasting to adapt to the dynamic behavior of the occupants. This approach requires different data processing techniques for aggregation and individual of smart meter data. In this paper, we propose Lambda-based data processing architecture to process the different types of smart meter data and implement the two-level load forecasting approach, which combines short-term and very short-term load forecasting techniques on top of our proposed data processing architecture. The proposed approach is expected to enhance the BEMS to address the uncertainty problem in order to process data in less time. Our experiment showed that the proposed approaches improved the accuracy by 7% compared to a typical BEMS with only one load forecasting technique, and had the lowest computation time when processing the smart meter data

    Lambda-Based Data Processing Architecture for Two-Level Load Forecasting in Residential Buildings

    No full text
    Building energy management systems (BEMS) have been intensively used to manage the electricity consumption of residential buildings more efficiently. However, the dynamic behavior of the occupants introduces uncertainty problems that affect the performance of the BEMS. To address this uncertainty problem, the BEMS may implement load forecasting as one of the BEMS modules. Load forecasting utilizes historical load data to compute model predictions for a specific time in the future. Recently, smart meters have been introduced to collect electricity consumption data. Smart meters not only capture aggregation data, but also individual data that is more frequently close to real-time. The processing of both smart meter data types for load forecasting can enhance the performance of the BEMS when confronted with uncertainty problems. The collection of smart meter data can be processed using a batch approach for short-term load forecasting, while the real-time smart meter data can be processed for very short-term load forecasting, which adjusts the short-term load forecasting to adapt to the dynamic behavior of the occupants. This approach requires different data processing techniques for aggregation and individual of smart meter data. In this paper, we propose Lambda-based data processing architecture to process the different types of smart meter data and implement the two-level load forecasting approach, which combines short-term and very short-term load forecasting techniques on top of our proposed data processing architecture. The proposed approach is expected to enhance the BEMS to address the uncertainty problem in order to process data in less time. Our experiment showed that the proposed approaches improved the accuracy by 7% compared to a typical BEMS with only one load forecasting technique, and had the lowest computation time when processing the smart meter data
    corecore