arXiv
Ballot classifiers face their real test at the scanner
Election AI will face its real security test in the full journey from printed paper to scanner to human audit, not in a clean digital image alone. The paper’s authors tested 11 black-box attack methods against eight ballot classifiers and then printed, scanned, and denoised the altered samples. If those effects hold on real election equipment, a disagreement between classifiers could send a suspicious ballot to documented human review instead of silently changing a vote.
A ballot reader can be more than 97% accurate on ordinary images and still make a dangerous mistake when a mark is designed to fool it. In Los Angeles County, election workers and voters cannot treat a strong score on clean ballot images as proof that every printed bubble will be read correctly. The technology is still being proposed for US election systems rather than fully integrated. A misread blank or filled bubble could turn a vote into an overvote or an unintended choice.

Why a clean ballot is not enough
A ballot classifier is a machine-learning system that decides whether a bubble is blank or filled. Its usual accuracy measures ordinary mistakes: how often it gets normal examples right. They do not show how it handles a mark deliberately made to cross the system’s internal decision boundary.
The paper examines a black-box attack. The attacker does not see the model’s design or its weights. Instead, the attacker sends examples to the system and learns from its replies. A decision-based attack reveals only the label, such as “blank” or “filled.” A score-based attack also returns confidence-like numbers, giving the attacker more clues. An attack can change what the machine sees without making the alteration obvious to a person looking at the ballot.
Paper adds another layer. Toner, paper, scanner optics, alignment, image processing, and denoising can all change a tiny alteration before the classifier receives the image. That means a successful attack on a digital picture may disappear when printed and scanned. It also means digital accuracy alone cannot answer the election question.
The scanner becomes part of the test
The authors tested 11 black-box attack methods against eight kinds of ballot classifiers, including neural networks, a transformer, a linear support-vector machine, and prototype-based systems. Before the attacks, the models scored more than 97% on validation images.
Then the researchers moved the experiment through a physical pipeline. They printed ballot-bubble samples on an HP LaserJet printer, scanned them with a Ricoh fi-7160, passed the images through a UNet denoiser, and sent them to the classifier. In the paper’s physical-experiment methods, they say they printed and scanned 32,000 adversarial examples; the abstract says 20,000.
The printer and scanner erased many attacks that worked in the digital setting. At the selected settings, several query-based attacks had perfect physical robust accuracy against some of the tested models. But the physical channel did not make every threat vanish. One attack reduced the CaiT model’s robust accuracy to 0.686 in the reported tests. Another reached 0.666. The researchers also found that an altered example made for one model could affect another model after printing and scanning, including a reported 0.6% transfer from one prototype-based model to ResNet20.
A defense that sent uncertain cases into a barrier zone shared by two models reported perfect accuracy against the listed attacks in its defense table. The authors nevertheless say none of the defenses they tested was completely robust in either the digital or physical domain. The important result is not that a particular model wins. It is that security depends on the whole route from paper to scanner to decision.

What a safer ballot warehouse would do
At a county election warehouse, a scanned bubble that makes independently designed classifiers disagree could be set aside for documented human review instead of becoming an invisible machine decision. A suspicious mark would have a path back to the paper evidence, and the decision would remain auditable.
That future is possible only if election systems keep the paper record, test the actual printers, scanners, ballot layouts, and image-processing steps, and build in enough capacity for review. They would also need end-to-end print-scan tests rather than tests of pixels alone. A high clean-image score, or a defense tested against one model, cannot carry that burden by itself.
Sources
arXiv, “Black-Box Adversarial Example Attacks on Machine Learning based Election Systems”