<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://andreazignoli.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://andreazignoli.github.io/" rel="alternate" type="text/html" /><updated>2025-12-25T07:28:00-08:00</updated><id>https://andreazignoli.github.io/feed.xml</id><title type="html">Personal website</title><subtitle>AI Sport Tech Consultant</subtitle><author><name>Andrea Zignoli</name><email>andrea.zignoli@unitn.it</email></author><entry><title type="html">A model that can evaluate the maximal mean power **during** exercise?</title><link href="https://andreazignoli.github.io/blog-post-8/" rel="alternate" type="text/html" title="A model that can evaluate the maximal mean power **during** exercise?" /><published>2024-03-21T00:00:00-07:00</published><updated>2024-03-21T00:00:00-07:00</updated><id>https://andreazignoli.github.io/blog-post-8</id><content type="html" xml:base="https://andreazignoli.github.io/blog-post-8/"><![CDATA[<figure align="center">
    <img src="../images/blog_8_front_cover.png" alt="front_cover_blog_8" style="width:100%" />
    <figcaption><span style="font-family: Arial, sans-serif;">Cover Figure: Downward shifts in the power profile were expected and have been documented in fatiguing conditions (adapted from <a href="https://onlinelibrary.wiley.com/doi/full/10.1002/ejsc.12077">Spragg et al. 2023</a>). Is it possible at all to receive this info *during* exercise?. </span></figcaption>
</figure>

<h1 id="an-inspirational-paper">An inspirational paper</h1>

<p>In the last few days, a new-ish published paper (<a href="https://onlinelibrary.wiley.com/doi/full/10.1002/ejsc.12077">Spragg et al. 2023</a>) caught my attention. The paper has been written by an esteemed research unit that includes eminent researchers in the field of endurance sports and power profiling in cycling. This study investigated the impact of prior work intensity on the power-duration relationship in professional cyclists. Fourteen cyclists underwent three power profile tests: one in a fresh state and two after different fatiguing protocols. The results suggest that the intensity of prior work, particularly for shorter-duration efforts, plays a crucial role in the downward shift of the power-duration relationship, highlighting the importance of considering work intensity beyond just total workload.</p>

<p>The <strong>Cover Figure</strong> is adapted from the original study, and highlights the meaning behind the downward shift in the maximal mean power values due to the “fatiguing” protocols. (for more discussion on my use of the word, “fatigue”, read below).</p>

<p>The main reason why I felt attracted by this publication is that it aligns perfectly, in my opinion, with the concept behind the <em>Athletica Workout Reserve</em>. Very briefly, the Athletica Workout Reserve does exactly that: it monitors the oscillations of an athlete’s maximal mean power during exercise.</p>

<h1 id="a-very-simple-idea">A very simple idea</h1>

<p>The <a href="https://athletica.ai/athletica-workout-reserve-future-of-fitness/"><em>Athletica Workout Reserve</em></a> is based on a very (very) simple idea. Actually, it might well represent the simplest model for exercise capacity that I am aware of. As written in <strong>Figure 2</strong>, if the minimal distance between the exercising maximal mean power and the historical maximal mean power can be used as a proxy for exercise capacity, then we can say that: <em>the exercise capacity is depleted and recovered at the pace of the rolling average of the power output that is closest to its historical maximum</em>. It might sound complicated, but this is the shortest and most generic version I could conceive. When the WR is 0% it means that there is a rolling average reaching the 100% of its historical maximum. That’s it, nothing more nothing less.</p>

<figure align="center">
    <img src="../images/blog_8_signal.png" alt="blog_8_signal" style="width:100%" />
    <figcaption><span style="font-family: Arial, sans-serif;">Figure 2) Example of the fluctuations in Workout Reserve during a simulated HIT session. The minimum Workout Reserve (WR) is depicted in red. The red line follows the rolling average that is closest to its historical maximum. The thin gray lines are the rolling averages that are not limiting the exercise. In this example the minimum WR reaches 50%, which means that the rolling average closest to its maximum is at 50% of this maximum. Eventually, if the WR is 0%, it means that there is a rolling average reaching 100% of its historical maximum. Which rolling average exaclty? This information can also be retrieved with the WR. </span></figcaption>
</figure>

<p>It must be noted that this concept can be applied broadly to different endurance activities, not only those that involve power measurements such as cycling and rowing. Indeed, in cycling, the power output is directly related to exercise intensity, so for running we should consider the running speed. The same concept is still valid for running speed profiles and, perhaps in the future, running power profiles.</p>

<h1 id="a-real-time-garmin-application">A real-time Garmin application</h1>

<p>At <a href="https://athletica.ai/">Athletica</a> there is no shortage of brain power. I was lucky enough to have a fan in Paul, and he involved Phil in the implementation of the WR concept on the <a href="https://apps.garmin.com/apps/c9a93545-7db0-4a1b-b955-21db19edbf9d?tid=1">Garmin devices</a>. The app is free to use, but you need a subscription to Athletica, which is also free for a trial.</p>

<p>In <strong>Figure 3</strong> a picture taken on a Garmin running the App is presented. As you can notice, the value of the minimum WR is presented in %, along with a slider (available in “advanced” display modality). The % WR tells you how far you are from one of your maximal mean power points, whilst the slider tells you whether these points are those closer to the short-time/high-intensity domain (“S”) or closer to the long-time/low-intensity domain (“L”). I find this pretty cool actually.</p>

<figure align="center">
    <img src="../images/sketch_twitter.png" alt="sketch_twitter" style="width:75%" />
    <figcaption><span style="font-family: Arial, sans-serif;">Figure 3) The meaning behind the numbers, in a snapshot taken during a training session (photo credits @<a href="https://twitter.com/TiredMomRuns">TiredMomRuns</a>). </span></figcaption>
</figure>

<h1 id="is-an-athlete-always-exhausted-at-wr0">Is an athlete always exhausted at WR=0%?</h1>

<p>No! Not necessarily. Two perspectives.</p>

<p>1) It might happen that the WR can fall below 0%, which means that a new record is established and that they have set a new maximal mean power for a specific time/intensity-domain. In this case, there is only a simple explanation: the reached maximal mean power during exercise is &gt;100% of the previously known maximal mean power. It’s no secret that the maximal mean power concept relies on maximum efforts to be included in the profile. And, by the way, this is true for each and every forecast model that makes use of historical data to make predictions and inferences about the reality.</p>

<p>2) An athlete can be exhausted before reaching the 100% of their maximal mean power. We should bear in mind that the maximal mean power is populated with the best data we have in the recent history of training/racing. E.g., in Spragg et al 2023, the authors talk about a “fresh” profile, and they adopted a technique that is <em>not</em> exactly the maximal mean profile, but this should not have a huge impact on the conclusions of this post. The WR=0% represents a limit, it’s not a <em>sine qua non</em> condition for exhaustion. Exhaustion can occur before that point. This is due to the fact that unfavourable conditions such as heat or injury might impair the ability of an athlete to push at their maximum limits for that specific time/intensity-domain.</p>

<h1 id="is-the-connection-with-athletica-is-necessary">Is the connection with Athletica is necessary?</h1>

<p>The main reasons why the WR App needs Athletica is because Athletica can compute your power/speed profile in the way that can be digested by the WR algorithm. Thanks to the <a href="https://hiitscience.com/the-paradox-of-invisible-monitoring-the-less-you-do-the-more-you-do/">invisible monitoring</a> system that Athletica has in place, if an historical maximal mean power is beaten (WR&lt;0%), an athlete’s <a href="https://athletica.ai/future-of-training-load-control-power-profiling/">power/speed profile</a> is automatically updated. Athletes can therefore leverage the internet connection of their Garmin devices to download the last speed/power profile available with their Athletica account before they start a new session/race.</p>

<p>Athletica needs at least 10 sessions to consider your speed/power profile “realiable”. Therefore, if you are starting on a free trial and you want ot test WR from day 0, you might need to use the data already available on your Garmin Connect and/or Strava (either one of these connections is required anyway to let you upload data on Athletica). After a session is completed, the WR is displayed in the data “Analysis” tab of the session. However, the Garmin <em>fit</em> file will be storing the WR values, so they can be visualised with other interfaces.</p>

<h1 id="how-can-i-use-wr-in-training-and-racing">How can I use WR in training and racing?</h1>

<p>We still have limited experience on how to use the WR during exercise and racing. Some examples have been collected in a <a href="https://athletica.ai/train-and-race-with-athleticas-workout-reserve-on-garmin/">blog post</a>. It is all speculative at the moment, and very experimental.</p>

<p>Whether this tool can be used to assess an athlete’s “fatiguability” is an open question. What is also unknown is whether WR can be somehow associated with rating of perceived exertion (RPE). It is natural to think that the closer an athlete is to their maximum, the higher the RPE. Also, very brief maximal exercise might elevate RPE for shorter amount of time compared to long duration efforts. In these terms, it sounds like the dynamics of RPE might be associated with WR (again, all speculative at the moment).</p>

<p>The great advantages of WR, is that: 1) this can be assessed in real-time, and 2) the specific time/intensity domain that leads to exhausiton can be revealed.</p>

<p>All-in-all the WR holds some promise and, in my view, it aligns well with the rising concepts of “durability” and “moving thresholds”. Indeed, for WR, there are no thresholds at all, just upper limits.</p>

<h1 id="note-about-fatigue">Note about “fatigue”</h1>

<p>The reason I used quotes for the word “fatigue” is because, to my knowledge, the downward shifts in maximum mean power have not yet been associated with standard markers of fatigue, such as maximal voluntary contraction, etc. I maintained the terminology adopted in the paper by Spragg et al. to ensure consistency.</p>

<h1 id="references-additional-readings-and-content">References, additional readings, and content</h1>

<ul>
  <li>On power profiling: <a href="https://link.springer.com/article/10.1007/s00421-021-04833-y">Leo et al. 2022</a></li>
  <li>On durability: <a href="https://link.springer.com/article/10.1007/s40279-021-01459-0">Maunder et al. 2021</a></li>
  <li>On downward shifting of maximal mean power in fatigued conditions: <a href="https://onlinelibrary.wiley.com/doi/full/10.1002/ejsc.12077">Spragg et al. 2023</a></li>
  <li>Rationale behind the Workout Reserve concept <a href="https://sportrxiv.org/index.php/server/preprint/view/244/version/308">Zignoli 2023, preprint</a></li>
  <li>On ventilatory threshold changes in fatigued conditions: <a href="https://link.springer.com/article/10.1007/s00421-024-05440-3">Gallo et al. 2024</a></li>
</ul>

<h2 id="to-test-the-app-for-free">To test the app for free:</h2>

<ul>
  <li>Learn more about this concept on the <a href="https://athletica.ai/athletica-workout-reserve-future-of-fitness/">HIIT Science blog on Workout Reserve</a></li>
  <li>If you are interested, check if you have a compatible device <a href="https://forum.athletica.ai/t/garmin-connect-iq-workout-reserve-compatible-devices/1139">here</a></li>
  <li>Set up an Athletica account <a href="https://athletica.ai/">here</a>, and you can start a free trial and cancel anytime you want</li>
  <li>Download and install the Garmin App, following instructions <a href="https://apps.garmin.com/apps/c9a93545-7db0-4a1b-b955-21db19edbf9d">here</a></li>
  <li>Read about how to use the <a href="https://athletica.ai/train-and-race-with-athleticas-workout-reserve-on-garmin/">Workout Reserve Garmin App</a> in training and racing</li>
  <li>Report your experience and engage with other early adopters <a href="https://forum.athletica.ai/t/garmin-connectiq-workout-reserve-data-field/1039/269">on the vibrant Athletica forum</a></li>
</ul>]]></content><author><name>Andrea Zignoli</name><email>andrea.zignoli@unitn.it</email></author><category term="Power profile" /><category term="Athletica Workout Reserve" /><category term="Durability" /><summary type="html"><![CDATA[Cover Figure: Downward shifts in the power profile were expected and have been documented in fatiguing conditions (adapted from Spragg et al. 2023). Is it possible at all to receive this info *during* exercise?.]]></summary></entry><entry><title type="html">Of eagels, sunflowers, and cycling trajectories</title><link href="https://andreazignoli.github.io/blog-post-7/" rel="alternate" type="text/html" title="Of eagels, sunflowers, and cycling trajectories" /><published>2023-11-23T00:00:00-08:00</published><updated>2023-11-23T00:00:00-08:00</updated><id>https://andreazignoli.github.io/blog-post-7</id><content type="html" xml:base="https://andreazignoli.github.io/blog-post-7/"><![CDATA[<figure align="center">
<img src="../images/front_blog_trajectories.png" alt="front_cover_blog_7" style="width:100%" />
<figcaption>Fascinating trajectories in nature. An eagle soaring over a prey, the seeds of a sunflower, and a group of cyclists cornerning at the 2024 Milano-Sanremo race. </figcaption>
</figure>

<h1 id="trajectories-in-nature">Trajectories in nature</h1>

<p>What does an eagle that hunts a prey have in common with a sunflower? 🦅 🌻 Well, apparently, both the trajectory of the eagle and the disposition of the seeds of the sunflower share the same mathematical structure: a spiral following a Fibonacci pattern.</p>

<p>In nature, spirals come in many forms 🍭🐚 … but there isn’t a clear classification for all of them. While some, like fern buds, are easily recognized as spirals, others aren’t as obvious. What is both fascinating and evident, is that nature loves smooth transitions and graceful curves, and hates discontinuities, especially in movements. In other words: <em>Natura non facit saltus</em> (Carl Linnaeus, <em>Philosophia Botanica</em> - Chapt. 27).</p>

<p>Interestingly, humans have conceived and created spiral shapes that don’t exist in nature. One such spiral is called the <a href="https://en.wikipedia.org/wiki/Euler_spiral"><em>clothoid</em></a>, and indeed isn’t found in nature. In the present blog post, we introduce and discuss a fascinating question: <strong>is there a case to be made that cyclists trace clothoids while descending?</strong></p>

<figure align="center">
<img src="../images/rotated.gif" alt="shortcut" style="width:50%" />
<figcaption>The trajectory of a cyclist on a descent, as captured with a drone during a (scientific study)[https://link.springer.com/article/10.1007/s12283-022-00386-1]. </figcaption>
</figure>

<h2 id="a-famous-spiral-in-road-and-rail-engineering">A famous spiral in road and rail engineering</h2>

<p>To travel along a circular path, an object needs to be subject to a centripetal acceleration (for example: the Moon circles around the Earth because of gravity; a car turns its front wheels inward to generate a centripetal force).</p>

<p>If a vehicle traveling on a straight path were to suddenly transition to a circular path, it would require centripetal acceleration suddenly switching at the tangent point from zero to the required value; this would be difficult to achieve. Think of a train instantly moving from straight line to turning position, and the train-cars actually executing it, putting mechanical stress on the train’s parts, and causing much discomfort to the passengers.</p>

<p>In the past, on early railroads, this instant application of lateral forces was not an issue since low speeds and wide-radius curves were employed (lateral forces on the passengers and the lateral sway was small and tolerable). As speeds of rail vehicles increased over the years, it became obvious that an easement is necessary, so that the centripetal acceleration increases gently (e.g. linearly) with the traveled distance. Given the expression of centripetal acceleration:</p>

\[a_c=v^2/r\]

<p>the obvious solution is to provide an easement curve whose curvature:</p>

\[k=1/R\]

<p>increases linearly with the traveled distance. Indeed, a spiral where the curvature increases linearly with the arc length is a <em>clothoid</em>, or a Euler’s spiral. Nowadays, drawing clothoids instead of circles is a design choice made in road and rail engineering, particularly in designing curves and transitions. Indeed, the reason behind using clothoids comes down to providing a smooth transition between straight paths and circular curves.</p>

<h2 id="of-cycling-and-racing-lines">Of cycling and racing lines</h2>

<p>Human movement is all about optimization, and involves finding the most “convenient” way to plan and execute movement. In the context of movement, the human body possesses a high degree of redundancy. For instance: 1) there is an incredible number of joints in the human body, and the same end-point might be reached with a different combination of angular joint angles; 2) multiple motoneurons activate a single muscle, and multiple muscles can actuate a single articular joint, so muscle recruitment must consider the “biomechanical” convenience of the individual muscles (fiber typology, moment arm, position, speed of contraction, etc.); 3) on a higher level, a person might travel from point A to point B using different trajectories or a different distribution of intensity along the course (i.e., different pacing strategies). The list of examples could continue indefinitely.</p>

<figure align="center">
<img src="../images/shortcut.jpeg" alt="shortcut" style="width:50%" />
<figcaption>Is there a better image to explain how humans are moving around?</figcaption>
</figure>

<p>But what does “convenient” really mean? It could encompass different interpretations depending on the context. Generally, it’s believed that humans seek to minimize energy consumption, perceived effort, or strike a balance between perceived and expected effort. The choices humans make during movement, whether it’s reaching for a pen or completing a cycling trajectory, may involve a mix of conscious and unconscious factors. The true optimization goal of the human body remains a topic of debate and one of the most intriguing challenges in motor control studies.</p>

<p>Let’s focus on cycling for now, considering an individual time trial as an example. In a race, riders strive to optimize their arrival time. However, not everyone competes with the intention to win or goes full throttle due to strategic considerations such as the general classification, team responsibilities, or a lack of interest in stage victory. Hence, we might ponder: is there a common factor that applies to everyone?</p>

<p>One common aspect often under scrutiny is the smoothness of the trajectory or its counterpart, the concept of <em>jerk</em>. Jerk, derived from acceleration, signifies the acceleration variation and can be calculated across various parameters such as body joint accelerations, torques, power output, and more. Cyclists executing abrupt movements tend to struggle with cornering effectively. Factors like rough road surfaces, wet wheel rims, sudden steering adjustments, and excessive reaction to bumps disrupt the fluidity of movements and cornering. By seeking seamless transitions between straight paths and curved trajectories, cyclists aim to minimise both performance time and jerk at the same time. This strategy promises the best overall performance, achieving a harmonious equilibrium among multiple factors, including risk and reward.</p>

<p>In discussions about racing lines, therefore, it’s reasonable to consider that experienced cyclists might trace clothoids along their routes, especially when transitioning between a straight and a circular path. Given that the road available has its own space constraints, we can say, more accurately, that cyclists follow <em>splines of clothoids</em>.</p>

<figure align="center">
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/8/82/The_racing_line_-_Flickr_-_exfordy.jpg/256px-The_racing_line_-_Flickr_-_exfordy.jpg" alt="The racing line - Flickr - exfordy" style="width:50%" />
<figcaption>"The racing line, not only a matter of final time minimisation, but also comfort and risk. Clothoids are often used because they provide a gradual change in curvature, which helps minimize discomfort for the driver and reduce wear and tear on vehicles. Photo credits: Brian Snelson from Hockley, Essex, England, CC BY 2.0 &lt;https://creativecommons.org/licenses/by/2.0&gt;, via Wikimedia Commons"</figcaption>
</figure>

<h2 id="just-a-coincidence">Just a coincidence?</h2>

<p>There seems to be something profound that links curves and trajectories in nature, not just a coincidence. From the arc of an eagle in flight to the spiral of a sunflower, these natural patterns hint at a fundamental relationship between form and function. Through the neverending renegotiation of tiny adjustments, human movements evolve and patterns such as cycling trajectories emerge. Those choices that promise greater success are embraced, learned, encoded in our neural circuitry, and eventually revisited.</p>

<p>Human movement embodies an endless journey of exploration and discovery, delving into the depths of our existence. Yet, along this journey, some truths emerge as fundamental pillars of our ability to move: the intrinsic essence of movement itself is deeply rooted in the fabric of nature.</p>

<h1 id="bibliography-and-additional-insights">Bibliography and additional insights</h1>

<h2 id="scientific-papers">Scientific papers:</h2>

<ul>
  <li><a href="https://www.nature.com/articles/nn1309">Todorov E.</a></li>
  <li><a href="https://pubmed.ncbi.nlm.nih.gov/12404008/">Todorov and Jordan</a></li>
  <li><a href="10.1109/HISTELCON56357.2023.10365736">Bertolazzi et al.</a></li>
  <li><a href="https://www.sciencedirect.com/science/article/pii/S0005109817304508">Frego et al.</a></li>
</ul>

<h2 id="practical-application">Practical application</h2>

<p>“OK, Andrea, but please what do I need to know this for?” Well, let’s assume you are collecting cycling GPS positions every second, how do you connect those points? Now, you should already now what I would suggest. Your best bet is to take the GPS points and fit them with a spline of clothoids.</p>]]></content><author><name>Andrea Zignoli</name><email>andrea.zignoli@unitn.it</email></author><category term="Bike handling" /><category term="Road cycling" /><summary type="html"><![CDATA[Fascinating trajectories in nature. An eagle soaring over a prey, the seeds of a sunflower, and a group of cyclists cornerning at the 2024 Milano-Sanremo race.]]></summary></entry><entry><title type="html">Risk and rewards in road cycling fast descents</title><link href="https://andreazignoli.github.io/blog-post-6/" rel="alternate" type="text/html" title="Risk and rewards in road cycling fast descents" /><published>2022-05-27T00:00:00-07:00</published><updated>2022-05-27T00:00:00-07:00</updated><id>https://andreazignoli.github.io/blog-post-6</id><content type="html" xml:base="https://andreazignoli.github.io/blog-post-6/"><![CDATA[<figure align="center">
<img src="../images/front_cover_blog_6.jpg" alt="front_cover_blog_6" style="width:100%" />
<figcaption>Photo by <a href="https://unsplash.com/photos/a0pv66dZPeA?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditShareLink">Unsplash</a></figcaption>
</figure>

<p>This blog post was published on <a href="https://rpubs.com/andrea_zignoli/verona_ITT_2019_vs_2022">RPubs</a>.</p>

<figure class="quote">
  <blockquote>
     There is no world without Verona walls.
  </blockquote>
  <figcaption>
    &mdash; William Shakespeare <cite>Romeo e Juliet - Act III, Scene III</cite>  </figcaption>
</figure>]]></content><author><name>Andrea Zignoli</name><email>andrea.zignoli@unitn.it</email></author><category term="Bike handling" /><category term="Road cycling" /><summary type="html"><![CDATA[Photo by Unsplash]]></summary></entry><entry><title type="html">AI applied to cardiopulmonary exercise test data</title><link href="https://andreazignoli.github.io/blog-post-5/" rel="alternate" type="text/html" title="AI applied to cardiopulmonary exercise test data" /><published>2022-03-03T00:00:00-08:00</published><updated>2022-03-03T00:00:00-08:00</updated><id>https://andreazignoli.github.io/blog-post-5</id><content type="html" xml:base="https://andreazignoli.github.io/blog-post-5/"><![CDATA[<figure align="center">
<img src="../images/front_cover_blog_5.png" alt="front_cover_blog_5" style="width:100%" />
<figcaption>&mdash; Inspired by Lynda Chin, from Eric Topol's book Deep Medicine <cite>Chapt. 2</cite></figcaption>
</figure>

<h1 id="the-chasm-between-ai-and-clinical-implementation">The <em>chasm</em> between AI and clinical implementation</h1>

<p>The number of applications of AI to health care and health-related fields has been exponentially growing in the last decade. However, of all the algorithms developed, a minor fraction of them is actually implemented in the clinical practice. This gap is also known as AI <em>chasm</em>. AI <em>chasm</em> is what separates a technology available to a very advanced readiness level (e.g. a lab prototype or a proof-of-concept) from a technology which is deployed and put into production. In this brief contribution, I would like specifically to discuss about the AI <em>chasm</em> in the context of cardiopulmonary exercising test data interpretation.</p>

<h2 id="why-is-this-chasm-occurring">Why is this <em>chasm</em> occurring</h2>

<h3 id="explanatory-power">Explanatory power</h3>

<p>A new algorithm might never be used in the real practice in spite of scientific studies proving its accuracy. The main reasons is that accuracy is not the only objective that an AI system should have: <strong>intelligibility</strong> is another very important one. It looks like clinicians are reluctant when it comes to try new algorithms that cannot provide explanations for the results.</p>

<p>Arguably, models can vary in complexity and structure. Multi-linear models are a prominent example in statistics, where the results of a fitting process can be used to understand the relative importance of all the input variables and how they interact to make the predictions. These models are relatively simple, as they include a limited number of parameters for every single input variable. On the other side of the spectrum, deep learning techniques are widely adopted to extract patterns and features from complex data arrangements, but they might easily include millions of parameters. Are we able to deconstruct and ultimately understand all the patterns the model has learnt? Can these models tell us something about the underlying physiological process we are trying to create a model for?</p>

<p>The number of parameters in a model per-se does not indicate good or bad explanatory ability. In the case of deep learning, there are models that can show layer by layer what features have been isolated, and this helps understanding the defining characteristics of the input data. This is common in image or shape isolation/recognition problems, but it is far more complex when multivariate time-series data are considered.</p>

<h3 id="transparency-and-adaptability">Transparency and adaptability</h3>

<p>Deconstructing a model and translate in plain language the characteristics of the extracted features is problematic. Indeed, most of the models are very good in making predictions, but very inefficient when it comes to provide explanations. This is not the only reason why the AI <em>chasm</em> can occur. Other important elements in the diffusion of a new model are <strong>transparency</strong> and <strong>adaptability</strong>. On one hand, transparency is about the data used to train the model: is that representative of the population the clinician is targeting? Open and transparent information about the dataset used to train the model could give clinicians more confidence when using the model in their unique day-to-day practice. On the other hand, adaptability is about the degree at which a given model can be personalized by the end-user. This personalization can be in terms of data but also in terms of interpretations and perhaps beliefs.</p>

<h3 id="cognitive-load">Cognitive load</h3>

<p>Importantly, some AI model implementations suffer from excessive false alarms and complex explanatory visualizations. There is no doubt that AI models that put additional cognitive load (i.e., the mental effort required to perform a task) on the clinicians will always find a very hard way to production. It is not a secret that cognitive overload in clinical practice is highly associated with bad health care services. There is no need for an AI that can provide assistance with data interpretation at the cost of an overloaded or overly stressed clinician. Any AI system that can actually decrease the cognitive load of a clinician should be prioritized.</p>

<h1 id="the-cardiopulmonary-exercise-test-challenge">The cardiopulmonary exercise test challenge</h1>

<h2 id="threshold-detection-cognitive-or-merely-computational">Threshold detection: cognitive or merely computational?</h2>

<p>The <a href="https://en.wikipedia.org/wiki/Cardiac_stress_test">cardiopulmonary exercise test</a> is the gold-standard for the evaluation of an individual aerobic fitness. Data consist in breath-by-breath values of different ventilatory variables such as: oxygen uptake ($VO_2$), exhaled carbon dioxide ($VCO_2$), and ventilation ($VE$). Clinicians interpret the data with knowledge, experience and beliefs. Interpreting the result of a test can sometimes take considerable cognitive toll. <span style="background-color: #FFFF00">I believe, however, that there are instances where cognitive process can be merely considered <em>computational</em>, and this is the example of ventilatory threshold detection. </span>This task is often times only a matter of detecting braking points and changing patterns in ventilatory variables, or at least this is the way it is presented in the scientific literature on the topic. It is undeniable that, in many cases, a human does not need to possess a profound knowledge about physiology to detect breaking points in ventilatory variables. This is the main reason why automatic methods for ventilatory threshold detection have been developed in the last four decades. These methodologies might or might not have explanatory power.</p>

<h2 id="simple-models-explanatory-but-not-accurate">Simple models: explanatory but not accurate</h2>

<p>Automatic methods which implement complex computations are poorly adopted in the clinical practice. On the contrary, a simple methodology developed in the 80s that implement linear regression is the most adopted algorithm. This model is thought to have physiological roots, as it looks specifically and intentionally for ventilatory thresholds in correspondence of breaking points in the $VCO_2$ vs $VO_2$ and $VE$ vs $VCO_2$ relationships. These breaking points underlie a more profound meaning at physiological level, as they can be considered hallmarks for exercise intensity domain boundaries. Applying this regression model to the clinical practice requires however deploying it on a processing unit. Once the model is finally tested, deployed, and put into production, can show limitations. Limitations are mostly due to unwanted portions of data polluting the input. It is soon pretty apparent that these models need some human cognitive load to select and pre-process only limited portions of the input data.</p>

<ul>
  <li>PRO:
    <ul>
      <li>Profound physio roots (enhanced explanatory power)</li>
      <li>Easy implementation (both development and deployment)</li>
    </ul>
  </li>
  <li>CONS:
    <ul>
      <li>Pre-process is needed (manual work and cognitive toll)</li>
      <li>Sensitive to signal-to-noise ratio</li>
    </ul>
  </li>
</ul>

<h2 id="deep-learning-models-accurate-but-not-explanatory">Deep learning models: accurate but not explanatory</h2>

<p>Oxynet is a collection of deep learning algorithms conceived to decrease the cognitive load of the clinicians in the process of the cardiopulmonary test data. Oxynet explanatory power is still very low, but accuracy in ventilatory threshold determination is exceeding that of a human expert.</p>

<ul>
  <li>PRO:
    <ul>
      <li>Improved accuracy and robustness to the noise</li>
      <li>Decreased cognitive toll (entirely automatic)</li>
    </ul>
  </li>
  <li>CONS:
    <ul>
      <li>Not explanatory</li>
      <li>Complex implementation (especially deployment)</li>
    </ul>
  </li>
</ul>

<h1 id="final-thoughts">Final thoughts</h1>

<p>In the search for the perfect algorithm, accuracy should not be the only goal. It is important to consider the ability to justify and explain the choices made by the model, and make the features extracted by the AI understandable for clinicians. Oxynet AI models have been conceived to alleviate the cognitive load associated with the determination of the ventilatory thresholds.</p>

<p>In the development of such models, however, we make the dangerous assumption that ventilatory threshold detection is a merely computational process that requires no prior knowledge about human physiology. In this specific sub-task of cardiopulmonary test data interpretation there is increasing evidence suggesting that clinicians might be better off with the aid of an AI which can take care of the computational aspects. The lack of explanatory power is paid off by an increased accuracy and a decreased cognitive load. This is why I believe that AI models like the one provided under Oxynet can help clinicians save time they can devote to tasks that only human can solve: in-person interaction, empathy and care.</p>

<h1 id="additional-reading">Additional reading</h1>

<ul>
  <li>
    <p>Aristidou, Angela, Rajesh Jena, and Eric J. Topol. “Bridging the chasm between AI and clinical implementation.” The Lancet 399, no. 10325 (2022): 620.</p>
  </li>
  <li>
    <p>Holm, Elizabeth A. “In defense of the black box.” Science 364, no. 6435 (2019): 26-27.</p>
  </li>
  <li>
    <p>Ehrmann, Daniel E., Sara N. Gallant, Sujay Nagaraj, Sebastian D. Goodfellow, Danny Eytan, Anna Goldenberg, and Mjaye L. Mazwi. “Evaluating and reducing cognitive load should be a priority for machine learning in healthcare.” Nature Medicine (2022): 1-2.</p>
  </li>
  <li>
    <p>Watson, David S., Jenny Krutzinna, Ian N. Bruce, Christopher EM Griffiths, Iain B. McInnes, Michael R. Barnes, and Luciano Floridi. “Clinical applications of machine learning algorithms: beyond the black box.” Bmj 364 (2019).</p>
  </li>
</ul>]]></content><author><name>Andrea Zignoli</name><email>andrea.zignoli@unitn.it</email></author><category term="Machine learning" /><category term="Deep learning" /><category term="Exercise physiology" /><summary type="html"><![CDATA[&mdash; Inspired by Lynda Chin, from Eric Topol's book Deep Medicine Chapt. 2]]></summary></entry><entry><title type="html">Notes on bike handling in road cycling</title><link href="https://andreazignoli.github.io/blog-post-4/" rel="alternate" type="text/html" title="Notes on bike handling in road cycling" /><published>2022-01-01T00:00:00-08:00</published><updated>2022-01-01T00:00:00-08:00</updated><id>https://andreazignoli.github.io/blog-post-4</id><content type="html" xml:base="https://andreazignoli.github.io/blog-post-4/"><![CDATA[<figure align="center">
<img src="../images/front_cover_blog_4.jpg" alt="front_cover_blog_4" style="width:100%" />
<figcaption>Photo by <a href="https://unsplash.com/@jackdelulio?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Jack Delulio</a> on <a href="https://unsplash.com/s/photos/cycling-downhill?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption>
</figure>

<h1 id="bike-handling-what-is-it-and-why-should-anyone-care"><em>Bike handling</em>: what is it and why should anyone care?</h1>

<p>I think that <em>bike handling</em> in road cycling is a challenging and fascinating research topic. Practitioners often talk about it, and there are interesting discussions on scientific papers and cycling blogs. However, I noticed that there can be at least two points of view, and mixing them up is not going to help, so let’s be sure we got ‘em first:</p>

<ul>
  <li>🚴 <strong>Sport science</strong> point of view: bike handling is synonym for <em>technical skills</em>, which translates in the ability of one-hand riding, effective and considerate obstacle avoidance, stoppie-wheelie tricks, navigating the pack, etc.</li>
  <li>🚲🧑‍🤝‍🧑 <strong>Vehicle dynamics</strong> point of view: bike handling has more to do with the performance of the bike-rider coupling, i.e.: the ability that the riders have to consciously explore the limits of their bike.</li>
</ul>

<p>The first point of view quickly translates in a safe ride, but it’s hard to find the association with cycling performance. For some, <em>bike handling</em> is about <em>dealing with the unexpected</em>, but for me it’s more about <em>knowing very well what to expect</em>. Hence, I support the second point of view, and I prefer not to mix <em>bike handling</em> with <em>technical skills</em>.</p>

<p>The possible reasons why <em>bike handling</em> is poorly studied might be:</p>

<ul>
  <li>It is not perceived as important as other physiological attributes</li>
  <li>It is difficult to assess due to logistic and safety reasons</li>
</ul>

<p>In this blog post I will try to give an idea about:</p>

<ul>
  <li>The impact that <em>bike handling</em> can have on the overall cycling performance</li>
  <li>The tools we have to assess <em>bike handling</em> with ‘cost effective’ instrumentation</li>
</ul>

<h1 id="high-speeds--high-stakes">High-speeds = high-stakes</h1>

<figure class="quote">
  <blockquote>
     I am never scared when I descend. I feel like the master of the universe, even if it’s my mind playing tricks, because danger is all around.
  </blockquote>
  <figcaption>
    &mdash; Romain Bardet for Rouleur, <cite>November 2020</cite>  </figcaption>
</figure>

<p>As it often happens, the best riders can stand out from the group because their uncommon abilities. However, displaying uncommon <em>bike handling</em> abilities can be very dangerous. The limits of the bike-rider performance are dictated by physics, which places rigid constraints to the kind of accelerations (and decelerations) that the bike can sustain. High speeds are not dangerous <em>per se</em>, but because they can result in unsustainable accelerations. Uncommon <em>bike handling</em> abilities therefore require uncommon confidence and dexterity in a high-stake environment.</p>

<p>Both braking and cornering require different coordinated actions: pulling the brake levers, steering, and changing body position to lean into the corner. While braking can lead to strong longitudinal decelerations, cornering can lead to strong lateral accelerations. Forces needed to complete these actions are generated at the tire-road interface, and therefore depend upon the tire-road friction: the higher the friction, the higher the forces that the tires can sustain.</p>

<p>It’s easy to experience high-speeds while going downhill. In the next figure, the sequence of actions required during corner negotiation are represented for a generic downhill high-speed corner. As you can see, a change in the body position is required to use the body as an air brake, and then to negotiate the corner. Although the single actions might be the same, every rider can choose a particular timing and a particular strategy for the execution.</p>

<figure align="center">
<img src="../images/sequence.png" alt="sequence" style="width:50%" />
<figcaption>Sequence of actions while negotiating a high-speed corner in road cycling.</figcaption>
</figure>

<h1 id="bike-handling-and-racing-lines"><em>Bike handling</em> and racing lines</h1>

<p>The trajectories that riders follow while they negotiate a corner are often called <em>racing lines</em> (a term inherited from motor sports). We can broadly classify two cornering strategies, which lead to different trajectories. Before getting to them, we need to define an important term: the <em>apex</em>. In the following picture you can see that the <em>geometric apex</em> is the point where the path has the minimum cornering radius.</p>

<figure align="center">
<img src="../images/apex.png" alt="apex" style="width:50%" />
<figcaption>The geometric apex.</figcaption>
</figure>

<p>But we can also detect an <em>apex</em> on the racing line, which is usually defined as: ‘<em>the point on the inside portion of a corner that a rider passes closest to</em>’. A trajectory apex can be defined as being an earlier apex or later apex with reference to the <em>geometric apex</em>, and they are presented in the following figure.</p>

<figure align="center">
<img src="../images/early_vs_late.png" alt="early_vs_late" style="width:50%" />
<figcaption>Early VS late apex.</figcaption>
</figure>

<ul>
  <li>Late apex: The ‘late apex’ strategy is typically characterized by a hard braking action somehow separated from a following cornering action. The resulting <em>racing line</em> ensure a good line of sight and enough space for braking in emergency. This trajectories are usually characterized by low entry speeds and fast exit speeds.</li>
  <li>Early apex: The ‘early apex’ strategy usually means less margin for error, as there is a very narrow line of sight and not a lot of space for adjusting the speed. A great advantage of this strategy is that, compared to the ‘late apex’, you can keep higher average speeds and you reduce the total travelled distance.</li>
</ul>

<h2 id="is-there-an-optimal-strategy">Is there an ‘optimal’ strategy?</h2>

<p>This is the million dollar question. Albeit, by definition, there will always be an ‘optimal’ strategy (i.e., the one that can lead to the best time performance), there is no evidence that can support a single strategy consistently across every possible condition. I tried to collect here a number of possible variables that can impact the ‘optimal’ cornering strategy. In short, we can say that the ‘optimal’ strategy it’s individual and highly dependent on the race and environmental conditions.</p>

<ul>
  <li>🧑‍🤝‍🧑 Individuality: the ‘optimal’ strategy depends on the individual’s engine. A good sprinter with a lot of power available might prefer a ‘late apex’ strategy, because he/she can start delivering the power sooner.</li>
  <li>☔ Environmental conditions:
    <ul>
      <li>Road conditions, with particular reference to the road surface and the resulting road-tire friction coefficient. In these regards, rain might be a game changer, especially in races with extended technical sections. A wet road of course is more slippery and hard braking actions and high lateral accelerations might not be sustainable.</li>
      <li>Resistive forces are mainly represented here by the air resistive forces. They can have a lot of influence, but it depends upon they are due to front wind or tail wind. Front wind can help you brake more effectively before the corner and accelerate more efficiently after. Therefore, the front wind might support a ‘late apex’ strategy. On the other hand, tail wind can make it braking problematic, and accelerating after a corner might be even more demanding. Tail wind before the corner would suggest that an ‘early apex’ strategy is better.</li>
      <li>Slope is another great game changer. If the descent is steep, it will be easy for you to accelerate after the corner, so therefore a ‘late apex’ strategy might be the best.</li>
    </ul>
  </li>
  <li>🔋 Race conditions:
    <ul>
      <li>Energy preservation strategies (i.e., the pacing strategies) that the riders are trying to implement can impact the ‘optimal’ strategy. It is known that strong accelerations that require massive power outputs are mainly supported by the anaerobic alactic metabolic pathway. These big bursts might not be ideal during long races, but they might be required during a breakaways. Again, higher average speeds and early apex strategy is advocated for those who don’t like to sprint out after the corners. Indeed, corners are often used by the riders to briefly recover and get ready for the next most demanding race sections.</li>
      <li>What’s next? The position and direction of the next corner also affects the choice of the <em>racing line</em>. A fast exit speed might be useless if there is another corner that requires attention. Also, the infinite number of variations in road geometry and topology might require very different and hybrid approaches.</li>
      <li>Road width is also of high importance, since it narrows down the space available on the road to brake and turn in. ‘Late apex’ strategy might be better suited for narrow roads, since it does not requires trajectories with large radii.</li>
    </ul>
  </li>
</ul>

<h1 id="evaluating-bike-handling">Evaluating <em>bike handling</em></h1>

<h2 id="the-gg-diagram">The gg diagram</h2>

<p>The gg diagram is widely used in motor racing to depict the accelerations of a vehicle in the road plane. In the following picture the structure of the gg diagram is presented. On the x-axis, lateral accelerations are reported. On the y-axis, longitudinal accelerations are reported. These accelerations are the highest during strong sprint efforts, rapid changes in road slope and hard braking.</p>

<figure align="center">
<img src="../images/adherence_ellipse.png" alt="adherence_ellipse" style="width:70%" />
<figcaption>The gg diagram.</figcaption>
</figure>

<h2 id="how-to-read-the-gg-diagram">How to read the gg diagram</h2>

<p>🧭 If you look at the picture above, you’ll notice that a wind rose is included. Cardinal directions will be used here to better explain how to read the diagram.</p>

<p><em>East</em> and <em>West</em> represent high lateral accelerations, typically high during high-speed corners. At <em>North</em>, we have strong accelerations, typically high when there is a sudden decrease in road slope or there is a strong sprinting action going on. At <em>South</em>, we have large decelerations, hence index of rapid increase in road slope or hard braking actions. Combinations are of course possible: at <em>South/West</em> and <em>South/East</em> we see combinations of lateral and negative accelerations (e.g., cornering and braking together), at <em>North/West</em> and <em>North/East</em> we see combinations of lateral and positive accelerations (e.g., cornering and accelerating together).</p>

<p>If we collect accelerations points and we draw them on the gg diagram we come up with a ☁️ of points, or a doodle, if you whish. This cloud can evolve into different shapes. For example, I provide an interesting comparison between bikes (bicycles) (red line), 125 cc motorcycles (blue line) and 1000 cc Super Bikes (yellow line). The motorcycling data has been kindly provided by Prof. <a href="https://webapps.unitn.it/du/en/Persona/PER0004552/Pubblicazioni">F. Biral</a> and they have been collected on the <a href="https://en.wikipedia.org/wiki/Mugello_Circuit">Mugello</a> circuit during testing sessions. Cycling data has been provided by a professional cyclist at the Giro d’Italia 2020.</p>

<figure align="center">
<img src="../images/gg_plot.png" alt="gg_plot" style="width:60%" />
<figcaption>How an actual gg diagram looks like: 1000 cc bikes VS 125 cc bikes VS cyclist.</figcaption>
</figure>

<p>It is pretty apparent that motorcycles can produce higher accelerations in both longitudinal and lateral directions. As you can see, heavy 1000 cc bikes can sustain also strong combinations of lateral and longitudinal accelerations.</p>

<h1 id="practical-considerations">Practical considerations</h1>

<p>Knowing what the ‘optimal’ trajectory might be and actually following it are two very different things. All the blog posts I read about the topic share one tip in common, and it sounds pretty much like: ‘you need to relax’! Yep, easy to say, but hard to execute. Descents are often cold, windy and repulsive: it’s no joke. Road surface is never perfect: pockmarked surfaces are a nightmare for cyclists! Putting in practice the guidelines it’s hard, if not impossible. However, visualization and mental preparation can be a very useful tools. Studying the topic can also help gaining confidence. In the end, <em>bike handling</em> is about knowing very well what is going to happen, and being able to leverage this knowledge to gain competitive advantage.</p>

<p>What about the equipment? Well, my current opinion is simple: the best equipment for getting the most out of your <em>bike handling</em> abilities is the one that will make you ride with more confidence. This is true for the bike frame, the wheels, the tires and the brakes. The unstable bike that will start wobbling at 60 kph will not give you the right confidence for extreme trajectories. Brakes are of key importance: I might say that disk brakes usually have a smoother response than rim brakes. So it’s not all about the braking power. I feel that many cyclists prefer the ‘late apex’ strategy in every condition, and this is because it requires a single strong braking action and no concomitant leaning/cornering action. To better explain this situation, I use again the gg diagram.</p>

<p>On the following gg diagram (yes, some imagination is required), the two different cornering maneuvers of two hypothetical riders are represented. While approaching the corner, the two riders have constant velocity, hence they are in the middle of the diagram. While approaching the corner the ‘black arrow rider’ brakes and turns with two very distinct actions: first a strong deceleration heading South in our wind rose is measured, second a strong lateral acceleration heading East is measured. The cloud of points in the gg diagram takes the typical ✝️ shape. While approaching the corner the ‘red arrow rider’ starts braking and cornering at the same time: a first deceleration heading South progressively heads SE, then E and finally the center of the diagram again. The resulting shape looks like a 🦋 wing or a 👂 lobe.</p>

<figure align="center">
<img src="../images/maneuvers_adherence_ellipse.png" alt="maneuvers_adherence_ellipse" style="width:50%" />
<figcaption>Comparing two cornering strategies on the gg diagram.</figcaption>
</figure>

<p>Typically, the less experienced riders are those who are not willing to brake and lean into the corner at the same time, hence they display a ✝️ in the gg diagram (at least, this is the lesson from motor sports…). Experts are those able to explore large portions of the gg diagram, and they can draw a nice 🦋. Can disk brakes help the riders feeling more stable and therefore complete the corners with a different strategy? This is still a speculation. I leave here some food for thoughts.</p>

<figure class="quote">
  <blockquote>
     Soon I was on the climb, breathing through my ears as I fought the undulating ascent towards my first finish line. As I sprinted over the top, the video game came to life as I attacked the descent not as something to be survived, but as a race in itself. And it’s here that I must give due credit to the disc brakes. Until that descent, I have never experienced so much control over braking as I held the tires on the absolute limit of traction.
  </blockquote>
  <figcaption>
    &mdash; Chad Haga, after winning ITT stage 21st, <cite>Giro d'Italia, June 2019</cite>  </figcaption>
</figure>

<h1 id="competitive-advantages">Competitive advantages</h1>

<p>It is difficult to estimate the contribution that <em>bike handling</em> can have on cycling performance. Difficult, but not impossible to some extent. As you might acknowledge, <em>bike handling</em> assessment requires information about the accelerations, and they are never easily retrieved. With some degree of accuracy, accelerations might be estimated with GPS (even better option is to use GPS + IMU + a Kalman’s filter). Estimated accelerations can provide insightful recommendations.</p>

<p>Also, mathematical modelling is an extremely useful tool when it comes to simulate race data. Recently, I used a <a href="https://journals.sagepub.com/doi/abs/10.1177/1754337120974872">mathematical model</a> to simulate a race with technical section: a 5-km section with 15-m radius hairpins interspersed with 400 m of straight road, downhill at 5%. Simulations revealed that the same virtual rider could loose 1’03” in 5-km on a wet VS a dry road. Road conditions were simulated by changing the friction coefficient from 0.9 (dry) to 0.36 (wet). In wet conditions, maximal lateral accelerations are much lower, hence the maximal cornering speed is also lower. This is just to prove the point that riders who can sustain larger accelerations might actually gain a tangible competitive advantage on the same terrain.</p>

<p>⏱️ <strong>Roughly we estimated that every 10% of improvement in <em>bike handling</em> could result in 13” gain down a 5-km technical section.</strong></p>

<p>Following the simulation study, we set out to process experimental data collected on professional cyclists during an individual time trial with considerable technical content (<a href="https://www.tandfonline.com/doi/abs/10.1080/17461391.2021.1966517">see this link</a>). The gg diagram was assessed for 27 riders in total.</p>

<p>☁️ <strong>We estimated that a 10% bigger cloud in the gg diagram was associated with 20 positions in the final rank.</strong></p>

<p>Yes, of course, you’d better take these number and indications with a pinch of salt! They might be provide indications and they are not absolutes. However, something is better than nothing, right?</p>

<h1 id="conclusions-and-final-thoughts">Conclusions and final thoughts</h1>

<p>Whilst <em>bike handling</em> can be defined in multiple ways, I tried to converge to a single and well defined cycling ability. Ultimately, I define <em>bike handling</em> as <strong>the ability to consciously explore large portions of the gg diagram</strong>.</p>

<p>Most of the notions and terminology I used in this post might result poorly accurate for an expert in vehicle dynamics. I didn’t want to oversimplify concepts and terms, I just tried to keep only what I thought it was necessary. Even thou bicycles have been introduced 200 years ago, interaction between bike and rider is still a challenging research topic.</p>

<p>This blog is the result of few years spent studying cycling trajectories. I got the privilege to collaborate with great minds in the field of sports science and vehicle dynamics, and we eventually got to publish few scientific papers on the topic. I have been inspired by great athletes, who were ready to put everything on the line when the road became steeper.</p>

<p>These blog posts have been a great source of inspiration:</p>

<ul>
  <li><a href="https://www.rouleur.cc/blogs/the-rouleur-journal/romain-bardet-down-to-earth">Romain Bardet on Rouler</a></li>
  <li><a href="https://www.cyclingnews.com/blogs/chad-haga-1/chad-haga-blog-joy-relief-and-grief-in-verona/">Chad Haga on Cycling News</a></li>
</ul>]]></content><author><name>Andrea Zignoli</name><email>andrea.zignoli@unitn.it</email></author><category term="Bike handling" /><category term="Road cycling" /><category term="gg diagram" /><summary type="html"><![CDATA[Photo by Jack Delulio on Unsplash]]></summary></entry><entry><title type="html">Oxynet: A collective intelligence approach to cardiopulmonary test interpretation</title><link href="https://andreazignoli.github.io/blog-post-1/" rel="alternate" type="text/html" title="Oxynet: A collective intelligence approach to cardiopulmonary test interpretation" /><published>2021-05-27T00:00:00-07:00</published><updated>2021-05-27T00:00:00-07:00</updated><id>https://andreazignoli.github.io/blog-post-1</id><content type="html" xml:base="https://andreazignoli.github.io/blog-post-1/"><![CDATA[<figure align="center">
<img src="../images/front_cover_blog_1.jpeg" alt="front_cover_blog_1" style="width:100%" />
<figcaption>Photo by Ricardo Gomez Angel on Unsplash</figcaption>
</figure>

<p>This blog post was originally first published on <a href="https://www.linkedin.com/pulse/oxynet-collective-intelligence-approach-test-andrea-zignoli/?trackingId=4jrP2%2Fs1mkaZP6C%2Bim1cIQ%3D%3D">LinkedIn</a>.</p>

<h1 id="can-researchers-in-ai-medicine-help-delivering-more-equitable-and-accessible-healthcare-services">Can researchers in AI-medicine help delivering more equitable and accessible healthcare services?</h1>

<p>Some challenges transcend both time and geographical boundaries, and providing people with universal access to good quality health &amp; care services is one of them. With strained healthcare systems and ageing populations, the world requires coordinated and systemic actions to provide timely and efficient diagnostics. As reported in the <a href="https://ec.europa.eu/eip/ageing/news/publication-revised-version-orientations-towards-first-strategic-plan-horizon-europe-share-your_en">Orientations Towards the First Strategic Plan for Horizon Europe</a>:</p>

<figure class="quote">
  <blockquote>
    It is a main priority for the EU to support Member States in ensuring that health care systems are effective, efficient, equitable, accessible, and resilient while remaining fiscally sustainable in the medium and long term.
  </blockquote>
</figure>

<p>It’s pretty apparent that the EU community longs for solutions for the digital transformation of the healthcare system that could extend the reach of the high-level medicine outside the boundaries of the most developed countries. Emerging technologies in the field of <a href="https://www.nature.com/articles/s41591-018-0300-7">AI-medicine</a> can offer big opportunities to stimulate innovation and develop solutions in a wide variety of fields.</p>

<h2 id="what-is-ai-medicine-in-cardiopulmonary-exercise-testing">What is AI-medicine in cardiopulmonary exercise testing?</h2>

<p><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2647882/">Cardiopulmonary exercising testing</a> (CPET) is used worldwide to assess the responses of an individual’s cardiovascular and ventilatory systems to a known increasing working load. The results can be interpreted as a reflection on the general physical condition of the test patient and can be used to diagnose a number of cardiovascular diseases (e.g. coronary artery (ischemic heart)) and assess patient prognosis after a heart attack.</p>

<p>The main limitations that hinder the applicability of the CPET to a global scale are: A) it’s time-consuming and it must be conducted in a well-controlled environment; B) interpreting the results requires a high-level expertise and it might become subjective in some case.</p>

<p>On a scale much smaller than what has been seen in <a href="https://stanfordmlgroup.github.io/projects/ecg2/">cardiology</a> and <a href="https://www.nature.com/articles/nature21056">dermatology</a>, AI technologies such as machine learning and deep learning have been applied to CPET interpretation. This was done in the attempt to reduce variability of the interpretations across different experts and centres, and to ultimately help reducing the costs associated with current evaluation errors and delays.</p>

<figure class="quote">
  <blockquote>
    In general, we can define AI in CPET interpretation as the use of algorithms and software to approximate human cognition in the analysis of CPET data.
  </blockquote>
</figure>

<p><strong>The purpose of the <a href="www.oxynet.net">Oxynet</a> project is to develop automatic interpreters of cardiopulmonary exercising tests (CPET)</strong>. To this, Oxynet wants to become a tool for a quick and encompassing diagnosis of medical conditions with CPET and promote accurate and timely clinical decisions.</p>

<h2 id="innovative-aspects-of-oxynet">Innovative aspects of Oxynet</h2>

<p>Oxynet project was inspired by other bigger projects such as <a href="http://www.image-net.org/">ImageNet</a> and <a href="https://wordnet.princeton.edu/">WordNet</a>. It is based on a <em>collective intelligence</em> emerging from a network of internationally recognized experts in the field of CPET. The concept is very easy: a number of already interpreted CPET files are collected in datasets and they are used to train a deep neural network for the interpretation of new <em>unseen</em> files.</p>

<h2 id="collective-intelligence-explained">Collective intelligence explained</h2>

<p>At the time of writing, Oxynet can support experts on a particular subclass of problems related to CPET interpretation: the ventilatory thresholds detection. The current AI algorithm is trained everyday with the data available on the servers.</p>

<figure class="quote">
  <blockquote>
     This means that the ability of the AI in estimating ventilatory thresholds from CPET can improve day-after-day.
  </blockquote>
</figure>

<p>The accuracy of the Oxynet deep learning algorithm has been evaluated against the interpretation of independent and impartial experts. Results are encouraging, and indicate the possibility to use the algorithm in parallel with visual data inspection to speed up the interpretation of a CPET. Compared to other available computerised methods, Oxynet is more flexible, it doesn’t need any data pre-process and it’s poorly affected by noisy data. However, <strong>it’s the ability to integrate experts’ opinions</strong> that sets Oxynet apart from the other existing methods for automatic ventilatory thresholds detection.</p>

<h2 id="collaborative-efforts">Collaborative efforts</h2>

<p>The use of AI-medicine techniques in automatic CPET interpretation raises a number of ethical questions regarding the reporting of standards for automatic methods vs experts. Admittedly, it is impossible to eliminate all the issues around subjective CPET data interpretation at once, and this is an ongoing process that will take time to take place.</p>

<p>Will we ever get to a point where the effects of the noise will be cancelled out and the interpretation obtained by aggregating all the different opinions will be as good as the opinions of the most-skilled persons in the group? Hopefully, yes …</p>

<figure class="quote">
  <blockquote>
     An idiosyncratic noise is associated with each individual evaluation but taking the average over a large number of evaluations will likely get us closer to the ground-truth.
  </blockquote>
</figure>

<p>This phenomenon, <em>is known as the <a href="https://onlinelibrary.wiley.com/doi/full/10.1111/j.1551-6709.2011.01223.x">wisdom of the crowd</a> effect</em>, and it’s about being able to sift out the noise of the individual interpretations to get closer to the ground truth.</p>

<h2 id="conclusions">Conclusions</h2>

<p>There are two big limitations to the applicability of new AI-medicine algorithms: data availability and cross-expert communication. Oxynet has been conceived to facilitate both data sharing and experts exchange of knowledge. The constant increase of the <a href="https://ourworldindata.org/internet#:~:text=Globally%20the%20number%20of%20internet,over%203.4%20billion%20in%202016.&amp;text=In%20the%20maps%20we%20see,country's%20population%20who%20are%20users.">internet usage worldwide is evident</a>, and CPET data availability will likely increase in parallel. These trends suggest that this initiative will find fertile ground where to grow, and that international collaborative efforts will be needed to keep growing together.</p>

<p>Considering the structure, the results and the growing rate, Oxynet can be considered the first working example of a collective intelligence created to automatically interpret a CPET. It has been conceived to leverage internet ubiquity to deliver human-level CPET data interpretation ability everywhere in the world.</p>

<h1 id="contacts-and-acknowledgements">Contacts and acknowledgements</h1>

<p>If you are interested to the Oxynet project, visit <a href="http://oxynet.net/">Oxynet</a> website, send an email to oxynetcpetinterpreter(at)gmail.com or connect with me on Twitter, ResearchGate, etc.</p>

<p>This project would have never been possible (or at least it would have been much different) without the help of Filippo Degasperi, who kindly supported Oxynet with the “Restitution 2019” action. Appreciation and gratitude is also expressed to the Fondazione Cassa di Risparmio di Trento e Rovereto for supporting Oxynet and the involved researchers.</p>]]></content><author><name>Andrea Zignoli</name><email>andrea.zignoli@unitn.it</email></author><category term="Oxynet" /><category term="CPET" /><category term="Deep learning" /><summary type="html"><![CDATA[Photo by Ricardo Gomez Angel on Unsplash]]></summary></entry><entry><title type="html">The Greatest Show on Earth</title><link href="https://andreazignoli.github.io/https:/hiitscience.com/the-greatest-show-on-earth/" rel="alternate" type="text/html" title="The Greatest Show on Earth" /><published>2020-03-22T00:00:00-07:00</published><updated>2020-03-22T00:00:00-07:00</updated><id>https://andreazignoli.github.io/https:/hiitscience.com/blog-post-2</id><content type="html" xml:base="https://andreazignoli.github.io/https:/hiitscience.com/the-greatest-show-on-earth/"><![CDATA[<p>In this <a href="https://hiitscience.com/the-greatest-show-on-earth/">post</a>, I discuss how AI techonologies might assist us to monitor and optimize the chronic physiological adaptations that occur with endurance training, as well as how AI models might be used subsequently to develop more data-driven and systematic approaches to training program design.</p>

<p>In particular my discussion will be divided into two main sections: <em>independency</em> and <em>intelligence</em> (of a virtual coach).</p>]]></content><author><name>Andrea Zignoli</name><email>andrea.zignoli@unitn.it</email></author><category term="HIIT Science" /><category term="Athletica" /><summary type="html"><![CDATA[In this post, I discuss how AI techonologies might assist us to monitor and optimize the chronic physiological adaptations that occur with endurance training, as well as how AI models might be used subsequently to develop more data-driven and systematic approaches to training program design.]]></summary></entry><entry><title type="html">How AI is (not) going to change sport science</title><link href="https://andreazignoli.github.io/https:/hiitscience.com/how-ai-is-not-going-to-change-sport-science/" rel="alternate" type="text/html" title="How AI is (not) going to change sport science" /><published>2019-01-11T00:00:00-08:00</published><updated>2019-01-11T00:00:00-08:00</updated><id>https://andreazignoli.github.io/https:/hiitscience.com/blog-post-3</id><content type="html" xml:base="https://andreazignoli.github.io/https:/hiitscience.com/how-ai-is-not-going-to-change-sport-science/"><![CDATA[<p>In <a href="https://hiitscience.com/how-ai-is-not-going-to-change-sport-science/">this blog post</a> with this (for some) controversial title, I diuscss why I don’t believe that we need AI to become better coaches or better sport scientists. Indeed, we need AI to test old ideas, and form new ones, to stimulate debate, and move our optimization forward.</p>

<p>AI, like all technologies, can be used, abused and misused. However, as with each technology or tool, it brings us the chance to test our convictions and change our positions. It aids us to refine the scientific process.</p>

<p>So, back to the question: “Do we need AI to be better coaches or sport scientists?” My answer today would be: “No, I don’t think so”. We didn’t need electric guitars to make better music, and we definitely don’t need AI to become better coaches or sport scientists. BUT, we needed electric guitars to create new sounds, stimulate new ideas, evolve new melodies and make songs for the new generations. AI as applied to coaching and sport science will be similar.</p>]]></content><author><name>Andrea Zignoli</name><email>andrea.zignoli@unitn.it</email></author><category term="HIIT Science" /><category term="Athletica" /><summary type="html"><![CDATA[In this blog post with this (for some) controversial title, I diuscss why I don’t believe that we need AI to become better coaches or better sport scientists. Indeed, we need AI to test old ideas, and form new ones, to stimulate debate, and move our optimization forward.]]></summary></entry></feed>