Comment by merelysounds
Comment by merelysounds 2 days ago
> the article didn't seem to explain how the prompt injection was actually done...
There is a short explanation in the “Nyquist’s nightmares” paragraph and a link to a related paper.
“This aliasing effect is a consequence of the Nyquist–Shannon sampling theorem. Exploiting this ambiguity by manipulating specific pixels such that a target pattern emerges is exactly what image scaling attacks do. Refer to Quiring et al[1]. for a more detailed explanation.”
[1]: https://www.usenix.org/system/files/sec20fall_quiring_prepub...
Except it has nothing to do with N-S sampling theorem. Mentioning it at all is an extremely obnoxious red-herring. Theres no sine-wave to digitize here.
Its taking a large image, and manipulating the bicubic downsampling algorithm so they get the artifacts they want. At very specific resolutions at that.