Thesis of Imene Kerboua
Subject:
Start date: 01/05/2024
End date (estimated): 01/05/2027
Advisor: Véronique Eglin
Summary:
The recent progress of large language models (LLMs) has fundamentally reshaped chat assistants. While early systems relied primarily on parametric internal knowledge of LLMs, modern assistants access external information through retrieval, tools, and web browsing. This thesis focuses on the multilingual evaluation and the design of efficient and secure chat assistants. It presents three contributions in two parts: the first on multilingual evaluation, the second on agent design.
In the first part, we evaluate two complementary entities: embeddings and agents.
We first introduce a large-scale French embedding benchmark covering multiple downstream tasks, including three new quality-controlled datasets. Our evaluation reveals an interaction between embedding dimensionality, model size, and task type that English-only benchmarks do not capture. We then extend the evaluation to web agents with X-WebBench, the first benchmark on real, language-native websites rather than translated simulations, covering eight languages and including tasks that require adapting to local conventions. We find that the language barrier persists but is secondary to the capability of the underlying LLM; Chinese, Arabic, and Portuguese are the most affected languages. As existing LLM judges prove unreliable in multilingual settings, we propose SymJudge, a hybrid symbolic–LLM evaluator with higher human agreement than prior judges, along with a score calibration protocol.
In the second part, we move to efficient design of agentic assistants. We introduce FocusAgent, a two-stage architecture in which a small model filters the page observation against the goal and action history before the reasoning model sees it. This removes over 50\% of the observation on average at modest degradation in task performance compared to the full observation. Because adversarial content is discarded at the filtering stage, the same mechanism substantially lowers the success rate of prompt injection attacks without any dedicated defense.
Together, these contributions show how multilingual assistants can be evaluated, where their limitations lie, and how context pruning can be leveraged to shape agent perception to simultaneously improve efficiency and mitigate security risks.