Prof. Elena Marchetti
Associate Professor of Computational Linguistics — ETH Zurich
My research sits at the intersection of formal semantics and large language models. I'm interested in what happens when we try to make statistical systems respect logical constraints — and what breaks when we don't.
Before ETH, I was at the University of Edinburgh (2016–2022) and did a postdoc at INRIA Paris. I teach two courses per semester and supervise 4–6 PhD students.
Teaching
CS-401 — Natural Language Understanding (Fall), CS-612 — Formal Methods for NLP (Spring), CS-701 — PhD Seminar: Language and Logic
Selected Publications
'Compositional Generalization in Transformer Architectures' — ACL 2025, 'Logical Consistency in Few-Shot Prompting' — EMNLP 2024, 'Grounding Formal Semantics in Neural Representations' — TACL 2023
Office Hours
Thursdays 14:00–16:00, CAB G 52.2 (or by appointment)
<div style="background:#fafaf9;color:#1a1a1a;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif">
<div style="max-width:700px;margin:0 auto;padding:100px 32px 80px">
<h1 style="font-size:1.4rem;font-weight:600;margin-bottom:4px">{{name:string}}</h1>
<p style="font-size:0.85rem;color:#888;margin-bottom:40px">{{title:string}}</p>
<div style="font-size:0.95rem;line-height:1.85;color:#555;margin-bottom:48px">{{bio:text}}</div>
<div style="border-top:1px solid #eee;padding-top:28px;margin-bottom:36px">
<h2 style="font-size:0.6rem;text-transform:uppercase;letter-spacing:0.2em;color:#999;margin-bottom:14px">Teaching</h2>
<p style="font-size:0.88rem;line-height:2.2;color:#333">{{courses:list}}</p>
</div>
<div style="border-top:1px solid #eee;padding-top:28px;margin-bottom:36px">
<h2 style="font-size:0.6rem;text-transform:uppercase;letter-spacing:0.2em;color:#999;margin-bottom:14px">Selected Publications</h2>
<p style="font-size:0.85rem;line-height:2.2;color:#555;font-style:italic">{{publications:list}}</p>
</div>
<div style="border-top:1px solid #eee;padding-top:28px;margin-bottom:36px">
<h2 style="font-size:0.6rem;text-transform:uppercase;letter-spacing:0.2em;color:#999;margin-bottom:14px">Office Hours</h2>
<p style="font-size:0.88rem;color:#333">{{office_hours:string}}</p>
</div>
<div style="border-top:1px solid #eee;padding-top:24px;display:flex;gap:24px">
<a href="mailto:{{email:email}}" style="font-size:0.82rem;color:#1a1a1a;text-decoration:none;border-bottom:1px solid #ccc;padding-bottom:2px">{{email:email}}</a>
<a style="font-size:0.82rem;color:#888;text-decoration:none">Full Profile</a>
</div>
</div>
</div>