Skip to content
DraconiticResearch
Search Sources API
197,768 studies31 sourcesUpdated 44 min ago
PreprintCC BY-NCmedRxiv

Adaptive forecasting of antiretroviral therapy demand using machine learning in Indias national HIV programme

  1. 1Department of Computer Science, Ashoka University

Abstract

Antiretroviral therapy (ART) stock-outs interrupt treatment, increase the risk of virologic failure and drug resistance, and erode the population-level benefits of viral suppression. Indias National AIDS Control Organization (NACO) manages one of the worlds largest public ART programmes, where regimen transitions, evolving formulations, changing treatment guidelines, and procurement-driven fluctuations in drug consumption complicate forecasting. We developed an end-to-end, regimen-specific forecasting workflow to support procurement planning during such periods of instability.

We analyzed monthly national ART consumption data from January 2013 through December 2024. A privacy-preserving synthetic dataset was used for pipeline development, followed by final evaluation on real national consumption time series. We compared three model classes, comprising six models: (1) classical models (Holt-Winters and ARIMA), (2) transformer models (TimesFM, which is a large pre-trained time-series foundation model, and its variant with logarithmically transformed values), and (3) hybrid models (two variants of a hybrid ARIMA-TimesFM residual model).

While the forecast horizon of 18 months remained constant, the train-test period varied across real and synthetic data, as real data were only available until February 2024. For synthetic data, models were trained through June 2023 (test window was July 2023-December 2024), while for real data, models were trained through August 2022 (our test window was September 2022-February 2024). We reported signed percentage deviation to preserve whether models tended to over-predict or under-predict, and selected models by the smallest absolute deviation. We then derived a regimen-specific model-error buffer, applied only to held-out under-prediction, and deployed the workflow through a no-code dashboard.

Forecasting performance was determined using signed percentage deviation (SPD), wherein positive deviation represents under-prediction and negative deviation represents over-prediction. Performance varied across regimens, indicating that no single approach was best-performing for all formulations. On synthetic benchmark data, the smallest absolute deviations ranged from 0.39% for adult AZT+3TC to 5.37% for adult DRV/r.

On real consumption data, classical methods remained competitive for some series, whereas transformer and hybrid models produced better predictive outcomes for others. For instance, for adult AZT+3TC, the Hybrid 70th percentile achieved an SPD of -2.02%, in contrast to the error range of [-15.7, 8.87] for other models. For adult RTV booster, Holt-Winters achieved an SPD of 1.68%, in contrast to the error range of [14.94%, 17.25%] for the other models.

Several formulations, particularly low-volume and transition regimens, nevertheless remained difficult to forecast accurately, underscoring persistent operational uncertainty. This was especially evident across the three pediatric regimens, where all models deviated systematically in the same direction -- a more concerning pattern than mere error magnitude alone. For pediatric ABC+3TC, all models over-predicted within a narrow band of [-82.74, -67.43], while for pediatric AZT+3TC and LPV/r 100/25, all models under-predicted, with ranges of [24.93, 63.73] and [18.32, 52.07], respectively.

These findings support a portfolio approach to forecasting in national HIV programmes. Rather than replacing established public-health procurement systems, regimen-specific model selection, directional error reporting, and cautious model-error buffering can strengthen decision support during regimen transitions and other periods of unstable demand.

Author summaryReliable demand forecasting for HIV medicines is essential to prevent stock-outs that interrupt treatment and compromise patient outcomes. In Indias public ART programme, procurement planning has traditionally drawn on past consumption. This approach performs reasonably well for mature, high-volume regimens, but becomes less reliable when national treatment guidelines change, new formulations are introduced or scaled up, or patients shift between regimens.

We used national ART consumption data from India to compare several forecasting approaches, including classical time-series models, a zero-shot foundation model, and a hybrid residual model. No single method performed best across all drug regimens; performance depended on the specific regimen being forecast. Classical models performed competitively on some relatively stable series, whereas others benefited from more flexible methods. We also developed a practical method for translating model output into procurement recommendations through a regimen-specific model-error buffer, and implemented the workflow in an accessible dashboard.

Our findings suggest that forecasting in national HIV programmes should be framed as a regimen-specific decision problem, rather than a search for one universally best model. This strategy could improve procurement planning during periods of programmatic change and help protect continuity of HIV treatment.

Related

  1. Mixed-methods evaluation of a rights-based intervention to reduce long-term segregation in mental health services: the HOPE(S) National Programme in England.
    Alina Haines-Delmont, Kathryn Fradley, Dineesha Georgeena Rajan +1
    BMJ openPeer-reviewedCC BYFull textPsychiatry & mental healthEurope PMCCrossref
  2. Estimating the cost-effectiveness of the National Weight Management Enhanced Service and NHS Digital Weight Management Programme in England: a modelling study
    Ben Amies-Cull, Stella Haffner, Peter Scarborough +3
    BMJ OpenPeer-reviewedCC BY 4.0Full textGeneral medicineCrossref
  3. Epidemiological Study of Utilization of National Tuberculosis Elimination Programme Services among Key TB Patients accessing Public Sector Facilities in Central Gujarat: A Cross-Sectional Study
    Darshna Sarvaiya, Uday Shankar Singh, Deepak Sharma +1
    GAIMS Journal of Medical SciencesPeer-reviewedCC BY-NC-SAFull textGeneral medicineDOAJ
  4. A health impact assessment (HIA) of a national lung cancer screening programme in Wales
    L Green, K Ashton, C Lyddon +5
    The European Journal of Public HealthPeer-reviewedCC BY-NC 4.0Full textGeneral medicinePMCEurope PMC
  5. Embedding health equity in Austria’s new public health-oriented national cancer control programme
    F Trauner, W Seebacher, C Einwögerer +5
    The European Journal of Public HealthPeer-reviewedCC BY-NC 4.0Full textOncologyPMCEurope PMC
BibTeX
@misc{chugh2026adaptive,
  title = {{Adaptive forecasting of antiretroviral therapy demand using machine learning in Indias national HIV programme}},
  author = {M. Chugh and B. Neekhra and M. Bamrotiya and S. J. Clipman and D. Gupta},
  howpublished = {medRxiv},
  year = {2026},
  month = aug,
  doi = {10.64898/2026.08.25.26361170},
  url = {https://www.medrxiv.org/content/10.64898/2026.08.25.26361170v1},
  note = {CC BY-NC},
}
RIS
TY  - UNPB
TI  - Adaptive forecasting of antiretroviral therapy demand using machine learning in Indias national HIV programme
AU  - M. Chugh
AU  - B. Neekhra
AU  - M. Bamrotiya
AU  - S. J. Clipman
AU  - D. Gupta
PY  - 2026
DA  - 2026/08/25
PB  - medRxiv
DO  - 10.64898/2026.08.25.26361170
UR  - https://www.medrxiv.org/content/10.64898/2026.08.25.26361170v1
AB  - Antiretroviral therapy (ART) stock-outs interrupt treatment, increase the risk of virologic failure and drug resistance, and erode the population-level benefits of viral suppression. Indias National AIDS Control Organization (NACO) manages one of the worlds largest public ART programmes, where regimen transitions, evolving formulations, changing treatment guidelines, and procurement-driven fluctuations in drug consumption complicate forecasting. We developed an end-to-end, regimen-specific forecasting workflow to support procurement planning during such periods of instability.  We analyzed monthly national ART consumption data from January 2013 through December 2024. A privacy-preserving synthetic dataset was used for pipeline development, followed by final evaluation on real national consumption time series. We compared three model classes, comprising six models: (1) classical models (Holt-Winters and ARIMA), (2) transformer models (TimesFM, which is a large pre-trained time-series foundation model, and its variant with logarithmically transformed values), and (3) hybrid models (two variants of a hybrid ARIMA-TimesFM residual model).  While the forecast horizon of 18 months remained constant, the train-test period varied across real and synthetic data, as real data were only available until February 2024. For synthetic data, models were trained through June 2023 (test window was July 2023-December 2024), while for real data, models were trained through August 2022 (our test window was September 2022-February 2024). We reported signed percentage deviation to preserve whether models tended to over-predict or under-predict, and selected models by the smallest absolute deviation. We then derived a regimen-specific model-error buffer, applied only to held-out under-prediction, and deployed the workflow through a no-code dashboard.  Forecasting performance was determined using signed percentage deviation (SPD), wherein positive deviation represents under-prediction and negative deviation represents over-prediction. Performance varied across regimens, indicating that no single approach was best-performing for all formulations. On synthetic benchmark data, the smallest absolute deviations ranged from 0.39% for adult AZT+3TC to 5.37% for adult DRV/r.  On real consumption data, classical methods remained competitive for some series, whereas transformer and hybrid models produced better predictive outcomes for others. For instance, for adult AZT+3TC, the Hybrid 70th percentile achieved an SPD of -2.02%, in contrast to the error range of [-15.7, 8.87] for other models. For adult RTV booster, Holt-Winters achieved an SPD of 1.68%, in contrast to the error range of [14.94%, 17.25%] for the other models.  Several formulations, particularly low-volume and transition regimens, nevertheless remained difficult to forecast accurately, underscoring persistent operational uncertainty. This was especially evident across the three pediatric regimens, where all models deviated systematically in the same direction -- a more concerning pattern than mere error magnitude alone. For pediatric ABC+3TC, all models over-predicted within a narrow band of [-82.74, -67.43], while for pediatric AZT+3TC and LPV/r 100/25, all models under-predicted, with ranges of [24.93, 63.73] and [18.32, 52.07], respectively.  These findings support a portfolio approach to forecasting in national HIV programmes. Rather than replacing established public-health procurement systems, regimen-specific model selection, directional error reporting, and cautious model-error buffering can strengthen decision support during regimen transitions and other periods of unstable demand.  Author summaryReliable demand forecasting for HIV medicines is essential to prevent stock-outs that interrupt treatment and compromise patient outcomes. In Indias public ART programme, procurement planning has traditionally drawn on past consumption. This approach performs reasonably well for mature, high-volume regimens, but becomes less reliable when national treatment guidelines change, new formulations are introduced or scaled up, or patients shift between regimens.  We used national ART consumption data from India to compare several forecasting approaches, including classical time-series models, a zero-shot foundation model, and a hybrid residual model. No single method performed best across all drug regimens; performance depended on the specific regimen being forecast. Classical models performed competitively on some relatively stable series, whereas others benefited from more flexible methods. We also developed a practical method for translating model output into procurement recommendations through a regimen-specific model-error buffer, and implemented the workflow in an accessible dashboard.  Our findings suggest that forecasting in national HIV programmes should be framed as a regimen-specific decision problem, rather than a search for one universally best model. This strategy could improve procurement planning during periods of programmatic change and help protect continuity of HIV treatment.
ER  -