EDGE-Shield: Efficient Denoising-staGE Shield for Violative Content Filtering via Scalable Reference-Based Similarity Matching

Takara Taniguchi, Ryohei Shimizu, Duc Minh Vo, Kota Izumi, Shiqi Yang, Teppei Suzuki · 2026

Read EDGE-Shield: Efficient Denoising-staGE Shield for Violative Content Filtering via Scalable Reference-Based Similarity Matching by Takara Taniguchi, Ryohei Shimizu, Duc Minh Vo, Kota Izumi, Shiqi Yang, Teppei Suzuki (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2604-06063.txt.

Introduction

Taniguchi and colleagues' 2026 paper presents EDGE-Shield, a filter that blocks violative content during generation. Reference-based filters matter since new works and people keep appearing past fixed cutoffs. Existing reference methods scale poorly to many references and wait for generation to finish. EDGE-Shield matches references with embeddings during denoising. An x-pred step turns noisy latents into clean estimates early, lifting early accuracy. Tests cut processing time by about 79 percent for Z-Image-Turbo and about 50 percent for Qwen-Image. Filtering accuracy holds across architectures.

Catalog record

CREATORTakara Taniguchi, Ryohei Shimizu, Duc Minh Vo, Kota Izumi, Shiqi Yang, Teppei Suzuki
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE39029
LICENSEhttp://creativecommons.org/publicdomain/zero/1.0/
RIGHTSCC0
SOURCEarXiv

Source: https://arxiv.org/abs/2604.06063

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

EDGE-Shield: Efficient Denoising-staGE Shield for Violative Content Filtering via Scalable Reference-Based Similarity Matching Takara Taniguchi, Ryohei Shimizu, Duc Minh Vo, Kota Izumi, Shiqi Yang, Teppei Suzuki Abstract The advent of Text-to-Image generative models poses significant risks of copyright violation and deepfake generation. Since the rapid proliferation of new copyrighted works and private individuals constantly emerges, reference-based training-free content filters are essential for providing up-to-date protection without the constraints of a fixed knowledge cutoff. However, existing reference-based approaches often lack scalability when handling numerous references and require waiting for finishing image generation. To solve these problems, we propose EDGE-Shield, a scalable content filter during the denoising process that maintains practical latency while effectively blocking violative content. We leverage embedding-based matching for efficient reference comparison. Additionally, we introduce an x x -pred transformation that converts the model’s noisy intermediate latent into the pseudo-estimated clean latent at the later stage, enhancing classification accuracy of violative content at earlier denoising stages. We conduct experiments of violative content filtering against two generative models including Z-Image-Turbo and Qwen-Image. EDGE-Shield significantly outperforms traditional reference-based methods in terms of latency; it achieves an approximate 79 % 79\% reduction in processing time for Z-Image-Turbo and approximate 50 % 50\% reduction for Qwen-Image, maintaining the filtering accuracy across different model architectures. 1 Introduction Figure 1 : Comparison of our EDGE-Shield with the existing content filters. Table 1 : Comparison of content filtering paradigms. Output-based methods are crucial for prompt-agnostic filtering, while reference-based approaches are essential for protecting constantly emerging IPs and private individuals. EDGE-Shield bridges the critical gap by integrating these advantages while overcoming the scalability and latency limitations of existing methods. Train + Inp Train + Out Ref + Inp Ref + Out Ours Latency ✓ \times ✓ \times ✓ Scalability ✓ ✓ ✓ \times ✓ Accuracy ✓ ✓ ✓ ✓ ✓ Knowledge \times \times ✓ ✓ ✓ Robustness \times ✓ \times ✓ ✓ The rise of Text-to-Image (T2I) models [ 42 , 15 , 38 , 34 , 32 , 30 ] has brought issues of violative content including copyright infringement and deepfake to the forefront. A challenge of violative content generation arises from the fact that training datasets for these models can inadvertently include violative images [ 3 ] , enabling the models to generate these images. Approaches to prevent violative content generation can be broadly categorized into two primary paradigms: concept removal and content filters. While concept removal [ 45 , 5 ] steers the T2I model to generate alternatives by modifying the model’s internal representations, whereas content filters [ 16 , 9 , 4 ] block generation when the generated content is unsafe. Content filters offer an advantage of providing non-invasive protection without altering the output of the original model itself. As illustrated in Table 1 , content filter can be categorized along two independent axes: input-based vs. output-based, and training-based vs. reference-based. Input-based content filters [ 10 , 22 ] check prompts before generation, while output-based content filters [ 9 , 16 ] look into the output imagery. While training-based content filters require prior training, reference-based ones identify violations by making use of reference information in a training-free manner. Output-based content filters serve as critical defense mechanisms, successfully catching violative content regardless of how the prompt is phrased. Unlike input-based methods that rely on prompt or text embedding analysis, these approaches operate on the generated content [ 37 , 16 ] or content during denoising process [ 43 ] , making them robust against the prompt styles. Thanks to reference information, reference-based content filters [ 3 , 37 , 13 ] can overcome the knowledge cutoff issues of training-based content filters, which struggle to keep pace with a constant influx of new copyrighted works and individuals. For example, while Vision-Language Models (VLM) used as evaluators [ 40 , 1 , 20 , 28 , 19 ] demonstrate robust filtering capabilities, their efficacy is inherently constrained by their internal knowledge base. In contrast, reference-based filters can circumvent these limitations, provided that relevant reference data is available. However, current content filters face separate practical challenges regarding detection latency for output-based ones and inference-time scalability for reference-based ones. Traditional output-based content filters typically wait for the end of the image generation process, leading to high latency and wasting computational budget for generating unsafe outputs. While some methods attempt to mitigate this by operating during the denoising process [ 43 , 21 ] , they are currently limited to training-based frameworks and lack applicability outside their trained domain. Moreover, existing reference-based content filters [ 9 , 37 ] struggle to scale when protecting against multiple reference images, as they often require independent evaluations for each reference target. To address these challenges, we propose a scalable reference-based content filter called EDGE-Shield which scales efficiently with the number of reference images while preserving high filtering accuracy. Our method outputs the violation score of the image in generation against reference images based on the similarity between embeddings of reference and generated images, which is used for binary classification with the threshold whether to accept or reject the image in generation. The embeddings of the reference images can be pre-computed, ensuring high scalability with minimal impact on inference latency, even as the number of reference images increases. To enable efficient filtering for prevalent ODE-based image generation models, our proposed method introduces a filtering mechanism directly into the denoising process. By applying the simple yet effective x -pred transformation, the proposed method achieves filtering accuracy comparable to output-based approaches, while maintaining inference speeds on par with input-based methods. In summary, we propose EDGE-Shield to address the limitations of existing methods summarized in Table 1 . Our main contributions are as follows: ( i ) we leverage violation scoring within the denoising process through pre-computed embeddings and the x -pred transformation, ensuring scalability relative to the number of reference images and facilitating accurate filtering at an early stage of the denoising process; and ( ii ) we demonstrate that EDGE-Shield achieves an ROC-AUC of approximately 0.85 for both Z-Image-Turbo and Qwen-Image, which is comparable to existing baselines while reducing processing latency by 79\% and 50\% , respectively. 2 Related Work 2.1 Concept Removal Concept removal [ 24 , 7 , 35 , 45 , 2 , 8 ] steers the T2I model to generate alternatives to specified concepts by modifying the model’s internal representations. Some approaches neutralize specified concepts at the prompt level, modifying text embeddings or redirecting tokens to bypass the activation of sensitive semantic clusters [ 45 , 5 ] . Other approaches intervene directly during the iterative reverse diffusion process, employing guidance or latent steering to suppress the emergence of specific visual features in real-time [ 11 , 5 , 6 , 12 ] . 2.2 Content Filter Whereas various content filters are actively studied, output-based approaches are advantageous due to their prompt-agnostic nature, allowing them to maintain high performance without being biased by the nuances of the input text. While input-based content filters [ 44 , 22 , 10 , 26 ] block or rewrite problematic prompts before processing, output-based content filters [ 9 , 16 ] , recently leveraging VLMs [ 20 , 1 , 40 , 16 ,

Read the complete text