Semantic Drift Before Inference
Shashwat Anil Kumar Upadhyay, Sargam Bijendra Sharma, Rohan Appasaheb Borgalli, Rupali Sachin Vairagade · Advances in computational intelligence and robotics book series · 2026
This chapter, per the authors, investigates the role of image preprocessing in Vision–Language Models (VLMs) and its impact on semantic integrity. It challenges the assumption that standard preprocessing pipelines preserve semantic content by demonstrating that common operations, such as RGBA-to-RGB flattening via background compositing, can cause semantic drift, where text invisible to humans becomes explicit in model-visible representations. This issue is formalized as a Conditional Semantic Drift Attack, shown to arise deterministically under typical preprocessing settings. To address this vulnerability, the chapter introduces Semantic Equivalence Verification (SEV), a lightweight runtime defense that detects preprocessing-induced semantic inconsistencies without model retraining. Experimental results show that semantic drift is measurable and that SEV reliably detects affected inputs. The chapter highlights image preprocessing as an underexamined attack surface and underscores the need for semantic consistency checks in vision–language systems.