Where Do Language Models Hide the Right Answer?
This study reveals that large language models systematically under-utilize the final answer position when generating multiple-choice questions, a bias that persists across various models and settings, can be partially mitigated by explicit instructions (though with risks of introducing errors), and allows for position-based guessing strategies that significantly outperform random chance, thereby highlighting the critical need for answer-key validation in educational assessments.
Original paper licensed under CC BY 4.0 (https://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 a classroom where a teacher asks a computer to write a practice quiz. The computer, a large language model, generates dozens of multiple-choice questions in seconds, complete with four possible answers labeled A, B, C, and D. For a student taking this test, the experience feels fair: they read the question, weigh the options, and pick the one they believe is correct. But for the quiz to truly measure knowledge, the computer must not secretly favor one letter over the others. If the machine always hides the right answer in the same spot, a student could pass without knowing the material simply by guessing that spot. This is the core problem of answer-position bias: the hidden tendency of these intelligent systems to place the correct answer in a specific location more often than chance would allow.
Researchers at the Indian Institute of Technology Roorkee set out to investigate whether this bias is a fixed flaw in the technology or a quirk that changes depending on how the computer is asked to work. They wanted to know if the bias survives when the computer is asked to be more creative, when it is asked to generate many questions at once, or when the teacher gives it a specific instruction to be fair. They also wondered if this behavior is the same across different families of computer models, or if each model has its own unique habit. To find out, they generated nearly three thousand questions using three distinct computer models, varying the settings for each batch of questions to see if the pattern held up.
The study began with a simple observation from a previous class: in a set of practice questions, the letter B appeared as the correct answer far more often than the other letters. The researchers suspected this was not a coincidence but a built-in habit of the software. To test this, they asked three different computer models to create thousands of questions on topics like physics, history, and biology. They did not just ask for questions once; they asked for them under many different conditions. Sometimes they asked the computer to be very strict and deterministic, and other times they allowed it to be more random and creative. They asked for questions in small batches of five and large batches of twenty-five. They also changed the number of answer choices from four to five and even tried rewriting the instructions to see if a different way of asking would change the outcome.
The results were strikingly consistent. No matter which computer model they used, no matter how they changed the temperature settings to make the answers more or less random, and no matter how they phrased the request, the computers consistently avoided placing the correct answer in the very last position. If a question had four options, the last slot was chosen as the correct answer only about six percent of the time, when a fair distribution would require it to be twenty-five percent. Instead, each computer model developed its own favorite spot. One model family consistently chose the second option, B, while another family preferred the first option, A. A third family split its preference between the second and third options. This pattern was so strong that it appeared in every version of the models they tested, even the newest ones.
The researchers then tried to fix the problem by telling the computer explicitly to distribute the answers evenly. For two of the models, this instruction worked. The answers spread out, and the bias disappeared. However, for the third model, the instruction failed to change the behavior; it continued to favor its preferred spot. Worse, when the researchers forced this third model to follow the balancing instruction, it began to make a different kind of mistake. To satisfy the command to rotate the letters, the computer sometimes placed the correct answer in the right spot but labeled it with the wrong letter, effectively circumventing the system to look fair. In one case, the computer wrote a question about a historical treaty but labeled the correct answer with a letter that pointed to the wrong historical event.
The study also looked at how dangerous this bias is for a student who knows the pattern. If a student learns which letter a specific computer model prefers, they can use that knowledge to guess the answers to questions they do not know. The researchers calculated that a student who knows the bias could answer between thirty-eight and fifty-seven percent of unknown questions correctly, simply by picking the model's favorite letter. This is a massive advantage over the twenty-five percent success rate of pure guessing. The bias was so reliable that even when the computer was asked to generate twenty-five questions at once, the pattern did not break down, and the answers did not become independent of one another.
Perhaps the most surprising finding was that the bias was not about the letters themselves, but about the position. When the researchers asked for five options instead of four, the computer did not suddenly start favoring the letter D just because it was no longer in the last spot. Instead, it avoided the new last option, E, just as it had avoided D before. This suggests the computer is not thinking in terms of "A, B, C, or D" but is following a rule about where to place the answer in the list. The researchers found that the bias remained even when the computer was asked to be more random, and it persisted across different topics.
The implications for education are significant. Teachers and students who rely on computer-generated quizzes cannot assume the tests are fair. The bias is not a glitch that can be fixed by simply asking the computer to be more random or by changing the wording of the prompt. The only reliable way to ensure a fair test is to mechanically shuffle the answer choices after the computer generates them, or to assign the correct answer to a random position before the student sees the question. Without this manual intervention, a student could pass a test not because they know the material, but because they have learned the secret habits of the machine that wrote it. The study concludes that while these computer models are powerful tools for creating content, they carry a hidden signature that must be actively managed to ensure they do not inadvertently teach students how to circumvent the assessment.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.