Insulin-Glucose Absorption Dynamics
[This was a project I had worked on in high school. Since then I have worked on more sophisticated blood glucose prediction models which can be found here.]
Since subcutaneously delivered insulin analogs for type one diabetics behave differently from natural insulin, it’s almost impossible to keep blood sugar levels stable after meals. Almost always, you get a sharp peak followed by a rapid fall.
After subcutaneous delivery, insulin is in its hexameric form. Hexameric insulin cannot be directly absorbed in the bloodstream. These hexamers dissociate into dimeric and monomeric units, caused by diffusion in the intercellular dilution of the insulin concentration. Once it is in its dimeric and monomeric form, insulin penetrates the capillary membrane and is absorbed into the bloodstream. Since this process slows down absorption, insulin analogs do not manage to keep blood sugar levels steady the way natural insulin does.
Maybe sharp peaks and troughs can be avoided by mapping carbohydrate absorption rate and insulin activity to each other.
To match the trend of their curves, I quantified the bioavailability of insulin and the glycaemic index of food. Using regression, I determined insulin activity curves and glycemic response to different foods.
Modelling Insulin Activity
Currently, closed loop systems (Loop and OpenAPS) use exponential insulin activity curves fitted to novolog and fiasp data. I, however, wanted to try obtaining curves for humalog activity.
Polynomial Regression
First, I tried to approximate insulin curves with polynomial models. Using the Bayesian Information Criteria, I checked what degree gives the best fit. The model with the lowest BIC was a 7 degree polynomial.
Since there isn’t a consistent decay trend after the peak is hit, polynomial models are not a great fit to mimic insulin activity.
Exponential Curve Fitting
Next I tried to fit data to an exponential model because I needed gradual asymptotic fading of insulin concentration.
The exponential model was a decent fit and the one I ended up using.
Modelling Glycemic Index
I tried to model the glycemic index of food in the following way - I took cgm readings after consumption of 15 grams of carbs in different foods, provided that there was no insulin on board. I fitted the data to a polynomial curve and found the peak of the graph. Next, I normalised both curves and shifted the insulin curve to meet the peak time for the glycemic index curve. This way we can calculate the time gap between insulin and food consumption to get matched curve trends which can give relatively steady blood sugar after meals.
An example curve for 15 grams of carbs (from an apple):
Assumptions & Drawbacks
- Subcutaneous insulin absorption can be influenced by many factors such as location of injection site, temperature and blood flow near the injection site. It is difficult to consider these factors in determining insulin activity curves since they vary each time and are impossible to quantify.
- YDMV (your diabetes may vary) will always be a challenge while building solutions for diabetes. The insulin curves are fit to consolidation of data in clinical trials from a large number of diabetics. Insulin action, however, differs among each individual. No curve will be able to give precise readings for two different people or even for the same person at different points in time.
- This method can only be used for foods that have a carbohydrate absorption profile similar to insulin absorption. This method can not work for foods very high in fat or protein because their absorption dynamics do not follow the rise-singlepeak-fall trend.
- We are working on the assumption that glucose and insulin dose size does not affect its profile/ dynamics of absorption.
- Continuous Glucose Monitors measure interstitial glucose which lags behind venous glucose. Calculating insulin activity from clamp studies but using CGM data to judge glycemic index can give an inaccurate match. Adjustments will need to be made according to CGM lag time.
- There needs to be a better way to evaluate carbohydrate absorption because it is difficult to get data for a range of food with no IOB present.