Guillem Ramírez
4 previous affiliations
- University of Edinburgh2020–2026
- PhD student in NLP · 2022–2026
- Research assistant in NLP · 2021–2022
- MSc in Artificial Intelligence, Ingeniería informática · 2020–2021
- Algomo2022
- Intern in Machine Learning/NLP · 2022
- Quside Technologies (Spain)2019
- Summer Intern · 2019
- Basetis2018
- Project Intern · 2018
Research Overview
Guillem Ramírez focuses on unsupervised cross-lingual learning, large language model optimization, and uncertainty estimation. His early work explored the alignment of embedding spaces across languages using optimal transport techniques. More recently, his research addresses the efficient deployment of generative AI by leveraging uncertainty-based routing and neural caching to optimize API calls to large language models.
Research Trajectory
In 2020, Ramírez investigated unsupervised cross-lingual learning (UCL), a methodology for aligning monolingual word embeddings across languages without relying on parallel data. He analyzed popular UCL methods and introduced a novel application of Wasserstein-Procrustes to improve these alignments. This work contributed to the research direction of Structural Divergence in Cross-Lingual Embedding Spaces and the broader area of Cross Lingual Alignment of Dynamic Word Representations. By addressing the mathematical formulations underlying these embedding alignments, his research also touched upon areas such as Scaling Optimal Transport for Massive Datasets and Spectral Initialization for Nonconvex Optimization. The findings and methodological improvements were detailed in On a Novel Application of Wasserstein-Procrustes for Unsupervised Cross-Lingual Learning.
Shifting focus toward the efficient deployment of generative AI, Ramírez began exploring how to reduce the reliance on costly API calls to large language models (LLMs). In 2023, he developed a "neural caching" framework where a smaller student model is continuously trained on the responses of a larger LLM. A critical component of this system is the routing policy that determines whether a user query should be handled by the student or redirected to the LLM. This approach, presented in Cache & Distil: Optimising API Calls to Large Language Models, intersects with the research direction of Learning in Non-Stationary Data Streams, as the student model must adapt over time. It also relates to the area of Semantic Uncertainty and Calibration for Large Language Models for determining when the student model is capable of answering independently.
Building on this optimization paradigm, his subsequent research refined the routing mechanisms between smaller and larger models. In 2024, he introduced "Margin Sampling," a streamlined method that leverages the predictive uncertainty of a smaller LLM to dictate when a query must be escalated to a larger model. Detailed in Optimising Calls to Large Language Models with Uncertainty-Based Two-Tier Selection, this uncertainty-based two-tier selection demonstrated that complex auxiliary models are not strictly necessary for balancing computational cost and performance.
Current Directions
The most recent papers in the evidence address the practical challenges of deploying large language models at scale. Recent work investigates uncertainty estimation as a primary signal for model routing, aiming to balance inference costs with response quality. By utilizing the internal confidence metrics of smaller language models, Ramírez's current focus centers on creating accessible, two-tier selection systems that minimize expensive API calls without sacrificing the performance capabilities of state-of-the-art generative models.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake