David Majercak
· 6 previous affiliations
- Microsoft (United States)Since 2020
- Member of Technical Staff · Since 2022
- Computer Vision Software Engineer · 2021–2022
- Researcher · 2020–2021
- Silo AI2022
- AI Engineer · 2022
- Shape2020
- Software Engineer · 2020
- Danske Bank2019–2020
- Software Engineer · 2019–2020
- University of Copenhagen2018–2020
- Master's degree, Computer Science · 2018–2020
- Bachelor's degree, Informatics and Information Technologies · 2015–2018
Research Overview
David Majercak focuses on language model alignment, safety post-training, and inference-time activation steering. His recent work centers on developing robust safety mechanisms for highly capable, small-scale language models designed for edge deployment. This trajectory emphasizes balancing the mitigation of harmful outputs with the preservation of general model capabilities through iterative red-teaming and feature steering.
Research Trajectory
The available evidence centers on research published in 2025, highlighting a concentrated focus on the safety, alignment, and evaluation of large language models. A significant portion of this work involves the development and refinement of the Phi-3 family of models, particularly concerning their safety profiles and post-training alignment.
Majercak participated in the broader development of these compact, highly capable models, as detailed in the Phi-3 technical report: A highly capable language model locally on your phone. This collaborative effort introduced phi-3-mini, a 3.8 billion parameter model trained on a mix of heavily filtered public web data and synthetic data. The project demonstrated that models small enough for edge deployment on mobile devices could achieve performance metrics comparable to much larger systems, provided they undergo rigorous alignment for robustness, safety, and chat formatting.
Building on the need for robust alignment in these deployable models, Majercak played a more central role in establishing their safety protocols. In Phi-3 safety post-training: Aligning language models with a" break-fix" cycle, he and his co-authors detailed the specific methodology used to align the Phi-3 series with human preferences and safety constraints. The research outlines an iterative "break-fix" cycle that integrates dataset curation, safety post-training, benchmarking, red teaming, and vulnerability identification. This systematic approach was designed to address a wide variety of potential harm areas across both single-turn and complex multi-turn interactions, ensuring that highly capable edge models remain safe during deployment.
Alongside iterative post-training methodologies, Majercak has investigated mechanistic, inference-time interventions for model safety. In Steering Language Model Refusal with Sparse Autoencoders, he explored alternatives to traditional weight modification for teaching models to refuse unsafe prompts. The research investigates how amplifying specific features identified by sparse autoencoders (SAEs) can steer model activations at inference time to mediate refusal. While this feature steering proved successful in improving the model's robustness against single-turn and multi-turn jailbreak attempts, the study critically identified a fundamental tension: these safety improvements via SAE steering come at the cost of systematically degrading the model's general capabilities.
Current Directions
Based on the most recent papers in the evidence, Majercak's current research directions address the tension between language model safety and general utility. Recent work investigates how to effectively implement refusal mechanisms for unsafe prompts without degrading a model's core capabilities. This involves exploring both dataset-driven "break-fix" alignment cycles and mechanistic interventions, such as inference-time activation steering using sparse autoencoders. A central open problem in this domain is mitigating the performance trade-offs that occur when enforcing strict safety boundaries, particularly in highly optimized, small-scale models intended for local deployment.
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