# David Zollikofer > PhD student in the AI & Economics Lab at ETH Zürich and Head of Research & Technology at DDMind. Principal–agent theory for AI agents: delegation, incentives, and verification. I use principal–agent theory to study AI agents and multi-agent systems: what happens when we delegate work to agents whose actions we can only partly observe, how incentives shape what they end up optimizing, and when checking their work is cheap enough to make delegation worthwhile. My methods come from machine learning, microeconomic theory, and econometrics. Open to collaborations and to supervising semester and master's theses. [How I like to work](https://www.davidrzs.com/email-policy-and-interacting-with-me/). Roles: PhD Student in the AI & Economics Lab (https://ai-econ-lab.org/) at ETH Zürich; Head of Research & Technology at DDMind (https://www.ddmind.ai/). Profiles: https://github.com/davidrzs/, https://www.linkedin.com/in/davidrzs/, https://x.com/david_rzs. Every page on this site is also available as Markdown at its URL plus `index.md` (for example https://www.davidrzs.com/index.md). The links below point to those Markdown versions where they exist. ## About - [Homepage](https://www.davidrzs.com/index.md): short bio, news, selected publications, recent writing - [Interacting with me & Availability](https://www.davidrzs.com/email-policy-and-interacting-with-me/index.md): how to reach me, what I respond to, how I work with collaborators and students ## Publications - [Read the Paper, Write the Code: Agentic Reproduction of Social-Science Results](https://aclanthology.org/2026.emnlp-main.433.pdf): EMNLP 2026, 2026. With Benjamin Kohler, Johanna Einsiedler, Alexander Hoyle, Elliott Ash. We investigate whether LLM agents can reproduce social-science findings from methods descriptions and original data. Our system extracts the methods, has agents write analysis code without access to the original code or results, and compares their outputs with published findings. Across 48 papers, agents recover many results, while errors reveal both limitations of the agents and missing details in the papers' methods. - [Novel Ion Suppression-Based MS Approach (IS-MS) for Straightforward, Robust, and Rapid Identification and/or Differentiation of Liquid Samples: Wine as a Case Study](https://doi.org/10.1021/acs.analchem.6c01501): Analytical Chemistry, 2026. With Maria Bikaki, Lu Hostettler, Matthias Kleiner, Götz Schlotterbeck, Markus Ehrat. We developed a method for authenticating liquid samples using the distinctive patterns that ion suppression produces in mass spectrometry. Using wine as a case study, we combined these fingerprints with statistical analysis to distinguish wines by vintage, origin, and producer, with measurements taking about one minute per sample. - [Beyond Pairwise Correlations: Higher-Order Redundancies in Self-Supervised Representation Learning](https://arxiv.org/pdf/2412.01926): arXiv preprint, 2024. With Béni Egressy, Frederik Benzing, Matthias Otth, Roger Wattenhofer. We investigated redundancy patterns in self-supervised learning, going beyond simple correlations to measure and reduce more complex dependencies. Our work introduces SSLPM, a novel approach where neural networks compete to minimize predictable patterns, providing new insights into the role of redundancies in self supervised learning. - [Synthetic Cancer - Augmenting Worms with LLMs](https://www.davidrzs.com/downloads/AI_Safety_Challenge___Synthetic_Cancer___Omitted.pdf): Swiss AI Safety Prize, first prize, 2024. With Benjamin Zimmerman. Our submission presents a novel malware approach that enhances worms with Large Language Models (LLMs). The proposed metamorphic malware utilizes LLMs for code rewriting and targeted spreading through social engineering. - [Towards a Deeper Understanding of Semantic Comprehension in Language Models Paired with Semantic Graphs](https://www.davidrzs.com/downloads/semantic_graphs_paper.pdf): With Matthias Kleiner, Ahmet Özüdogru. We extend previous work by (Wu et al., 2021) who proposed infusing additional semantic information in the form of DM graphs into graph neural networks stacked on top of language models into models for language tasks. We present a detailed ablation study on semantic understanding in these models and extend them using AMR graphs. ## Blog posts - [Building an Order Book from Scratch](https://www.davidrzs.com/blog/building-an-order-book-from-scratch/index.md): 2026-01-25. I’ve read about market microstructure for years — spreads, adverse selection, market making — but never built any of it. I wanted to see how far I could get using Claude Code as a Socratic tutor. The answer: further than I expected. - [On Organizing My Thoughts and Research](https://www.davidrzs.com/blog/on-organizing-my-thoughts-and-research/index.md): 2025-12-29. I am a messy person. Always have been. My desk is chaos, my browser has 80+ tabs, and for years my digital notes were scattered across tools I’d forget I even used. This post is about how I finally stopped fighting that and found something that works. Not a productivity guru revelation — just what happened when I stopped tool-hopping and got honest about what I actually need. - [Moving from Machine Learning (ML) to the Intersection of Economics and ML](https://www.davidrzs.com/blog/moving-from-machine-learning-ml-to-the-intersection-of-economics-and-ml/index.md): 2025-12-27. In the last few months, at least 8 people have asked me in surprise why I moved from pure machine learning into economics. Their reasoning was along the lines of why when AI is booming I am sidestepping and pivoting to something else. - [Moving from a Synology DS218j to a DS423](https://www.davidrzs.com/blog/moving-from-a-synology-ds218j-to-a-ds423/index.md): 2025-03-20. My old NAS that I use for backups and store machine learning datasets I seldom use was becoming frustratingly slow. As a result I swapped out my Synology DS218j (with two 4TB WD Red drives), for a new DS423 with a third 4TB WD Red drive. As I am curious on the real world performance impact I sougth out to benchmark the two set-ups: - [Current Personal Cloud Storage Offerings are not Competitive](https://www.davidrzs.com/blog/current-personal-cloud-storage-offerings-are-not-competitive/index.md): 2024-07-15. As someone who relies on multiple computers, I appreciate the convenience that personal cloud storage providers offer. However, I’m surprised by how uncompetitive the current offerings are. Dissatisfied with my Dropbox subscription, I started exploring alternatives and realized this issue is prevalent across the board. I am writing this in hopes that someone who has solved this problem can give me some pointers. - [Comments on the "Synthetic Cancer - Augmenting Worms with LLMs" Paper](https://www.davidrzs.com/blog/comments-on-the-synthetic-cancer-augmenting-worms-with-llms-paper/index.md): 2024-02-27. About a week ago, Benjamin Zimmerman and I have released the “Synthetic Cancer - Augmenting Worms with LLMs” paper for which we have won the first place at the AI Safety Prize. Throughout the SCSD conference where we presented our work we have been asked a few questions by fellow researchers, journalists as well as the informed public. As a result I wanted to use this space to write down some of my thoughts. - [Moving from the X1 Carbon 9th Gen running Fedora to a Macbook Pro 14 with M2 Pro](https://www.davidrzs.com/blog/moving-from-the-x1-carbon-9th-gen-running-fedora-to-a-macbook-pro-14-with-m2-pro/index.md): 2024-01-11. As I will be going to the US for a few months this year, I knew I would not be able to take a huge Desktop PC with me. Hence, I started researching for solutions. The MacBook Pro 14 with M2 Pro seemed like a good fit. It is a very powerful machine with great battery life, and given that the successor with the M3 Pro is already out, it was possible to get a good deal on the M2 Pro. - [Climate Tracker with Ruuvi Tag](https://www.davidrzs.com/blog/climate-tracker-with-ruuvi-tag/index.md): 2023-08-21. As there is currently a heatwave rolling over Switzerland, I wanted to get detailed information on temperature and humidity. While researching some solutions to automatically record these values for multiple places wirelessly, I came across Ruuvi Tags. In the following tutorial I will outline the steps needed to create a Raspberry Pi based temperature, humidity, and air pressure recorder including a nice graphical front-end. There are already plenty of similar tutorials online but most are either incomplete or a few years old (i.e. following them will get you stuck at some point), hence I wanted to document my journey with the Ruuvi Tags. - [Some Thoughts on the X1 Carbon 9th Gen with Linux](https://www.davidrzs.com/blog/some-thoughts-on-the-x1-carbon-9th-gen-with-linux/index.md): 2023-02-22. I used to have a Dell XPS 13 developer edition with a 4k screen. I was utterly disappointed with the 3-4h battery life and the weight of the laptop, hence once I saw a good offer for a used Lenovo X1 9th Gen, I couldn’t resist. - [Sane Explanation of Change of Bases](https://www.davidrzs.com/blog/sane-explanation-of-change-of-bases/index.md): 2020-02-20. The following is an explanation how changes of bases work in vector spaces with a focus on building intuition. - [Implementing a Semaphore in Java](https://www.davidrzs.com/blog/implementing-a-semaphore-in-java/index.md): 2019-04-27. Today we will take a glimpse at semaphores and have a look at an implementation based on locks. What is a semaphore? A semaphore is basically a lock that allows multiple processes to enter a critical section at the same time. As an example one could see car park barriers as semaphores. If a car park has 100 lots, the barrier will only allow 100 cars into the car park at the same time. After a car has left, we expect the barrier to allow a new car in. - [Implementation of Sorting Algorithms in Java](https://www.davidrzs.com/blog/implementation-of-sorting-algorithms-in-java/index.md): 2019-02-05. This document is a list of common sorting algorithms and their implementations in Java. The algorithms have been written by myself. I have tested them with the JUnit tests you can find at the end of this article, however, I do not guarantee that the implementations are 100% correct. Feel free to comment below or write me an email if you find a mistake. - [A short proof of Cantor's theorem](https://www.davidrzs.com/blog/a-short-proof-of-cantors-theorem/index.md): 2018-10-31. Cantor’s theorem states that for any set \(S\) we have \(S \preceq \mathcal{P}(S)\) and \(S \nsim \mathcal{P}(S)\). In words this means that the cardinality of \(\mathcal{P}(S)\) is strictly bigger than the cardinality of \(S\). Unlike some of my other posts, this one is strictly mathematical. - [Writing a Sudoku Solver in Python](https://www.davidrzs.com/blog/writing-a-sudoku-solver-in-python/index.md): 2018-09-02. Pretty much every free newspaper you find comes with a sudoku puzzle. Depending on the difficulty it might take you a considerable amount of time to solve them. As a result I wanted to write an algorithm which could do that for me within seconds. - [Building an API based temperature sensor](https://www.davidrzs.com/blog/building-an-api-based-temperature-sensor/index.md): 2018-08-15. The goal of this short summary is to explain how you can build a small API based temperature sensor that costs less than 10$ and can be used anywhere. I use this sensor at my office to log the temperature and then display it on a smart dashboard. - [Automating Cross Compiling Go Programs on Linux](https://www.davidrzs.com/blog/automating-cross-compiling-go-programs-on-linux/index.md): 2018-07-02. Programs written in Go can be compiled for a variety of different targets. Cross compiling is easy, but takes a lot of effort. In order to automate cross compilation the following Ruby script is built to take that burden off you. ## Projects - [Tractanda](https://www.tractanda.ch/): Open source, 2026-now. An open archive of the decisions of Swiss municipalities, with a JSON API and an MCP server. - [ddmind](https://www.ddmind.ai/): Venture, 2024-now. Software that checks the claims in due-diligence decks and memos against their sources, inside Word and PowerPoint. - [Genuine-Analytics](https://www.genuine-analytics.com/): Industry, 2022-2025. Building software for ion-suppression LC-MS. - [LaTeX CSS](https://github.com/davidrzs/latexcss): Open source, 2017-2023. Nearly classless CSS file to give HTML a LaTeX-like look. ## Teaching - [Algorithms and Data Structures ETH Zürich Fall 2021](https://www.davidrzs.com/teaching/algorithms-and-data-structures-eth-z%C3%BCrich-fall-2021/index.md) ## Optional - [Publications & Materials](https://www.davidrzs.com/materials-and-publications/index.md): full publication list with links, plus summaries and cheatsheets from ETH Zürich courses - [Blog RSS feed (full text)](https://www.davidrzs.com/blog/index.xml)