arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.25838cs.CVcs.AI
收藏

边缘先于嵌入:面向视觉语言管线的置信感知模糊门控

Edges Before Embeddings: A Confidence-Aware Blur Gate for Vision-Language Pipelines

OneMount Group(OneMount集团)

Duy Tran Thanh

AI总结:

提出MagikaDocumentFromPixel轻量级图像质量门控,通过边缘先验模块和置信感知路由,在7ms内分类图像清晰度,F1达0.9803。

摘要:

生产视觉管线在模糊输入上会无声地退化,浪费下游OCR、检索和视觉语言模型(VLM)调用的计算资源,而这些调用无法恢复可用输出。我们提出MagikaDocumentFromPixel,一个轻量级、CPU友好的图像质量门控,能在单个CPU核心上约7ms内将单张图像分类为清晰、模糊或不确定。贡献包括:(i) 从46种配置、8次扫描的经验搜索中选出的配方,该搜索将输入分辨率确定为主导杠杆,并表明架构容量仅在>=384像素时才有回报;(ii) 基于经典选择性预测的置信感知路由形式化;(iii) 边缘先验模块(EPM),一个拉普拉斯幅度辅助输入通道,使网络直接访问经典模糊启发式依赖的频谱证据,并在匹配环境比较中将测试F1提升+1.3点;(iv) 观察到该门控是重复设计模式的一个实例,该模式独立出现在Magika内容类型检测、基于VLM的风险控制OCR和DocVLM中。最终配方为MobileNetV3-Large与EPM,在384x384的GoPro Large帧对上训练,采用5尺度测试时增强评估,达到F1=0.9803(AUC 0.9989),ONNX工件17 MB,相比相同硬件上的固定尺度基线(F1=0.9672)提升+1.31点。我们明确局限性:结果基于单一运动模糊分布,数值来自单一随机种子,校准是定性而非定量的。

英文摘要:

Production vision pipelines silently degrade on blurry input, wasting compute on downstream OCR, retrieval, and vision-language model (VLM) calls that cannot recover a usable output. We present MagikaDocumentFromPixel, a lightweight, CPU-friendly image quality gate that classifies a single image as sharp, blurred, or uncertain in roughly 7 ms on a single CPU core. The contributions are (i) a recipe selected from a 46-configuration, 8-sweep empirical search that isolates input resolution as the dominant lever and shows architecture capacity only pays off at >= 384 px; (ii) a confidence-aware routing formalism grounded in classical selective prediction; (iii) the Edge Prior Module (EPM), a Laplacian-magnitude auxiliary input channel that gives the network direct access to the spectral evidence that classical blur heuristics rely on and that lifts test F1 by +1.3 points in a matched-env comparison; and (iv) an observation that the gate is one instance of a recurring design pattern that appears independently in Magika content-type detection, risk-controlled OCR with VLMs, and DocVLM. The final recipe MobileNetV3-Large with the EPM trained at 384x384 on paired GoPro Large frames, evaluated with 5-scale test-time augmentation reaches F1 = 0.9803 (AUC 0.9989) with a 17 MB ONNX artifact, improving over our fixed-scale baseline on the same hardware (F1 = 0.9672) by +1.31 points. We are explicit about limitations: results are on a single motion-blur distribution, numbers are from a single seed, and calibration is qualitative rather than measured.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑