Posts by Collection

journal

[5] A Partial Unique Index Broke ON CONFLICT Arbiter Inference

Every insert failed with ‘no unique or exclusion constraint matching the ON CONFLICT specification’ — against a column that demonstrably had a unique index on it. ON CONFLICT does arbiter inference, and a partial index only qualifies if the statement’s own predicate implies the index’s.

[16] A Method Name Collision Broke Requests on the Async Path Only

An async client call raised TypeError about unexpected arguments, only on the async path. A subclass had defined a method with the exact same name as a base-class transport method but a completely different signature, and a type: ignore comment was sitting right on top of it.

[8] An Unblinded LLM Judge Biased a Benchmark’s Accuracy Comparison

A benchmark’s judge prompt labelled one answer as coming from the treated arm and printed the exact compression ratio applied to it. A judge primed to expect degradation will find it — and small differences between configurations turned out to be smaller than the judge’s own noise floor.

[12] An asyncio.Lock Bound to the Wrong Event Loop Caused Production Hangs

A repository client’s internal lock worked fine in isolated tests and deadlocked or raised confusingly under a real application’s request lifecycle. It had been created once, at object construction, capturing whatever event loop happened to be running at that moment — not the one that would later serve requests.

[1] JSON Re-Serialization Silently Broke Prompt-Cache Prefix Matching

Prompt-cache hit rates collapsed on any request that passed through one code path, with no error and no log line. Parsing the request into a generic map, appending a message, and re-serializing produced byte-for-byte different output from byte-for-byte identical meaning — and a prefix cache only cares about bytes.

publications

Cmprsr: Abstractive Token-Level Question-Agnostic Prompt Compressor

Published in arXiv preprint — under review at ACL 2026, 2025

Co-author. A prompt compressor that does not need to know the question in advance, so one compressed prompt can serve whatever gets asked of it afterwards. Trained with supervised fine-tuning and preference optimisation, it beats LLMLingua-2 on maths reasoning, summarisation and multiple-choice QA at matched token budgets.

Download Paper

Generative Approaches to Kinetic Parameter Inference in Metabolic Networks via Latent Space Exploration

Published in Nature Communications, 2026

Co-author, published in Nature Communications. We introduce a generative framework for constructing large-scale kinetic metabolic models through latent space exploration. By repurposing pretrained neural network generators across different physiological contexts, our method enables efficient and interpretable inference of kinetic parameters, facilitating targeted model design for diverse metabolic behaviors.

Download Paper

research_projects

Kinetic Parameter Inference in Metabolic Networks via Latent Space Exploration

1 minute read

Published:

We present a novel framework to interpret and control the latent spaces of generative neural network models for kinetic metabolic modeling. By perturbing structured latent spaces learned via REKINDLE or RENAISSANCE, our method generates new dynamic models with targeted properties such as specific response times, regulatory bottlenecks, or alternative physiologies, unlocking deeper insight and reusability across metabolic contexts.

Download Paper

Evaluating LLM Context Compression: Benchmarks, Agents, and Noise

3 minute read

Published:

How do you tell whether compressing an LLM’s context actually cost you anything? At Compresr I built the evaluation programme that answers that: 12 long-context suites, a sandboxed harness for running coding agents under compression, a 200-task assistant-agent benchmark, and — the part that changed how we read all of it — a measurement of our own judging noise.

GRAD: Generative Retrieval-Aligned Demonstration Sampler for Efficient Few-Shot Reasoning

1 minute read

Published:

Conducted at EPFL dlab with Prof. Robert West; first author (equal contribution), published in Findings of EMNLP 2025. We propose GRAD, a dynamic demonstration-based approach where an LLM model is trained to generate input-specific concise demonstrations. By tailoring demonstrations to each input, our method offers better contextual support than traditional RAG approaches.

Download Paper

GemmaEdu: Enhancing Scientific Learning via Fine-Tuned Language Models and RAG

1 minute read

We developed an educational chatbot built on the quantized Gemma 2 7B model, optimized with Direct Preference Optimization (DPO) and enhanced with Retrieval-Augmented Generation (RAG). By leveraging fine-tuning on student-generated preference data and incorporating relevant external documents, our system significantly improves accuracy in answering STEM multiple-choice questions, outperforming baseline models like Mistral and Llama2.

Download Report

From Novice to Expert: Dimensionality Reduction and Policy Distillation in Reinforcement Learning for Motor Control

2 minute read

This project investigates how to accelerate motor skill acquisition in reinforcement learning using curriculum-based learning, dimensionality reduction, and policy distillation. Using the Myosuite Baoding balls task, we explore how expert policies can be transferred to novice agents via PCA-reduced feature and action spaces, offering an efficient alternative to prolonged training times.

Download Report

Learning-Based Multi-Robot Lane Navigation: Scalable Trajectory Prediction using Neural Networks

1 minute read

This project was conducted at DISAL, EPFL. We explore trajectory generation for multi-robot navigation using neural networks. We propose a scalable alternative to Webots simulation by training models using graph neural network, reinforcement and imitation learning. The final approach produces accurate trajectories in a lane-based environment, balancing precision and efficiency in robotic control.

Download Report

work

Co-founder & CTO — Compresr Inc. (YC W26)

I co-founded Compresr out of EPFL’s dlab to build context-compression infrastructure for LLMs. We were taken into Y Combinator W26. I am the infrastructure engineer on a four-person team: the multi-tenant cloud platform, the on-premise product, an open-source Go proxy, the GPU serving layer, and the benchmark harness we make decisions with.

Research Assistant — Data Science Lab (dlab), EPFL

A year of NLP research with Prof. Robert West on making language models behave under tight context budgets. First-authored GRAD (EMNLP 2025 Findings), where an LLM is trained with GRPO to generate few-shot demonstrations instead of retrieving them, and designed the prompt-compression benchmark programme that became the basis for an ACL submission and, later, a product.

AI Research Intern — AXA Group Operations

I led applied research and prototyping efforts in multimodal AI, focusing on cross-modal representation learning, graph-based embeddings, and neural search systems. I developed scalable pipelines to generate scene graphs from satellite imagery and knowledge graphs from textual data, and to align their graph embeddings in a shared representation space.

Machine Learning Intern - Pixalione

Developed a machine learning pipeline to forecast daily ad spend on Google Ads based on client-specific campaign data. Deployed a web backend for dynamic budget strategy adjustment, automated alerts, and integration with Azure Cloud infrastructure.

Student Assistant — EPFL

During my studies, I served as a teaching assistant for multiple courses, assisting in lectures, labs, and tutorials