53 research outputs found

    Coffee: Boost Your Code LLMs by Fixing Bugs with Feedback

    Full text link
    Code editing is an essential step towards reliable program synthesis to automatically correct critical errors generated from code LLMs. Recent studies have demonstrated that closed-source LLMs (i.e., ChatGPT and GPT-4) are capable of generating corrective feedback to edit erroneous inputs. However, it remains challenging for open-source code LLMs to generate feedback for code editing, since these models tend to adhere to the superficial formats of feedback and provide feedback with misleading information. Hence, the focus of our work is to leverage open-source code LLMs to generate helpful feedback with correct guidance for code editing. To this end, we present Coffee, a collected dataset specifically designed for code fixing with feedback. Using this dataset, we construct CoffeePots, a framework for COde Fixing with FEEdback via Preference-Optimized Tuning and Selection. The proposed framework aims to automatically generate helpful feedback for code editing while minimizing the potential risk of superficial feedback. The combination of Coffee and CoffeePots marks a significant advancement, achieving state-of-the-art performance on HumanEvalFix benchmark. Codes and model checkpoints are publicly available at https://github.com/Lune-Blue/COFFEE.Comment: Work in progres

    PORTR: Pre-Operative and Post-Recurrence Brain Tumor Registration

    Get PDF
    We propose a new method for deformable registration of pre-operative and post-recurrence brain MR scans of glioma patients. Performing this type of intra-subject registration is challenging as tumor, resection, recurrence, and edema cause large deformations, missing correspondences, and inconsistent intensity profiles between the scans. To address this challenging task, our method, called PORTR, explicitly accounts for pathological information. It segments tumor, resection cavity, and recurrence based on models specific to each scan. PORTR then uses the resulting maps to exclude pathological regions from the image-based correspondence term while simultaneously measuring the overlap between the aligned tumor and resection cavity. Embedded into a symmetric registration framework, we determine the optimal solution by taking advantage of both discrete and continuous search methods. We apply our method to scans of 24 glioma patients. Both quantitative and qualitative analysis of the results clearly show that our method is superior to other state-of-the-art approaches

    ??????????????? ????????? ???????????? ??????????????? ?????? ???????????? ????????? ?????? ??? ????????? ????????? ?????? ????????? ??????

    Get PDF
    As part of the next-generation Compact Advanced Satellite 500 (CAS500) project, CAS500-4 is scheduled to be launched in 2025 focusing on the remote sensing of agriculture and forestry. To obtain quantitative information on vegetation from satellite images, it is necessary to acquire surface reflectance through atmospheric correction. Thus, it is essential to develop an atmospheric correction method suitable for CAS500-4. Since the absorption and scattering characteristics in the atmosphere vary depending on the wavelength, it is needed to analyze the sensitivity of atmospheric correction parameters such as aerosol optical depth (AOD) and water vapor (WV) considering the wavelengths of CAS500-4. In addition, as CAS500-4 has only five channels (blue, green, red, red edge, and near-infrared), making it difficult to directly calculate key parameters for atmospheric correction, external parameter data should be used. Therefore, this study performed a sensitivity analysis of the key parameters (AOD, WV, and O3) using the simulated images based on Sentinel-2 satellite data, which has similar wavelength specifications to CAS500-4, and examined the possibility of using the products of GEOKOMPSAT-2A (GK2A) as atmospheric parameters. The sensitivity analysis showed that AOD was the most important parameter with greater sensitivity in visible channels than in the near-infrared region. In particular, since AOD change of 20% causes about a 100% error rate in the blue channel surface reflectance in forests, a highly reliable AOD is needed to obtain accurate surface reflectance. The atmospherically corrected surface reflectance based on the GK2A AOD and WV was compared with the Sentinel-2 L2A reflectance data through the separability index of the known land cover pixels. The result showed that two corrected surface reflectance had similar Seperability index (SI) values, the atmospheric corrected surface reflectance based on the GK2A AOD showed higher SI than the Sentinel-2 L2A reflectance data in short-wavelength channels. Thus, it is judged that the parameters provided by GK2A can be fully utilized for atmospheric correction of the CAS500-4. The research findings will provide a basis for atmospheric correction of the CAS500-4 in the future. ?? This is an Open-Access article distributed under the terms of the Creative Commons Attribution Non-Commercial License (http://creativecommons.org/licenses/by-nc/3.0) which permits unrestricted non-commercial use, distribution, and reproduction in any medium, provided the original work is properly cited

    Deep learning-based statistical noise reduction for multidimensional spectral data

    Full text link
    In spectroscopic experiments, data acquisition in multi-dimensional phase space may require long acquisition time, owing to the large phase space volume to be covered. In such case, the limited time available for data acquisition can be a serious constraint for experiments in which multidimensional spectral data are acquired. Here, taking angle-resolved photoemission spectroscopy (ARPES) as an example, we demonstrate a denoising method that utilizes deep learning as an intelligent way to overcome the constraint. With readily available ARPES data and random generation of training data set, we successfully trained the denoising neural network without overfitting. The denoising neural network can remove the noise in the data while preserving its intrinsic information. We show that the denoising neural network allows us to perform similar level of second-derivative and line shape analysis on data taken with two orders of magnitude less acquisition time. The importance of our method lies in its applicability to any multidimensional spectral data that are susceptible to statistical noise.Comment: 8 pages, 8 figure

    Alcohol use effects on adolescent brain development revealed by simultaneously removing confounding factors, identifying morphometric patterns, and classifying individuals

    Get PDF
    Group analysis of brain magnetic resonance imaging (MRI) metrics frequently employs generalized additive models (GAM) to remove contributions of confounding factors before identifying cohort specific characteristics. For example, the National Consortium on Alcohol and NeuroDevelopment in Adolescence (NCANDA) used such an approach to identify effects of alcohol misuse on the developing brain. Here, we hypothesized that considering confounding factors before group analysis removes information relevant for distinguishing adolescents with drinking history from those without. To test this hypothesis, we introduce a machine-learning model that identifies cohort-specific, neuromorphometric patterns by simultaneously training a GAM and generic classifier on macrostructural MRI and microstructural diffusion tensor imaging (DTI) metrics and compare it to more traditional group analysis and machine-learning approaches. Using a baseline NCANDA MR dataset (N = 705), the proposed machine learning approach identified a pattern of eight brain regions unique to adolescents who misuse alcohol. Classifying high-drinking adolescents was more accurate with that pattern than using regions identified with alternative approaches. The findings of the joint model approach thus were (1) impartial to confounding factors; (2) relevant to drinking behaviors; and (3) in concurrence with the alcohol literature. © 2018 The Author(s).1

    Harmonizing DTI measurements across scanners to examine the development of white matter microstructure in 803 adolescents of the NCANDA study

    Full text link
    Neurodevelopment continues through adolescence, with notable maturation of white matter tracts comprising regional fiber systems progressing at different rates. To identify factors that could contribute to regional differences in white matter microstructure development, large samples of youth spanning adolescence to young adulthood are essential to parse these factors. Recruitment of adequate samples generally relies on multi-site consortia but comes with the challenge of merging data acquired on different platforms. In the current study, diffusion tensor imaging (DTI) data were acquired on GE and Siemens systems through the National Consortium on Alcohol and NeuroDevelopment in Adolescence (NCANDA), a multi-site study designed to track the trajectories of regional brain development during a time of high risk for initiating alcohol consumption. This cross-sectional analysis reports baseline Tract-Based Spatial Statistic (TBSS) of regional fractional anisotropy (FA), mean diffusivity (MD), axial diffusivity (L1), and radial diffusivity (LT) from the five consortium sites on 671 adolescents who met no/low alcohol or drug consumption criteria and 132 adolescents with a history of exceeding consumption criteria. Harmonization of DTI metrics across manufacturers entailed the use of human-phantom data, acquired multiple times on each of three non-NCANDA participants at each site’s MR system, to determine a manufacturer-specific correction factor. Application of the correction factor derived from human phantom data measured on MR systems from different manufacturers reduced the standard deviation of the DTI metrics for FA by almost a half, enabling harmonization of data that would have otherwise carried systematic error. Permutation testing supported the hypothesis of higher FA and lower diffusivity measures in older adolescents and indicated that, overall, the FA, MD, and L1 of the boys was higher than that of the girls, suggesting continued microstructural development notable in the boys. The contribution of demographic and clinical differences to DTI metrics was assessed with General Additive Models (GAM) testing for age, sex, and ethnicity differences in regional skeleton mean values. The results supported the primary study hypothesis that FA skeleton mean values in the no/low-drinking group were highest at different ages. When differences in intracranial volume were covaried, FA skeleton mean reached a maximum at younger ages in girls than boys and varied in magnitude with ethnicity. Our results, however, did not support the hypothesis that youth who exceeded exposure criteria would have lower FA or higher diffusivity measures than the no/low-drinking group; detecting the effects of excessive alcohol consumption during adolescence on DTI metrics may require longitudinal study

    Fingerprint Matching Method Using Minutiae Clustering and Warping

    No full text
    Abstract. Solving non-linear distortion problems in fingerprint matching is important and still remains as a challenging topic. We have developed a new fingerprint matching method to deal with non-linear distortion problems efficiently by clustering locally matched minutiae and warping the fingerprint surface using minutiae clusters. Specifically, local invariant structures encoding the neighborhood information of each minutia are utilized in clustering the matched minutiae and then the fingerprint surface is warped to describe the deformation pattern properly. Finally, to make an additional increase in performance, the overlapped region of two fingerprints is considered in the score computation stage. Experimental results show that the proposed algorithm is performed best compared with other ones. I

    Flexible CdSe/ZnS Quantum-Dot Light-Emitting Diodes with Higher Efficiency than Rigid Devices

    No full text
    Fabrication of high-performance, flexible quantum-dot light-emitting diodes (QLEDs) requires the reliable manufacture of a flexible transparent electrode to replace the conventional brittle indium tin oxide (ITO) transparent electrode, along with flexible substrate planarization. We deposited a transparent oxide/metal/oxide (OMO) electrode on a polymer planarization layer and co-optimized both layers. The visible transmittance of the OMO electrode on a polyethylene terephthalate substrate increased markedly. Good electron supply and injection into an electron-transporting layer were achieved using WOX/Ag/ WOX and MoOx/Ag/MoOX OMO electrodes. High-performance flexible QLEDs were fabricated from these electrodes; a QLED with a MoOX/Ag/ MoOX cathode and an SU-8 planarization layer had a current efficiency of 30.3 cd/A and luminance more than 7 × 104 cd/m2. The current efficiency was significantly higher than that of a rigid QLED with an ITO cathode and was higher than current efficiency values obtained from previously reported QLEDs that utilized the same quantum-dot and electron-transporting layer materials as our study

    Computing Group Cardinality Constraint Solutions for Logistic Regression Problems

    No full text
    <p>This package contains the MATLAB source codes for the penalty decomposition method solving the group cardinality constrained logistic regression problem of the following paper:</p><p>Yong Zhang, Dongjin Kwon and Kilian M. Pohl: "Computing Group Cardinality Constraint Solutions for Logistic Regression Problems," MEDIA, 2016</p><p>When using the code, please cite the paper and the DOI: <a href="https://dx.doi.org/10.6084/m9.figshare.3398332">https://dx.doi.org/10.6084/m9.figshare.3398332</a></p><p>The software development was supported by NIH grants (R01 HL127661, K05 AA017168) and the Creative and Novel Ideas in HIV Research (CNIHR) Program through a supplement to the University of Alabama at Birmingham (UAB) Center For AIDS Research funding (P30 AI027767). This funding was made possible by collaborative efforts of the Office of AIDS Research, the National Institute of Allergy and Infectious Diseases, and the International AIDS Society.</p><div><br></div
    corecore