真实世界媒体数据的可证明有效且多样的变异用于DNN测试
Provably Valid and Diverse Mutations of Real-World Media Data for DNN Testing
AI总结:
基于流形理论提出DEEPWALK方法,通过在低维流形上行走实现媒体数据的可证明高感知多样性与有效性变异,克服了SOTA生成模型方法的局限,显著提升了DNN测试的全面性和错误触发输入发现质量。
摘要:
深度神经网络(DNNs)通常接受高维媒体数据(例如,照片、文本和音频)并理解其感知内容(例如,一只猫)。为了测试DNNs,需要多样的输入来触发误预测。一些初步工作使用字节级变异或特定领域的过滤器(例如,雾化),其启用的变异可能受限且容易出错。最先进(SOTA)的工作采用深度生成模型来生成(无限的)输入。此外,为了保持变异后的输入在感知上有效(例如,一只猫在变异后仍然是“猫”),现有的努力依赖于不精确且泛化性较差的启发式方法。本研究基于流形(一种在低维空间中捕捉高维媒体数据感知的成熟理论),以严谨的方式重新审视媒体输入变异中的两个关键目标——感知多样性(DIV)和有效性(VAL)。我们展示了DIV和VAL不可避免地相互约束的重要结果,并证明了基于SOTA生成模型的方法在变异真实世界媒体数据时根本性地失败(要么牺牲DIV,要么牺牲VAL)。相比之下,我们讨论了基于流形对真实世界媒体数据进行具有可证明高DIV和VAL变异的可行性。我们通过基于流形的统一方式,具体化了各种格式(图像、音频、文本)媒体数据变异的技术解决方案。具体而言,当媒体数据被投影到低维流形时,可以通过在流形上以特定方向和步长行走来变异数据。与输入数据相比,变异数据在感知特征上表现出令人鼓舞的DIV(例如,躺卧与站立的狗),同时保持合理高的VAL(即,一只狗仍然是一只狗)。我们在DEEPWALK中实现了我们的技术用于测试DNNs。DEEPWALK在测试全面性上优于先前的方法,并能找到更多高质量的错误触发输入。
英文摘要:
Deep neural networks (DNNs) often accept high-dimensional media data (e.g., photos, text, and audio) and understand their perceptual content (e.g., a cat). To test DNNs, diverse inputs are needed to trigger mis-predictions. Some preliminary works use byte-level mutations or domain-specific filters (e.g., foggy), whose enabled mutations may be limited and likely error-prone. SOTA works employ deep generative models to generate (infinite) inputs. Also, to keep the mutated inputs perceptually valid (e.g., a cat remains a "cat" after mutation), existing efforts rely on imprecise and less generalizable heuristics. This study revisits two key objectives in media input mutation - perception diversity (DIV) and validity (VAL) - in a rigorous manner based on manifold, a well-developed theory capturing perceptions of high-dimensional media data in a low-dimensional space. We show important results that DIV and VAL inextricably bound each other, and prove that SOTA generative model-based methods fundamentally fail to mutate real-world media data (either sacrificing DIV or VAL). In contrast, we discuss the feasibility of mutating real-world media data with provably high DIV and VAL based on manifold. We concretize the technical solution of mutating media data of various formats (images, audios, text) via a unified manner based on manifold. Specifically, when media data are projected into a low-dimensional manifold, the data can be mutated by walking on the manifold with certain directions and step sizes. When contrasted with the input data, the mutated data exhibit encouraging DIV in the perceptual traits (e.g., lying vs. standing dog) while retaining reasonably high VAL (i.e., a dog remains a dog). We implement our techniques in DEEPWALK for testing DNNs. DEEPWALK outperforms prior methods in testing comprehensiveness and can find more error-triggering inputs with higher quality.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。