Philip Pham

Philip Pham

Google (United States) · Google DeepMind (United Kingdom)
6 previous affiliations
8Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Philip Pham focuses on the development of efficient neural architectures for natural language processing and the integration of fairness constraints into combinatorial optimization and clustering algorithms. His work primarily addresses the computational limitations of standard Transformer models, specifically the quadratic complexity of self-attention mechanisms, and seeks to enable the processing of long-range dependencies and structured data. Through collaborative research, he has contributed to the design of sparse attention mechanisms, the establishment of standardized benchmarks for efficient Transformers, and the creation of algorithms that balance objective optimization with demographic representation in hierarchical data partitioning.

Research Trajectory

Between 2020 and 2021, Pham’s research trajectory was defined by a concentrated effort to scale deep learning models to handle increasingly large and complex datasets. This work initially centered on the "efficiency" problem in Transformer models. Standard architectures, while effective for short sequences, face significant memory and computational bottlenecks as sequence lengths grow. Pham participated in several key projects that introduced alternative attention mechanisms to mitigate these issues.

In early 2020, this focus manifested in the development of the Extended Transformer Construction (ETC) framework. This work addressed the dual challenges of scaling input length and encoding structured data. By contributing to the design of a global-local attention mechanism, Pham helped demonstrate how models could maintain long-range context without the prohibitive cost of full self-attention. This period also saw his involvement in the development of Big Bird, which utilized a sparse attention mechanism to achieve linear scaling. This work was foundational in proving that sparse models could maintain the theoretical properties of their quadratic counterparts, such as being universal approximators and Turing complete.

As the field of efficient Transformers expanded rapidly, Pham’s work shifted toward the necessity of rigorous evaluation. He was part of the team that developed the Long Range Arena (LRA), a benchmark designed to provide a unified framework for assessing the quality and efficiency of various Transformer variants. This contribution addressed a critical gap in the literature, where inconsistent benchmarking had made it difficult to compare the relative merits of new architectures.

By 2021, Pham’s research expanded to include the intersection of algorithmic efficiency and social responsibility. He contributed to the study of Fair Hierarchical Clustering, extending fairness definitions—previously applied to flat clustering—to recursive partitioning. This work reflects a broader engagement with The Price of Fairness in Combinatorial Optimization, exploring how demographic balance can be maintained in large-scale data systems with minimal loss to the primary mathematical objective.

Current Directions

Pham’s recent work continues to explore the boundaries of how models assimilate information from massive, unstructured sources. A significant direction involves the use of external memory structures to assist in reading very large documents. By moving beyond simple attention modifications to more complex "read-summarize-read" workflows, this research attempts to bridge the gap between standard NLP tasks and knowledge-intensive applications like long-form question answering.

Parallel to these architectural improvements, Pham remains engaged with the theoretical aspects of The Computational Scaling of Algorithmic Fairness Constraints. This involves investigating Fairlet Decomposition for Group Representation in Clustering, a method that ensures demographic parity by pre-processing data into small, balanced sets before applying standard clustering algorithms. His work in this area suggests an interest in Tightening Approximation Guarantees for Combinatorial Optimization, ensuring that fairness-aware algorithms remain computationally viable and mathematically robust.

There is also evidence of interest in the nuances of data supervision, specifically Preserving Minority Perspectives in Human Label Aggregation. This direction questions the traditional "ground truth" approach to machine learning, suggesting that disagreement among human annotators should be treated as a signal rather than noise, particularly in tasks where subjective judgment is inherent.

Representative Work

In ETC: Encoding Long and Structured Data in Transformers, Pham contributed to an architecture designed to handle inputs significantly longer than the standard 512-token limit. The core contribution he participated in was the global-local attention mechanism, which allows a set of "global" tokens to attend to the entire sequence while regular tokens attend only to a local neighborhood. This approach, combined with relative position encodings, enabled the model to process structured inputs like graphs or long documents more effectively than vanilla Transformers.

Pham was also part of the large collaborative effort behind Big Bird: Transformers for Longer Sequences. This research introduced a sparse attention mechanism that combines window attention, random attention, and global attention to reduce the complexity of the model from quadratic to linear. Pham’s involvement supported the theoretical and empirical validation of Big Bird, showing that it could handle sequences up to eight times longer than previous models while maintaining performance on tasks like long-form summarization and question answering.

To address the lack of standardized evaluation in the field, Pham contributed to Long Range Arena: A Benchmark for Efficient Transformers. This benchmark consists of a suite of tasks—ranging from listops to image processing—specifically designed to test a model's ability to capture long-distance dependencies. By providing a consistent set of metrics and datasets, this work helped the research community move toward more transparent and comparable reporting of model performance.

In the domain of document processing, Pham participated in the development of ReadTwice: Reading Very Large Documents with Memories. This paper proposes a method for processing extremely long inputs, such as entire books, by reading text in small segments and summarizing them into a "memory table." This table is then used in a second pass to provide context for answering complex questions. The method achieved state-of-the-art results on the NarrativeQA dataset, demonstrating the efficacy of memory-based approaches for long-range dependency modeling.

Finally, Pham’s work on Fair Hierarchical Clustering represents his contribution to algorithmic ethics. In this research, he and his collaborators developed algorithms to ensure that hierarchical partitions of data do not result in the over-representation or exclusion of specific demographic groups. The study provides efficient algorithms with provable approximation guarantees, showing that fairness can be integrated into complex optimization problems like Iterative Local Search for Combinatorial Optimization without significantly degrading the quality of the clustering objective.

Profile updated

See something wrong? Report a mistake