Lives saved over time using simulations. Image from Intl. Joint Conf. on Artif. Intel.

by George Taniwaki

A Mar 2010 blog post explained how kidney exchanges can increase the number of patients who receive a live donor kidney. It also described how computers can find better (in fact, optimal) matches compared to random or arbitrary assignment of matches. This is all good. However, we can do even better. We can add a temporal dimension to the optimization decision.

In the exchange models described in my previous blog, it was implicitly assumed that the exchange would only be run once. However, in the real world, new traders (patients) enter the exchange daily (and unfortunately existing patients may be removed due to death). So the matching algorithm should be run repeatedly, not just once. A couple of questions arise when there are multiple rounds of matching. How should the matching algorithms described earlier be modified to ensure the maximum number of matches over time? And how often should the matching algorithm be run?

If all matches found in a round are allowed to exchange, then the pool of remaining traders will be depleted, leaving only the hardest to match patients. This means any new pair(s) entering the exchange the next round will be unlikely to find a match. If our goal is to maximize the number of matches over time, we may need to hold back some pairs each round in order to seed the next round.

However, we don’t know a priori the blood type and HLA type of the new donors and recipients to the exchange in any future round (that is, the composition of entrants is stochastic). However, we can model them using the historical medical data available on all previous donor/recipient pairs that have entered the exchange. Similarly, the pairs exiting the exchange between rounds is also not known, but it can be modeled based on historical data on the health and age of previous patients and donors who exited the exchanges.

Since the exact composition of traders in the next round is not known, our optimization technique needs to be probabilistic. Any model where the outcome of a given round is a result of a combination of random inputs and user decisions is known as a Markov decision process. There is plenty of previous research into these models that we can build on.

In an article in Intl. Joint Conf. on Artif. Intel. 2009, Tuomas Sandholm, who was one of the developers of the exact matching algorithm described in my previous blog post, and his coauthor tested models by varying three parameters for multi-round exchanges: sample size, look-ahead depth, and batch size.

Sample size is the size of a subset of the current traders in the exchange to be examined. A sample is used rather than the entire pool to reduce computational effort. The smaller the sample size, the faster the match can run, but the less accurate the result. Look-ahead depth is the number of future rounds to look at. As the number of future rounds examined goes up, the number of possible outcomes grows exponentially, as does the computing effort needed to explore them.

Batch size is the number of new pairs entering the exchange before the matching algorithm is run. Ideally, a match could be run every time a new pair enters the exchange. However, this won’t be practical if lots of pairs enter every day, as could happen is a unified national exchange. Further, a larger batch size also increases the chance of a match, just like a larger pool does. So using a larger batch size reduces the need to use look-ahead to estimate matches for future rounds. For the paper, the authors used batch sizes between 10 and 20, which they translated to a matching round every 1 to 2 months.

(Currently, the various kidney exchanges run their matches on a fixed time schedule rather than when a certain batch size is reached. This helps the participating hospitals know when they can expect matching data to be delivered. Although recipient/donor pairs enter and exit the pool at indeterminate intervals, their numbers per fixed time period can be estimated, if necessary, using the Poisson distribution.)

The paper reports results using both real data and generated data. For generated data, it found good results were obtained with sample sizes between 10 and 50 and look-ahead depths between 10 and 20 rounds. As can be seen in the figure below, in the early months, the single round algorithm (called offline-based) makes more matches than the multi-round algorithms (called 1 and 2), as would be expected since the multi-round algorithms withhold some trades. But after about 5 months, the multi-round algorithms catch up. After about three years of simulated matches, the multi-round approaches are way ahead and save about 6.5% more lives (about 13 patients in this study) compared to the single-round method.

Thus, by holding back some matches today, we can improve matches tomorrow, which will save more lives. This is true even though the multi-round algorithm provides an approximate solution, rather than an exact optimum solution that the single-round solution does.

Note that none of the kidney exchanges are currently using this multi-round optimization model. And it is easy to see why. It isn’t ethical to run an experiment on real patients where some will be withheld a chance at a match today in the hope of saving some other patient’s life at some future date. As noted in the prior blog post, the two major kidney exchanges and the UNOS pilot program are all using the exact single round algorithm.

On the other hand, even if we can’t justify multi-round optimization by saying it saves more lives, perhaps we can justify it by saying it shortens the average waiting time for a match. That’s because even though some people in the early rounds have to wait a bit longer for a match, most of the entrants in later rounds have a shorter wait. The paper doesn’t report differences in average wait times, but it would be easy to calculate.

Another way to encourage adoption of the multi-round algorithm would be to run a comparison between the results of the multi-round algorithm and the single round algorithm at each step and find the patients who are left out by the multi-round algorithm. We can give these traders a greater weight in the next round to reduce the chance that they end up waiting more than a few rounds.

In my next blog post, I will discuss the problem of O blood type patients. Then I will propose a way to modify kidney exchanges to help them.

A simple 2-pair exchange. Image by George Taniwaki

by George Taniwaki

Not every kidney patient who finds a person who is willing and able to be a live donor will be able to get a kidney from that donor. Even if the donor is healthy, the pair may have incompatible blood types or be HLA-incompatible. Historically, this meant the patient would not be able to get a live donor transplant and had to wait for a cadaver kidney.

However, this isn’t necessary. It is possible to create a kidney exchange. Two (or sometimes more) unmatched donor-recipient pairs could swap partners. In economic parlance, the recipients (the kidney patients) are considered traders in the exchange and the donors (or actually their kidneys) are considered the goods. All traders wants kidneys that will match them based on blood type and HLA compatibility. There may be other constraints like travel that can also be accommodated by trading.

The first kidney exchanges were local, usually involving a single transplant center. Patients had a hard time finding the exchanges and the pool of traders in any one exchange was quite small. This made it very hard to find a match. In order to improve the chances of a match two national organizations arose. The National Kidney Registry was started by the father of a kidney patient. The Alliance for Paired Donation was created by a transplant surgeon at the University of Toledo. I have signed up with both organizations (see Nov 2007 blog post) in an attempt to participate in a kidney exchange.

Let’s take a look at how a typical paired transaction works. In the example shown below, two donor/recipient pairs (labeled 0 and 1) get together and discover that they can trade kidneys among themselves and provide a transplant for each recipient. The chain can grow with round robin exchanges between 3-pairs, 4-pairs, etc.

Now let’s take a look at a slightly more complex case where the trading pool consists of 20 recipient/donor pairs. Each circle represents an unmatched donor/recipient pair. The lines indicate all the possible 2-pair transactions that can occur like the one shown above.

An exchange with 20 pairs. Image from Optimized Match

There are lots of potential trades available. How should we decide which trades should be made? Do we leave it up to the individuals? Or maybe assign trades starting with pair 0 and move sequentially (called the first-match algorithm)? Both methods are used today. It turns out that using either of these methods will leave a lot of participants without a match. If our goal is to maximize the total number of matches, we should let a computer create a tree of all the potential matches and then examine all the combinations to find the one with the most matches.

It turns out this matching problem is NP-complete (or NP-hard, depending on the number of pairs we allow in a single exchange). Solving problems that are NP-complete is computationally expensive because the time it takes to solve them grows faster than a polynomial of the number of elements. Eventually, the number of elements gets too large and the problem become unsolvable. That is, it will take up more computing resources (CPU time, memory, etc.) than is available.

NP-complete problems are not rare. There are lots of real-world NP-complete problems that are encountered daily. How should United Airlines schedule its planes and crew, what paths should UPS delivery trucks take, where should Wal-mart open its next store, etc. To make these problems solvable in a finite amount of time with a finite amount of resources, we rely on various approximation algorithms that produce good solutions, but that may not be optimum solutions.

The first researchers to consider the kidney exchange problem in detail are Dorry Segev and Sommer Gentry, a husband and wife team that run Optimized Match. He is a transplant surgeon at Johns Hopkins and she is a mathematics professor at the U.S. Naval Academy. They and other colleagues published a paper in the J. Amer. Med. Assoc. 2005 showing that the Edmond algorithm produced much better results than the first-match algorithm. If applied nationwide to a pool of 4,000 potential recipients, it could result in 750 more transplants in the first year (before the pool is depleted), with a possible savings of nearly $750 million compared to the cost of dialysis.

Using simulated data, they also found that it would result in more patients getting transplants (47.7 percent vs. 42.0 percent), better matches, and more grafts surviving at 5 years when compared with an extension of the currently used first-match algorithm. Highly sensitized patients, who are extremely difficult to match and typically wait almost 7 years for a deceased donor kidney, would benefit 6-fold by using the Edmond algorithm (14.1 percent vs. 2.3 percent). Even more surprising, switching from local pools to a national program would dramatically reduce the number of pairs required to travel (2.9 percent vs. 18.4 percent).

As noted above, the Edmond algorithm is an approximation that conserves computing resources. However, for kidney exchanges, the small percentage of error in matching represents real people who could die if they don’t get a transplant. So it would be better if we can find a way to get the optimum solution to the exchange problem even if it takes more computing effort.

An early exact matching algorithm was developed by Al Roth, an economist at Harvard, and his collaborators. They modified an existing linear programing algorithm that uses the simplex method to match students to dorm rooms. Their research was presented in the Quar. J. Econ. May 2004 and J. Econ. Theory Dec 2005. The algorithm was quickly adopted by many transplant organizations such as New England Program for Kidney Exchange (NEPKE), University of Michigan Health System, and the Alliance for Paired Donations (APD). An article featuring an early paired exchange appeared in Miller-McCune Mar 2009. The National Kidney Registry developed its own similar algorithm called BestMatch which resulted in the first 6-HLA matches among strangers, press release Feb 2008.

Unfortunately, the simplex algorithm is very inefficient at solving this exchange problem and cannot scale to meet the needs of a national kidney database. One clever solution has been found by Tuomas Sandholm and his colleagues at Carnegie Mellon University. Their integer programming algorithm can provide the exact solution (not an approximation) of the NP-hard exchange problem in nearly polynomial time. They published their results in ACM Conf. Electr. Comm. 2007. The algorithm scales to tens of thousands of patients. The chart below shows that with 500 patients their new algorithm takes a few seconds to find the best matches, while the current CPLEX algorithm takes several minutes. When the pool increases to 1,000 patients, the new algorithm takes a few minutes while CPLEX no longer works. By the time the pool gets to 10,000 patients, the new algorithm still only take an hour or two to find the best combination of trades.

The new method has been adopted by both the Alliance for Paired Donation and the NEPKE. It is also the basis of the algorithm being used by the UNOS in its national trial of a kidney exchange. Mr. Sandholm is one of several academics on the design committee for the trial. An article on the APD’s pursuit of kidney exchanges appears in the Toledo Blade Mar 2009.

Probability of finding a match. Image from ACM

In upcoming posts I’ll discuss extensions to the kidney exchange model for multiple rounds, the matching problem facing patients with O blood type that cannot be easily solved by improvements to kidney exchange software alone, and additional software for managing kidney transplant casework.

* * * *

[Update: Corrected list of exchanges using integer programming.]

Christina Do (at left) started this kidney chain. Photo from Glamour

by George Taniwaki

Harvey Mysel of the Living Kidney Donor Network (see Feb 2010 blog post) just sent me an email saying that Glamour Mar 2010 contains a 5-page article featuring a kidney donation chain that started with a nondirected donor, includes 10 donor-recipient pairs, and a final recipient without a donor. This is second longest known chain, involved 22 people and resulted in 11 transplants. The nondirected donor, Christina Do (in red above), signed up to donate her kidney through the National Kidney Registry, one of the organizations that I signed up with.

Kudos for Glamour. This is at least the second time the magazine has featured live kidney donors. The previous time was in Feb 2008, when if featured a donation by Tom Simon (see Nov 2009 blog post and Dec 2007 blog post), who donated a kidney to a stranger he met through MatchingDonors.com.

When magazine articles (see Nov 2009 blog post) and television segments feature live kidney doors, it makes the public much more aware that living kidney donation is an act that is socially acceptable. I’m sure it makes more people willing to consider becoming a donor, or at least less likely to discourage others from becoming one.

* * * *

[Side note: The LKDN has just posted some great educational material (in addition to a PDF of this Glamour article) on its website.]

* * * *

[Update: Changed altruistic donor to nondirected donor]

Flowchart showing three intertwined exchanges. Image from Georgetown University Hospital

by George Taniwaki

The AP reported on Dec 14 that three kidney transplant chains involving a total of 26 patients has just been completed at Georgetown University Hospital and Washington Hospital Center, both in Washington DC. Each chain started with an altruistic donor, one of whom is a volunteer for the National Kidney Foundation who wanted to “walk the talk.” The article indicates that the number of surgeries could have been greater, but one donor-recipient pairs was dropped because of health issues and one of the chains was broken when a recipient was unable to tolerate the anesthesia and his surgery was halted. The donor kidney was given to another patient who was not paired with an unmatched donor, stopping the chain. The AP provided a slideshow of images on Dec 15 and a chart outlining the chain of donors and recipients.

Unfortunately, the article doesn’t make clear why all the surgeries were done in a short time span. Each chain could have been done separately. Further, one of the advantages of chains started by altruistic donors is they eliminate the need for simultaneous surgeries, as explained below. For an example of a long slowly growing chain see a Nov 2009 blog post that highlights a single chain involving 21 patients that has been going on for over two years now.

In a 2-pair exchange (see figure below), two unmatched pairs, labeled 0 and 1, agree to swap donors. The exchanges are almost always done simultaneously. If they do not, there is a risk of the following scenario. Let’s say the donor in pair 0 and recipient in pair 1 complete the transplant. Then later, before the transplant between the donor in pair 1 and recipient in pair 0 can take place, the donor is no longer available (either because of health reasons or the donor declines the surgery). Now the recipient in pair 0 is in a much worse position. He/she does not get a kidney and will no longer have an unmatched donor available to re-enter the exchange.

Two-pair kidney swap. Image by George Taniwaki

The need for simultaneous surgeries is eliminated with chains started by altruistic donors. As can be seen below, if any donor becomes unavailable, the next unmatched pair in the chain is only slightly worse off than before. The recipient no longer has a matched kidney available, but can re-enter the exchange to find a new one.

Kidney chain. Image by George Taniwaki

A very surprising fact about the chain started by the altruistic donor at the NKF is that he was not the first person in his chain to donate chronologically. I have never seen this before in any other donor chains I have read about. At least two of the recipients in his chain received transplants after their donors gave their kidneys to someone else. This can be seen clearly in a diagram provided by the hospital.

* * * *

[Update1: I added a link to the chart and added comment that the chains could have been longer.]

[Update2: Added comment that new diagram provided by Georgetown Hospital reveals an unusual aspect of this chain is that the donations were not sequential.]

Unmatched pairs and their exchange partners. Photo from People

by George Taniwaki

I just received an email from Laurie Reece, the executive director of the Alliance for Paired Donation. The current issue of People magazine has dedicated five pages (which is a lot) to cover the story of a live kidney donor chain that started in 2007, has involved 21 people so far, and is still continuing. (This particular donor chain is also mentioned in a Sep 2009 blog post when it was ten people long.) This is the kind of favorable publicity that may encourage many more people to be live kidney donors.

As Ms. Reece says in her email:

People magazine, one of the most widely read periodicals in the country, includes a story and photos this week about the groundbreaking approach to increasing the quantity and quality of kidney transplants through non-simultaneous extended altruistic donor (NEAD) chains pioneered by the Alliance for Paired Donation.

The 5-page feature includes photos and interviews of donors and recipients involved in the world’s first and longest chain of kidney transplants made possible by maximizing the good that can come from an altruistic, or Good Samaritan, kidney donor. The chain was coordinated through Alliance for Paired Donation from July 2007 to March 2008. The donor at the end of the chain continues to wait for her chance to continue the chain.

People’s assistant editor, Lorenzo Benet and camera crew spent a weekend in October at the University of Toledo meeting, interviewing and photographing the kidney chain participants. The magazine has a weekly circulation of 3.75 million – and this week’s issue also happens to feature the “Sexiest Man Alive” contest winner, so newsstand sales should be brisk.

* * * *

[Update1: I sent an email to Ms Reece telling her that I mentioned the People article in my blog. Below is part of her response:

“We’re getting about three times the Web traffic we normally do, so the People story is making an impact, […] one we hope we can keep up with.” ]

[Update2: Another long kidney donor chain is featured in Glamour magazine (see Feb 2010 blog post).]

A mother and son formed an incompatible kidney pair for an exchange. Photo from LA Times

by George Taniwaki

Today’s Los Angeles Times reports that the UCLA Medical Center recently performed kidney transplants in a chain that involved 18 patients, resulting in nine transplants. The chain started with one nondirected donor, followed by eight incompatible donor-recipient pairs, and finally ended with a recipient without a donor.

As outlined in a sidebar story, the surgeries were not simultaneous, which meant some donors underwent their surgeries after their recipient partners had already received kidneys.

Schematic of donor chain. Image from New Engl. J. Med.

The Mar 2009 New Engl. J. Med. describes the great success of kidney exchanges. The article written by Michael Rees and colleagues report in details how in 2007 one donor started a chain that lasted several months and helped match kidneys for ten patients. Dr. Rees is a urologist at Univ Toledo Medical Center (home of the Alliance for Paired Donations that runs the NEAD program) that facilitated this chain.

Videos of national news coverage of paired donations available here.

Reading this article reminds me that I haven’t heard anything from the APD the since May 2008. I send them an email asking what my donor status is.

* * * *

[Update: The donor chain described above now has 21 participants and is still active. See a Nov 2009 blog post for details.]