{"id":962,"date":"2017-12-11T18:15:23","date_gmt":"2017-12-11T23:15:23","guid":{"rendered":"http:\/\/haleyai.com\/wordpress\/?p=962"},"modified":"2018-07-14T17:17:48","modified_gmt":"2018-07-14T22:17:48","slug":"ending-back-pain-with-ai","status":"publish","type":"post","link":"http:\/\/haleyai.com\/wordpress\/2017\/12\/11\/ending-back-pain-with-ai\/","title":{"rendered":"Ending Back Pain with AI"},"content":{"rendered":"<p>A nationwide physical therapy business is renowned for eliminating chronic pain.\u00a0 One unique aspect of this business is that it eliminates pain not by manipulation but by providing clients with expertly selected sequences of exercises that address problems in their functional anatomy.\u00a0 In effect, the business helps people fix themselves and teaches them to maintain their musculoskeletal function for pain-free life.<\/p>\n<p><a href=\"http:\/\/what-the-friday.com\/\"><img loading=\"lazy\" decoding=\"async\" title=\"offset trunk with excess spinal curvature\" src=\"http:\/\/haleyai.com\/wordpress\/wp-content\/uploads\/what-the-friday-front-side-posture.png\" alt=\"\" width=\"242\" height=\"158\" \/><\/a><a href=\"https:\/\/youngwildandpainfree.com\/2017-egoscue-method-for-scoliosis-my-review\/\"><img loading=\"lazy\" decoding=\"async\" title=\"spinal curvature\/scoliosis with hip\/femur issues\" src=\"https:\/\/youngwildandpainfree.com\/wp-content\/uploads\/2017\/06\/beforeandafter_text-768x768.jpg\" alt=\"\" width=\"159\" height=\"159\" \/><\/a><a href=\"https:\/\/ctpainfree.com\/pain-free-in-5-easy-steps\/\"><img loading=\"lazy\" decoding=\"async\" title=\"excess spinal curvature w\/ head and balance forward\" src=\"https:\/\/ctpainfree.com\/wp-content\/uploads\/2016\/02\/Janell-Before-and-After-1-500x500.jpg\" alt=\"\" width=\"164\" height=\"164\" \/><\/a><\/p>\n<p>The business has dozens of clinics with many more therapists.\u00a0 Its   expertise comes primarily from its founder and a number of long-time   employees who have learned through experience.\u00a0 We have been engaged to  assist with several challenges on several occasions.<\/p>\n<p><!--more-->One  of those challenges was helping to extract the expertise of the   founder.\u00a0 Actually, the challenge of extracting the expertise of the   founder was second-order.\u00a0 The first-order challenge was to make the   business scalable beyond the constraints of the founder\u2019s physical   availability.\u00a0 Trained physical therapists found it difficult to   comprehend the founder\u2019s technique.\u00a0 And those that grasped it to   varying degrees applied it inconsistently, requiring continuing   supervision by the founder.<\/p>\n<p>We were successful in doing this using traditional techniques, such  as protocol analysis (or perhaps, more precisely, what Newell and Simon  called \u201cinformation processing psychology\u201d).<\/p>\n<p>The founder had identified a number of  key patterns based on  functional anatomy that tended to lead to certain  kinds of compensation  and pain.\u00a0 For example, if one hip is tilted more  than another, there  is a torsion on the lower spine.\u00a0 If the hips are  tilted forward, there  is an increase in lumbar curvature.\u00a0 If there is rotation of the upper  leg, there is increased stress on the  knee when walking.\u00a0 Any of these  things will lead to further  compensation and, eventually, pain and,  perhaps, injury.<\/p>\n<ul>\n<li><span style=\"text-decoration: underline;\">To put it  simply, the cure is to reverse the process and restore proper muscular  function and proper posture.<\/span><\/li>\n<\/ul>\n<p>The business used <a href=\"http:\/\/haleyai.com\/wordpress\/2017\/11\/08\/artificially-intelligent-physical-therapy\/\">the resulting system<\/a><a href=\"http:\/\/haleyai.com\/wordpress\/wp-admin\/post.php?action=edit&amp;post=962&amp;message=10#_ftn1\">[1]<\/a> to expand nationwide and internationally over the last two decades.\u00a0  But the founder continued to learn while the system did not.\u00a0 And the  effectiveness of what emerged as \u201c<a href=\"http:\/\/choosinghealthnow.com\/2012\/04\/22\/pain-free-living-through-the-egoscue-method\/\">the method<\/a>\u201d remained anecdotal.<\/p>\n<p>Twenty-five years ago, we simply figured out what the founder perceived and how he thought about it to choose  exercises.\u00a0 In the decades since, the company has tried to simplify  that knowledge into a small number of patterns they call \u201c<a href=\"http:\/\/www.oregonexercisetherapy.com\/blog\/the-power-of-the-egoscue-tower\">conditions<\/a>\u201d.<\/p>\n<p><a href=\"https:\/\/www.fruit-powered.com\/wp-content\/uploads\/2017\/04\/Egoscue-Method-Condition-postures.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"posture conditions\" src=\"https:\/\/www.fruit-powered.com\/wp-content\/uploads\/2017\/04\/Egoscue-Method-Condition-postures.jpg\" alt=\"\" width=\"728\" height=\"321\" \/><\/a><\/p>\n<p>The advantage of having conditions is that it is easier to teach a therapist to recognized them.\u00a0 The disadvantage is that it reduces personalized exercise sequencing to selection among a small number of preordained \u201cmenus\u201d of exercises.\u00a0 In practice, this results in longer, perhaps less-effective, exercise sequences than those of an expert who can see the effect of each exercise and \u201cprescribe\u201d a sequence that is most efficaciously focused on any specific client.<\/p>\n<h2>Optimizing the efficacy of physical therapy<\/h2>\n<p>As described previously <a href=\"http:\/\/haleyai.com\/wordpress\/2017\/11\/08\/artificially-intelligent-physical-therapy\/\">here<\/a>, the data captured by the initial system (which was deployed prior to widespread availability of digital cameras and the Internet) was subjectively interpreted by therapists.\u00a0 Replacing Polaroids with digital pictures improved the workflow but not the objectivity of posture data.\u00a0 More recently, vision and balance sensors provide objective data from digital images and color\/depth cameras, as well as objective data on left\/right and front\/back weight bearing per foot.<\/p>\n<p>With our current capabilities, a self-learning exercise recommendation system and clinical management system is ready to optimize the efficacy of physical therapy.<\/p>\n<p>This post discusses factors that we have incorporated into a model of   exercise selection based on objective longitudinal data.\u00a0 The   recommendations were initially seeded using expert knowledge to   formulate <a href=\"https:\/\/en.wikipedia.org\/wiki\/Structural_equation_modeling\">structured equation models<\/a> that we adapt using statistical techniques, including <a href=\"http:\/\/www.stat.columbia.edu\/~gelman\/book\/\">Bayesian data analysis<\/a>, and some neural techniques, which we can only touch on here due to the length of the introductory discussion.<\/p>\n<p>For various reasons, including some that follow, we do have not pursued automated exercise prescription.\u00a0 Our objective is expert recommendation of exercises by a continuously improving physical therapy (PT) system based on clinical evidence.\u00a0 Given a few highly ranked recommendations, therapists or clients themselves can select an exercise (or veto a recommendation, as discussed below).<\/p>\n<p><span style=\"text-decoration: underline;\">These recommendations have been used successfully in many thousands of physical therapy sessions. <\/span><\/p>\n<p>And our client can demonstrate, objectively and quantitatively their efficacy.<\/p>\n<h2>Expert physical therapy<\/h2>\n<p>An expert therapist selects the most appropriate exercise at a point in time.\u00a0 This is not a direct mapping from posture to exercise selection.\u00a0 An expert therapist also considers any symptoms (e.g., pain) and the client\u2019s function (e.g., how strong or flexible they are).<\/p>\n<h3>Physical conditions and fitness<\/h3>\n<p>For example, someone who just had their knee replaced or who has severely arthritic wrists would not want to do <a href=\"https:\/\/www.wikihow.com\/Do-a-Cat-and-Dog-Exercise\">cats &amp; dogs<\/a>, even if it would be otherwise indicated by scoliosis or having just finished a <a href=\"http:\/\/yoga.lovetoknow.com\/Seated_Spinal_Twist\">seated spinal twist<\/a> (to minimize the risk of back spasms in someone with complex or excess spinal curvature).\u00a0 As another example, someone who has ankle or wrist joint symptoms would not be a good candidate for the <a href=\"https:\/\/www.doyouyoga.com\/10-alignment-tips-to-improve-your-downward-dog\/\">downward dog<\/a>, nor would be someone not strong enough to hold half their weight on their hands.<\/p>\n<h3>Symptoms<\/h3>\n<p>In my experience, most therapists are extraordinarily compassionate.\u00a0 If a client is hurting, there is a tendency to treat the symptom rather than to more directly attack the cause.\u00a0 This brings relief but risks dissatisfaction when the pain returns shortly thereafter.\u00a0 Attacking the cause seems less compassionate in the short-term but can be more compassionate in the days following a visit to a clinic.\u00a0 Moreover, alleviating symptoms frequently takes more time than reducing causes.<\/p>\n<h3>Treatment<\/h3>\n<p>One technique for reducing several types of pain (especially lower back, hip, and some knee pain) is to perform a passive stretch of muscles in the lower back, hips, and upper legs.\u00a0 For example, the <a href=\"http:\/\/www.oregonexercisetherapy.com\/blog\/egoscue-supine-groin-stretch\">supine groin<\/a> stretch relaxes the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Iliopsoas\">iliopsoas<\/a> (aka hip flexors).\u00a0 But the supine groin puts just enough stress on the psoas that it can trigger pain or back spasms in people with symptoms or significant dysfunction.\u00a0 In those cases, the <a href=\"https:\/\/www.youtube.com\/watch?v=OdXWsisslnA\">static back<\/a> may be effective, but it can take a while and, like all passive stretches, not take enduring effect.<a href=\"#_ftn1\">[2]<\/a><\/p>\n<p><a href=\"https:\/\/www.lower-back-pain-answers.com\/iliopsoas.html\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"iliopsoas = iliacus + psoas \" src=\"https:\/\/www.lower-back-pain-answers.com\/images\/xIliopsoas.jpg.pagespeed.ic.2T2SEkZbzV.jpg\" alt=\"\" width=\"397\" height=\"436\" \/><\/a><\/p>\n<h3>Helping with therapy vs. automating therapists<\/h3>\n<p>As we mentioned above, our objective is an expert PT system that recommends exercises.\u00a0 We leave it to therapists or clients to decide which exercise is right for them.\u00a0 As they indicate conditions or symptoms that contradict recommendations, future recommendations should consider that feedback and how it may change over time (i.e., an artificial knee permanent precludes some exercises, shoulder dislocation risks may improve over time, and pain can be quite transient).\u00a0 Therapist can also indicate how difficult and\/or effective exercises (as can clients from their laptops or mobile devices when they perform exercises at home).<\/p>\n<h3>Prerequisites to self-learning decision support for PT<\/h3>\n<p>An expert PT system requires a variety of knowledge in order to recommend and learn:<\/p>\n<ul>\n<li>how muscles are attached to bones<\/li>\n<li>how muscles and bones are involved in articulations of joints<\/li>\n<li>how muscles are typically engaged in and affected by exercises<\/li>\n<li>how joints are positioned and\/or articulated in exercises<\/li>\n<li>how weight is borne in exercises and positions<\/li>\n<li>how conditions or symptoms pertain to muscles, bones, and joints<\/li>\n<\/ul>\n<p>Such knowledge is readily available and well-known by skilled physical therapists.<\/p>\n<p>For example, the iliopsoas attaches to the lumbar spine, ilium, and the femur.\u00a0 It attaches medially on the femur such that when engaged it tends to rotate the femur externally while lifting the femur to the anterior (i.e., flexion of the hip).\u00a0 The static back shortens the iliopsoas (through passive flexion of the hip) thereby relieving tension on the pelvis and lumbar spine.\u00a0 The supine groin passively stretches the iliopsoas.\u00a0 Weight is distributed along the back in each case.\u00a0 As another example, the downward dog demands <a href=\"https:\/\/en.wikipedia.org\/wiki\/Anatomical_terms_of_motion#Hands_and_feet\">dorsiflexion<\/a> (an ankles and hands), knee extension, hip flexion, thoracic extension, shoulder flexion, and elbow extension with 25% of body weight borne per hand, wrist, elbow, shoulder, knee, ankle, and foot.\u00a0 The muscles involved in the elbow, shoulder, and knee articulations are isometrically engaged and those involved in dorsiflexion at the ankle (in particular) are aggressively stretched.<\/p>\n<p>Given that knowledge, there are some core aspects of physical therapy that a system should understand before it may be considered expert, such as:<\/p>\n<ul>\n<li>different types of muscular dysfunction (including imbalances)<\/li>\n<li>how muscular function or dysfunction relates to posture and balance<\/li>\n<li>how deviations from ideal posture and balance manifest pain<\/li>\n<li>how stretching and\/or strengthening muscles affects posture and balance<\/li>\n<li>how similar exercises performed in different positions may vary in effect<\/li>\n<li>when passive stretching may be preferable to active stretching<\/li>\n<li>how to optimize the effect of therapy given limited time<\/li>\n<li>how to optimize therapy before or after certain types of physical activity<\/li>\n<li>certain conditions counter-indicate certain articulations and\/or weight bearing<\/li>\n<\/ul>\n<p>There is too much practical knowledge about PT to contemplate here, though.\u00a0 Here we want to address how this initial knowledge is used and how it facilities self-learning and evidence-based physical therapy.<\/p>\n<h3>Physical therapy modelling basics<\/h3>\n<p>Here is an abstract model of exercise recommendation:<\/p>\n<ul>\n<li>Observe posture (i.e., obtain the angles of articulation of all joints[3]) and balance (i.e., obtain left\/right and front\/back weight distribution per foot).\n<ul>\n<li>vision is important here in that it eliminates judgements that vary across therapists[4]<\/li>\n<\/ul>\n<\/li>\n<li>Compute longitudinal data from observations along with information about exercises performed (especially sequentially with observations before and after each exercise and\/or with feedback per exercise).\n<ul>\n<li>without vision obtaining objective data before and after each exercise is impractical<\/li>\n<\/ul>\n<\/li>\n<li>Treat the observations and longitudinal data as inputs in a model of functional anatomy comprised of (derived and\/or latent) variables of anatomical function (or, equivalently, dysfunction).\n<ul>\n<li>important since, commonly, multiple muscles are involved in articulation or muscles are involved in multiple articulations (including isometrically holding a joint steady against some force)<\/li>\n<\/ul>\n<\/li>\n<li>Treat conditions or symptoms, fitness, goals (e.g., goals, such as an upcoming activity) and psychological factors (e.g., motivation, pain tolerance) along with the foregoing as inputs in a therapy model (e.g., prioritized treatment objectives).<\/li>\n<li>Treat the longitudinal data and the model of anatomical function,  along with conditions or symptoms, and fitness as inputs into a model of  exercise efficacy per exercise.<\/li>\n<li>Treat the foregoing (i.e., longitudinal observations and variables of anatomical function, exercise efficacy, and treatment objectives)\u00a0 as inputs to exercise recommendation.<\/li>\n<\/ul>\n<p>It may be helpful to consider the foregoing as defining a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Structural_equation_modeling\">structural equation model<\/a> or a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Deep_learning\">deep learning<\/a> architecture with the following levels or layers (roughly speaking):<\/p>\n<p><a href=\"http:\/\/haleyai.com\/wordpress\/wp-content\/uploads\/deep-PT.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-979\" title=\"deep PT\" src=\"http:\/\/haleyai.com\/wordpress\/wp-content\/uploads\/deep-PT.png\" alt=\"\" width=\"951\" height=\"102\" srcset=\"http:\/\/haleyai.com\/wordpress\/wp-content\/uploads\/deep-PT.png 951w, http:\/\/haleyai.com\/wordpress\/wp-content\/uploads\/deep-PT-300x32.png 300w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>On the left, the raw data is transformed into anatomical data. The raw data is preserved for future analysis, such as using improved vision but is not used directly at higher levels.<\/p>\n<p>Posture and functional assessments are based on that anatomical data (including its longitudinal history[5]) and, to varying degrees, on a client&#8217;s persistent conditions or symptomatic severity.<\/p>\n<p>Therapeutic priorities and exercise efficacy can be viewed as two distinct models which share as inputs the posture and functional assessments, conditions &amp; symptoms, longitudinal history, and the client&#8217;s fitness.<\/p>\n<p>Unlike therapeutic priorities, exercise efficacy is less directly dependent on client goals and time available for therapy.\u00a0 Exercise recommendation, on the other hand, is dependent on everything involved in the therapeutic priorities.<\/p>\n<p>As this post is running long, we&#8217;ll stop here for now, after just this brief word about selecting sequences of exercises&#8230;<\/p>\n<p>It turns out that one exercise can be much more effective if performed after other exercises.\u00a0 For example, depending on a person&#8217;s anatomical function, a <a href=\"https:\/\/www.acefitness.org\/education-and-resources\/lifestyle\/exercise-library\/231\/leg-crossover-stretch\">crossover stretch<\/a> can make a <a href=\"https:\/\/juicing-for-health.com\/fight-stiffness-and-morning-pain-with-6-easy-stretches\">runner&#8217;s stretch<\/a> (or scissors hamstring stretch) much more comfortable and effective.\u00a0 As another example, a <a href=\"http:\/\/www.egoscue.com\/WebMenus\/QTVideo\/11.html\">quad stretch <\/a>can help before a downward dog.\u00a0 These examples show how tight but ancillary muscles can interfere with exercises.\u00a0 They show that many factors affect expert exercise selection and sequencing.\u00a0 Although not the only approach to learning when exercises are efficacious, to those who are inclined towards neural networks or deep learning, they may suggest a <a href=\"https:\/\/deeplearning4j.org\/lstm.html\">recurrent neural network <\/a>(RNN) approach for some of the layers above.<\/p>\n<p><a href=\"http:\/\/colah.github.io\/posts\/2015-08-Understanding-LSTMs\/\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-978\" title=\"colah RNN\" src=\"http:\/\/haleyai.com\/wordpress\/wp-content\/uploads\/colah-RNN.png\" alt=\"recurrent neural net unrolled\" width=\"359\" height=\"166\" srcset=\"http:\/\/haleyai.com\/wordpress\/wp-content\/uploads\/colah-RNN.png 359w, http:\/\/haleyai.com\/wordpress\/wp-content\/uploads\/colah-RNN-300x138.png 300w\" sizes=\"auto, (max-width: 359px) 100vw, 359px\" \/><\/a><\/p>\n<hr size=\"1\" \/><a href=\"#_ftnref1\">[1]<\/a> Also see <a href=\"https:\/\/ctpainfree.com\/pain-free-in-5-easy-steps\/\">https:\/\/ctpainfree.com\/pain-free-in-5-easy-steps\/<\/a><\/p>\n<p><a href=\"https:\/\/ctpainfree.com\/pain-free-in-5-easy-steps\/\"><\/a><a href=\"http:\/\/haleyai.com\/wordpress\/wp-admin\/post.php?action=edit&amp;post=962&amp;message=10#_ftnref1\">[2]<\/a> For example, <a href=\"https:\/\/breakingmuscle.com\/fitness\/banish-pain-permanently-basic-drills-to-repair-your-posture\">this page<\/a> discusses what to do when the static back is not doing the trick.\u00a0 <em><a href=\"https:\/\/en.wikipedia.org\/wiki\/Ceteris_paribus\">Ceteris paribus<\/a><\/em>, active exercises are more productive than passive ones.<\/p>\n<p>[3] perhaps treating the spine as several segments or characterizing lumbar\/thoracic\/cervical curvature by a degree or excessive curvature or straightness in the anterior\/posterior and lateral planes<\/p>\n<p>[4] including exaggerations which are common when communicating assessments to clients<\/p>\n<p>[5] note that longitudinal history (which is redundant for clarity) may be global or per patient (or per cluster of similar circumstances, such as in the &#8220;conditions&#8221; discussed above)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A nationwide physical therapy business is renowned for eliminating chronic pain.\u00a0 One unique aspect of this business is that it eliminates pain not by manipulation but by providing clients with expertly selected sequences of exercises that address problems in their functional anatomy.\u00a0 In effect, the business helps people fix themselves and teaches them to maintain &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/haleyai.com\/wordpress\/2017\/12\/11\/ending-back-pain-with-ai\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Ending Back Pain with AI&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,195,716],"tags":[687,752,751,635,749,554,750,746,748,745,747],"class_list":["post-962","post","type-post","status-publish","format-standard","hentry","category-knowledge-engineering","category-machine-learning","category-vision","tag-ai","tag-back-pain","tag-bayesian-data-analysis","tag-deep-learning","tag-exercise","tag-expert-system","tag-functional-anatomy","tag-pain","tag-physical-therapy","tag-posture","tag-pt"],"_links":{"self":[{"href":"http:\/\/haleyai.com\/wordpress\/wp-json\/wp\/v2\/posts\/962","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/haleyai.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/haleyai.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/haleyai.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/haleyai.com\/wordpress\/wp-json\/wp\/v2\/comments?post=962"}],"version-history":[{"count":21,"href":"http:\/\/haleyai.com\/wordpress\/wp-json\/wp\/v2\/posts\/962\/revisions"}],"predecessor-version":[{"id":985,"href":"http:\/\/haleyai.com\/wordpress\/wp-json\/wp\/v2\/posts\/962\/revisions\/985"}],"wp:attachment":[{"href":"http:\/\/haleyai.com\/wordpress\/wp-json\/wp\/v2\/media?parent=962"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/haleyai.com\/wordpress\/wp-json\/wp\/v2\/categories?post=962"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/haleyai.com\/wordpress\/wp-json\/wp\/v2\/tags?post=962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}