在港口城维纳尔,老塞缪尔每日清晨坐在木柜台后,把一桩桩遗产、债务与待释俘虏的命运,押在一个问题上:契约上的笔迹是否为真。四十年的光阴把他的眼力打磨成一套固定的几何学。他不凭感觉;他量的是下行的弧度、竖笔的倾斜、笔尖离纸那一刻的角度。真迹是一种形状,伪迹是另一种。规则是机械的,而塞缪尔只是这套规则忠实的执行器官,没有怜悯,也没有恶意。
In the port city of Veynar, old Samuel sat each morning behind a wooden counter and weighed the fate of inheritances, debts, and freed captives on a single question: was the signature on a deed genuine. Forty years had filed his eye into a fixed geometry. He did not consult feeling; he measured the exact curl of the downstroke, the lean of the ascender, the angle at which the pen lifted from the parchment. A genuine signature held one shape; a forged one held another. The rule was mechanical, and Samuel was its faithful instrument, unconscious of mercy or malice.
那一季,一纸文书的真伪,将决定孤女织麻人莉娜能否保住父亲的作坊,还是任由行会收没。真迹上有她亡父的笔迹。塞缪尔的规则判定它无误:下行弧度偏左三点,正是父亲三十年来一贯的弧度。行会的讼师另持一份几可乱真的副本,只需一次有利裁定,便能拿下作坊。赌注是一份生计,而它压在一缕发丝般的墨痕上。
That season a single manuscript would settle whether the orphaned linen-weaver Lena kept her father's workshop or saw it seized by the guild. The genuine deed bore her late father's hand. Samuel's rule pronounced it sound: the downstroke curled three points left of true, exactly as the father's hand had curled for thirty years. The guild's advocate, on the other side, held a near-identical copy and needed only one favorable verdict to take the workshop. The stakes were a livelihood, and they rested on a hairline of ink.
行会讼师发现真迹无从下手,但他研究过塞缪尔的几何学,懂得这套规则并不防备它自身所指的方向。他无法整篇伪造父亲的笔迹,那任何鉴定者都能识破。于是他另辟蹊径,在那几可乱真的副本上只作一处几不可见的修整:把某一笔下行的弧度加深些许,再向左偏三分,越过塞缪尔规则中由真转伪的那道门槛。在肉眼看来,这一笔毫无变化。改动比一截线头还小,但它绝非胡乱涂抹,而是恰好沿着规则用来区分两类的那个斜率所指。
The guild's advocate found the genuine deed unassailable, but he had studied Samuel's geometry, and he understood that the rule did not guard against its own direction. He could not forge the father's hand wholesale, that any judge might detect. Instead he took his near-identical copy and added a single, almost invisible correction: he deepened the curl of one downstroke by a fraction, nudging it three points further left, past the threshold where Samuel's rule flipped from genuine to forged. To the untrained eye the stroke looked untouched. The alteration was smaller than a thread of lint, but it was not random; it pointed exactly along the slope the rule used to separate the two classes.
莉娜站在柜台前,眼看塞缪尔把讼师的副本摆在她父亲的真迹旁。他的目光滑过一笔笔下行,得出他的几何学所要求的裁定:副本被判为真迹,父亲的契约被判为伪迹,作坊遂归行会。塞缪尔没有被欺骗,也没有作出选择。他只是顺着斜率走,而斜率在受到那缕发丝般的推力之后,不可能给出别的答案。这次翻转是规则形状本身的属性,不属于任何意志。
Lena stood before the counter and watched Samuel lay the advocate's copy beside her father's genuine deed. His eye traveled the downstrokes and arrived at the verdict his geometry required: the copy was pronounced genuine, her father's deed pronounced forged, and the workshop passed to the guild. Samuel had not been deceived, and he had not chosen. He had only followed the slope, and the slope, given that hairline push, could not have returned any other answer. The flip was a property of the rule's shape, not of any will.
裁定传到了山乡的公证人玛尔塔耳中,她鉴定笔迹的规则建立在完全不同的几何学上,依据是笔压与墨迹的干透时序,而非笔画角度。按理,专门对着塞缪尔那条斜率调校的诡计,到了她这里应当失灵。然而当讼师带着那同一份发丝般弧度的副本被抬上她的案头,她的规则同样判其为真迹。那推力并非只指向塞缪尔一人,而是沿着一个方向,这个方向由任务本身的结构,由任何一双鉴定墨迹的手所共有的结构,决定了它大抵可以被翻覆。能瞒过一种几何学的,往往也能瞒过另一种它从未窥其内部构造的几何学。
Word of the verdict reached Marta, a notary in the hill towns whose rule for signatures was built on an entirely different geometry, of pressure and drying-time rather than stroke angle. One would expect a trick tuned to Samuel's slope to fail against her. Yet when the advocate's copy, with the same hairline curl, was carried to her table, her rule pronounced it genuine as well. The push had not been aimed at Samuel alone; it had been aimed along a direction that the nature of the task itself, the structure of any hand that judges ink, made broadly flippable. What deceived one geometry tended to deceive another whose workings it had never seen.
作坊既失,维纳尔的众公证人聚议,决意将规则加厚,把判定为真迹的笔画范围放宽,使那一缕发丝般的推力再也无法把一笔越过门槛。办法有一时之效:讼师的诡计失灵了。但放宽的范围也一并吞下了那些原本会在边缘被识破的拙劣伪迹,那些从前任何一双诚实的眼都会驳回的粗劣副本。塞缪尔坐在柜台后,坦然地面对这桩权衡:每多一分对发丝痕的抵御,便要从他昔日的锋利里削去一寸,连带放过几桩他从前拦得住的真伪迹。没有哪一种几何学能同时握住两者。
After the workshop was lost, the notaries of Veynar met and agreed to harden their rules, widening the band within which a signature would be counted genuine, so that a hairline push could no longer carry a stroke across the threshold. It worked, after a fashion: the advocate's trick failed. But the wider band also swallowed whole the clumsy forgeries that had once been caught at the margin, the crude copies that any honest eye had formerly rejected. Samuel sat at his counter and faced the trade plainly: every gain in resistance to the hairline cost him a piece of his old sharpness, and with it a few of the true forgeries he had once stopped. There was no geometry that held both at once.
注解:这则寓言对应的是对抗样本(adversarial examples):沿着判定规则本身用以区分两类的那个方向,对一段人眼看来毫无变化的输入施加一处有界的、几不可见的扰动,便能使裁定结果完全翻转,这是一种确定性的几何后果,并非任何意志所为;而针对某一套规则调校出的扰动,往往还能迁移到它从未见过其内部构造的、同样规则驱动的判定者身上。
Note: The tale is an allegory of adversarial examples (对抗样本): a bounded, humanly invisible perturbation applied along the very direction the decision rule uses to separate classes can flip the verdict entirely, as a deterministic geometric consequence rather than any act of will, and a perturbation tuned to one rule often transfers to rule-bound judges it was never shown.