Home InternationalA Discussion of 'Adversarial Examples Are Not Bugs...
International⭐ Featured

A Discussion of 'Adversarial Examples Are Not Bugs, They Are Features': Two Examples of Useful, Non-Robust Features

An example project using webpack and svelte-loader and ejs to inline SVGs

7 April 2026 at 07:40 am
1 views
A Discussion of 'Adversarial Examples Are Not Bugs, They Are Features': Two Examples of Useful, Non-Robust Features

In recent years, the field of machine learning has faced a growing concern about the robustness of models. Researchers and practitioners have debated whether adversarial examples—inputs specifically crafted to mislead models—are mere bugs or inherent features of the system. The latter perspective, championed by some experts, argues that adversarial examples are not flaws to be fixed but rather indicators of the model's ability to learn useful features. This view challenges the traditional notion that robustness is a binary trait and instead suggests that models can possess both robust and non-robust features, each serving distinct purposes.

One illustrative example of this idea is the use of webpack and svelte-loader in a project that inlines SVGs. This approach leverages non-robust features to enhance performance and user experience. By embedding SVGs directly into HTML files, the project eliminates the need for separate image files, reducing HTTP requests and improving load times. This optimization is particularly beneficial for web applications, where every millisecond counts for a seamless user experience.

The decision to inline SVGs using webpack and svelte-loader is not without its trade-offs. While this method improves performance, it introduces vulnerabilities. SVGs, like other vector graphics formats, can be manipulated by attackers to craft adversarial examples. For instance, an attacker could alter the SVG code to bypass access controls or trigger unintended actions. These adversarial examples exploit the non-robust nature of inlined SVGs, which are optimized for speed rather than security.

Despite these risks, the benefits of inlining SVGs are significant. By reducing file size and improving load times, the project enhances user engagement and satisfaction. This trade-off exemplifies the idea that non-robust features can be valuable in specific contexts. The project's developers prioritized performance and user experience, acknowledging that the resulting vulnerabilities were an acceptable cost.

Another example of useful non-robust features is the use of ejs templates in the same project. EJS (Embedded JavaScript) allows for dynamic content generation on the server side, enabling the project to personalize user interfaces and serve tailored content. While ejs templates enhance functionality, they can also introduce security risks. Attackers might exploit vulnerabilities in the template engine to execute arbitrary code or leak sensitive information.

The project's reliance on ejs templates underscores the importance of understanding the trade-offs between robustness and functionality. By choosing ejs, the developers acknowledged that the potential security risks were outweighed by the benefits of dynamic content generation. This decision highlights the idea that non-robust features can be essential for achieving specific goals, even if they introduce vulnerabilities.

In conclusion, the examples of inlining SVGs and using ejs templates demonstrate that non-robust features can be highly useful in certain contexts. While adversarial examples may exploit these vulnerabilities, the benefits of improved performance, user experience, and functionality are significant. This perspective challenges the traditional view of robustness as a binary trait and instead emphasizes the importance of balancing different types of features to achieve desired outcomes. As machine learning and software development continue to evolve, understanding the role of non-robust features will be crucial for building systems that prioritize both functionality and security.

Source: Distill
📰 Related News
Ollama 0.2.6 Released with Native Gemma 4 Support and Enhanced Performance
Ollama 0.2.6 Released with Native Gemma 4 Support and Enhanced Performance
Ollama 0.2.6 is now live, featuring native support for Google's Gemma 4 models and improved local inference performance for Windows, macOS, and Linux.
14 Apr
Weekly news roundup: Shortages spread to MLCCs; SK Hynix reportedly in talks with Microsoft and Google
Weekly news roundup: Shortages spread to MLCCs; SK Hynix reportedly in talks with Microsoft and Google
Below are the most-read DIGITIMES Asia stories from the week of April 6-April 13, 2026:
14 Apr
sparkstat added to PyPI
sparkstat added to PyPI
Real-time GPU monitor for NVIDIA DGX Spark and other unified memory (UMA) systems
14 Apr
sparkstat 0.1.0
sparkstat 0.1.0
Real-time GPU monitor for NVIDIA DGX Spark and other unified memory (UMA) systems
14 Apr
sparkstat 0.1.1
sparkstat 0.1.1
Real-time GPU monitor for NVIDIA DGX Spark and other unified memory (UMA) systems
14 Apr
cutile-stencil 0.2.0
cutile-stencil 0.2.0
An xDSL-based stencil compiler that generates optimized GPU kernels via NVIDIA cuTile
14 Apr
gswarp 1.0.3
gswarp 1.0.3
Pure-Python NVIDIA Warp backend for 3D Gaussian Splatting
14 Apr
merlin-llm added to PyPI
merlin-llm added to PyPI
Merlin — a fast local LLM for agentic coding on Apple Silicon
14 Apr
Fluent Cut - Craft and compose videos programmatically in PHP with an elegant fluent API
Fluent Cut - Craft and compose videos programmatically in PHP with an elegant fluent API
Craft and compose videos programmatically in PHP with an elegant fluent API - b7s/fluentcut
14 Apr
Crypto Investor at Center of Trump Corruption Allegations Now Sees Himself as ‘Victim’
Crypto Investor at Center of Trump Corruption Allegations Now Sees Himself as ‘Victim’
Justin Sun has accused Trump-affiliated World Liberty Financial of misconduct and a general lack of transparency.
14 Apr