Telmo Pires
· 4 previous affiliations
- Apple (United States)Since 2020
- Researcher · Since 2020
- Google (United States)2018–2020
- Researcher · 2018–2020
- Unbabel2017–2018
- Researcher · 2017–2018
- Instituto Superior Técnico2016–2018
- Researcher · 2016–2018
Research Overview
Telmo Pires works on natural language processing, with a primary focus on multilingual representation learning, neural machine translation (NMT) architectures, and the adaptation of large language models (LLMs) to specialized professional domains. His research explores the structural and training requirements for models to generalize across languages and technical registers, moving from probing the cross-lingual capabilities of early transformer models to developing large-scale, domain-specific models for the legal sector. His recent work emphasizes the development of Progressive Domain Adaptation via Multi-Stage Fine-Tuning to bridge the gap between general-purpose reasoning and professional expertise.
Research Trajectory
The trajectory of Pires’s work reflects a shift from understanding the internal mechanics of multilingual models to optimizing and scaling models for specific industrial applications. In 2019, his research focused on the emergent properties of multilingual encoders. By probing Multilingual BERT (M-BERT), he investigated how models trained on monolingual corpora in over 100 languages could achieve zero-shot cross-lingual transfer. This work established that such models could find translation pairs and transfer task-specific knowledge between typologically similar languages, even when those languages utilized different scripts.
Between 2022 and 2023, Pires’s focus transitioned toward the architectural constraints of machine translation and the efficiency of the Transformer model. During this period, he examined the limitations of non-autoregressive translation methods and alternative sequence modeling architectures. A significant portion of this work involved testing the boundaries of the Transformer’s components, specifically the Feed Forward Network (FFN) and the attention mechanism. He contributed to findings that suggested the FFN in decoders is often redundant and can be shared or scaled differently to optimize parameter usage without significant loss in accuracy.
Furthermore, Pires investigated the viability of Structured State Space (S4) models as linear-time alternatives to Transformers. His research in this area identified a critical performance gap in machine translation tasks, where the fixed-size hidden state of S4 models created a bottleneck for long-sequence processing. By demonstrating that the reintroduction of cross-attention could close this gap, his work reinforced the fundamental necessity of attention mechanisms for complex translation tasks, even as more efficient sequence modelers emerged.
Since 2024, Pires has concentrated on Language Model Adaptation for Specialized Professional Registers. This phase of his research addresses the "last mile" problem in LLM utility, where general-purpose models often fail to meet the rigorous formatting and technical accuracy requirements of fields like law. This work utilizes Continual Pretraining for Domain Adaptation, applying massive, domain-specific corpora to pre-existing models to instill specialized linguistic and procedural knowledge.
Current Directions
Pires’s current research is centered on the SaulLM project, a series of large language models specifically adapted for the legal domain. This work involves a multi-stage pipeline that includes continued pretraining on hundreds of billions of tokens of legal text, followed by specialized instruction tuning and preference alignment. The goal of this direction is to move beyond general-purpose "average" human knowledge and create models capable of high-fidelity legal text comprehension and generation.
This research also explores the scaling laws of domain adaptation. By moving from 7-billion-parameter models to massive-scale 141-billion-parameter models, Pires and his collaborators are investigating how model size interacts with specialized training data to outperform general-purpose models like GPT-4 on legal-specific benchmarks. This work represents a shift toward highly targeted, high-capacity models designed for specific professional sectors.
Representative Work
How Multilingual is Multilingual BERT? As first author, Pires provided an early and influential analysis of M-BERT’s zero-shot cross-lingual transfer capabilities. The study utilized probing experiments to show that the model could generalize across languages with different scripts and typologies. The findings suggested that the model’s ability to find translation pairs and handle code-switching was a result of its deep contextual representations rather than explicit cross-lingual signals during training.
State Spaces Aren't Enough: Machine Translation Needs Attention In this first-author paper, Pires evaluated the efficacy of Structured State Space (S4) models in the context of machine translation. The research identified that while S4 models offer linear-time efficiency, they suffer from a severe bottleneck in translating long sentences due to their fixed-size hidden states. The paper demonstrated that reintroducing cross-attention is essential for maintaining translation quality, effectively arguing that attention remains a core requirement for sequence-to-sequence tasks despite the rise of alternative architectures.
SaulLM-7B: A pioneering Large Language Model for Law As first author, Pires led the development of the first open-source 7-billion-parameter LLM designed specifically for the legal sector. This work established a baseline for legal domain adaptation, utilizing a 30-billion-token legal corpus for continued pretraining. The model demonstrated state-of-the-art performance for its size in legal text comprehension, highlighting the effectiveness of targeted instruction tuning in professional registers.
SaulLM-54B & SaulLM-141B: Scaling Up Domain Adaptation for the Legal Domain In this second-author paper, Pires contributed to the scaling of legal-specific LLMs to massive sizes. The research detailed a three-stage adaptation pipeline—continued pretraining on over 500 billion tokens, specialized instruction tuning, and preference alignment. These models achieved significant performance gains on the LegalBench-Instruct suite, notably outperforming much larger general-purpose models.
Non-Autoregressive Neural Machine Translation: A Call for Clarity As second author, Pires contributed to a methodological critique of non-autoregressive neural machine translation (NAT). The work addressed the complexities and potential inconsistencies in how NAT models are evaluated and compared to their autoregressive counterparts, advocating for more rigorous and transparent standards in the field of efficient translation.
One Wide Feedforward Is All You Need This work explores the structural redundancy of the Feed Forward Network (FFN) within the Transformer architecture. The research demonstrated that the number of parameters could be substantially reduced by removing FFNs from decoder layers and sharing a single FFN across the encoder, with only a modest impact on accuracy. This contribution provides a pathway for more parameter-efficient model designs.
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