Cornelius Emde (@CorEmde) header
Cornelius Emde (@CorEmde) profile picture

AI Security | AI Agents | ML Robustness | PhD @UniofOxford and @OxfordTVG | ex RS @Wise

Oxford
Joined September 2020
4/ Bring Your Own everything. Agents, evaluators, logging, environments. Well-documented abstract bases and many pre-built interfaces, but never locks you in. MASEval does not play favorites!
1
35
3/ It handles the full evaluation lifecycle for you. Setup, execution, measurement, teardown. MASEval manages the boilerplate so you can focus on the science.
1
48
2/ MASEval is multi-agent native with detailed tracing per agent. It treats the entire agentic system as the unit of evaluation. Comparing multi-agent vs single agent? Smolagent harness with LangGraph? Easy!
1
1
66
1/ Evaluating a single agent harness is hard. Evaluating a multi-agent system? That's a whole different problem. Most eval tools treat the model as the unit of analysis. But in multi-agent systems, the system is what matters. That's why we built MASEval 馃У #Agents #AI #Eval
3
1
3
9
1,511
To obtain such certificates, we present a simple, scalable and powerful algorithm: VALID. Remarkably, for each unwanted response it provides a global bound in prompt space 馃殌 (6/7)
1
2
171
A Domain Certificate bounds the adversarial risk of the model producing out-of-domain responses: (5/7)
1
2
56
Example: Can't afford Github Copilot? 馃挕 Use the Amazon Shopping App. (3/7)
1
2
81
Consider an LLM deployed for a specific purpose like a medical chatbot. Such model should only respond to medical questions. 鈿狅笍 Problem: LLMs are very capable and vulnerable to respond to any queries: how to build a bomb, organize tax fraud etc. (2/7)
1
2
92
馃毃 New paper alert: Our recent work on LLM safety has been accepted to ICLR 2025 馃嚫馃嚞 We propose a new framework for LLMs safety. 馃У (1/7) #LLM #AISafety #ICLR2025 #Certification #AdversarialRobustness #NLP #Shhhhhh #DomainCertification #AI
1
2
1
12
1,603
It is known that fine-tuned foundation models are adversarially vulnerable to provide responses to questions they should not answer. (2/6) For instance: Can't afford ChatGPT Plus? Use a shopping app instead.
1
69
There are other approximations out there (like Lanczos approximation), but I like the elegance of 蟽鈭欴 and it is incredibly fast. All in one: (6/6)
81
For 1-dimensional Gaussian this approximation is off by 0.2. Note, |X| is half-Gaussian. For larger D, it approximates much better. (5/6)
1
1
123
螕 is VERY large for large D. We can approximate the ratio of 螕 functions using Stirling's formula. We get something super elegant: (4/6)
1
73
We can move 蟽 over and when X is 0-mean, the expected value of the non-central 蠂 distribution reduces to (3/6)
1
58
Generally, when X is multivariate normal with isotropic covariance and mean 渭, it follows a non-central chi distribution with parameters D and 位, which is a function of the mean and variance. (2/6)
1
66
I learned a neat trick this week. Let X be a random vector of D dimensions that is Gaussian with 0 mean and isotropic covariance. What is the expected Euclidean norm of X? (1/6)
1
1
147