Defensive AI Security Intern

Apple, Inc.

Paris

On-site

EUR 12,000 - 19,000

Full time

8 days ago

A complete application in a minute

Tailored resume and cover letter, ready to send.

Get past ATS filters

Benefits offered by this job

Stipend

Job summary

Apple in Paris seeks an intern to explore how inputs perturb LLM internal states and degrade any attacker analyzing protected code/binaries. You will formulate mathematical objectives and develop gradient-based and optimization-based adversarial methods, focusing on activation drift, attention entropy, and logit shifts.

Work will involve analyzing transformer internals, testing transferability across models, and building rigorous evaluation metrics, with results documented for internal use at

Qualifications

  • Master's or PhD in CS/Applied Math with strong theoretical grounding.
  • Strong foundations in linear algebra, optimization and probability.
  • Experience with gradient-based adversarial attacks and PyTorch.

Responsibilities

  • Formulate adversarial ML problem using activation drift, attention entropy, and logit shifts.
  • Develop gradient-based and optimization-based methods for crafting adversarial inputs.
  • Analyze transformer internals (attention matrices, residual stream) for spectral properties.
  • Study transferability to black-box/closed-weight models and quantify the gap.
  • Build rigorous evaluation metrics and robustness checks across model families.
  • Assess durability under fine-tuning, distillation, or future model versions.
  • Document the framework and results for Apple's internal use.

Skills

Linear algebra
Optimization
Probability theory
Python
PyTorch
Transformer internals

Education

Master's degree in Computer Science / Applied Mathematics
PhD candidate

Tools

PyTorch
FGSM/PGD tools

Job description

Apple's DRM stack protects media content and applications. Across the industry, external attackers increasingly use LLMs — interactively or via automated/agentic pipelines — to accelerate reverse-engineering of software protections; this is a general and growing trend, not specific to any one target. This internship addresses that trend directly: developing, from first principles, inputs that measurably perturb an LLM's internal state (activations, attention distributions, representation geometry) in ways that degrade its ability to usefully assist an attacker analyzing protected code/binaries.

Description

This internship addresses that trend directly: developing, from first principles, inputs that measurably perturb an LLM's internal state (activations, attention distributions, representation geometry) in ways that degrade its ability to usefully assist an attacker analyzing protected code/binaries.

Responsibilities
  • Formulate the problem mathematically: define what "confusion" or degraded internal state means in terms of measurable quantities (activation/representation drift, attention entropy, logit distribution shift, loss landscape behavior) rather than qualitative output judgments.
  • Develop gradient-based and optimization-based methods for crafting adversarial inputs (e.g. embedding-space perturbation, discrete token optimization à la GCG/greedy coordinate search, universal adversarial triggers) targeting the internal-state objectives defined above.
  • Analyze transformer internals (attention matrices, residual stream, activation subspaces) to identify structural properties — e.g. spectral characteristics, representation collapse, direction vectors linked to specific behaviors — that can be exploited or reinforced.
  • Study whether techniques derived on open-weight models (full white-box access) transfer to closed-weight models via black-box/transfer-based optimization, and quantify the transfer gap mathematically.
  • Build a rigorous evaluation methodology: statistically sound metrics, ablations isolating which mathematical property of the input drives the effect, and robustness checks across model families and versions.
  • Assess durability: whether effects derived from current architectures are expected to hold under fine-tuning, distillation, or future model versions, based on the underlying mathematical mechanism rather than empirical trial-and-error.
  • Document the mathematical framework, methods, and results internally for Apple's use only; no external publication.
Minimum qualifications

Currently completing a Master’s degree or enrolled in a PhD, in Computer Science, Applied Mathematics, or a related field, with strong theoretical grounding. Strong foundations in linear algebra, optimization (convex and non-convex), and probability/information theory, and ability to apply them to deep learning internals rather than just use libraries. Solid understanding of transformer architecture internals (attention mechanics, residual stream, embeddings) at a mathematical level. Hands‑on experience with gradient‑based adversarial attack techniques (FGSM/PGD‑style methods, discrete optimization for token sequences, universal adversarial perturbations). Proficiency in Python and PyTorch, including writing custom gradient computations/hooks into model internals (not just using high‑level APIs).

Preferred qualifications
  • Research experience in adversarial machine learning or mechanistic interpretability (activation patching, representation engineering, steering vectors).
  • Familiarity with reverse engineering / binary analysis, to reason about what a real attacker workflow needs from the LLM.
  • Coursework or research in spectral methods, information theory, or statistical learning theory applied to neural network analysis.
  • Prior publications, competition results (e.g. adversarial ML challenges), or open‑source contributions demonstrating this kind of mathematical adversarial ML work.
Get your free, confidential resume review.

or drag and drop your file here.

Similar jobs

Similar jobs worth comparing

Defensive AI Security Intern: Adversarial ML Research
Defensive AI Security Intern: Adversarial ML Research

Apple, Inc. • Paris

On-site
EUR 12,000 - 19,000
Stipend
Internship - Machine Learning Research
Internship - Machine Learning Research

Apple, Inc. • Paris

On-site
EUR 13,000 - 20,000
Applied Machine Learning Engineer - Security
Applied Machine Learning Engineer - Security

Apple, Inc. • Paris

On-site
EUR 70,000 - 90,000
Machine Learning Engineer Intern - Computer Vision
Machine Learning Engineer Intern - Computer Vision

Harmattan AI • Paris

On-site
EUR 17,000 - 21,000
AIML - Machine Learning Researcher, MLR
AIML - Machine Learning Researcher, MLR

Apple, Inc. • Paris

On-site
EUR 90,000 - 130,000
Offensive Security Researcher - Userland & Kernel Security
Offensive Security Researcher - Userland & Kernel Security

Apple, Inc. • Paris

Hybrid
EUR 90,000 - 150,000
PhD Position F/M: How does Reasoning with LLM Help Repair Vulnerabilities in Repo-level Software Projects?
PhD Position F/M: How does Reasoning with LLM Help Repair Vulnerabilities in Repo-level Software Projects?

Inria Rennes • Rennes

On-site
EUR 24,000 - 30,000
Offensive Security Researcher, SEAR
Offensive Security Researcher, SEAR

Apple, Inc. • Paris

On-site
EUR 65,000 - 90,000
Stage – Security of autonomous AI coding agents: experimental evaluation of attacks and defences
Stage – Security of autonomous AI coding agents: experimental evaluation of attacks and defences

IRT SystemX • Palaiseau

On-site
EUR 8,900 - 13,000
Red Team Platform and Hardware Security Researcher, SEAR
Red Team Platform and Hardware Security Researcher, SEAR

Apple, Inc. • Paris

On-site
EUR 120,000 - 170,000