2026年11月25日
Technology Watch

从实验室到产业,追踪新技术的路径

← 返回首页

arXiv

选票分类器在扫描仪前面临真正考验

AI 绘制的示意图

选举人工智能真正的安全考验,将出现在从打印纸张到扫描仪再到人工审计的完整流程中,而不只是干净的数字图像上。论文作者针对八种选票分类器测试了11种黑盒攻击方法,随后打印、扫描并去噪处理了被修改的样本。如果这些影响在真实选举设备上依然存在,分类器之间的不一致就可能把可疑选票送入有记录的人工复核流程,而不是悄无声息地改变一张选票。

一台选票读取器在普通图像上的准确率可以超过97%,但当某个标记经过设计、专门用来欺骗它时,它仍可能犯下危险的错误。在洛杉矶县,选举工作人员和选民不能把分类器在干净选票图像上的高分,当作每个打印气泡都能被正确读取的证明。这项技术目前仍只是被提议用于美国选举系统,尚未全面整合。一处空白气泡或已填气泡被误读,就可能把一张选票变成超额投票,或产生并非选民本意的选择。

Refer to caption
Figure 2. An attack on an election system using adversarial examples. Under this attack scenario three outcomes are possible. In two of the cases, a vote is given to the attacker’s preferred candidate (Candidate A). In one case, neither candidate receives a vote. The main focus of this work is determining which black-box adversarial example method is most effective when physically realized, for an election attack.In Figure [2](https://arxiv.org/html/#S2.F2 "Figure 2 ‣ 2.4. How an Attacker Can Flip an Election ‣ 2. Adversarial Threat Model ‣ Black-Box Adversarial Example Attacks on Machine Learning based Election Systems") we illustrate an attack scenario that demonstrates how adversarial perturbations on printed ballots can alter the outcome of an election. Consider a election race between two candidates, Candidate A and Candidate B. Voters fill in a bubble next to their preferred candidate. A machine learning classifier reads each bubble and determines whether it is filled or blanked. 出处: Black-Box Adversarial Example Attacks on Machine Learning based Election Systems(arXiv)

为什么干净的选票还不够

选票分类器是一种机器学习系统,用来判断一个气泡是空白还是已填。它通常的准确率指标衡量的是普通错误:它有多大比例能正确处理正常样本。这些指标无法说明,当一个标记被故意制作用来跨过系统内部的决策边界时,系统会如何应对。

论文研究了一种黑盒攻击。攻击者看不到模型的设计或权重。相反,攻击者向系统发送样本,并从系统的回复中学习。基于决策的攻击只会得到标签,例如“空白”或“已填”。基于分数的攻击还会返回类似置信度的数字,为攻击者提供更多线索。攻击可以改变机器看到的内容,却不一定会让查看选票的人明显察觉到这种改动。

纸张又增加了一层影响。墨粉、纸张、扫描仪光学系统、对齐方式、图像处理和去噪,都可能在分类器接收到图像之前改变一个微小的改动。这意味着,在数字图片上成功的攻击,打印并扫描后可能会消失。这也意味着,仅凭数字准确率无法回答选举中的关键问题。

扫描仪成为测试的一部分

作者针对八种选票分类器测试了11种黑盒攻击方法,其中包括神经网络、一个Transformer、一个线性支持向量机以及基于原型的系统。在发动攻击前,这些模型在验证图像上的得分都超过97%。

随后,研究人员让实验经过一条实体流程。他们用HP LaserJet打印机打印选票气泡样本,用Ricoh fi-7160扫描仪进行扫描,让图像经过UNet去噪器处理,再将图像送入分类器。在论文关于实体实验的方法部分,作者称他们打印并扫描了32,000个对抗样本;但摘要中写的是20,000个。

打印机和扫描仪消除了许多在数字环境中有效的攻击。在选定的设置下,有几种基于查询的攻击针对部分测试模型取得了100%的实体鲁棒准确率。但实体通道并没有让所有威胁都消失。在报告的测试中,一种攻击将CaiT模型的鲁棒准确率降至0.686。另一种攻击则降至0.666。研究人员还发现,为一个模型制作的改动样本,在打印和扫描后可能影响另一个模型,其中包括报告中的一例:从一个基于原型的模型向ResNet20转移的比例为0.6%。

一种防御方法把不确定的案例送入由两个模型共享的隔离区;在其防御结果表中,针对列出的攻击,该方法报告了100%的准确率。不过,作者仍表示,他们测试的防御措施无论在数字领域还是实体领域,都没有做到完全鲁棒。重要的结果并不是某个特定模型胜出,而是安全性取决于从纸张到扫描仪再到决策的整条路径。

Refer to caption
Figure 1. End-to-end physical attack pipeline. Adversarial examples are generated using a black-box attack method, printed, scanned and converted into a PyTorch tensor for model prediction. This setup models the attack process that would hypothetically be used during a U.S. election to alter the outcome in favor of one candidate.In this paper, we analyze the security of machine learning models in the voting domain. Specifically in U.S. elections, the primary machine learning task is ballot classification: deciding whether a bubble is either blank or filled. Two natural questions arise based on the application of machine learning for ballot classification. First, how viable are machine learning models for ballot classification? Second, how much machine learning/AI is currently used in elections? 出处: Black-Box Adversarial Example Attacks on Machine Learning based Election Systems(arXiv)

更安全的选票仓库会怎么做

在县级选举仓库中,如果扫描后的气泡让独立设计的分类器产生分歧,就可以把它单独留下,交由有记录的人工复核,而不是让它变成一个无法察觉的机器决定。可疑标记将拥有一条回溯纸质证据的路径,相关决定也会保持可审计。

只有在选举系统保留纸质记录,测试实际使用的打印机、扫描仪、选票版式和图像处理步骤,并为复核预留足够能力的情况下,这种未来才有可能实现。系统还需要进行端到端的打印—扫描测试,而不只是测试像素。一项很高的干净图像得分,或针对单个模型测试过的防御措施,无法独自承担这一重任。

来源

arXiv,《Black-Box Adversarial Example Attacks on Machine Learning based Election Systems》