A Borderlands 3 Puzzle Trains AI to Study Links Between Gut Bacteria and Disease
Borderlands Science is a minigame added to Borderlands 3 in April 2020. At an arcade machine in the game's clinic, players solve puzzles by arranging colored blocks. The official Japanese announcement explains that players can exchange the in-game currency they earn for rewards such as changes to their characters' appearance and abilities.
The block colors represent DNA bases. Players insert blocks that act as gaps and line up the other blocks with a target shown on the left.
To compare several DNA sequences, researchers insert gaps at suitable points so bases that are thought to correspond line up. This process, called multiple sequence alignment (MSA), can help researchers begin to infer how bacteria are related through evolution.
The game turns a small part of that larger problem into a puzzle people can solve. Researchers and players have different reasons to look at the screen. What makes the game interesting is that the ingenuity players use to improve their scores can also improve the alignments researchers need.
The McGill University-led team's new results were published online in iMeta on November 30, 2026. The paper is titled "AI-augmented citizen science alignments enable phylogeny-aware, clade-resolved analysis of the human gut microbiome at the population scale."
Teaching AI to solve puzzles the way people do
A 2023 study showed that incorporating players' solutions improved AI performance on individual puzzles. A study published in Nature Biotechnology in April 2024 showed that aggregating human solutions could improve bacterial phylogenetic inference over conventional computational methods. The new study used AI-generated alignments to analyze medical data.
The team identified a problem with the earlier approach. If participation falls, it becomes harder to collect solutions for new datasets. Researchers cannot count on players having enough time to meet the project's computing needs.
The researchers built Borderlands Science Automated (BLSA), an AI-based alignment system. According to the paper, more than 5 million people participated and contributed about 200 million small alignments of bacterial DNA sequences. The team selected about 1 million solutions that met its quality criteria, covering 25,000 puzzles, to train the model.
The team trained a fully convolutional neural network (FCN) to imitate how people solve the puzzles. What stands out is that the system does not stop after the AI gives one answer.
BLSA solves each puzzle 15 times. It randomly varies the number of gaps by up to two from a reference value, producing different answers while retaining the approach it learned. It filters the solutions by quality and combines those that remain to produce the final alignment.
The approach retains the earlier practice of combining several answers even when those answers come from AI. The design also allows past human solutions and AI solutions to be aggregated together.
Alignments can change the bacterial family tree
To assess alignment quality, the researchers used a sum-of-pairs metric, which scores pairs of bases or other elements at corresponding positions and adds the scores. They compared BLSA's alignments with the original Borderlands Science method (BLS), which combines players' answers, and with the established alignment tools PASTA, MUSCLE, and MAFFT.
Borderlands 3 research: Comparing alignments and phylogenetic trees
| Method | Alignment score (hundreds of millions) Higher is better Exclude columns over 80% gaps | Distance from reference tree Greengenes2 2024.09 Lower is closer | ||
|---|---|---|---|---|
| Exclude gaps | Include gaps | Accounts for branch lengths | Branching only | |
| BLSA(AI) | 22.3 | 21.3 | 4521 | 52.4 billion |
| BLS (human) | 22.2 | 21.7 | 4544 | 70.9 billion |
| PASTA | 21.1 | 20.9 | 4530 | 66.8 billion |
| MUSCLE | 20.8 | 20.6 | 4565 | 72.6 billion |
| MAFFT | 21.1 | 20.9 | 4539 | 64 billion |
| PPP | 21.8 | 21.5 | 4565 | 68.1 billion |
※PPP reprocesses PASTA alignments by building and aggregating consensus.
With gaps excluded from scoring, BLSA scored 2.23 billion and BLS scored 2.22 billion. With gaps included and columns containing more than 80% gaps excluded, BLS scored 2.17 billion and BLSA scored 2.13 billion. Which one came out ahead depended on how the alignments were scored. The AI produced alignments close in quality to the human solutions.
A phylogenetic tree built from aligned sequences depicts evolutionary relationships among bacteria as branches. Changing which bases are treated as corresponding can affect how the tree branches and how long those branches are.
The paper compares the results with version 2024.09 of the Greengenes2 reference tree. The Kendall-Colijn distance accounts for branch lengths, while triplet distance compares branching relationships. Lower values indicate a closer match to the reference on both measures. BLSA's Kendall-Colijn distance was 4,521, followed by PASTA at 4,530. For triplet distance, BLSA scored 52.4 billion, lower than the second-best result of 64 billion for MAFFT.
The BLSA tree was closest to the reference on both metrics among the methods tested. Similarity to a reference tree is a proxy for the quality of phylogenetic inference. It does not directly reveal the true evolutionary history.
BLSA and BLS score closely on the alignments themselves. What researchers can study using the trees built from those alignments is another result of the study.
Studying links between groups of gut bacteria and disease
The researchers describe methods such as UniFrac, which account for evolutionary relationships and summarize the difference between microbial communities as one number.
This study combined its approach with AHLD2, a version of the adaptive Haar-like distance method adapted for large datasets. AHLD2 can narrow down the bacteria that contribute to differences between populations by clade on the phylogenetic tree.
The team kept AHLD2 fixed and compared the results when using Greengenes2, BLS, and BLSA trees as input. The researchers reported that the BLSA tree identified a broader range of clades at finer taxonomic levels.
Using American Gut Project data, the team analyzed gut microbial communities in about 20,000 people. This number describes the population in the medical analysis. For the inflammatory bowel disease survey item, the team analyzed data from 901 people classified as having the disease and 19,135 classified as not having it.
Of 66 survey items, nine clinical and two behavioral items yielded overlapping clades that formed two clusters associated with inflammation and metabolism. Examples include the genus Alistipes, associated with inflammation, and Pseudoruminococcus, associated with inflammatory bowel disease.
The researchers also found that the relative abundance of Lachnospira was lower in metabolic diseases such as diabetes and liver disease, and higher in inflammation-related conditions.
Lachnospira illustrates how the direction of an association can vary by condition. Using evolutionary relationships to narrow down which bacteria to investigate offers more information than finding that gut environments differ.
Predictive performance and what the study can tell us
The researchers also used 1,763 samples balanced by inflammatory bowel disease status in fivefold cross-validation, evaluating performance on data held out from training. For separation based on the clades identified by AHLD2, normalized accuracy was 64.2% and the area under the ROC curve (AUC), a measure of discrimination, was 0.662.
The balanced random forest scored 71.3% and 0.784, while logistic regression scored 71.1% and 0.776. Both comparison methods distinguished disease status more accurately under the conditions tested.
AHLD2 can show which branches of the tree are associated with differences between people with and without the disease. It is a method for identifying clades, and the comparison evaluated discrimination based on the resulting clades. The comparison methods used abundances across a broad range of bacteria, while AHLD2 highlighted five branches of the tree that contributed to separating the data.
Borderlands 3 research: Distinguishing inflammatory bowel disease
| 1,763 samples, fivefold cross-validation Balanced by disease status | ||
|---|---|---|
| Method | Normalized accuracy | AUC |
| Clades at five branches of the tree | ||
| Separation using AHLD2 | 64.2% | 0.662 |
| Abundance of a broad range of bacteria | ||
| Random forest | 71.3% | 0.784 |
| Logistic regression | 71.1% | 0.776 |
Accuracy matters when the goal is predicting disease status. Medical research also needs clues about why the differences occur. The method offers different information when the goal is to identify bacterial groups to investigate next.
The team also compared its results with RISK, an independent Crohn's disease dataset. Of 292 bacterial genera identified across the two datasets, 31 were found in both, a statistically significant overlap. A comparison with a separate diabetes dataset also found shared genera, but the overlap did not reach statistical significance.
The available sequence data limited accurate identification at the species level, so the paper mainly reports genus- and family-level findings. The statistical associations with disease provide candidates for more targeted experiments. Establishing that particular bacteria cause a disease or that a treatment works would require separate validation.
Preserving players' contributions to science
The researchers extended an approach that collects solutions from many players by teaching AI to take on part of that work. The paper notes that training on only high-quality answers might lose some of the diversity in human solutions. In their November 30 paper, the researchers say future work should test how well the approach generalizes to new datasets.
The players' solutions are a research resource that can be used again. The choices about what to make into a puzzle, how to gather different solutions, and how to judge their quality and fit them into the final answer also preserve something of how people contributed to the science.
The team published its implementations of BLSA and AHLD2. Alongside university researchers and contributors from game developer Gearbox, the paper lists the Borderlands Science players and development team as a group.
A puzzle that takes no specialist knowledge contributed to research, and AI learned from the ways people worked it out. The players are named collectively on the paper as participants in scientific research.
KioskNews shows a cleaned-up reading view extracted from the publisher’s page — the original always lives on their site, not ours.
