← Latest papers
💬 NLP

Bounding Boxes to Improve Small Language Model Performance on Vision-Based Grading Tasks

This paper demonstrates that using bounding boxes to crop handwritten student responses significantly improves the grading accuracy and computational efficiency of Small Language Models on vision-based educational assessment tasks.

Original authors: Lachlan McGinness

Published 2026-07-22
📖 4 min read☕ Coffee break read

Original authors: Lachlan McGinness

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 a world where computers can read your handwriting, understand your thoughts, and even grade your homework. This is the exciting frontier of Artificial Intelligence in Education, where "Small Language Models" (SLMs) are the new heroes. Think of these models as clever, compact digital brains that can be run on a regular laptop or school server, keeping student data private and saving money compared to massive, cloud-based supercomputers. However, there's a catch: while these small brains are great at reading text, they sometimes get overwhelmed when looking at a whole page of messy, handwritten notes. It's like asking a detective to find a single specific clue in a room filled with thousands of unrelated objects; the sheer amount of visual "noise" can confuse them, making them miss the answer or waste a lot of energy trying to figure it out.

This paper by Lachlan McGinness from the Australian National University tackles exactly that problem. The author asks a simple but powerful question: What if we just showed the computer the specific part of the page where the answer is, instead of the whole messy page? To test this, the team used scanned exams from the 2025 Australian Physics Olympiad, where students had to write down a single word answer ("friction") to a question about walking. They tested eight different AI models, ranging from tiny 4-billion-parameter "puppies" to giant 72-billion-parameter "giants," and gave them two types of instructions: some were told to "think step-by-step" (a technique called Chain of Thought), while others were just told to give the answer. Crucially, they tested two visual setups: one where the AI saw the entire double-page exam scan, and another where the AI only saw a cropped "bounding box" around the specific question and answer area.

The results were a clear victory for the "crop" method. The study found that when the AI models were shown only the relevant bounding box, they became significantly more accurate at grading the answers, regardless of whether they were small or large models. In fact, showing the full page often confused the models, leading to lower scores. Interestingly, the "think step-by-step" instruction didn't help much; the models performed just as well (or sometimes better) when they were just told to give the answer directly. The most surprising win was efficiency: by cropping the image, the models needed to process far fewer "visual tokens" (the digital building blocks of images), which slashed the computational cost by more than half. For instance, the average number of tokens dropped from around 1,500 when viewing the full page to just under 700 when viewing the cropped box, reducing the energy required to grade each paper from 45 trillion operations down to about 17 trillion.

The paper explicitly argues against the idea that simply making the AI "think harder" (using Chain of Thought) is the best way to fix these errors; the data suggests that for this specific task, cleaning up the visual input is far more effective than changing the thinking process. They note that while the actual exam question was about human walking, the prompt text given to the models explicitly referred to the question as being about "snails" (likely due to a large snail diagram on the page), and the models were instructed to look for the answer in that context. They conclude that for schools wanting to use these affordable, private AI tools to grade handwritten exams, the secret sauce isn't necessarily a bigger model or a smarter prompt, but a simple pre-processing step: cropping the image to remove the clutter. This small change allows even the smallest, most energy-efficient models to perform like champions, making automated grading a much more realistic and practical tool for the future of education.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →