208 research outputs found

    Real-Time Probabilistic Programming

    Full text link
    Complex cyber-physical systems interact in real-time and must consider both timing and uncertainty. Developing software for such systems is both expensive and difficult, especially when modeling, inference, and real-time behavior need to be developed from scratch. Recently, a new kind of language has emerged -- called probabilistic programming languages (PPLs) -- that simplify modeling and inference by separating the concerns between probabilistic modeling and inference algorithm implementation. However, these languages have primarily been designed for offline problems, not online real-time systems. In this paper, we combine PPLs and real-time programming primitives by introducing the concept of real-time probabilistic programming languages (RTPPL). We develop an RTPPL called ProbTime and demonstrate its usability on an automotive testbed performing indoor positioning and braking. Moreover, we study fundamental properties and design alternatives for runtime behavior, including a new fairness-guided approach that automatically optimizes the accuracy of a ProbTime system under schedulability constraints

    Suspension Analysis and Selective Continuation-Passing Style for Universal Probabilistic Programming Languages

    Full text link
    Universal probabilistic programming languages (PPLs) make it relatively easy to encode and automatically solve statistical inference problems. To solve inference problems, PPL implementations often apply Monte Carlo inference algorithms that rely on execution suspension. State-of-the-art solutions enable execution suspension either through (i) continuation-passing style (CPS) transformations or (ii) efficient, but comparatively complex, low-level solutions that are often not available in high-level languages. CPS transformations introduce overhead due to unnecessary closure allocations -- a problem the PPL community has generally overlooked. To reduce overhead, we develop a new efficient selective CPS approach for PPLs. Specifically, we design a novel static suspension analysis technique that determines parts of programs that require suspension, given a particular inference algorithm. The analysis allows selectively CPS transforming the program only where necessary. We formally prove the correctness of the analysis and implement the analysis and transformation in the Miking CorePPL compiler. We evaluate the implementation for a large number of Monte Carlo inference algorithms on real-world models from phylogenetics, epidemiology, and topic modeling. The evaluation results demonstrate significant improvements across all models and inference algorithms

    Expression Acceleration: Seamless Parallelization of Typed High-Level Languages

    Full text link
    Efficient parallelization of algorithms on general-purpose GPUs is today essential in many areas. However, it is a non-trivial task for software engineers to utilize GPUs to improve the performance of high-level programs in general. Although many domain-specific approaches are available for GPU acceleration, it is difficult to accelerate existing high-level programs without rewriting parts of the programs using low-level GPU code. In this paper, we propose a different approach, where expressions are marked for acceleration, and the compiler automatically infers which code needs to be accelerated. We call this approach expression acceleration. We design a compiler pipeline for the approach and show how to handle several challenges, including expression extraction, well-formedness, and compiling using multiple backends. The approach is designed and implemented within a statically-typed functional intermediate language and evaluated using three distinct non-trivial case studies

    Extracorporeal Membrane Oxygenation in Patients With COVID-19:An International Multicenter Cohort Study

    Get PDF
    BACKGROUND: To report and compare the characteristics and outcomes of COVID-19 patients on extracorporeal membrane oxygenation (ECMO) to non-COVID-19 acute respiratory distress syndrome (ARDS) patients on ECMO. METHODS: We performed an international retrospective study of COVID-19 patients on ECMO from 13 intensive care units from March 1 to April 30, 2020. Demographic data, ECMO characteristics and clinical outcomes were collected. The primary outcome was to assess the complication rate and 28-day mortality; the secondary outcome was to compare patient and ECMO characteristics between COVID-19 patients on ECMO and non-COVID-19 related ARDS patients on ECMO (non-COVID-19; January 1, 2018 until July 31, 2019). RESULTS: During the study period 71 COVID-19 patients received ECMO, mostly veno-venous, for a median duration of 13 days (IQR 7-20). ECMO was initiated at 5 days (IQR 3-10) following invasive mechanical ventilation. Median PaO(2)/FiO(2) ratio prior to initiation of ECMO was similar in COVID-19 patients (58 mmHg [IQR 46-76]) and non-COVID-19 patients (53 mmHg [IQR 44-66]), the latter consisting of 48 patients. 28-day mortality was 37% in COVID-19 patients and 27% in non-COVID-19 patients. However, Kaplan-Meier curves showed that after a 100-day follow-up this non-significant difference resolves. Non-surviving COVID-19 patients were more acidotic prior to initiation ECMO, had a shorter ECMO run and fewer received muscle paralysis compared to survivors. CONCLUSIONS: No significant differences in outcomes were found between COVID-19 patients on ECMO and non-COVID-19 ARDS patients on ECMO. This suggests that ECMO could be considered as a supportive therapy in case of refractory respiratory failure in COVID-19

    Recirculation in single lumen cannula venovenous extracorporeal membrane oxygenation: A non-randomized bi-centric trial

    Get PDF
    Background: Recirculation is a common problem in venovenous (VV) extracorporeal membrane oxygenation (ECMO). The aims of this study were to compare recirculation fraction (Rf) between femoro-jugular and jugulo-femoral VV ECMO configurations, to identify risk factors for recirculation and to assess the impact on hemolysis. Methods: Patients in the medical intensive care unit (ICU) at the University Medical Center Regensburg, Germany receiving VV ECMO with femoro-jugular, and jugulo-femoral configuration at the ECMO Center Karolinska, Sweden, were included in this non-randomized prospective study. Total ECMO flow (QEC), recirculated flow (QREC), and recirculation fraction Rf = QREC/QEC were determined using ultrasound dilution technology. Effective ECMO flow (QEFF) was defined as QEFF = QEC * (1–Rf). Demographics, cannula specifics, and markers of hemolysis were assessed. Survival was evaluated at discharge from ICU. Results: Thirty-seven patients with femoro-jugular configuration underwent 595 single-point measurements and 18 patients with jugulo-femoral configuration 231 measurements. Rf was lower with femoro-jugular compared to jugulo-femoral configuration [5 (0, 11) vs. 19 (13, 28) %, respectively (p 8 vs. ≤ 8%. Explorative data on survival showed comparable results in the femoro-jugular and the jugulo-femoral group (81 vs. 72%, p = 0.455). Conclusion: VV ECMO with femoro-jugular configuration caused less recirculation. Further risk factors for higher Rf were shorter distance between the two cannula tips, higher ECMO flow, and lower heart rate. Rf did not affect hemolysis

    Serial S100B Sampling Detects Intracranial Lesion Development in Patients on Extracorporeal Membrane Oxygenation

    Get PDF
    Introduction: Intracranial lesion development is a recognized complication in adults treated with extracorporeal membrane oxygenation (ECMO) and is associated with increased mortality. As neurological assessment during ECMO treatment remains challenging, protein biomarkers of cerebral injury could provide an opportunity to detect intracranial lesion development at an early stage. The aim of this study was to determine if serially sampled S100B could be used to detect intracranial lesion development during ECMO treatment.Methods: We conducted an observational cohort study of all patients treated with ECMO at ECMO Center Karolinska (Karolinska University Hospital, Stockholm, Sweden) between January and August 2018, excluding patients who did not undergo a computerized tomography scan (CT) during treatment. S100B was prospectively collected at hospital admission and then once daily. The primary end-point was any type of CT verified intracranial lesion. Receiver operating characteristics (ROC) curves and Cox proportional hazards models were employed.Results: Twenty-nine patients were included, of which 15 (52%) developed an intracranial lesion and exhibited higher levels of S100B overall. S100B had a robust association with intracranial lesion development, especially during the first 200 hours following admission. The best area-under-curve (AUC) to predict intracranial lesion development was 40 and 140 hours following ECMO initiation, were a S100B level of 0.69μg/L had an AUC of 0.81 (0.628-0.997). S100B levels were markedly increased following the development of intracranial hemorrhage.Conclusions: Serial serum S100B samples in ECMO patients were both significantly elevated and had an increasing trajectory in patients developing intracranial lesions. Larger prospective trials are warranted to validate these findings and to ascertain their clinical utility

    Validation of Prognostic Scores in Extracorporeal Life Support: A Multi-Centric Retrospective Study

    Get PDF
    Multiple prognostic scores have been developed for both veno-arterial (VA) and veno-venous (VV) extracorporeal membrane oxygenation (ECMO), mostly in single-center cohorts. The aim of this study was to compare and validate different prediction scores in a large multicenter ECMO-population. Methods: Data from five ECMO centers included 300 patients on VA and 329 on VV ECMO support (March 2008 to November 2016). Different prognostic scores were compared between survivors and non-survivors: APACHE II, SOFA, SAPS II in all patients; SAVE, modified SAVE and MELD-XI in VA ECMO; RESP, PRESET, ROCH and PRESERVE in VV ECMO. Model performance was compared using receiver-operating-curve analysis and assessment of model calibration. Survival was assessed at intensive care unit discharge. Results: The main indication for VA ECMO was cardiogenic shock; overall survival was 51%. ICU survivors had higher Glasgow Coma Scale scores and pH, required cardiopulmonary resuscitation (CPR) less frequently, had lower lactate levels and shorter ventilation time pre-ECMO at baseline. The best discrimination between survivors and non-survivors was observed with the SAPS II score (area under the curve [AUC] of 0.73 (95% CI 0.67–0.78)). The main indication for VV ECMO was pneumonia; overall survival was 60%. Lower PaCO2, higher pH, lower lactate and lesser need for CPR were observed among survivors. The best discrimination between survivors and non-survivors was observed with the PRESET score (AUC 0.66 (95% CI 0.60–0.72)). Conclusion: The prognostic performance of most scores was moderate in ECMO patients. The use of such scores to decide about ECMO implementation in potential candidates should be discouraged

    Six-Month Survival After Extracorporeal Membrane Oxygenation for Severe COVID-19

    Get PDF
    Objectives: The authors evaluated the outcome of adult patients with coronavirus disease 2019 (COVID-19)-related acute respiratory distress syndrome (ARDS) requiring the use of extracorporeal membrane oxygenation (ECMO). Design: Multicenter retrospective, observational study. Setting: Ten tertiary referral university and community hospitals. Participants: Patients with confirmed severe COVID-19-related ARDS. Interventions: Venovenous or venoarterial ECMO. Measurements and Main Results: One hundred thirty-two patients (mean age 51.1 +/- 9.7 years, female 17.4%) were treated with ECMO for confirmed severe COVID-19-related ARDS. Before ECMO, the mean Sequential Organ Failure Assessment score was 10.1 +/- 4.4, mean pH was 7.23 +/- 0.09, and mean PaO2/fraction of inspired oxygen ratio was 77 +/- 50 mmHg. Venovenous ECMO was adopted in 122 patients (92.4%) and venoarterial ECMO in ten patients (7.6%) (mean duration, 14.6 +/- 11.0 days). Sixty-three (47.7%) patients died on ECMO and 70 (53.0%) during the index hospitalization. Six-month all-cause mortality was 53.0%. Advanced age (per year, hazard ratio [HR] 1.026, 95% CI 1.000-1-052) and low arterial pH (per unit, HR 0.006, 95% CI 0.000-0.083) before ECMO were the only baseline variables associated with increased risk of six-month mortality. Conclusions: The present findings suggested that about half of adult patients with severe COVID-19 -related ARDS can be managed successfully with ECMO with sustained results at six months. Decreased arterial pH before ECMO was associated significantly with early mortality. Therefore, the authors hypothesized that initiation of ECMO therapy before severe metabolic derangements subset may improve survival rates significantly in these patients. These results should be viewed in the light of a strict patient selection policy and may not be replicated in patients with advanced age or multiple comorbidities. (C) 2021 The Authors. Published by Elsevier Inc.Peer reviewe

    Identification of known and novel recurrent viral sequences in data from multiple patients and multiple cancers

    Get PDF
    Virus discovery from high throughput sequencing data often follows a bottom-up approach where taxonomic annotation takes place prior to association to disease. Albeit effective in some cases, the approach fails to detect novel pathogens and remote variants not present in reference databases. We have developed a species independent pipeline that utilises sequence clustering for the identification of nucleotide sequences that co-occur across multiple sequencing data instances. We applied the workflow to 686 sequencing libraries from 252 cancer samples of different cancer and tissue types, 32 non-template controls, and 24 test samples. Recurrent sequences were statistically associated to biological, methodological or technical features with the aim to identify novel pathogens or plausible contaminants that may associate to a particular kit or method. We provide examples of identified inhabitants of the healthy tissue flora as well as experimental contaminants. Unmapped sequences that co-occur with high statistical significance potentially represent the unknown sequence space where novel pathogens can be identified

    Pressure and Flow Properties of Cannulae for Extracorporeal Membrane Oxygenation I: Return (Arterial) Cannulae

    Get PDF
    Adequate extracorporeal membrane oxygenation support in the adult requires cannulae permitting blood flows up to 6-8 L/minute. In accordance with Poiseuille's law, flow is proportional to the fourth power of cannula inner diameter and inversely proportional to its length. Poiseuille's law can be applied to obtain the pressure drop of an incompressible, Newtonian fluid (such as water) flowing in a cylindrical tube. However, as blood is a pseudoplastic non-Newtonian fluid, the validity of Poiseuille's law is questionable for prediction of cannula properties in clinical practice. Pressure-flow charts with non-Newtonian fluids, such as blood, are typically not provided by the manufacturers. A standardized laboratory test of return (arterial) cannulae for extracorporeal membrane oxygenation was performed. The aim was to determine pressure-flow data with human whole blood in addition to manufacturers' water tests to facilitate an appropriate choice of cannula for the desired flow range. In total, 14 cannulae from three manufacturers were tested. Data concerning design, characteristics, and performance were graphically presented for each tested cannula. Measured blood flows were in most cases 3-21% lower than those provided by manufacturers. This was most pronounced in the narrow cannulae (15-17 Fr) where the reduction ranged from 27% to 40% at low flows and 5-15% in the upper flow range. These differences were less apparent with increasing cannula diameter. There was a marked disparity between manufacturers. Based on the measured results, testing of cannulae including whole blood flows in a standardized bench test would be recommended.info:eu-repo/semantics/publishedVersio
    • …
    corecore