116 research outputs found

    Dynamic Slicing for Deep Neural Networks

    Full text link
    Program slicing has been widely applied in a variety of software engineering tasks. However, existing program slicing techniques only deal with traditional programs that are constructed with instructions and variables, rather than neural networks that are composed of neurons and synapses. In this paper, we propose NNSlicer, the first approach for slicing deep neural networks based on data flow analysis. Our method understands the reaction of each neuron to an input based on the difference between its behavior activated by the input and the average behavior over the whole dataset. Then we quantify the neuron contributions to the slicing criterion by recursively backtracking from the output neurons, and calculate the slice as the neurons and the synapses with larger contributions. We demonstrate the usefulness and effectiveness of NNSlicer with three applications, including adversarial input detection, model pruning, and selective model protection. In all applications, NNSlicer significantly outperforms other baselines that do not rely on data flow analysis.Comment: 11 pages, ESEC/FSE '2

    Converting ECG Signals to Images for Efficient Image-text Retrieval via Encoding

    Full text link
    Automated interpretation of electrocardiograms (ECG) has garnered significant attention with the advancements in machine learning methodologies. Despite the growing interest in automated ECG interpretation using machine learning, most current studies focus solely on classification or regression tasks and overlook a crucial aspect of clinical cardio-disease diagnosis: the diagnostic report generated by experienced human clinicians. In this paper, we introduce a novel approach to ECG interpretation, leveraging recent breakthroughs in Large Language Models (LLMs) and Vision-Transformer (ViT) models. Rather than treating ECG diagnosis as a classification or regression task, we propose an alternative method of automatically identifying the most similar clinical cases based on the input ECG data. Also, since interpreting ECG as images are more affordable and accessible, we process ECG as encoded images and adopt a vision-language learning paradigm to jointly learn vision-language alignment between encoded ECG images and ECG diagnosis reports. Encoding ECG into images can result in an efficient ECG retrieval system, which will be highly practical and useful in clinical applications. More importantly, our findings could serve as a crucial resource for providing diagnostic services in regions where only paper-printed ECG images are accessible due to past underdevelopment.Comment: 26 page

    Accelerating In-Browser Deep Learning Inference on Diverse Edge Clients through Just-in-Time Kernel Optimizations

    Full text link
    Web applications are increasingly becoming the primary platform for AI service delivery, making in-browser deep learning (DL) inference more prominent. However, current in-browser inference systems fail to effectively utilize advanced web programming techniques and customize kernels for various client devices, leading to suboptimal performance. To address the issues, this paper presents the first in-browser inference system, nn-JIT.web, which enables just-in-time (JIT) auto-generation of optimized kernels for both CPUs and GPUs during inference. The system achieves this by using two novel web programming techniques that can significantly reduce kernel generation time, compared to other tensor compilers such as TVM, while maintaining or even improving performance. The first technique, Tensor-Web Compiling Co-Design, lowers compiling costs by unifying tensor and web compiling and eliminating redundant and ineffective compiling passes. The second technique, Web-Specific Lite Kernel Optimization Space Design, reduces kernel tuning costs by focusing on web programming requirements and efficient hardware resource utilization, limiting the optimization space to only dozens. nn-JIT.web is evaluated for modern transformer models on a range of client devices, including the mainstream CPUs and GPUs from ARM, Intel, AMD and Nvidia. Results show that nn-JIT.web can achieve up to 8.2x faster within 30 seconds compared to the baselines across various models

    Human carnosinase 1 overexpression aggravates diabetes and renal impairment in BTBR(Ob/Ob)mice

    Get PDF
    Objective: To assess the influence of serum carnosinase (CN1) on the course of diabetic kidney disease (DKD). Methods: hCN1 transgenic (TG) mice were generated in a BTBROb/Ob genetic background to allow the spontaneous development of DKD in the presence of serum carnosinase. The influence of serum CN1 expression on obesity, hyperglycemia, and renal impairment was assessed. We also studied if aggravation of renal impairment in hCN1 TG BTBROb/Ob mice leads to changes in the renal transcriptome as compared with wild-type BTBROb/Ob mice. Results: hCN1 was detected in the serum and urine of mice from two different hCN1 TG lines. The transgene was expressed in the liver but not in the kidney. High CN1 expression was associated with low plasma and renal carnosine concentrations, even after oral carnosine supplementation. Obese hCN1 transgenic BTBROb/Ob mice displayed significantly higher levels of glycated hemoglobin, glycosuria, proteinuria, and increased albumin-creatinine ratios (1104 ± 696 vs 492.1 ± 282.2 μg/mg) accompanied by an increased glomerular tuft area and renal corpuscle size. Gene-expression profiling of renal tissue disclosed hierarchical clustering between BTBROb/Wt, BTBROb/Ob, and hCN1 BTBROb/Ob mice. Along with aggravation of the DKD phenotype, 26 altered genes have been found in obese hCN1 transgenic mice; among them claudin-1, thrombospondin-1, nephronectin, and peroxisome proliferator–activated receptor-alpha have been reported to play essential roles in DKD. Conclusions: Our data support a role for serum carnosinase 1 in the progression of DKD. Whether this is mainly attributed to the changes in renal carnosine concentrations warrants further studies. Key messages: Increased carnosinase 1 (CN1) is associated with diabetic kidney disease (DKD).BTBROb/Ob mice with human CN1 develop a more aggravated DKD phenotype.Microarray revealed alterations by CN1 which are not altered by hyperglycemia.These genes have been described to play essential roles in DKD.Inhibiting CN1 could be beneficial in DKD

    The CNDP1 (CTG)(5) Polymorphism Is Associated with Biopsy-Proven Diabetic Nephropathy, Time on Hemodialysis, and Diabetes Duration

    Get PDF
    Considering that the homozygous CNDP1 (CTG)5 genotype affords protection against diabetic nephropathy (DN) in female patients with type 2 diabetes, this study assessed if this association remains gender-specific when applying clinical inclusion criteria (CIC-DN) or biopsy proof (BP-DN). Additionally, it assessed if the prevalence of the protective genotype changes with diabetes duration and time on hemodialysis and if this occurs in association with serum carnosinase (CN-1) activity. Whereas the distribution of the (CTG)5 homozygous genotype in the no-DN and CIC-DN patients was comparable, a lower frequency was found in the BP-DN patients, particularly in females. We observed a significant trend towards high frequencies of the (CTG)5 homozygous genotype with increased time on dialysis. This was also observed for diabetes duration but only reached significance when both (CTG)5 homo- and heterozygous patients were included. CN-1 activity negatively correlated with time on hemodialysis and was lower in (CTG)5 homozygous patients. The latter remained significant in female subjects after gender stratification. We confirm the association between the CNDP1 genotype and DN to be likely gender-specific. Although our data also suggest that (CTG)5 homozygous patients may have a survival advantage on dialysis and in diabetes, this hypothesis needs to be confirmed in a prospective cohort study

    Carnosine Attenuates the Development of both Type 2 Diabetes and Diabetic Nephropathy in BTBR ob/ob Mice

    Get PDF
    We previously demonstrated that polymorphisms in the carnosinase-1 gene (CNDP1) determine the risk of nephropathy in type 2 diabetic patients. Carnosine, the substrate of the enzyme encoded by this gene, is considered renoprotective and could possibly be used to treat diabetic nephropathy (DN). In this study, we examined the effect of carnosine treatment in vivo in BTBR (Black and Tan, BRachyuric) ob/ob mice, a type 2 diabetes model which develops a phenotype that closely resembles advanced human DN. Treatment of BTBR ob/ob mice with 4 mM carnosine for 18 weeks reduced plasma glucose and HbA1c, concomitant with elevated insulin and C-peptide levels. Also, albuminuria and kidney weights were reduced in carnosine-treated mice, which showed less glomerular hypertrophy due to a decrease in the surface area of Bowman's capsule and space. Carnosine treatment restored the glomerular ultrastructure without affecting podocyte number, resulted in a modified molecular composition of the expanded mesangial matrix and led to the formation of carnosine-acrolein adducts. Our results demonstrate that treatment with carnosine improves glucose metabolism, albuminuria and pathology in BTBR ob/ob mice. Hence, carnosine could be a novel therapeutic strategy to treat patients with DN and/or be used to prevent DN in patients with diabetes

    Potential of Core-Collapse Supernova Neutrino Detection at JUNO

    Get PDF
    JUNO is an underground neutrino observatory under construction in Jiangmen, China. It uses 20kton liquid scintillator as target, which enables it to detect supernova burst neutrinos of a large statistics for the next galactic core-collapse supernova (CCSN) and also pre-supernova neutrinos from the nearby CCSN progenitors. All flavors of supernova burst neutrinos can be detected by JUNO via several interaction channels, including inverse beta decay, elastic scattering on electron and proton, interactions on C12 nuclei, etc. This retains the possibility for JUNO to reconstruct the energy spectra of supernova burst neutrinos of all flavors. The real time monitoring systems based on FPGA and DAQ are under development in JUNO, which allow prompt alert and trigger-less data acquisition of CCSN events. The alert performances of both monitoring systems have been thoroughly studied using simulations. Moreover, once a CCSN is tagged, the system can give fast characterizations, such as directionality and light curve

    Detection of the Diffuse Supernova Neutrino Background with JUNO

    Get PDF
    As an underground multi-purpose neutrino detector with 20 kton liquid scintillator, Jiangmen Underground Neutrino Observatory (JUNO) is competitive with and complementary to the water-Cherenkov detectors on the search for the diffuse supernova neutrino background (DSNB). Typical supernova models predict 2-4 events per year within the optimal observation window in the JUNO detector. The dominant background is from the neutral-current (NC) interaction of atmospheric neutrinos with 12C nuclei, which surpasses the DSNB by more than one order of magnitude. We evaluated the systematic uncertainty of NC background from the spread of a variety of data-driven models and further developed a method to determine NC background within 15\% with {\it{in}} {\it{situ}} measurements after ten years of running. Besides, the NC-like backgrounds can be effectively suppressed by the intrinsic pulse-shape discrimination (PSD) capabilities of liquid scintillators. In this talk, I will present in detail the improvements on NC background uncertainty evaluation, PSD discriminator development, and finally, the potential of DSNB sensitivity in JUNO

    Real-time Monitoring for the Next Core-Collapse Supernova in JUNO

    Full text link
    Core-collapse supernova (CCSN) is one of the most energetic astrophysical events in the Universe. The early and prompt detection of neutrinos before (pre-SN) and during the SN burst is a unique opportunity to realize the multi-messenger observation of the CCSN events. In this work, we describe the monitoring concept and present the sensitivity of the system to the pre-SN and SN neutrinos at the Jiangmen Underground Neutrino Observatory (JUNO), which is a 20 kton liquid scintillator detector under construction in South China. The real-time monitoring system is designed with both the prompt monitors on the electronic board and online monitors at the data acquisition stage, in order to ensure both the alert speed and alert coverage of progenitor stars. By assuming a false alert rate of 1 per year, this monitoring system can be sensitive to the pre-SN neutrinos up to the distance of about 1.6 (0.9) kpc and SN neutrinos up to about 370 (360) kpc for a progenitor mass of 30M⊙M_{\odot} for the case of normal (inverted) mass ordering. The pointing ability of the CCSN is evaluated by using the accumulated event anisotropy of the inverse beta decay interactions from pre-SN or SN neutrinos, which, along with the early alert, can play important roles for the followup multi-messenger observations of the next Galactic or nearby extragalactic CCSN.Comment: 24 pages, 9 figure
    • …
    corecore