Jul 27, 2025

Spectral Regularization as a Safety-Critical Inductive Bias

shivam dubey

This project

introduces Fourier Gradient Regularization (FGR), a novel, physics-inspired

training method that directly addresses this vulnerability. By penalizing the

high-frequency components of the model's input-gradients during training

analogous to a coarse-graining procedure in physics FGR induces a

"smoothness" prior, forcing the model to become less sensitive to the very

perturbations adversaries exploit.

Reviewer's Comments

Reviewer's Comments

Arrow
Arrow
Arrow
Arrow
Arrow

The submission proposes and studies a novel regularization method for adversarial robustness, based on adding an auxiliary loss term constructed from the high-frequency components of the loss gradient. Adversarial robustness is an interesting topic, and the project finds some positive preliminary results for the proposed method. The project could be improved by discussing more explicitly the connection between the regularization of high-frequency components in the loss, and the high-frequency noise structure in data that’s thought to enable adversarial examples.

The author proposes that altering models’ training objectives by adding a loss term penalizing their sensitivity to high-frequency input changes could make them more robust to adversarial perturbations without substantially penalizing performance. The intuition is that such a loss term would force models to learn smoother functions that are intrinsically less exploitable by pixel-scale noise. The author tested this idea on a ResNet model trained on CIFAR-10 and found that it achieved 102% relative improvement in adversarial robustness with a negligible accuracy loss.

This was perhaps the most mature of the entries that I reviewed. The paper presents a clear AI safety motivation (the problem of adversarial vulnerability), proposes to address it with a mathematically precise physics-motivated regularizer, implements it in code, reports a clear-cut improvement on safety metrics and suggests a well-motivated set of next steps (scaling to other datasets/models and head-to-head comparison with other adversarial defenses). I think it’s a promising candidate for continued research beyond this hackathon.

This is a tidy project that adds a high-frequency fourier mode regularizer to the loss, claiming shocking gains in robustness compared to a baseline model. The physics connection is sound, but the framing could use some work. Spectral bias is a training phenomenon; your penalty acts on the final decision surface to reinforce this by smoothing out wrinkles learned later in training. While the safety connection -- robustness by design -- is clear, more focus could have been paid to what kinds of adversarial examples this approach filters out. The author also missed relevant literature i) questioning the spectral bias hypothesis and ii) applying similar techniques to hidden layers or input gradients (e.g., Ross et al. 2017, Yin et al. 2019). This doesn't mean the work has already been done, but could have helped to contextualize the results. Finally, the methodology and plots are largely unexplained (e.g., the regularizer weight, type of attack), adding to a loss in confidence of these results.

This project offers a highly effective, physics-inspired approach to enhance adversarial robustness, directly addressing a critical AI safety concern with strong empirical evidence.

An interesting approach that seems intuitively reasonable. The main shortcomings are in the experimental scope. Namely, comparison directly with adversarial training of different types is important, as well as conceptually similar regularizes (gradient penalties, Jacobian norm, Sobolev training, spectral norm constraints). Furthermore, one should benchmark robustness against stronger attacks (CW, autoattack) as PGD is relatively weak.

Cite this work

@misc {

title={

(HckPrj) Spectral Regularization as a Safety-Critical Inductive Bias

},

author={

shivam dubey

},

date={

7/27/25

},

organization={Apart Research},

note={Research submission to the research sprint hosted by Apart.},

howpublished={https://apartresearch.com}

}

Recent Projects

Jan 11, 2026

Eliciting Deception on Generative Search Engines

Large language models (LLMs) with web browsing capabilities are vulnerable to adversarial content injection—where malicious actors embed deceptive claims in web pages to manipulate model outputs. We investigate whether frontier LLMs can be deceived into providing incorrect product recommendations when exposed to adversarial pages.

We evaluate four OpenAI models (gpt-4.1-mini, gpt-4.1, gpt-5-nano, gpt-5-mini) across 30 comparison questions spanning 10 product categories, comparing responses between baseline (truthful) and adversarial (injected) conditions. Our results reveal significant variation: gpt-4.1-mini showed 45.5% deception rate, while gpt-4.1 demonstrated complete resistance. Even frontier gpt-5 models exhibited non-zero deception rates (3.3–7.1%), confirming that adversarial injection remains effective against current models.

These findings underscore the need for robust defenses before deploying LLMs in high-stakes recommendation contexts.

Read More

Jan 11, 2026

SycophantSee - Activation-based diagnostics for prompt engineering: monitoring sycophancy at prompt and generation time

Activation monitoring reveals that prompt framing affects a model's internal state before generation begins.

Read More

Jan 11, 2026

Who Does Your AI Serve? Manipulation By and Of AI Assistants

AI assistants can be both instruments and targets of manipulation. In our project, we investigated both directions across three studies.

AI as Instrument: Operators can instruct AI to prioritise their interests at the expense of users. We found models comply with such instructions 8–52% of the time (Study 1, 12 models, 22 scenarios). In a controlled experiment with 80 human participants, an upselling AI reliably withheld cheaper alternatives from users - not once recommending the cheapest product when explicitly asked - and ~one third of participants failed to detect the manipulation (Study 2).

AI as Target: Users can attempt to manipulate AI into bypassing safety guidelines through psychological tactics. Resistance varied dramatically - from 40% (Mistral Large 3) to 99% (Claude 4.5 Opus) - with strategic deception and boundary erosion proving most effective (Study 3, 153 scenarios, AI judge validated against human raters r=0.83).

Our key finding was that model selection matters significantly in both settings. We learned some models complied with manipulative requests at much higher rates. And we found some models readily follow operator instructions that come at the user's expense - highlighting a tension for model developers between serving paying operators and protecting end users.

Read More

This work was done during one weekend by research workshop participants and does not represent the work of Apart Research.
This work was done during one weekend by research workshop participants and does not represent the work of Apart Research.