Team DACTYL at PAN 2026: Bayesian Data Mixing and Empirical X-risk Minimization for AI-text Detection
Team DACTYL addresses the out-of-distribution performance gap in AI-text detection by employing Bayesian data mixing for dataset curation and empirical X-risk minimization, achieving a top leaderboard rank with an MCGrad-calibrated ModernBERT-large model that attained a mean score of 0.974 on the PAN 2026 test set.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are a detective trying to spot a fake painting. You've spent years studying a specific gallery of forgeries, so you can instantly tell when a new piece belongs to that same gallery. But what happens when the forger switches studios, uses different brushes, or paints in a completely different style? Suddenly, your expert eye might fail, not because you aren't smart, but because you learned to spot the wrong clues—like a specific type of frame or a weird smudge that only happened in the first gallery. This is the heart of the problem in "AI-text detection." Scientists are building computer programs to read text and decide if a human wrote it or if a robot (a Large Language Model) did. The trouble is, these programs often get too good at spotting the specific "robot fingerprints" from their training data, only to get confused when the robots start writing in new ways. If we can't tell the difference, we might accidentally trust fake news or miss real human creativity. The big question is: how do we train our digital detectives to be truly smart, not just good at memorizing the past?
Enter Team DACTYL, a group of researchers who decided to tackle this problem for the PAN 2026 competition, a high-stakes contest for AI detectors. Instead of just throwing more data at the problem, they tried a clever, multi-step strategy that feels a bit like training a team of scouts before sending out the heavy artillery.
First, they realized that simply mixing different datasets together didn't always help; sometimes, it just confused the models with "shortcut learning," where the AI finds an easy trick to cheat the test rather than learning the real lesson. To fix this, they built a new, massive dataset called DACTYLv2. Think of this as a giant library of stories written by humans and by various AI models, covering everything from movie scripts to economic papers. But they didn't just dump all these books into the training pile. They knew some books were "bad actors"—texts that looked like AI but were actually human, or vice versa, or just plain weird outliers that would mess up the training.
To filter out the bad actors, they created a special team of "scouts" using tiny, lightweight AI models called Bayesian BERT-tiny. These scouts are special because they don't just give a "yes" or "no" answer; they also tell you how sure they are. Imagine a scout saying, "I think this is a robot, but I'm not 100% sure," versus "I am absolutely certain this is a robot." The team used these confidence levels to make smart decisions. If a text was confusing the scouts (high uncertainty) or if the scouts were confidently wrong (low uncertainty but wrong answer), they tossed that text out. They only kept the "golden" texts that the scouts could agree on, creating a super-clean, high-quality training set.
Once they had this pristine library, they trained two powerful "heavyweight" detectives: a ModernBERT-large and a DeBERTa-V3-large. These are much bigger and smarter than the scouts. But here's the twist: the team didn't just let these big models guess. They used a technique called Empirical X-risk Minimization (EXM). Instead of just trying to get the right answer as often as possible, EXM teaches the model to be really good at separating the "hard" cases—the tricky texts that look very similar to both humans and robots. It's like training a detective not just to spot obvious fakes, but to spot the ones that are almost perfect.
For their final trick, they added a "calibration coach" called MCGrad. Even smart detectives can be overconfident. Sometimes a model might say, "I'm 99% sure this is a robot," when it's actually only 60% sure. The MCGrad coach looks at the uncertainty signals from the tiny scouts and adjusts the big model's confidence scores to make them more honest. It's like a coach telling a confident athlete, "You're good, but don't bet your whole paycheck on this one."
The results? The team's strategy worked beautifully. Their ModernBERT-large model, after being coached by MCGrad, achieved a stunning average score of 0.974 on the final test. This was good enough to land them second place on the leaderboard, beating out many other teams and even the previous year's winner in several categories. Interestingly, their other big model, DeBERTa-V3-large, was slightly less accurate overall (scoring 0.882) but was incredibly good at spotting the "robot" texts specifically, showing that different strategies have different strengths.
The paper suggests that the key to beating AI detectors isn't just using bigger computers or more data, but being very careful about which data you use. By using tiny, uncertain models to filter out the noise and then training big models to focus on the hardest cases, Team DACTYL showed that careful curation can lead to detectors that are much harder to fool. While their method didn't work perfectly on every single test (some new types of AI text still tripped them up), it proves that a smart, layered approach is a powerful way to keep our digital world honest.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.