78 research outputs found

    cuZK: Accelerating Zero-Knowledge Proof with A Faster Parallel Multi-Scalar Multiplication Algorithm on GPUs

    Get PDF
    Zero-knowledge proof is a critical cryptographic primitive. Its most practical type, called zero-knowledge Succinct Non-interactive ARgument of Knowledge (zkSNARK), has been deployed in various privacy-preserving applications such as cryptocurrencies and verifiable machine learning. Unfortunately, zkSNARK like Groth16 has a high overhead on its proof generation step, which consists of several time-consuming operations, including large-scale matrix-vector multiplication (MUL), number-theoretic transform (NTT), and multi-scalar multiplication (MSM). Therefore, this paper presents cuZK, an efficient GPU implementation of zkSNARK with the following three techniques to achieve high performance. First, we propose a new parallel MSM algorithm. This MSM algorithm achieves nearly perfect linear speedup over the Pippenger algorithm, a well-known serial MSM algorithm. Second, we parallelize the MUL operation. Along with our self-designed MSM scheme and well-studied NTT scheme, cuZK achieves the parallelization of all operations in the proof generation step. Third, cuZK reduces the latency overhead caused by CPU-GPU data transfer by 1) reducing redundant data transfer and 2) overlapping data transfer and device computation. The evaluation results show that our MSM module provides over 2.08× (up to 2.94×) speedup versus the state-of-the-art GPU implementation. cuZK achieves over 2.65× (up to 4.86×) speedup on standard benchmarks and 2.18× speedup on a GPU-accelerated cryptocurrency application, Filecoin

    A smart chicken farming platform for chicken behavior identification and feed residual estimation

    Get PDF
    It is very potential to develop digital villages for promoting smart agriculture. As one of the important research fields of smart agriculture, smart chicken farms encounter management problems such as difficulties in quickly and accurately warning of sick and dead chickens and estimating feed residuals. Therefore, this study not only respectively proposed CKTrack and FRCM to detect sick and dead chickens and estimate feed residuals, but also developed a smart chicken farming platform for automagical management. Our main results include (1) the proposed CKTrack method can effectively identify sick and dead chickens under the condition of limited data volume and computing capacity; (2) the proposed FRCM method can accurately estimate the feed residuals; and (3) the smart chicken farming platform developed can provide farmers with functions such as early warning of sick and dead chickens, visualization of the chicken quantity inventory, and feed residual estimation.<br/

    From GPT-4 to Gemini and Beyond: Assessing the Landscape of MLLMs on Generalizability, Trustworthiness and Causality through Four Modalities

    Full text link
    Multi-modal Large Language Models (MLLMs) have shown impressive abilities in generating reasonable responses with respect to multi-modal contents. However, there is still a wide gap between the performance of recent MLLM-based applications and the expectation of the broad public, even though the most powerful OpenAI's GPT-4 and Google's Gemini have been deployed. This paper strives to enhance understanding of the gap through the lens of a qualitative study on the generalizability, trustworthiness, and causal reasoning capabilities of recent proprietary and open-source MLLMs across four modalities: ie, text, code, image, and video, ultimately aiming to improve the transparency of MLLMs. We believe these properties are several representative factors that define the reliability of MLLMs, in supporting various downstream applications. To be specific, we evaluate the closed-source GPT-4 and Gemini and 6 open-source LLMs and MLLMs. Overall we evaluate 230 manually designed cases, where the qualitative results are then summarized into 12 scores (ie, 4 modalities times 3 properties). In total, we uncover 14 empirical findings that are useful to understand the capabilities and limitations of both proprietary and open-source MLLMs, towards more reliable downstream multi-modal applications

    Solution-based synthesis and processing of Sn- and Bi-doped Cu₃SbSe₄ nanocrystals, nanomaterials and ring-shaped thermoelectric generators

    Get PDF
    Copper-based chalcogenides that comprise abundant, low-cost, and environmental friendly elements are excellent materials for a number of energy conversion applications, including photovoltaics, photocatalysis, and thermoelectrics (TE). In such applications, the use of solution-processed nanocrystals (NCs) to produce thin films or bulk nanomaterials has associated several potential advantages, such as high material yield and throughput, and composition control with unmatched spatial resolution and cost. Here we report on the production of Cu₃SbSe₄ (CASe) NCs with tuned amounts of Sn and Bi dopants. After proper ligand removal, as monitored by nuclear magnetic resonance and infrared spectroscopy, these NCs were used to produce dense CASe bulk nanomaterials for solid state TE energy conversion. By adjusting the amount of extrinsic dopants, dimensionless TE figures of merit (ZT) up to 1.26 at 673 K were reached. Such high ZT values are related to an optimized carrier concentration by Sn doping, a minimized lattice thermal conductivity due to efficient phonon scattering at point defects and grain boundaries, and to an increase of the Seebeck coefficient obtained by a modification of the electronic band structure with Bi doping. Nanomaterials were further employed to fabricate ring-shaped TE generators to be coupled to hot pipes, which provided 20 mV and 1 mW per TE element when exposed to a 160 °C temperature gradient. The simple design and good thermal contact associated with the ring geometry and the potential low cost of the material solution processing may allow the fabrication of TE generators with short payback times
    corecore