Masters Thesis: Input-Level Causal Attribution in LLM Agents

AI Sweden

Göteborgs kommun

Hybrid

SEK 234.000 - 301.000

Teilzeit

vor 18 Stunden
Sei unter den ersten Bewerbenden

Erhalte eine Antwort von diesem Arbeitgeber

Dein Lebenslauf und dein Anschreiben, genau auf das zugeschnitten, was gesucht wird.

Schaffe es an den ATS-Filtern vorbei

Benefits dieser Stelle

Hybrid work
Remote work from Lund/Stockholm

Zusammenfassung

AI Sweden in Gothenburg invites a curious MSc student to join a thesis project at the frontier of attribution for agent traces. You will build a test set with planted causes and implement a simple agent that searches documents, calls tools, and remembers past sessions.

The role emphasizes reproducible experiments, evaluating attribution methods, and collaborating with leading AI scientists. Hybrid work is available, with remote options for students in Lund or Stockholm.

Qualifikationen

  • Currently enrolled in a Master’s program (MSc) in a relevant field.
  • Proficient with Python and deep learning.
  • Curious, independent, and able to work on research questions.

Aufgaben

  • Contribute to a thesis project on attribution for agent traces.
  • Build a test set with planted causes and verify leak paths.
  • Develop a simple agent that searches documents, calls tools, and remembers past sessions; evaluate attribution methods.

Kenntnisse

Python
Deep learning
Research

Ausbildung

MSc student

Jobbeschreibung

As Sweden's national center for applied AI, we're on a mission to accelerate the use of AI to benefit our society, our competitiveness, and everyone living in Sweden. We drive impactful initiatives in areas such as healthcare, energy, and public services while pushing the boundaries of AI research in fields such as natural language processing, machine learning and AI security. Join us in harnessing the untapped value of AI to drive innovation and create sustainable value for Sweden.

Introduction

LLM agents increasingly act on retrieved documents, tool outputs, and memory from earlier sessions. When such an agent takes an incorrect or harmful action, it is often unclear which input led to it. Observability platforms have begun to offer automated root-cause suggestions, but their reliability is hard to assess, since real incidents rarely come with a known cause.

Existing failure‑attribution benchmarks, such as Who&When dataset (Zhang et al., ICML 2025) and TraceElephant (Chen et al., 2026), identify the responsible agent or step rather than the input content, and step‑level accuracy remains low. Context‑attribution methods such as AttnTrace (arXiv:2508.03793) are mostly evaluated on single injection attacks. This thesis builds a benchmark of executed agent traces with planted, verified causes and uses it to evaluate existing attribution methods.

Background and Problem Statement

AI Sweden leads LeakPro (github.com/aidotse/LeakPro), an open‑source tool for assessing data leakage from machine learning models and synthetic data. The LeakPro II consortium includes RISE, Sahlgrenska University Hospital, Recorded Future, Region Västmanland, Region Halland, AstraZeneca, Syndata and Scaleout.

Agents open a new leakage path: retrieved content, tool output or stale memory can steer an agent into disclosing data it should not. Benchmarks such as InjecAgent and AgentDojo measure whether such attacks succeed. An audit also needs the second question answered: after a disclosure, can its cause be traced?

Research question:

Given a recorded agent trace and an action, how accurately can current attribution methods identify the input segment or segments that caused it, and how does accuracy depend on cause type, number of interacting causes, trace length and sampling non‑determinism?

Outline
  • Literature study. Review how current methods find which step or input caused an agent to fail or misbehave.
  • Build a test set with known answers. Build a simple agent that searches documents, calls tools, and remembers past sessions. Its document store contains fake sensitive records. Plant an input that makes the agent leak one of them: a hidden instruction in a document, a false tool result, or an outdated memory. Confirm the planted input really causes the leak by running the agent many times with and without it. Because the cause is planted, the correct answer is known for every case. Include cases with two causes working together, and cases with no planted cause at all.
  • Test existing methods. Give each method the recorded agent run and ask which input caused the leak. Measure how often it finds the planted input, how much computation it needs, and how results change with longer runs and more random model behaviour.
Who we’re looking for
  • We are seeking a curious, independent, and self‑driven MSc student who wants to work at the absolute frontier of AI research.
  • Ongoing Master’s studies in Computer Science, Data Science, Engineering Physics, Complex Adaptive Systems, Machine Learning, or a related field.
  • Comfortable with Python and deep learning, as well as with the reality that an experiment might yield unexpected results.

At AI Sweden, we are committed to building diverse and inclusive teams. Some positions may be subject to export control regulations, which means that specific requirements may apply.

Why should you do your thesis with AI Sweden?

Doing your thesis at AI Sweden means working alongside leading AI scientists and change leaders. AI Sweden is Sweden’s National Center for AI, we drive research questions that have both a long shelf‑life and are widely applicable to Swedish industry and the public sector. We aim for publications at the most competitive venues and celebrate a culture of research excellence.

As an organization, we’re uniquely positioned at the sweet spot of governmental influence and startup agility. Small enough to stay adaptive and have fun but backed by and in close contact with both the government, academia and private and public sector.

Practical details

Location: Gothenburg (Hybrid). Remote work is fully supported for students based in Lund or Stockholm.

Application Deadline: 2026-10-25 (rolling selection – position may be filled earlier).

Start Date: January 2027

Contact

If you have any questions or thoughts, don’t hesitate to contact:

Fazeleh Hoseini, Research Scientist

AI Sweden does not accept unsolicited support and kindly ask not to be contacted by any advertisement agents, recruitment agencies or manning companies.

Hol dir deinen kostenlosen, vertraulichen Lebenslauf-Check.

oder ziehe deine Datei hierhin.

Similar jobs

Ähnliche Jobs, die dir auch gefallen könnten

Masters Thesis: An LLM Agent for Expert-Level Privacy Audits
Masters Thesis: An LLM Agent for Expert-Level Privacy Audits

AI • Göteborgs kommun

Hybrid
SEK 201.000 - 268.000
Hybrid work (Gothenburg)
Remote work for Lund/Stockholm
Master’s Thesis: Deconstructing Reasoning Traces in LLMs
Master’s Thesis: Deconstructing Reasoning Traces in LLMs

AI • Göteborgs kommun

Hybrid
SEK 201.000 - 268.000
Hybrid working mode
Access to substantial compute
Thesis: Tracing Input Causality in LLM Agents
Thesis: Tracing Input Causality in LLM Agents

AI Sweden • Göteborgs kommun

Hybrid
SEK 234.000 - 301.000
Hybrid work
Remote work from Lund/Stockholm
Master Thesis: Observability and Analytics for AI-Assisted Development
Master Thesis: Observability and Analytics for AI-Assisted Development

Ericsson • Lunds kommun

Vor Ort
SEK 223.000 - 290.000
Research Engineer in AI-driven Social Simulations
Research Engineer in AI-driven Social Simulations

Sveriges lantbruksuniversitet • Örebro kommun

Vor Ort
SEK 420.000 - 720.000
Master’s Thesis: Demystifying LLM Reasoning Traces
Master’s Thesis: Demystifying LLM Reasoning Traces

AI • Göteborgs kommun

Hybrid
SEK 201.000 - 268.000
Hybrid working mode
Access to substantial compute
Research Engineer in AI-driven Social Simulations
Research Engineer in AI-driven Social Simulations

SLU • Schweden

Vor Ort
SEK 400.000 - 600.000
Doctoral student in Intentional Monitoring of Agentic AI Software
Doctoral student in Intentional Monitoring of Agentic AI Software

Karlstad University • Göteborgs kommun

Vor Ort
SEK 350.875 - 420.280
Fully funded doctoral position
Teaching up to 20%
Planning, Decision-Making and Safety: Master Thesis Projects 2027, Cluster C
Planning, Decision-Making and Safety: Master Thesis Projects 2027, Cluster C

Zenseact • Lunds kommun

Vor Ort
SEK 246.000 - 312.000
MSc Thesis: LLM Agent for Expert Privacy Audits
MSc Thesis: LLM Agent for Expert Privacy Audits

AI • Göteborgs kommun

Hybrid
SEK 201.000 - 268.000
Hybrid work (Gothenburg)
Remote work for Lund/Stockholm