Saeed Mahloujifar
Cornell University · 2 papers here · 6 ideas from their work
View on OpenAlex ORCID 0000-0001-6586-8378
Ideas from their papers
- InjectionShield Foundry: One-Click Prompt-Injection Hardening for Open-Weight Models
A managed fine-tuning service that turns a customer's open-weight model (Llama-3-8B, Mistral-7B class) into a prompt-injection-resistant checkpoint by auto-generating injection preference pairs from their own retrieved data and tool outputs, then running SecAlign-style preference optimization — delivered with a before/after attack-success-rate report.
- DriftGuard Tuner: Multi-Turn Injection Hardening for Support Agents
A defensive fine-tuning package for conversational agents that generates multi-turn injection dialogues — attacks that spread malicious instructions across user turns, tool results, and retrieved knowledge — converts them into preference pairs, and hardens the agent's open-weight model, closing the multi-turn gap left by single-turn injection defenses.
- MemBudget: capacity-law memorization audit for custom-trained models
A pre- and post-training audit that quantifies how much of a specific training dataset a model has unintentionally memorized, using the newly measured ~3.6 bits-per-parameter capacity law and membership-inference scaling law. Privacy and compliance teams get a defensible exposure score before and after training.
- DataChannel Proxy: Instruction-Data Demarcation Middleware for Hardened Models
A reverse proxy that sits between an existing LLM application and the model, restructuring each prompt into clearly separated instruction and data sections — matching how injection-hardened models are trained, with delimiters configurable per checkpoint — so teams can adopt hardened checkpoints without rebuilding their RAG or agent pipeline. It finds the data section using structural signals such as API message roles and retrieval-framework delimiters rather than guessing from raw text, and offers a structured-input mode for high assurance. It is one layer of defense, not a complete fix: recent research shows prompt injection cannot be fully prevented in current model architectures.
- RegimeSentinel: capacity-fill monitor for pretraining runs
A training-observability add-on that predicts and detects the memorization-to-generalization (grokking) transition by comparing dataset bits to model capacity (parameters × 3.6 bits), confirming it with membership-inference probes. Each checkpoint gets a memorization-risk label so teams release checkpoints that generalize rather than ones stuffed with training data.
- HeadRoom: a memorize-or-retrieve calculator for enterprise fine-tuning
A calculator that compares an enterprise corpus's size against a candidate model's storage capacity (parameters × 3.6 bits) and tells teams whether fine-tuning can plausibly memorize the material for verbatim recall or whether retrieval (RAG) is mandatory. One division instead of a failed GPU project.
Related ideas
Close to their work, not derived from it.
- PromptRed: evolved adversarial-instruction regression gate for production prompts
A CI tool that evolves worst-case adversarial instructions against a deployed LLM prompt and turns them into a permanent regression suite, so teams catch accuracy-collapsing instruction attacks before shipping prompt or model updates.
- No-Q Attention Block for Small Language Model Training
A drop-in attention module for training small language models from scratch that removes the query projection (Q = x), giving ~8% fewer parameters and better validation quality (3.18% lower BPC on TinyStories, 2.24% on FineWeb).
- PromptBake: compile your production system prompt into model weights
A managed fine-tuning service that takes a company's long, carefully engineered (or prompt-optimizer-produced) system prompt and internalizes it into the model's weights using on-policy context distillation, so production runs with little or no prompt — cutting per-call token cost, latency, and prompt-leakage risk.