Can AI Change Respiratory Care? From Smarter Inhalers to Earlier Asthma Risk Detection

AI in respiratory medicine is no longer confined to a single task. Recent work spans the inhaler itself, the molecular signature of aspirin-exacerbated respiratory disease (AERD), and the emergency department pathway for children with asthma. The evidence is encouraging in places, but its practical message is clear: useful tools must fit the clinical problem, the data and the workflow.

Breathing Better with the Help of Artificial Intelligence: From Inhalers to Childhood Asthma

A child with asthma leaves the emergency department after a crisis. Treatment has been provided, breathing has returned to normal, and the family can go home. What no one knows at that moment is whether the problem will recur in a few months. It is also unknown whether that child would need a more thorough assessment in a specialized clinic that, however, does not have room for everyone.

Let us move to another medical office. An adult with severe asthma and nasal polyps lives for years with worsening symptoms, without knowing that there is a reaction to aspirin behind them. Discovering it requires a lengthy and not risk-free test, and many people never undergo it.

Finally, an everyday gesture that seems trivial: using an inhaler. Even when the medication is excellent, it reaches the lungs only partially, and often much less than one would like.

Three different problems, one common idea: using artificial intelligence (AI) to understand better, earlier, and with less effort. By AI we mean programs that learn from large amounts of data and use them to make predictions, more or less as an experienced doctor recognizes a pattern after seeing many similar cases, except that the program does so using thousands of pieces of information at the same time. In medicine, "machine learning" is often mentioned: this is the technical name for this way of learning from data.

In this article, we examine three recent studies that address very different aspects of respiratory care: inhaler design, the diagnosis of a particular form of asthma, and the organization of care in a pediatric emergency department. The findings are encouraging, but the most useful lesson is also the most sober one: a tool is useful only if it is suited to the problem, the available data, and the work of those who use it.

In brief

One label, three different problems

The three studies share the label of artificial intelligence, but otherwise they have little in common. They are like a thermometer, an X-ray, and an appointment diary: all are useful for care, but they answer very different questions.

The first is a review, that is, an overview that gathers and comments on many studies already published on how AI can be used throughout the entire life of an inhaler, from ingredient selection to production, through to daily use by the patient. The second is a study on a group of patients, asking whether a simple collection of cells from the nose can reveal a complex diagnosis. The third, named AIRE-KIDS, asks whether the data that a hospital collects anyway can help decide which children with asthma to refer to a specialist after an emergency department visit.

For this reason, it makes no sense to rank their results. The right question, when faced with every announcement about AI, is not "does it work?", but "does it work to do what, on which data, and with what effect on people?". The technical performance of a program becomes useful for health only when the data are representative, the result is understandable and, after the result, someone knows what to do.

The inhaler: a drug that must find its way

Anyone who uses an inhaler knows from experience: it is not enough to spray. The drug must travel through the airways to the lungs, not stop on the tongue or in the throat. In fact, historically, only a small part of the dose, less than one fifth, actually reaches the lungs.

For this reason, experts encourage considering the inhaler not as a simple container, but as a single product in which the drug and the device work together. Many factors contribute to determining where the medicine ends up: particle size, the force with which one inhales, the resistance the device offers to airflow, the tendency of the powder to clump together, the shape of that person's airways and, naturally, the technique used to operate the device. This applies to asthma and chronic obstructive pulmonary disease (COPD, a chronic disease that narrows the airways), but also to cystic fibrosis, pulmonary hypertension and respiratory infections.

Particle size matters greatly. Particles that are too large crash against the mouth and throat, while those that are too small are exhaled along with the air, like smoke coming out of the lips. The most useful ones are intermediate-sized particles. This is why technicians measure the so-called "fine particle fraction," namely the proportion of the drug made up of particles small enough to travel deep into the airways. These are measurements that AI programs can learn to predict based on the characteristics of the formulation and the device, saving many laboratory experiments.

The review examines different types of algorithms and has one merit: it reminds us that the choice should follow the problem, not fashion. Artificial neural networks, programs very loosely inspired by how the brain works, can capture complex relationships, but require a great deal of well-organized data and often do not explain how they arrived at an answer. "Random forests" combine many small decision trees and can indicate which factors matter most. Support vector machines can work well even with little data. Deep learning can analyze images and sensor data streams, but has a strong appetite for examples already classified by experts. Finally, there are computer simulations of air movement, combined with machine learning, to reproduce how the drug deposits in the airways: very powerful, but computationally demanding and difficult to verify independently.

The examples reported show the potential. In one study, a neural network predicted with excellent precision how much of the powder of two widely used asthma drugs, salbutamol and salmeterol, would end up in the useful fraction. In another study, researchers gave the algorithm electron microscopy images of a drug powder mixed with lactose: a simpler type of network was better at predicting the dose emitted by the inhaler, while a type specialized in images was better at predicting the fine particle fraction. These are important results for those designing drugs, but they do not, on their own, demonstrate that patients will be better off.

Then there are smart inhalers, equipped with sensors that record how forcefully and for how long we breathe, in what position we hold the device, when we use it, and whether we make technique errors. For a dry powder device, the review reports very close agreement between sensor measurements and those of a reference instrument. This is good technical confirmation: the sensor measures well. But measuring well does not yet mean making patients better. For now, there is no solid evidence that sensor feedback consistently improves long-term outcomes.

AI is also being proposed in manufacturing. Producing an inhalable powder requires delicate steps, such as milling, spray drying, blending, and capsule filling. When moving from the laboratory to industrial production, the characteristics of the powder change somewhat: in the cited studies, the particles were slightly different in size and the proportion of useful particles decreased by several percentage points. This is where "digital twins" come into play, virtual copies of a manufacturing process on which tests can be performed on a computer before touching the real machinery. The idea is compelling, but the cited data show the potential usefulness of predictive tools, not that a specific AI platform actually solves scale-up problems.

Aspirin and asthma: looking for clues in the nose

Some people with severe asthma also have nasal polyps, small inflamed growths that obstruct the nose, and react poorly to aspirin and other similar anti-inflammatory drugs, with sudden worsening of breathing. This combination has a name technical, AERD, which stands for aspirin-exacerbated respiratory disease. It affects a minority of asthmatics, but a decidedly higher proportion of those with severe asthma, and often goes unnoticed.

The reference method for confirming it is the oral provocation test: the patient takes the drug in a protected setting, under close supervision, to see if the reaction appears. It works, but requires time and personnel and consists, by definition, of provoking the problem one wants to study. It is not surprising that alternatives are being sought.

A research group tried to look for them in the nose. Using a small soft brush, they collected cells from the inner surface and measured which genes were more or less active, by reading messenger RNA, that is, the "working instructions" that cells copy from genes to produce proteins. An algorithm then learned to recognize a 34-gene profile typical of the disease.

In total, just over one hundred people, with and without AERD, were involved at two U.S. centers. In the first, used to train the model, patients with AERD were compared with healthy individuals. In the second, used to test it without adjustments, the comparison was more difficult: all participants were asthmatic, and it was necessary to distinguish those who react to aspirin from those who tolerate it. The model gave the correct answer in more than nine out of ten cases in the training group, as expected, and in about eight out of ten cases in the validation group. That decline is normal, and the result remains noteworthy precisely because the test was more challenging.

The gene profile also says something about the biology of the disease. Among the most relevant signals are those related to eosinophils and mast cells, two types of immune system cells involved in allergic reactions; to "type 2" inflammation, the form of inflammation typical of allergies and asthma; and to the barrier function of the epithelium, the lining that serves as the first defense of the airways. These are clues consistent with what was already known about the disease, and this strengthens confidence in the results. The authors also report an unexpected finding: lower activity of some genes linked to "adaptive" immunity, the kind that learns to recognize specific enemies. They hypothesize that this depends on the type of tissue collected with the brush, but this remains a hypothesis to be verified.

The study also confirms what physicians observe in clinical practice. Those with AERD more often have polyps, have undergone more nasal surgeries, and more often report respiratory symptoms after drinking alcohol: approximately two out of three, compared to one out of six among asthmatics who tolerate aspirin. These are elements that may raise suspicion, but are not sufficient to make a diagnosis.

The limitations are clear. The groups were small, the ideal comparison (asthmatics who tolerate aspirin and also have nasal polyps) was not fully represented, and the effect of medications, for example corticosteroids, on gene activity was not fully taken into account. For now, the test does not replace supervised challenge testing or the specialist's judgment. It could become a useful complement in the future in uncertain cases or when challenge testing is not advisable, but larger studies are needed first, across multiple centers and with standardized procedures for collecting and analyzing samples.

Childhood asthma: who needs monitoring the most?

The third study takes us to a Canadian pediatric emergency department. Up to one in four children return within a year after a visit for asthma. Specialized asthma clinics, which could help prevent these relapses, have limited capacity, and it is not possible to refer everyone. The problem is therefore very practical: who needs the most additional attention?

The AIRE-KIDS researchers attempted to answer this using only information that the hospital already collects: medical record data, environmental information, and an index summarizing the degree to which a neighborhood is socially and economically disadvantaged, for a total of more than sixty characteristics for each child. The model was trained on the young patients seen before the COVID-19 pandemic, just under three thousand, and then tested on just over one thousand children seen afterward.

This choice is important. Randomly dividing the data It would have been easier and would have yielded more favorable results. Testing the model on a later period is like training a driver in one city and checking how they drive, a few years later, when roads, habits, and traffic have changed. Researchers call this "temporal validation," and it is a much more stringent test.

Two types of approach were compared. On the one hand, models based on "boosted decision trees," such as LightGBM and XGBoost: collections of many small decision schemes (such as "if the child has already come several times, then...") that correct one another. On the other hand, large language models, namely the systems underlying chatbots, which have generated much enthusiasm also for the analysis of data organized in tables. To use them, each child's data were converted into text. And because the hospital's privacy rules prohibited sending the data outside, open models were used, run on the hospital's computers.

LightGBM won consistently. The final model needs only six pieces of information: how many times the child has already been to the emergency department for asthma, how severe the situation was on arrival according to the Canadian Triage Scale (the system nurses use to classify the urgency of each patient), overall medical complexity, any food allergy, previous visits for other respiratory problems, and age. With these few data, it identified children at risk better than the rule-based alert the hospital was already using.

To understand how well, two measures are needed. The first, the area under the curve (AUC), indicates how well the model can distinguish those who will have problems from those who will not: a value of one would be perfect, whereas a value of one-half is equivalent to tossing a coin. The model achieved approximately 0.7, that is, fair performance, useful but far from infallible. The second, the F1 score, balances two opposite errors: missing children who would need help and, conversely, flagging too many of them, overwhelming a service with few available places. In a program with limited capacity, this balance is precisely what matters, and here the model performed better than the alert already in use. For predicting hospitalizations, the results were more modest, and even in a more restrictive analysis that considered only relapses requiring urgent care, performance declined somewhat.

Here too, honesty about the limitations. The study concerns a single hospital and looks to the past. Some factors that weigh heavily on asthma, such as the regularity with which controller therapy is taken and exposure to smoke at home, were not reliably available in the records. Outcomes were identified only at the hospital itself, so visits made elsewhere may be missing. And above all, we still do not know whether using these predictions actually changes decisions and reduces relapses. The authors therefore propose a "silent validation" phase: the model works in the background, without influencing anyone, and it is checked whether it would have been correct, also assessing how acceptable clinicians find it.

Can they be compared?

As we have seen, the three studies answer different questions and their measures are not interchangeable. High agreement in predicting an aerosol does not equate to diagnostic accuracy. A score for recognizing AERD cannot be compared with the one chosen to decide whom to refer to a specialist. The source data are also very different: device parameters and formulations, gene activity in the nose, electronic medical records linked to environmental and neighborhood information.

However, there are significant parallels. All three sources acknowledge that a model's performance depends on the data and the context in which it is used. The AERD researchers tested the model at an independent hospital. AIRE-KIDS tested it on a subsequent period. The review on inhalers identifies independent validation, standardization, and the ability to explain how the model reasons as recurring needs. And none of the three presents AI as an autonomous substitute for the expertise of those providing care.

What changes for patients and physicians

For now, nothing immediate: none of these tools is ready to enter the doctor's office tomorrow morning. However, they indicate concrete directions.

On the inhaler front, AI could make drug development more efficient and their production, and the sensors could one day signal technique errors or inefficient usage habits. For this to work, however, reliable data and a way to return the information to doctor and patient are needed without increasing workload or inequalities.

For AERD, the nasal test could become an aid in cases where the clinical history is ambiguous or the provocation test is not appropriate. The authors envisage a targeted examination, capable of providing an easy-to-interpret probability. For now, it is only a working hypothesis.

For childhood asthma, a model such as AIRE-KIDS could help emergency department teams direct the limited specialist resources toward those who need them most. The fact that it is based on very little information makes it interesting, because it would be easier to incorporate into daily work. First, however, the "silent" testing phase we discussed is needed.

What we still do not know

Digital inhalers face several obstacles: patients do not always use apps and connected devices regularly, the data to train algorithms are often limited, sensors and connectivity can cause problems, costs are high, and cybersecurity is a serious issue. There is also a risk of leaving behind those who are underrepresented in the data collected by connected devices. Many of the systems described are still feasibility studies or preliminary validations, and the long-term clinical benefit of digital inhalers, in the evidence cited, remains limited.

The AERD study requires broader verification, in multiple centers, in larger populations and with standardized procedures for sampling and laboratory analyses. It is necessary to understand how the test would perform in more complex cases, when multiple conditions overlap, and how the result should influence physicians' decisions.

AIRE-KIDS is a single-hospital study, conducted retrospectively. Prospective research is needed to understand whether using the model changes referral decisions to specialists and, above all, outcomes for children.

In all three cases, the following remains open the issue of equity: a model that performs well on average may perform worse for those who are less represented in the data, by age, origin, health conditions, or care habits. For this reason, alongside technical performance, it is necessary to verify whether the tools improve decisions in the real world and people's lives, in different care settings.

In conclusion

From inhaler design to the diagnosis of AERD, to the organization of the pediatric emergency department, the three studies outline more personalized respiratory care, with important limitations that the authors themselves do not hide. The review on inhalers indicates promising roles for AI in prediction and monitoring, but also significant practical obstacles. The study on AERD shows, with independent validation, that gene activity in the nasal lining can help identify a subtype of asthma that is difficult to detect. AIRE-KIDS demonstrates that a targeted and simple model can outperform language models on pediatric emergency department data.

The most convincing message is not about replacing professionals with technology, but about enhancing them carefully. AI tools will become relevant only if validated outside the setting in which they originated, intelligently integrated into daily work, and able to demonstrate a tangible benefit for patients and healthcare services.

And you, would you trust health advice generated by an algorithm, if your doctor were the one explaining it to you?

Brief glossary

AERD: aspirin-exacerbated respiratory disease: asthma, nasal polyps, and reactions to aspirin and similar anti-inflammatory drugs.

Algorithm: a sequence of instructions that a computer follows to solve a problem.

Machine learning: a method by which a program learns to make predictions by analyzing many examples, instead of being programmed rule by rule.

AUC (area under the curve): a measure of how well a model distinguishes those who will have a problem from those who will not: one is perfect, one-half is equivalent to flipping a coin.

Eosinophils and mast cells: cells of the immune system that participate in allergic reactions and inflammation.

Epithelium: the lining of body surfaces, including the airways, which acts as the first defensive barrier.

Fine particle fraction: the proportion of inhaled medication composed of particles small enough to reach deep into the lungs.

Digital twin: a virtual copy of a real process or object, on which computer-based tests are performed.

Large language model: the type of program underlying chatbots, trained on enormous amounts of text.

F1 score: a measure that balances two errors: failing to identify those in need and flagging too many people.

Messenger RNA: the temporary copy of an instruction contained in a gene, used by the cell to produce a protein.

Oral challenge test: an examination in which the patient takes a drug under medical supervision to see whether a reaction occurs.

Validation: verification of a model on data different from those used to train it, for example from another hospital or from a later period.

Content for informational purposes. It does not replace the doctor's opinion, current guidelines, or professional advice specific to the patient.