Hanna Foerster
· 5 previous affiliations
- University of CambridgeSince 2023
- PhD student · 2024–2027
- Current
- MS student · 2023–2024
- Student Researcher · 2025
- Vector Institute2025
- Research Intern · 2025
- Research Intern · 2024
- German Federal Civil Services for Information Technology2021
- Summer Intern · 2021
Research Overview
Hanna Foerster focuses on the security, privacy, and hardware-software interactions of machine learning systems. Her work investigates vulnerabilities across the AI stack, from high-fidelity model extraction and hardware-level inference fingerprinting to prompt injection defenses for computer use agents. Recently, she has explored how architectural choices like dynamic quantization and reasoning chains introduce novel attack vectors in large language models.
Research Trajectory
Foerster's early research examined the vulnerabilities of proprietary neural networks to black-box auditing and theft. She investigated the mechanics of recovering exact model weights in Beyond Slow Signs in High-fidelity Model Extraction. By optimizing the identification of weight signs and testing against standard datasets, this research demonstrated that high-fidelity model extraction could be executed significantly faster than previously understood. The study revealed that the true computational bottlenecks in extraction attacks differ from prior assumptions, paving the way for more rigorous security auditing. This work intersects with broader challenges in the area of Activation Compression and Mixed Precision for Memory Efficient Training, highlighting how underlying computational constraints shape the practicality of model security.
Expanding her focus to large language models, Foerster explored how advanced capabilities like Chain-of-Thought reasoning create new threat surfaces. In Reasoning Introduces New Poisoning Attacks Yet Makes Them More Complicated, she introduced a methodology for embedding malicious logic directly into a model's step-by-step thought processes. This research contributes to the direction of The Mechanics of Backdoor Attacks in Neural Networks by demonstrating that these "decomposed" attacks are highly stealthy and difficult to detect using traditional methods. However, the study also uncovered an emergent robustness in these models, which often bypass their own poisoned reasoning to reach correct conclusions—a phenomenon relevant to the broader field of The Causal Disconnect in Language Model Reasoning.
In parallel with her work on model logic, Foerster has investigated the physical and infrastructural layers of machine learning deployment. With collaborators, she developed Hardware and Software Platform Inference (HSPI), detailed in Hardware and Software Platform Inference. This technique identifies the specific GPU and software stack running an AI model based solely on its outputs. By analyzing subtle floating-point discrepancies across different hardware architectures, the method allows users to verify cloud provider hardware claims. This research bridges the area of Numerical Non-Determinism in Parallel Deep Learning Hardware with practical applications in the domain of Black Box Ownership Verification for Deep Neural Networks.
As AI systems evolved into autonomous agents interacting with complex environments, Foerster addressed the resulting system-level security challenges. She introduced NOVA, a methodology presented in CaMeLs Can Use Computers Too: System-level Security for Computer Use Agents. This work adapts a "Dual-LLM" security architecture to protect Computer Use Agents from prompt injection. By requiring a trusted planner to generate a comprehensive, branching execution plan before interacting with an untrusted user interface, the approach provides strong security guarantees while maintaining utility on real-world tasks.
Returning to the intersection of model optimization and security, Foerster identified critical privacy vulnerabilities introduced by standard deployment practices. In Quantamination: Dynamic Quantization Can Leak Your Data Across the Batch, she demonstrated that "per-tensor" dynamic quantization during batched inference can inadvertently expose sensitive data. The research showed that adversaries could observe minor perturbations in their own output logits to recover a co-batched user's data, achieving near-perfect token recovery in language models and exact image identification in vision models.
Current Directions
Recent work investigates the security and privacy implications of deploying large-scale AI models in production environments. The most recent papers in the evidence address the vulnerabilities introduced by autonomous Computer Use Agents and the privacy risks of batched inference. Foerster is currently exploring system-level architectures that isolate trusted planning from untrusted inputs to prevent prompt injection in agents. Additionally, her research examines how common optimization strategies, such as dynamic quantization, create side channels that compromise user data, highlighting the need for deployment frameworks that balance computational efficiency with rigorous privacy guarantees.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake