Peter Shaw
· 3 previous affiliations
- Google (United States)Since 2015
- Research Scientist · Since 2015
- Current
- Villanova University2009–2011
- MS student · 2009–2011
Research Overview
Peter Shaw focuses on compositional generalization in neural sequence models, multimodal reasoning for user interfaces, and the theoretical foundations of deep learning. His early trajectory explored relative position representations and semantic parsing for structured query understanding. Currently, his research investigates algorithmic compression, reasoning frameworks, and the evaluation of autonomous web agents.
Research Trajectory
Shaw’s early research addressed the fundamental architecture of sequence models and their application to structured data. In Self-Attention with Relative Position Representations, he developed an extension to the self-attention mechanism that allows models to efficiently encode distances between sequence elements. Rather than relying on absolute position encodings, this approach modifies the architecture to explicitly model relative positions, improving translation performance and establishing a foundational technique for context window extension and positional information in permutation-invariant models. Following his applied work developing structured query understanding systems for Google Search, he investigated cross-schema generalization for natural language database interfaces. This led to Generating Logical Forms from Graph Representations of Text and Entities, which explored edge-conditioned attention mechanisms for heterogeneous graphs to improve factual text generation and logical form parsing.
A major theme in his subsequent work is compositional generalization for neural semantic parsing. Neural networks often struggle to interpret novel combinations of familiar concepts, a critical bottleneck in natural language understanding. To address this, Shaw investigated structural generalization for deeply nested sequences. In Learning to Generalize Compositionally by Transferring Across Semantic Parsing Tasks, he demonstrated how strategically training representations on pre-finetuning tasks can simulate domain shifts via episodic meta-learning. By aligning the training of task-specific layers with expected compositional challenges, the method significantly improved performance on mismatched data splits across multiple semantic parsing datasets. He further expanded on systematic generalization in Compositional Generalization and Natural Language Variation: Can a Semantic Parsing Approach Handle Both?, introducing hybrid approaches that combine grammar-based constraints with pre-trained language models. This work sought to bridge the gap between handling natural language variation and enforcing strict compositional rules for syntactically valid generation.
Transitioning toward multimodal reasoning, Shaw began treating complex visual layouts—such as documents and mobile interfaces—as raw pixels rather than relying on domain-specific heuristics like external optical character recognition (OCR) or structural metadata. This shift is exemplified by Pix2Struct: Screenshot Parsing as Pretraining for Visual Language Understanding, a vision-language model that learns to parse masked web page screenshots into simplified HTML. By predicting structured text directly from visual inputs, this contribution advanced the research direction of Native Resolution Encoding for Vision-Language Models and the area of Aspect Ratio Preserving Vision for Document Understanding. Building on this foundation, he extended these capabilities into active environments. In From Pixels to UI Actions: Learning to Follow Instructions via Graphical User Interfaces, he and his collaborators developed an agent that navigates graphical user interfaces using generic mouse and keyboard actions. Leveraging UI-specific visual pre-training and tree-search-based reinforcement learning, this work pushed forward the area of Pixel-Based Grounding for Metadata-Independent Interface Navigation and the broader field of Multimodal Reasoning through Pixel Embedded Instructions.
Alongside his applied multimodal research, Shaw has maintained a focus on the theoretical properties of neural architectures. In ALTA: Compiler-Based Analysis of Transformers, he proposed a novel programming language and compiler designed to map programs directly to Transformer weights. Extending prior frameworks, ALTA introduces the ability to express loops and compile programs to Universal Transformers. This framework constructively demonstrates how Transformers can represent length-invariant algorithms for tasks like parity computation and addition, offering a new lens for analyzing compositional generalization without relying on intermediate scratchpad decoding.
Current Directions
Recent work investigates the evaluation of autonomous agents and the theoretical limits of deep learning generalization. As web agents become more capable of navigating complex interfaces, assessing their trajectories using traditional rule-based methods has proven brittle and prone to underestimating agent capabilities. To address this, Shaw recently introduced AgentRewardBench: Evaluating Automatic Evaluations of Web Agent Trajectories, a benchmark designed to measure how effectively frontier language models can serve as automatic judges for agent performance, highlighting the ongoing challenges in scaling expert evaluation.
Simultaneously, his most recent papers in the evidence explore the intersection of algorithmic compression, reasoning, and model expressivity. In Bridging Kolmogorov Complexity and Deep Learning: Asymptotically Optimal Description Length Objectives for Transformers, he bridges theoretical data compression with practical training, proving that Transformers are computationally universal. The work introduces asymptotically optimal description length objectives that theoretically guarantee optimal generalization, framing learning through algorithmic compression and simplicity bias. Complementing this theoretical work, he has also examined structured reasoning frameworks for parameter-efficient logic. In Effective Reasoning Chains Reduce Intrinsic Dimensionality, his team proposed intrinsic dimensionality as a quantifiable metric to explain why chain-of-thought reasoning improves language model performance. The research demonstrates that effective reasoning strategies significantly reduce this intrinsic dimensionality, suggesting that these chains make complex tasks more compressible and thereby improve the model's ability to generalize.
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