What Grothendieck Knew About Word Substitutions: How Loose Is Certified Accuracy?
Findings of the Association for Computational Linguistics: EACL 2027, 2027
Abstract
Certified accuracy is usually read as a property of a model. It is in fact a property of the model and the relaxation that certifies it, and the difference can be worth 32 accuracy points: on the same AG News model and the same substitution set, the strongest interval-style certificate reports 7.7% certified accuracy, while a tighter relaxation proves that the true robust accuracy is 40.0%. Nobody has measured how much the interval throws away; we answer exactly. Whenever a model's score is a polynomial in the substituted word embeddings, the attacker's search is exactly a polynomial optimization problem, so the three certifiers in use are three rungs of one ladder, interval bounds, the local-consistency LP, and the sum-of-squares hierarchy, and certifying a sentence is a Grothendieck problem. In the homogeneous binary worst case the interval bound and the LP coincide, so pairwise consistency buys literally nothing, and both overshoot the attacker's optimum by a tight Θ(n); a single semidefinite program improves this to Θ(log n), exactly the Grothendieck constant of the complete graph, and nothing else at that level helps. On random interactions the two gaps are Θ(√n) and at most 1.310. Real instances then reverse the worst-case story: on SST-2 and AG News under WordNet and embedding-neighbor threat models the relaxation meets the strongest attack on 99% of inputs, so we report exact robust accuracy rather than a lower bound, and the cheap condition that explains part of this exactness leaves the rest as a structural question about trained text models.
BibTeX
@inproceedings{li2027grothendieck,
title = {What Grothendieck Knew About Word Substitutions: How Loose Is Certified Accuracy?},
author = {Li, Xiaoyu and Sha, Zhizhou and Gao, Zheng and Shi, Dai and Han, Andi and Gao, Junbin and Jiang, Jiaojiao},
booktitle = {Findings of the Association for Computational Linguistics: EACL 2027},
year = {2027},
}