NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions
Joao Monteiro

Joao Monteiro

Apple (United States)
9 previous affiliations
44Machine learning papers tracked by Lacuna

1 other author named Joao Monteiro: João Monteiro (1 paper)

Is this you?

Research Overview

Joao Monteiro focuses on the reliability and efficiency of machine learning systems, with specific emphasis on out-of-distribution detection and large language model optimization. His trajectory spans from developing robust representations for anomaly detection to designing memory-efficient architectures for transformer models. His current work investigates scalable inference techniques and rigorous evaluation methodologies for language models.

Research Trajectory

Monteiro’s early research concentrated on the safety and reliability of neural networks, particularly addressing how models handle unexpected inputs and adversarial perturbations. A major focus of this period was the research direction of Self-Supervised Representations for Out-of-Distribution Detection. To systematically evaluate model vulnerabilities, his group developed Expecting The Unexpected: Towards Broad Out-Of-Distribution Detection, which categorized distinct types of distribution shifts and introduced the BROAD benchmark to test the limits of existing detection methods.

To actively mitigate these vulnerabilities, Monteiro introduced Constraining Representations Yields Models That Know What They Don't Know. This work proposed Total Activation Classifiers (TAC), a method that assigns random binary "class codes" to target categories and constrains the network's internal activation patterns to match them. By measuring deviations from these codes, the model generates reliable confidence scores that help identify out-of-distribution data and errors. Expanding on these themes, his team also developed CADet: Fully Self-Supervised Out-Of-Distribution Detection With Contrastive Learning. CADet pairs self-supervised contrastive learning with maximum mean discrepancy (MMD) two-sample testing to simultaneously detect unseen classes and adversarial perturbations, contributing to the broader area of Robustness Against Adaptive White-Box Adversaries.

As large language models (LLMs) became central to machine learning, Monteiro’s focus shifted toward the computational bottlenecks and evaluation challenges inherent in these systems. Addressing the severe memory constraints of in-context learning, he led the development of XC-Cache: Cross-Attending to Cached Context for Efficient LLM Inference. By transforming decoder-only LLMs into an encoder-decoder hybrid that uses cross-attention rather than standard prompting, XC-Cache drastically reduces the memory footprint of cached context while maintaining high performance on complex question-answering tasks.

Parallel to his work on architectural efficiency, Monteiro addressed the critical issue of test data contamination in LLM benchmarks. He introduced RepLiQA: A Question-Answering Dataset for Benchmarking LLMs on Unseen Reference Content, a dataset comprising test splits that were intentionally withheld from the internet to prevent leakage into training corpora. This work provides a more rigorous framework for assessing model capabilities, aligning with the research direction of Shifting from Static Benchmarks to Dynamic Evaluation.

Most recently, Monteiro has continued to push the boundaries of transformer efficiency and retrieval mechanisms. His group proposed Stochastic KV Routing: Enabling Adaptive Depth-Wise Cache Sharing, which introduces Random Cross-Layer Attention (R-CLA) to allow models to share Key-Value cache states across layers, further reducing memory overhead. He has also collaborated on research exploring the division of labor in smaller architectures, such as LaCy: What Small Language Models Can and Should Learn into Limited Parametric Memory, which investigates which tokens a small language model should memorize during pretraining versus which it should delegate to external sources via a specialized call token. Additionally, he contributed to Amortized Maximum Inner Product Search with Learned Support Functions, a novel approach that replaces traditional indexing structures with neural networks trained to directly predict retrieval results, accelerating large-scale search operations.

Current Directions

The most recent papers in the evidence indicate a sustained focus on the scalability and practical deployment of large language models. A primary theme is the optimization of transformer memory architectures, specifically through advanced Key-Value cache sharing techniques that alleviate the "memory wall" during inference. Concurrently, current work investigates the fundamental limits of parametric memory in smaller language models, exploring principled methods for models to recognize their capacity constraints and dynamically route queries to external knowledge bases. Finally, ongoing research addresses the underlying retrieval mechanisms that support these external queries, utilizing learned support functions to accelerate maximum inner product search for high-dimensional data.

Profile updated

See something wrong? Report a mistake