A prediction model using machine-learning algorithm for assessing intrathecal hyperbaric bupivacaine dose during cesarean section
BMC Anesthesiology volume 21, Article number: 116 (2021)
The intrathecal hyperbaric bupivacaine dosage for cesarean section is difficult to predetermine. This study aimed to develop a decision-support model using a machine-learning algorithm for assessing intrathecal hyperbaric bupivacaine dose based on physical variables during cesarean section.
Term parturients presenting for elective cesarean section under spinal anaesthesia were enrolled. Spinal anesthesia was performed at the L3/4 interspace with 0.5% hyperbaric bupivacaine at dosages determined by the anesthesiologist. A spinal spread level between T4-T6 was considered the appropriate block level. We used a machine-learning algorithm to identify relevant parameters. The dataset was split into derivation (80%) and validation (20%) cohorts. A decision-support model was developed for obtaining the regression equation between optimized intrathecal 0.5% hyperbaric bupivacaine volume and physical variables.
A total of 684 parturients were included, of whom 516 (75.44%) and 168 (24.56%) had block levels between T4 and T6, and less than T6 or higher than T4, respectively. The appropriate block level rate was 75.44%, with the mean bupivacaine volume [1.965, 95%CI (1.945,1.984)]ml. In lasso regression, based on the principle of predicting a reasonable dose of intrathecal bupivacaine with fewer physical variables, the model is “Y=0.5922+ 0.055117* X1-0.017599*X2” (Y: bupivacaine volume; X1: vertebral column length; X2: abdominal girth), with λ 0.055, MSE 0.0087, and R2 0.807.
After applying a machine-learning algorithm, we developed a decision model with R2 0.8070 and MSE due to error 0.0087 using abdominal girth and vertebral column length for predicting the optimized intrathecal 0.5% hyperbaric bupivacaine dosage during term cesarean sections.
Cesarean delivery is routinely performed under spinal anesthesia with hyperbaric bupivacaine [1,2,3]. Bupivacaine provides an appropriate duration of anesthesia to perform cesarean delivery, and hyperbaric bupivacaine may ensure a more predictable block . However, it is still a challenge for the anesthetist to achieve the optimal spinal spread for cesarean delivery . Parturient variables, including age, height, weight, and body mass index (BMI) have been used to predict spinal spread, but results have been inconsistent [6, 7].
Previous studies demonstrated that abdominal girth and vertebral column length correlated favorably with spread of intrathecal bupivacaine in term parturients [8, 9]. Furthermore, an elemental regression equation was established between parturient vertebral column length, abdominal girth, and 0.5% hyperbaric intrathecal bupivacaine volume for T5 block level . However, the sample size in these studies was relatively small and the accuracy of the regression equation needed further verification [8, 10].
In recent years, there has been an advance in machine-learning algorithms in several fields including anesthesiology, which allowed large amounts of data for the development of robust predictive analytics [11,12,13,14]. These were was used to predict, interalia, postinduction hypotension , intraoperative hypotension , and length of hospital stay . In our hospital, more than 1000 parturient women undergo cesarean section under spinal anesthesia annually. The purpose of this prospective study was to develop a more precise decision-support model based on more sample size using a machine-learning algorithm for assessing intrathecal hyperbaric bupivacaine dosage based on their physical variables at cesarean section.
The study protocol was approved by the Ethical Committee of Jiaxing Maternity and Child Health Care Hospital in May 2015 (2015–5) and pre-registered at http://www.chictr.org.cn/ index.aspx (ChiCTR-OOC-16009149) on September 3, 2016. The signed informed consent was obtained from all participants. In this prospective observational study, 684 term parturient women who presented for elective cesarean section under spinal anesthesia were enrolled from October 2016 to November 2019. Inclusion criteria were American Society of Anesthesiologists (ASA) physical status II or III, age between 21 and 40 years, and gestational age over 37 completed weeks. Exclusion criteria were patient refusal, significant medical or obstetric comorbidities, multiple pregnancies, failed spinal anesthesia, contraindication to spinal anesthesia, discrepancy in spread between both midclavicular lines, or history of allergy to bupivacaine.
The parturient fasted for 8 h and received 8 mL/kg Ringer’s lactate solution via peripheral intravenous access before spinal anesthesia. After entry to the operation room, the standard ASA monitoring was performed. Before spinal puncture, the L3/4 interspace was confirmed by ultrasonic imaging. Spinal anesthesia was performed at the L3/4 interspace in the left lateral decubitus position using a 25 G pencil-point spinal needle (Zhejiang Sujia Medical Equipment Co., Ltd) with midline approach; 0.5% hyperbaric bupivacaine (Shanghai Hefeng Pharmaceutical Co., Ltd) was injected into the subarachnoid space over 10 s after a free flow of cerebrospinal fluid had been obtained. The volume of 0.5% hyperbaric bupivacaine administered was based on the experience of the anesthesiologist. After these procedures, the woman was then rapidly placed in a supine position, with a right pelvic wedge placed to facilitate left uterine displacement. All anesthesia procedures were performed by the same attending physician, and the assessment of cephalad spread of spinal anesthesia was completed by another anesthetist who was blind to the measurement information about the woman. The spinal spread was assessed in both midclavicular lines by an 18-gauge needle for loss of pinprick discrimination 15 min after intrathecal injection and then surgery commenced. If the parturient complained of severe pain (general Visual Analogue Scale [VAS] ≥ 4) during surgery, remifentanil was administered with micropump injection for rescue analgesia. If, based on the assessment of the anesthetist, the woman could not endure the surgery under spinal anesthesia, general anesthesia was performed. Hypotension was defined as systolic pressure values < 90 mmHg or systolic pressure decreases > 30% and was treated with 6 mg of ephedrine or 100 μg of phenylephrine intravenously. Bradycardia was defined as heart rate values < 55 beats/min and was treated with atropine 0.5 mg intravenously.
Abdominal girth was measured at the level of the umbilicus at the end of expiration when the parturient was placed supinely on the horizontal operating table. Vertebral column length was measured from the C7 vertebra to the sacral hiatus (C7-SH). Cephalad spread of spinal anesthesia was assessed by testing for loss of pinprick discrimination in both midclavicular lines at 3 min intervals after intrathecal injection. The spread level at 15 min after intrathecal bupivacaine injection was used for the analysis. The spinal spread level between T4-T6 was considered the appropriate block level. The volume of intrathecal bupivacaine was recorded. Parturient demographic variables, including age, height, fundal height, and weight were recorded. Demographic variables, such as fetal biparietal diameter, were also recorded.
As predictors for the machine-learning models, we included parturient age, height, fundal height, weight, abdominal girth, vertebral column length, and fetal biparietal diameter. The primary outcome was to obtain the regression equation between optimized intrathecal 0.5% hyperbaric bupivacaine dosage and physical variables.
Decision-support model analysis
Machine-learning algorithm was performed by Python 3.7.1. The objective function of lasso regression is:
In the function, λ is a parameter that controls the complexity of the model. With lasso regression, controlling the parameter of λ can result in a sparse solution: the coefficient of unimportant features will be assigned to 0, and the important features will be highlighted in order according to the weight value so as to achieve the importance ranking of features, and further control the complexity of the algorithm according to the selected input features.
Therefore, based on the lasso regression algorithm, our study explored the relationship between the seven individual physical variables listed above and bupivacaine dosage, then obtained the regression equation between optimized intrathecal 0.5% hyperbaric bupivacaine dosage and the physical variables.
The statistical model strives to predict an intrathecal bupivacaine dosage with fewer physical variables. R2 is the determination coefficient, which is the degree of fitting for the obtained regression equation. Mean-square error (MSE) is a single value that provides information about the goodness fit of the regression line. The smaller the MSE value, the better the fit, as smaller values imply smaller magnitudes of error. The data set (term parturient with appropriate block level) was split into derivation (80%) and validation (20%) cohorts. The derivation cohort parturients were used to derive for the prediction model, and the validation cohorts were used to validate the model. We gradually increased the number of independent variables from 2 to 5 (physical variables), optimized the λ value, and balanced the value of R2, MES, and the number of independent variables.
All statistical analyses were performed with SPSS version 19 (IBM Corp). We presented the data as means ± standard deviations (SDs) or numbers (%) as appropriate. We tested quantitative data by using the independent t-test. A two-tailed p value < 0.05 denoted statistical significance.
A total of 684 parturients were included in this study, of whom 516 had a block level between T4 and T6 (appropriate block level) and 168 had a block level lower than T6 or higher than T4 (inappropriate block level). The appropriate block level rate was 75.44%, with the mean bupivacaine volume [1.965, 95%CI(1.945,1.984)]ml. The spread level of 69 parturients was less than T6 and 99 parturients higher than T4. Compared with those with appropriate block levels, weight and abdominal girth were greater in the group with inappropriate block levels (p < 0.05 and p < 0.01, respectively); there was no obvious difference in bupivacaine dosage and other physical variables in those women with appropriate and inappropriate block levels (Table 1).
A total of 412 term parturients were used to derive for the prediction model. In lasso regression, when the physical variables included in the equation increased from 2 to 5, R2 increased from 0.8070 to 0.81325, and MSE decreased from 0.0087 to 0.00844, both with little changed.
On decision tree analysis, vertebral column length and abdominal girth were the top two physical performance variables with respect to the dosage of intrathecal bupivacaine; the model is “Y=0.5922+ 0.055117* X1-0.017599* X2”(Y: 0.5% bupivacaine volume; X1: vertebral column length; X2:abdominal girth), with the λ 0.055, MSE 0.0087 and R2 0.807 (Table 2). The remaining 104 participants were used to validate the model. The actual bupivacaine volume was 1.94 ± 0.21 mL, with a predicted bupivacaine volume of 1.95 ± 0.19 mL (p > 0.05); R2 of all women during the validation was above 0.8, indicating that the model was reliable (Figs. 1 and 2).
In the current study, 282 parturients (41.23%) were found to develop hypotension during cesarean section and were treated with ephedrine and/or norepinephrine.
In this prospective, observational study, after applying a machine-learning algorithm, we developed the decision model: Y = 0.5922 + 0.055117* X1–0.017599* X2 (Y: 0.5% hyperbaric bupivacaine volume; X1: vertebral column length; X2: abdominal girth), with the λ 0.055, MSE 0.0087, and R2 0.807. On decision-tree analysis, vertebral column length and abdominal girth were the top two performance physical variables with respect to intrathecal bupivacaine dosage.
According to the data type of this study, multiple linear regression, ridge regression, and lasso regression are usually used for data analysis. Multiple linear regression has the characteristics of simple construction, easy implementation, and low operation complexity, but the model is prone to overfitting. To control the complexity of the model, penalties or other constraints are often added to the model; that is, regularization techniques. Ridge regression and lasso regression are currently popular regularization regression techniques. The goal of the two is the same; that is, to minimize the sum of squared residuals, but the constraints on the regression coefficients are different. Ridge regression can effectively solve the problem of overfitting but, as the value changes, its feature coefficients become uniformly small, making it impossible to discern the importance of each feature. Lasso regression, however, effectively solves the overfitting problem; it can obtain a sparse solution by controlling the parameters: the coefficients of unimportant features will be assigned to 0, and the important features will be highlighted in order according to the weight value, so as to achieve the importance ranking of features, and further control the complexity of the algorithm according to the selected input features.
In the present study, according to the results of parameter selection of lasso regression and model evaluation for different parameters, when the physical variables included in the equation increased from 2 to 5, MSE and R2 were not obviously increased. On decision-tree analysis, vertebral column length and abdominal girth were the top two performance physical variables with respect to intrathecal bupivacaine dosage. Over one hundred term parturients were used to validate the model, and R2 of all patients during the validation was above 0.8, indicating that the model was reliable.
Previous studies reported that the median satisfactory block height for the loss of pinprick discrimination during spinal anesthesia for cesarean section was T5, and the interquartile range (IQR) was from T4-T6 . In our previous study, we set T5 as the appropriate spinal spread level and found the vertebral column length and abdominal girth to be the top two performance physical variables . In the current study, we set appropriate spinal spread levels for the loss of pinprick discrimination as T6, T5, and T4 at 15 min after intrathecal injection, and also found vertebral column length and abdominal girth to be the top two performance physical variables. We need to note that the regression model obtained in this study is more clinically valuable.
In current study, the appropriate block level rate was 75.44%, with the mean bupivacaine volume 1.965 ml (9.825 mg). The mean bupivacaine dose was slightly lower than previous study reported that bupivacaine provides anesthesia in almost all patients (ED95) at doses that range between 11 and 13 mg . It may be that the study subjects only included Asians.
Studies have proven that, in pregnant women, soft tissues may migrate inward into the vertebral canal , and engorgement of the extradural venous plexus occurs when pregnant women are in the supine position because of obstruction of the inferior vena cava by the enlarged uterus [19, 20]. Thus, an increased abdominal girth in the parturient causes a decrease in lumbosacral cerebrospinal fluid volume. Carpenter et al. . reported that lumbosacral cerebrospinal fluid volume is the main determinant of the spread of spinal anesthesia. Our recent study showed that abdominal girth and dorsosacral distance were correlated with lumbosacral cerebrospinal fluid volume . Therefore, the maternal abdominal girth and vertebral length may have a predictive effect on the spinal spread due to their effect on the volume of the lumbosacral cerebrospinal fluid.
Previous studies reported incidences of hypotension varying from 1.9 to 71% [23, 24]. In the present study, hypotension during cesarean section occurred in 41.23% of participants and was treated with ephedrine and/or norepinephrine. Most of these patients were term parturients with appropriate spinal spread levels. Thus, when performing a cesarean section under spinal anesthesia, we must strictly monitor the patient’s hemodynamic status, irrespective of whether or not the anesthesia block level is in the appropriate range.
This study has several limitations. First, only the spread level at 15 min after intrathecal bupivacaine injection was used for the analysis. We know that the spinal spread changes over time. Second, intrathecal hyperbaric bupivacaine with opioid was not studied in current study and it is worthy of further study. Third, the model does not take into account the multitude of other factors, such as drug factors, position factors, surgical factors and so on. Forth, this model is based on Asians, and whether it is accurate in other races requires further research. Despite these limitations, the current machine-learning algorithm provides new insights into the potential impact of controversial parameters.
In conclusion, in the current study, after applying a machine-learning algorithm, we developed a decision model with the coefficient of determination 0.807 and the mean of squares due to error 0.0087, using two physical variables for predicting the intrathecal 0.5% hyperbaric bupivacaine dosage during cesarean section in term parturients. Among the parturient physical variables, abdominal girth and vertebral column length were the two most significant factors, which can be used for predicting the intrathecal bupivacaine dosage during cesarean section.
Availability of data and materials
The datasets used and/or analyzed during the current study are available from the corresponding author on reasonable request (Email: firstname.lastname@example.org).
- R2 :
Coefficient of determination
body mass index
American Society of Anesthesiologists
Visual Analogue Scale
Statistic Package for Social Science
Inter quartile range
Norris MC. Patient variables and the subarachnoid spread of hyperbaric bupivacaine in the term parturient. Anesthesiology. 1990;72(3):478–82. https://doi.org/10.1097/00000542-199003000-00015.
Norris MC. Height, weight, and the spread of subarachnoid hyperbaric bupivacaine in the term parturient. Anesth Analg. 1988;67(6):555–8.
Russell IF, Holmqvist EL. Subarachnoid analgesia for caesarean section. A double-blind comparison of plain and hyperbaric 0.5% bupivacaine. Br J Anaesth. 1987;59(3):347–53. https://doi.org/10.1093/bja/59.3.347.
Vercauteren MP, Coppejans HC, Hoffmann VL, Saldien V, Adriaensen HA. Small-dose hyperbaric versus plain bupivacaine during spinal anesthesia for cesarean section. Anesth Analg. 1998;86(5):989–93. https://doi.org/10.1213/00000539-199805000-00014.
Hocking G, Wildsmith JA. Intrathecal drug spread. Br J Anaesth. 2004;93(4):568–78. https://doi.org/10.1093/bja/aeh204.
Ekeløf NP, Jensen E, Poulsen J, et al. Weight gain during pregnancy does not influence the spread of spinal analgesia in the term parturient. Acta Anaesthesiol Scand. 1997;41(7):884–7. https://doi.org/10.1111/j.1399-6576.1997.tb04804.x.
Harten JM, Boyne I, Hannah P, Reinstrup P. Effects of a height and weight adjusted dose of local anaesthetic for spinal anaesthesia for elective caesarean section. Anaesthesia. 2005;60(4):348–53. https://doi.org/10.1111/j.1365-2044.2005.04113.x.
Wei CN, Zhang YF, Xia F, Wang LZ, Zhou QH. Abdominal girth, vertebral column length and spread of intrathecal hyperbaric bupivacaine in the term parturient. Int J Obstet Anesth. 2017;31:63–7. https://doi.org/10.1016/j.ijoa.2017.02.002.
Siddiqui KM, Ali MA, Ullah H. Comparison of spinal anesthesia dosage based on height and weight versus height alone in patients undergoing elective cesarean section. Korean J Anesthesiol. 2016;69(2):143–8. https://doi.org/10.4097/kjae.2016.69.2.143.
Wei CN, Zhou QH, Wang LZ. Abdominal girth and vertebral column length aid in predicting intrathecal hyperbaric bupivacaine dose for elective cesarean section. Medicine (Baltimore). 2017;96:e7905.
Gambus PL, Jaramillo S. Machine learning in anaesthesia: reactive, proactive … predictive! Br J Anaesth. 2019;123(4):401–3. https://doi.org/10.1016/j.bja.2019.07.009.
Wijnberge M, Geerts BF, Hol L, Lemmers N, Mulder MP, Berge P, et al. Effect of a machine learning-derived early warning system for intraoperative hypotension vs standard care on depth and duration of intraoperative hypotension during elective noncardiac surgery: the HYPE randomized clinical trial. JAMA. 2020;323(11):1052–60. https://doi.org/10.1001/jama.2020.0592.
Kendale S, Kulkarni P, Rosenberg AD, Wang J. Supervised machine-learning predictive analytics for prediction of Postinduction hypotension. Anesthesiology. 2018;129(4):675–88. https://doi.org/10.1097/ALN.0000000000002374.
Hashimoto DA, Witkowski E, Gao L, Meireles O, Rosman G. Artificial intelligence in anesthesiology: current techniques, clinical applications, and limitations. Anesthesiology. 2020;132(2):379–94. https://doi.org/10.1097/ALN.0000000000002960.
Gabriel RA, Sharma BS, Doan CN, Jiang X, Schmidt UH, Vaida F. A predictive model for determining patients not requiring prolonged hospital length of stay after elective primary Total hip Arthroplasty. AnesthAnalg. 2019;129(1):43–50.
Ousley R, Egan C, Dowling K, Cyna AM. Assessment of block height for satisfactory spinal anaesthesia for caesarean section. Anaesthesia. 2012;67(12):1356–63. https://doi.org/10.1111/anae.12034.
Benhamou D, Wong C. Neuraxial anesthesia for cesarean delivery: what criteria define the “optimal” technique? AnesthAnalg. 2009;109(5):1370–3.
Hirabayashi Y, Shimizu R, Fukuda H, Saitoh K, Igarashi T. Soft tissue anatomy within the vertebral canal in pregnant women. Br J Anaesth. 1996;77(2):153–6. https://doi.org/10.1093/bja/77.2.153.
Igarashi T, Hirabayashi Y, Shimizu R, Saitoh K, Fukuda H, Suzuki H. Thefiberscopic findings of the epidural space in pregnant women. Anesthesiology. 2000;92(6):1631–6. https://doi.org/10.1097/00000542-200006000-00021.
Takiguchi T, Yamaguchi S, Tezuka M, Furukawa N, Kitajima T. Compression of the subarachnoid space by the engorged epidural venous plexus in pregnant women. Anesthesiology. 2006;105(4):848–51. https://doi.org/10.1097/00000542-200610000-00033.
Carpenter RL, Hogan QH, Liu SS, Crane B, Moore J. Lumbosacral cerebrospinal fluid volume is the primary determinant of sensory block extent and duration during spinal anesthesia. Anesthesiology. 1998;89(1):24–9. https://doi.org/10.1097/00000542-199807000-00007.
Zhou QH, Shen C, Chen G. Abdominal girth and dorso-sacral distance can be used to estimate lumbosacral cerebral fluid volume. Acta Anaesthesiol Scand. 2018;62(2):234–41. https://doi.org/10.1111/aas.13046.
Ngan Kee WD, Khaw KS, Ng FF. Prevention of hypotension during spinal anesthesia for cesarean delivery: an effective technique using combination phenylephrine infusion and crystalloid cohydration. Anesthesiology. 2005;103(4):744–50. https://doi.org/10.1097/00000542-200510000-00012.
Rout CC, Rocke DA, Levin J, Gouws E, Reddy D. A reevaluation of the role of crystalloid preload in the prevention of hypotension associated with spinal anesthesia for elective cesarean section. Anesthesiology. 1993;79(2):262–9. https://doi.org/10.1097/00000542-199308000-00011.
We would like to thank Ying-chun Ren for the analysis of data and Wei Deng for discussion of the planning in current study. The study protocol was pre-registered at http://www.chictr. org.cn/index.aspx (ChiCTR-OOC-16009149) on September 3, 2016.
The study was funded by the Technology Bureau of Jiaxing, Zhejiang Province (2015C23023) and the Key Discipline established with Zhejiang Province and Jiaxing City jointly (2019-ss-ttyx) in the data collection and analysis.
Ethics approval and consent to participate
The study protocol was approved by the Ethical Committee of Jiaxing Maternity and Child Health Care Hospital in May 2015 (2015–5). The signed informed consent was obtained from all participants.
Consent for publication
The authors declare that they have no competing interests.
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Visual analysis diagram of correlation between physical variables and intrathecal bupivacaine dose for the parturients with block levels between T4 and T6. Figure S2. Correlation analysis diagram between physical variables and intrathecal bupivacaine dose for the parturients with block levels between T4 and T6.
About this article
Cite this article
Wei, Cn., Wang, Ly., Chang, Xy. et al. A prediction model using machine-learning algorithm for assessing intrathecal hyperbaric bupivacaine dose during cesarean section. BMC Anesthesiol 21, 116 (2021). https://doi.org/10.1186/s12871-021-01331-8