Sorting from Counterexamples
This paper establishes the optimal query complexity of for learning an unknown linear order on items when up to untruthful counterexamples are allowed, while also providing bounds for cases where the ranking admits a low-dimensional geometric representation.
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 trying to teach a computer to understand how people prefer things, like ranking restaurants from best to worst. In the real world, getting this right is rarely a matter of asking a single question. Instead, you might ask the computer to guess a full list, and then a human points out just one mistake: "You put the sushi place first, but I actually prefer the falafel spot." The computer learns from this single correction and tries again. This back-and-forth is a fundamental way machines learn to organize information, but it becomes much harder if the person giving the feedback is sometimes wrong, or perhaps just having a bad day. The challenge for scientists is to figure out how many times a machine needs to guess and get corrected before it can be certain of the correct order, especially when some of those corrections are lies.
This question sits at the intersection of computer science and mathematics, specifically in the field of learning theory, which studies how algorithms can improve their performance based on data. The core difficulty here is that the machine must always propose a complete, sensible list, not just a collection of isolated guesses. If it guesses that A is better than B, and B is better than C, it must logically conclude that A is better than C. When the feedback is noisy or contradictory, maintaining this logical consistency becomes a massive hurdle. Researchers have long known that if every piece of feedback is perfect, the number of guesses needed grows in a predictable way as the number of items increases. However, the moment you allow for a few lies, the problem changes dramatically, and until now, the exact cost of those lies was not fully understood.
In a new study, researchers Noga Alon, Shay Moran, and Shlomo Moran have solved this puzzle for the general case. They determined precisely how many guesses a machine needs to learn an unknown ranking when up to a certain number of the corrections it receives might be false. Their work reveals a surprising truth: while the machine can learn the correct order efficiently if everyone is honest, every single lie it encounters forces it to pay a heavy price. Specifically, for each untruthful correction, the machine must make roughly as many additional guesses as there are items in the list. If there are a thousand restaurants and the machine receives ten lies, it must perform thousands of extra rounds of guessing to be sure of the answer. This finding proves that the cost of noise is not just a small bump in difficulty, but a fundamental multiplication of effort that scales directly with the size of the problem.
The team arrived at this conclusion by treating the problem as a geometric shape-finding exercise. They imagined every possible way to rank the items as a distinct region inside a high-dimensional space. When the machine makes a guess and receives a correction, it effectively cuts away a portion of this space, narrowing down where the true answer could be hiding. In a perfect world, a single correction would cut away half of the remaining possibilities, allowing the machine to find the answer quickly. The researchers showed that even when lies are present, they can design a strategy that keeps cutting away a constant fraction of the possibilities, but the presence of a lie slows this process down significantly. They used a powerful mathematical tool, known as a theorem about the center of gravity in convex shapes, to prove that their strategy works. This approach allowed them to construct an algorithm that does not need to know in advance how many lies will be told; it simply adapts to the noise as it goes, ensuring it eventually finds the truth without getting stuck in a loop of contradictions.
The researchers also explored a more specific scenario where the rankings are not arbitrary but follow a simple geometric rule, such as being determined by a few underlying features like price or distance. In this case, the items can be thought of as points in a multi-dimensional space, and the ranking is determined by looking at them from a specific angle. For these structured problems, the researchers found that the number of guesses needed depends on the number of features rather than just the total number of items. They proved that the machine can learn these rankings with far fewer guesses than in the general case, though the cost of each lie remains high. Their work establishes a clear boundary between what is possible and what is not, showing that while geometric structure can make learning easier, the penalty for untruthful feedback remains a stubborn, linear cost that cannot be easily avoided.
This research does more than just provide a formula for counting guesses; it clarifies the fundamental limits of learning from imperfect feedback. The authors demonstrated that the difficulty of handling lies is not a minor technical glitch but a core feature of the problem. Their findings rule out the possibility of designing a system that can ignore lies without paying a significant price in time or effort. Instead, they offer a concrete path forward: by using geometric insights to maintain a consistent and logical order, machines can still learn effectively even in a noisy world, provided we accept that every lie will require a proportional amount of extra work to overcome. The study leaves open the question of whether this cost can be reduced for specific types of structured data, but for the general case, the answer is now clear: truth is expensive, and lies make it even more so.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.