76 research outputs found

    Formal Analysis of Fairness for Optimistic Multiparty Contract Signing Protocol

    Get PDF
    Optimistic multiparty contract signing (OMPCS) protocols are proposed for exchanging multiparty digital signatures in a contract. Compared with general two-party exchanging protocols, such protocols are more complicated, because the number of protocol messages and states increases considerably when signatories increase. Moreover, fairness property in such protocols requires protection from each signatory rather than from an external hostile agent. It thus presents a challenge for formal verification. In our analysis, we employ and combine the strength of extended modeling language CSP# and linear temporal logic (LTL) to verify the fairness of OMPCS protocols. Furthermore, for solving or mitigating the state space explosion problem, we set a state reduction algorithm which can decrease the redundant states properly and reduce the time and space complexity greatly. Finally, this paper illustrates the feasibility of our approach by analyzing the GM and CKS protocols, and several fairness flaws have been found in certain computation times

    TPTU-v2: Boosting Task Planning and Tool Usage of Large Language Model-based Agents in Real-world Systems

    Full text link
    Large Language Models (LLMs) have demonstrated proficiency in addressing tasks that necessitate a combination of task planning and the usage of external tools that require a blend of task planning and the utilization of external tools, such as APIs. However, real-world complex systems present three prevalent challenges concerning task planning and tool usage: (1) The real system usually has a vast array of APIs, so it is impossible to feed the descriptions of all APIs to the prompt of LLMs as the token length is limited; (2) the real system is designed for handling complex tasks, and the base LLMs can hardly plan a correct sub-task order and API-calling order for such tasks; (3) Similar semantics and functionalities among APIs in real systems create challenges for both LLMs and even humans in distinguishing between them. In response, this paper introduces a comprehensive framework aimed at enhancing the Task Planning and Tool Usage (TPTU) abilities of LLM-based agents operating within real-world systems. Our framework comprises three key components designed to address these challenges: (1) the API Retriever selects the most pertinent APIs for the user task among the extensive array available; (2) LLM Finetuner tunes a base LLM so that the finetuned LLM can be more capable for task planning and API calling; (3) the Demo Selector adaptively retrieves different demonstrations related to hard-to-distinguish APIs, which is further used for in-context learning to boost the final performance. We validate our methods using a real-world commercial system as well as an open-sourced academic dataset, and the outcomes clearly showcase the efficacy of each individual component as well as the integrated framework

    The Role of Gaseous Molecules in Traumatic Brain Injury: An Updated Review

    Get PDF
    Traumatic brain injury (TBI) affects millions of people in China each year. TBI has a high mortality and often times a serious prognosis. The causative mechanisms of TBI during development and recovery from an injury remain vague, leaving challenges for the medical community to provide treatment options that improve prognosis and provide an optimal recovery. Biological gaseous molecules including nitric oxide (NO), carbon monoxide (CO), hydrogen sulfide (H2S), and molecular hydrogen (H2) have been found to play critical roles in physiological and pathological conditions in mammals. Accumulating evidence has found that these gaseous molecules can execute neuroprotection in many central nervous system (CNS) conditions due to their highly permeable properties allowing them to enter the brain. Considering the complicated mechanisms and the serious prognosis of TBI, effective and adequate therapeutic approaches are urgently needed. These four gaseous molecules can be potential attractive therapeutic intervention on TBI. In this review, we will present a comprehensive overview on the role of these four biological gasses in the development of TBI and their potential therapeutic applications

    Association and interactions between mixed exposure to trace elements and the prevalence of kidney stones: a study of NHANES 2017–2018

    Get PDF
    BackgroundThe association between exposure to trace elements mixture and the prevalence of kidney stones and the interactions between elements are unclear. The aim of this study was to explore the association between exposure to trace elements mixture and the prevalence of kidney stones and the interactions between the elements.MethodsA total of 1,244 participants (139 kidney stone formers and 1,105 non-stone former participants) in NHANES 2017–2018 were included. The exposure to trace elements was evaluated by measuring their concentration in urine samples. Three methods, Logistic regression, quantile-based g computation (qgcomp), and Bayesian kernel machine regression (BKMR), were used for analysis.ResultsAccording to the results from qgcomp and BKMR, a negative association was found between exposure to the 13 trace elements and the prevalence of kidney stones [OR = 0.50 (0.32, 0.78)]. Subgroup analysis revealed that Co, As, and iodine in the whole population, Co, As, and Ni in males, and Cs, iodine, and Sb in females, were most strongly associated with kidney stones. Kidney stone was found to be positively correlated with Co and negatively correlated with the other elements. Besides, there were significant interactions between Ni and Pb in the whole population, Co and iodine in males, and Pb and iodine in females.ConclusionThere was a negative association between exposure to the mixture of 13 trace elements and the prevalence of kidney stones

    OsNAR2.1 Positively Regulates Drought Tolerance and Grain Yield Under Drought Stress Conditions in Rice

    Get PDF
    Drought is an important environmental factor that severely restricts crop production. The high-affinity nitrate transporter partner protein OsNAR2.1 plays an essential role in nitrate absorption and translocation in rice. Our results suggest that OsNAR2.1 expression is markedly induced by water deficit. After drought stress conditions and irrigation, compared with wild-type (WT), the survival rate was significantly improved in OsNAR2.1 over-expression lines and decreased in OsNAR2.1 RNAi lines. The survival rate of Wuyunjing7 (WYJ), OsNRT2.1 over-expression lines and OsNRT2.3a over-expression lines was not significantly different. Compared with WT, overexpression of OsNAR2.1 could significantly increase nitrogen uptake in rice, and OsNAR2.1 RNAi could significantly reduce nitrogen uptake. Under drought conditions, the expression of OsNAC10, OsSNAC1, OsDREB2a, and OsAP37 was significantly reduced in OsNAR2.1 RNAi lines and increased substantially in OsNAR2.1 over-expression lines. Also, the chlorophyll content, relative water content, photosynthetic rate and water use efficiency were decreased considerably in OsNAR2.1 RNAi lines and increased significantly in OsNAR2.1 over-expression lines under drought conditions. Finally, compared to WT, grain yield increased by about 9.1 and 26.6%, in OsNAR2.1 over-expression lines under full and limited irrigation conditions, respectively. These results indicate that OsNAR2.1 regulates the response to drought stress in rice and increases drought tolerance

    A high-throughput phenotyping assay for precisely determining stalk crushing strength in large-scale sugarcane germplasm

    Get PDF
    Sugarcane is a major industrial crop around the world. Lodging due to weak mechanical strength is one of the main problems leading to huge yield losses in sugarcane. However, due to the lack of high efficiency phenotyping methods for stalk mechanical strength characterization, genetic approaches for lodging-resistant improvement are severely restricted. This study attempted to apply near-infrared spectroscopy high-throughput assays for the first time to estimate the crushing strength of sugarcane stalks. A total of 335 sugarcane samples with huge variation in stalk crushing strength were collected for online NIRS modeling. A comprehensive analysis demonstrated that the calibration and validation sets were comparable. By applying a modified partial least squares method, we obtained high-performance equations that had large coefficients of determination (R2 > 0.80) and high ratio performance deviations (RPD > 2.4). Particularly, when the calibration and external validation sets combined for an integrative modeling, we obtained the final equation with a coefficient of determination (R2) and ratio performance deviation (RPD) above 0.9 and 3.0, respectively, demonstrating excellent prediction capacity. Additionally, the obtained model was applied for characterization of stalk crushing strength in large-scale sugarcane germplasm. In a three-year study, the genetic characteristics of stalk crushing strength were found to remain stable, and the optimal sugarcane genotypes were screened out consistently. In conclusion, this study offers a feasible option for a high-throughput analysis of sugarcane mechanical strength, which can be used for the breeding of lodging resistant sugarcane and beyond

    Household, community, sub-national and country-level predictors of primary cooking fuel switching in nine countries from the PURE study

    Get PDF
    Introduction. Switchingfrom polluting (e.g. wood, crop waste, coal)to clean (e.g. gas, electricity) cooking fuels can reduce household air pollution exposures and climate-forcing emissions.While studies have evaluated specific interventions and assessed fuel-switching in repeated cross-sectional surveys, the role of different multilevel factors in household fuel switching, outside of interventions and across diverse community settings, is not well understood. Methods.We examined longitudinal survey data from 24 172 households in 177 rural communities across nine countries within the Prospective Urban and Rural Epidemiology study.We assessed household-level primary cooking fuel switching during a median of 10 years offollow up (∼2005–2015).We used hierarchical logistic regression models to examine the relative importance of household, community, sub-national and national-level factors contributing to primary fuel switching. Results. One-half of study households(12 369)reported changing their primary cookingfuels between baseline andfollow up surveys. Of these, 61% (7582) switchedfrom polluting (wood, dung, agricultural waste, charcoal, coal, kerosene)to clean (gas, electricity)fuels, 26% (3109)switched between different polluting fuels, 10% (1164)switched from clean to polluting fuels and 3% (522)switched between different clean fuels

    Household, community, sub-national and country-level predictors of primary cooking fuel switching in nine countries from the PURE study

    Get PDF
    corecore