Skip to main content

Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

  • Article
  • Published:

Matching algorithms for blood donation

A preprint version of the article is available at arXiv.

Abstract

Global demand for donated blood far exceeds supply, and unmet need is greatest in low- and middle-income countries. Large-scale coordination is necessary to alleviate demand. Using the Facebook Blood Donations tool, we conduct a large-scale algorithmic matching of blood donors with donation opportunities. While measuring actual donation rates remains a challenge, we measure donor action (for example, making a donation appointment) as a proxy for actual donation. We develop automated policies for matching patients and donors, based on an online matching model. We provide theoretical guarantees for these policies, both regarding the number of expected donations and the equitable treatment of blood recipients. In simulations, a simple matching strategy increases the number of donations by 5–10%; a pilot experiment with real donors shows a 5% relative increase in donor action rate (from 3.7% to 3.9%). When scaled to the global Blood Donations tool user base, this corresponds to an increase of around 100,000 users taking action toward donation. Further, observing donor action on a social network can shed light on donor behaviour and response to incentives. Our initial findings align with several observations made in the medical and social science literature regarding donor behaviour.

This is a preview of subscription content, access via your institution

Access options

Buy this article

Prices may be subject to local taxes which are calculated during checkout

Fig. 1: Stages of the blood supply chain.
Fig. 2: Overview of the Facebook Blood Donations tool.
Fig. 3: Distribution of predicted MA likelihood.
Fig. 4: Simulation results for 12 cities around the world.
Fig. 5: Aggregate MA rate for both Rand and Max, for each day in the experiment.

Similar content being viewed by others

Data availability

The datasets related to Facebook user information are not publicly available due to privacy concerns. All data used to create plots are available from the corresponding author on reasonable request. Datasets used for simulations (Supplementary Information Section 2) are publicly available from the Socioeconomic Data and Applications Center (SEDAC)41,42, and can be found online (http://sedac.ciesin.columbia.edu/data/collection/gpw-v4).

Code availability

All code used for our simulations is available online40, and is included in Supplementary Software.

References

  1. Guan, Y. When voluntary donations meet the state monopoly: understanding blood shortages in China. China Q. 236, 1111–1130 (2018).

    Article  Google Scholar 

  2. Osorio, A. F., Brailsford, S. C. & Smith, H. K. A structured review of quantitative models in the blood supply chain: a taxonomic framework for decision-making. Int. J. Prod. Res. 53, 7191–7212 (2015).

    Article  Google Scholar 

  3. Carneiro-Proietti, A. B. et al. Demographic profile of blood donors at three major Brazilian blood centers: results from the international REDS-II study 2007 to 2008. Transfusion 50, 918–925 (2010).

    Article  Google Scholar 

  4. World Health Organization Blood Safety and Availability (2023). https://www.who.int/news-room/fact-sheets/detail/blood-safety-and-availability

  5. Roberts, N., James, S., Delaney, M. & Fitzmaurice, C. The global need and availability of blood products: a modelling study. Lancet Haematol. 6, e606–e615 (2019).

    Article  Google Scholar 

  6. Osorio, A. F., Brailsford, S. C., Smith, H. K., Forero-Matiz, S. P. & Camacho-Rodr¡guez, B. A. Simulation-optimization model for production planning in the blood supply chain. Health Care Manag. Sci. 20, 548–564 (2017).

    Article  Google Scholar 

  7. Katsaliaki, K. & Brailsford, S. C. Using simulation to improve the blood supply chain. J. Oper. Res. Soc. 58, 219–227 (2007).

    Article  MATH  Google Scholar 

  8. Zahiri, B. & Pishvaee, M. S. Blood supply chain network design considering blood group compatibility under uncertainty. Int. J. Prod. Res. 55, 2013–2033 (2017).

    Article  Google Scholar 

  9. Dillon, M., Oliveira, F. & Abbasi, B. A two-stage stochastic programming model for inventory management in the blood supply chain. Int. J. Prod. Econ. 187, 27–41 (2017).

    Article  Google Scholar 

  10. El-Amine, H., Bish, E. K. & Bish, D. R. Robust postdonation blood screening under prevalence rate uncertainty. Oper. Res. 66, 1–17 (2018).

    Article  MATH  Google Scholar 

  11. Prastacos, G. P. & Brodheim, E. PBDS: a decision support system for regional blood management. Manag. Sci. 26, 451–463 (1980).

    Article  Google Scholar 

  12. Sojka, B. N. & Sojka, P. The blood donation experience: self-reported motives and obstacles for donating blood. Vox Sang. 94, 56–63 (2008).

    Article  Google Scholar 

  13. Reich, P. et al. A randomized trial of blood donor recruitment strategies. Transfusion 46, 1090–1096 (2006).

    Article  Google Scholar 

  14. Chell, K., Davison, T. E., Masser, B. & Jensen, K. A systematic review of incentives in blood donation. Transfusion 58, 242–254 (2018).

    Article  Google Scholar 

  15. Van Dongen, A., Ruiter, R., Abraham, C. & Veldhuizen, I. Predicting blood donation maintenance: the importance of planning future donations. Transfusion 54, 821–827 (2014).

    Article  Google Scholar 

  16. Godin, G. et al. Factors explaining the intention to give blood among the general population. Vox Sang. 89, 140–149 (2005).

    Article  Google Scholar 

  17. Craig, A. C., Garbarino, E., Heger, S. A. & Slonim, R. Waiting to give: stated and revealed preferences. Manag. Sci. 63, 3672–3690 (2017).

    Article  Google Scholar 

  18. American Red Cross Importance of the Blood Supply (2023). https://www.redcrossblood.org/donate-blood/how-to-donate/how-blood-donations-help/blood-needs-blood-supply.html

  19. American Red Cross Blood Donor App (2022). https://www.redcrossblood.org/blood-donor-app.html

  20. Ouhbi, S., Fernández-Alemán, J. L., Toval, A., Idri, A. & Pozo, J. R. Free blood donation mobile applications. J. Med. Syst. 39, 52 (2015).

    Article  Google Scholar 

  21. Sümnig, A., Feig, M., Greinacher, A. & Thiele, T. The role of social media for blood donor motivation and recruitment. Transfusion 58, 2257–2259 (2018).

    Article  Google Scholar 

  22. Alanzi, T. & Alsaeed, B. Use of social media in the blood donation process in Saudi Arabia. J. Blood Med. 10, 417–423 (2019).

    Article  Google Scholar 

  23. Abbasi, R. A. et al. Saving lives using social media: analysis of the role of Twitter for personal blood donation requests and dissemination. Telemat. Inform. 35, 892–912 (2018).

    Article  Google Scholar 

  24. Karp, R. M., Vazirani, U. V. & Vazirani, V. V. An optimal algorithm for on-line bipartite matching. In Proc. of the Twenty-second Annual ACM Symposium on Theory of Computing. (STOC) 352–358 (Association of Computing Machinery, 1990).

  25. Mehta, A., Saberi, A., Vazirani, U. & Vazirani, V. AdWords and generalized online matching. J. ACM 54, 22-es (Association of Computing Machinery, 2007).

  26. Dickerson, J.P., Sankararaman, K.A., Srinivasan, A. & Xu, P. Allocation problems in ride-sharing platforms: Online matching with offline reusable resources. ACM Transactions on Economics and Computation (TEAC) 9, 1–17 (Association of Computing Machinery, 2021).

  27. Lowalekar, M., Varakantham, P. & Jaillet, P. Online spatio-temporal matching in stochastic and dynamic domains. Artif. Intell. 261, 71–112 (2018).

    Article  MathSciNet  MATH  Google Scholar 

  28. Wang, X., Agatz, N. & Erera, A. Stable matching for dynamic ride-sharing systems. Transp. Sci. 52, 850–867 (2018).

    Article  Google Scholar 

  29. Manshadi, V. & Rodilitz, S. Online Policies for Efficient Volunteer Crowdsourcing. Manag. Sci. 68, 6572–6590 (2022).

    Article  Google Scholar 

  30. Jin, K.-X. Over 100 million people have signed up for local blood donation notifications. Facebook (14 June 2021). https://about.fb.com/news/2021/06/100-million-people-signed-up-for-blood-donation-notifications/

  31. Budaraju, H. Helping increase blood donations in the US. Facebook (12 June 2019). https://about.fb.com/news/2019/06/us-blood-donations/

  32. Anstee, R. P. A polynomial algorithm for b-matchings: an alternative approach. Inf. Process. Lett. 24, 153 (1987).

    Article  MathSciNet  MATH  Google Scholar 

  33. Godin, G., Conner, M., Sheeran, P., Bélanger-Gravel, A. & Germain, M. Determinants of repeated blood donation among new and experienced blood donors. Transfusion 47, 1607–1615 (2007).

    Article  Google Scholar 

  34. American Red Cross Blood Safety and Availability (2023); https://www.redcrossblood.org/faq.html

  35. Steihaus, H. The problem of fair division. Econometrica 16, 101–104 (1948).

    Google Scholar 

  36. Brams, S. J. & Taylor, A. D. An envy-free cake division protocol. Am. Math. Mon. 102, 9–18 (1995).

    Article  MathSciNet  MATH  Google Scholar 

  37. Budish, E. The combinatorial assignment problem: approximate competitive equilibrium from equal incomes. J. Political Econ. 119, 1061–1103 (2011).

    Article  Google Scholar 

  38. Arrow, K. J. An extension of the basic theorems of classical welfare economics. In Proc. Second Berkeley Symposium on Mathematical Statistics and Probability 2, 507–533 (University of California Press, 1951).

  39. Manshadi, V., Niazadeh, R. & Rodilitz, S. Fair Dynamic Rationing. In Proc. 22nd ACM Conference on Economics and Computation, EC ’21. 22, 694–695 (Association for Computing Machinery, 2021).

  40. McElfresh, D. Blood donor matching simulation codebase. Github https://github.com/duncanmcelfresh/blood-donor-matching/tree/v0 (2023).

  41. NASA Socioeconomic Data and Applications Center (SEDAC) The Gridded Population of the World (GPW) v.4 (2020); http://sedac.ciesin.columbia.edu/data/collection/gpw-v4

  42. Yuan, S., Chang, S., Uyeno, K., Almquist, G. & Wang, S. Blood donation mobile applications: are donors ready? Transfusion 56, 614–621 (2016).

    Article  Google Scholar 

  43. Budaraju, H. Making it easier to donate blood. Facebook (13 June 2018); https://about.fb.com/news/2018/06/making-it-easier-to-donate-blood

Download references

Acknowledgements

All authors were employed by Facebook while contributing to this project.

Author information

Authors and Affiliations

Authors

Contributions

D.C.M. led manuscript preparation, coding, data analysis and theoretical analysis. S.P. provided mentorship and contributed to coding and data analysis. K.S. contributed to ML experiments. N.D. and Z.C. contributed to data analysis and software engineering. C.K. and J.P.D. provided mentorship and contributed to theoretical analysis. All authors contributed to shaping discussions and manuscript preparation. E.S., J.P.D., C.K. and D.C.M. conceived of the idea.

Corresponding author

Correspondence to Duncan C. McElfresh.

Ethics declarations

Competing interests

All authors were employed by Facebook (now Meta) during this project. No authors will benefit financially from the Facebook Blood Donations tool, or from blood donations facilitated by this platform.

Peer review

Peer review information

Nature Machine Intelligence thanks Arpita Biswas and the other, anonymous, reviewer(s) for their contribution to the peer review of this work. Primary Handling Editor: Liesbeth Venema, in collaboration with the Nature Machine Intelligence team.

Additional information

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary information

Supplementary Information

Supplementary Discussions A–C and Figs. 1 and 2.

Supplementary Software

Code and instructions for running simulations on synthetic data.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

McElfresh, D.C., Kroer, C., Pupyrev, S. et al. Matching algorithms for blood donation. Nat Mach Intell 5, 1108–1118 (2023). https://doi.org/10.1038/s42256-023-00722-5

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1038/s42256-023-00722-5

Search

Quick links

Nature Briefing AI and Robotics

Sign up for the Nature Briefing: AI and Robotics newsletter — what matters in AI and robotics research, free to your inbox weekly.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing: AI and Robotics