MCP
PS

Peter Shaw

38 papers in the library

Papers

30
Pack and Extract: An Effective Graph-Based Approach for Feature Selection
Faisal N. Abu-KhzamJoseph R. BarrCynthia ChaayaNadim ObeidPeter Shaw
This paper proposes an improved graph-based feature selection approach for high-dimensional molecular data, extending the independent dominating set (IDS) model to a node packing formulation that favors diverse features. Used as an intermediate step in feature selection, the method is evaluated on five genetic datasets, showing improved predictive accuracy and greater stability of selected feature sets compared to existing methods.
arXivarXiv · · October 7, 2026
0
0
Effective Reasoning Chains Reduce Intrinsic Dimensionality
Archiki PrasadMandar JoshiKenton LeeMohit BansalPeter Shaw
This paper identifies intrinsic dimensionality (the minimum model dimensions needed to reach a given accuracy) as a quantitative measure of reasoning chain effectiveness. By varying task formulation through different reasoning strategies while keeping the model architecture fixed, the authors show that effective strategies consistently reduce intrinsic dimensionality. On GSM8K with Gemma-3 1B/4B, lower intrinsic dimensionality strongly correlates with better in-distribution and out-of-distribution generalization, indicating that effective reasoning chains compress the task into fewer parameters.
arXivarXiv · · February 9, 2026
0
3
Effective Reasoning Chains Reduce Intrinsic Dimensionality
Archiki PrasadMandar JoshiKenton LeeMohit BansalPeter Shaw
This paper proposes intrinsic dimensionality—the minimum number of model dimensions needed to reach a given accuracy threshold—as a quantitative measure of reasoning-chain effectiveness. Keeping the architecture fixed and varying task formulation across reasoning strategies, the authors show effective strategies reduce intrinsic dimensionality. On GSM8K with Gemma-3 1B and 4B, intrinsic dimensionality inversely correlates with generalization on in- and out-of-distribution data, suggesting effective chains compress tasks into fewer parameters.
OpenReviewOpenReview · · January 23, 2026
0
Bridging Kolmogorov Complexity and Deep Learning: Asymptotically Optimal Description Length Objectives for Transformers
Peter ShawJames CohanJacob EisensteinKristina Toutanova
This paper introduces a theoretical framework for asymptotically optimal description length objectives rooted in Kolmogorov complexity. The authors prove that a minimizer of such an objective achieves optimal compression for any dataset, up to an additive constant, in the limit of increasing model resource bounds, and establish that such objectives exist for Transformers based on a new demonstration of their computational universality. They further construct a tractable, differentiable variational objective using an adaptive Gaussian mixture prior, which empirically selects low-complexity solutions with strong generalization on an algorithmic task, though standard optimizers fail to find these from random initialization.
arXivarXiv · · September 26, 2025
0
12
Bridging Kolmogorov Complexity and Deep Learning: Asymptotically Optimal Description Length Objectives for Transformers
Peter ShawJames CohanJacob EisensteinKristina Toutanova
This paper introduces asymptotically optimal description length objectives, grounded in Kolmogorov complexity, for Transformers. It proves that minimizing such an objective yields optimal compression up to an additive constant as resource bounds grow, and that these objectives exist due to Transformers' computational universality. A tractable, differentiable variational objective based on an adaptive Gaussian mixture prior is constructed and analyzed. Empirical tests on an algorithmic task show it selects low-complexity, generalizing solutions, though standard optimizers fail from random initialization, highlighting optimization challenges and outlining a path toward better compression and generalization.
OpenReviewOpenReview · · September 19, 2025
0
AgentRewardBench: Evaluating Automatic Evaluations of Web Agent Trajectories
Xing Han LùAmirhossein KazemnejadNicholas MeadeArkil PatelDongchan ShinAlejandra ZambranoKarolina StańczakPeter ShawChristopher J. PalSiva Reddy
AgentRewardBench is the first benchmark for evaluating LLM judges on web agent trajectory assessment. It comprises 1,302 trajectories from five benchmarks and four LLMs, each annotated by experts on success, side effects, and repetitiveness. Testing 12 LLM judges reveals no single model excels universally; moreover, rule-based evaluations commonly underreport success rates, underscoring the need for more flexible automatic evaluation methods.
arXivarXiv · · April 11, 2025
0
114
AgentRewardBench: Evaluating Automatic Evaluations of Web Agent Trajectories
Xing Han LùAmirhossein KazemnejadNicholas MeadeArkil PatelDongchan ShinAlejandra ZambranoKarolina StanczakPeter ShawChristopher PalSiva Reddy
AgentRewardBench is the first benchmark for assessing LLM judges in evaluating web agent trajectories. It contains 1302 expert-reviewed trajectories across 5 benchmarks and 4 LLMs, with annotations on success, side effects, and repetitiveness. Testing 12 LLM judges reveals no single judge excels across all benchmarks. Additionally, rule-based evaluation underreports success rates, underscoring the need for more flexible automatic evaluation methods.
OpenReviewOpenReview · · March 19, 2025
0
117
Robust Preference Optimization through Reward Model Distillation
Adam FischJacob EisensteinVicky ZayatsAlekh AgarwalAhmad BeiramiChirag NagpalPeter ShawJonathan Berant
The authors analyze why Direct Preference Optimization (DPO) overfits, with implicit rewards tending to infinite magnitude and degenerate policies. They propose distilling an explicit reward model trained on preference data instead: training the LM so its implicit reward (the scaled log-likelihood ratio to the reference model) matches the reward model. To handle uncertainty, they optimize against a family of reward models likely to contain a reasonable proxy, improving robustness to distribution shift while keeping DPO's simplicity.
OpenReviewOpenReview · October 24, 2024
0
ALTA: Compiler-Based Analysis of Transformers
Peter ShawJames CohanJacob EisensteinKenton LeeJonathan BerantKristina Toutanova
ALTA is a new programming language and compiler that maps ALTA programs to Transformer weights, extending RASP and Tracr with loops and compilation to Universal Transformers. It constructively shows how Transformers represent length-invariant algorithms for parity, addition, and the SCAN benchmark without scratchpad decoding. The authors also propose analyzing cases where an algorithm is expressible but training fails, using fine-grained supervision from ALTA execution traces to relate learnability to data and modeling choices like positional encodings. The framework is released publicly.
OpenReviewOpenReview · October 23, 2024
0
ProtEx: A Retrieval-Augmented Approach for Protein Function Prediction
Peter ShawBhaskar GurramDavid BelangerAndreea GaneMaxwell BileschiLucy J ColwellKristina ToutanovaAnkur P Parikh
ProtEx is a retrieval-augmented approach for protein function prediction that conditions a model on exemplar sequences retrieved from a database. It introduces a novel multi-sequence pretraining task and a fine-tuning strategy that improves prediction accuracy, robustness, and generalization to unseen classes. The method achieves state-of-the-art results on Enzyme Commission numbers, Gene Ontology terms, and Pfam families. Ablations show that conditioning on exemplars is especially beneficial for classes and sequences underrepresented in training data.
OpenReviewOpenReview · September 27, 2024
0
20
ALTA: Compiler-Based Analysis of Transformers
Peter ShawJames CohanJacob EisensteinKenton LeeJonathan BerantKristina Toutanova
ALTA introduces a programming language and compiler for mapping programs to Transformer weights, extending prior work like RASP and Tracr by supporting loops and targeting Universal Transformers. Its central contribution is constructively demonstrating how Transformers can represent length-invariant algorithms for parity, addition, and the SCAN benchmark without intermediate scratchpad decoding. The framework, including its specification, symbolic interpreter, and weight compiler, is released publicly to enable further applications.
OpenReviewOpenReview · September 24, 2024
0
Robust Preference Optimization through Reward Model Distillation
Adam FischJacob EisensteinVicky ZayatsAlekh AgarwalAhmad BeiramiChirag NagpalPeter ShawJonathan Berant
This paper proposes robust preference optimization by distilling a reward distribution from a model trained on preference data, rather than using DPO's implicit infinite-magnitude rewards that cause overconfidence and degenerate policies. To handle reward-model uncertainty, the LM is optimized against a family of reward models, instantiated implicitly or explicitly. Experiments show improved robustness to distribution shift in preference annotations while preserving DPO's supervised nature.
OpenReviewOpenReview · May 15, 2024
0
Helping or Herding? Reward Model Ensembles Mitigate but do not Eliminate Reward Hacking
Jacob EisensteinChirag NagpalAlekh AgarwalAhmad BeiramiAlexander Nicholas D'AmourKrishnamurthy Dj DvijothamAdam FischKatherine A HellerStephen Robert PfohlDeepak RamachandranPeter ShawJonathan Berant
Reward model ensembles mitigate but do not eliminate reward hacking in language model alignment. Reward models are underspecified: similar in-distribution performance can yield divergent rewards under distribution shift, causing overoptimization where aligning to one model fails to improve rewards under another trained on the same data. Ensembling mitigates overoptimization, with ensembles varying pretraining seeds generalizing better than those varying fine-tuning seeds, and both outperform individual models. However, ensembling cannot fully remove reward hacking when all ensemble members share similar error patterns.
OpenReviewOpenReview · · March 22, 2024
0
BAGEL: Bootstrapping Agents by Guiding Exploration with Language
Shikhar MurtyChristopher ManningPeter ShawMandar JoshiKenton Lee
BAGEL bootstraps language model agents for digital environments without human supervision. It iteratively converts randomly explored trajectories into demonstrations via round-trips between an LM labeler that generates synthetic instructions from trajectories and a zero-shot LM agent that refines trajectories from those instructions. This process shifts the trajectory distribution toward ones well-described by natural language. Using these demonstrations for in-context learning at test time improves absolute performance by 2–13% on ToolQA and MiniWob++ and reduces execution failures up to 13×.
arXivarXiv · · March 12, 2024
0
59
BAGEL: Bootstrapping Agents by Guiding Exploration with Language
Shikhar MurtyChristopher D ManningPeter ShawMandar JoshiKenton Lee
BAGEL bootstraps language-model agents from random exploration without human demonstrations. It iteratively converts seed trajectories into synthetic instruction–trajectory pairs through round-trips between an LM labeler and a zero-shot LM agent, shifting trajectories toward those well-described by natural language. At test time, in-context retrieving relevant demonstrations improves task performance by 2–13% absolute on ToolQA and MiniWob++ while reducing execution failures up to 13-fold.
OpenReviewOpenReview · · February 2, 2024
0
Helping or Herding? Reward Model Ensembles Mitigate but do not Eliminate Reward Hacking
Jacob EisensteinChirag NagpalAlekh AgarwalAhmad BeiramiAlex D'AmourDJ DvijothamAdam FischKatherine HellerStephen PfohlDeepak RamachandranPeter ShawJonathan Berant
Reward models used to align language models often suffer from reward hacking, where the language model exploits errors in the reward model. This paper shows that reward models are underspecified—models with similar in-distribution performance diverge under distribution shift—and that aligning to one model does not improve reward measured by another. Ensembles of reward models mitigate overoptimization, with ensembles varying by pretraining seeds generalizing better than those varying only by fine-tuning seeds. However, even pretrain ensembles do not eliminate reward hacking because all models share similar error patterns.
arXivarXiv · · December 14, 2023
0
239
QUEST: A Retrieval Dataset of Entity-Seeking Queries with Implicit Set Operations
Chaitanya MalaviyaPeter ShawMing-Wei ChangKenton LeeKristina Toutanova
Formulating selective information needs results in queries that implicitly specify set operations, such as intersection, union, and difference. For instance, one might search for “shorebirds that are not sandpipers” or “science-fiction films shot in England”. To study the ability of retrieval systems to meet such information needs, we construct QUEST, a dataset of 3357 natural language queries with implicit set operations, that map to a set of entities corresponding to Wikipedia documents. The dataset challenges models to match multiple constraints mentioned in queries with corresponding evidence in documents and correctly perform various set operations. The dataset is constructed semi-automatically using Wikipedia category names. Queries are automatically composed from individual categories, then paraphrased and further validated for naturalness and fluency by crowdworkers. Crowdworkers also assess the relevance of entities based on their documents and highlight attribution of query constraints to spans of document text. We analyze several modern retrieval systems, finding that they often struggle on such queries. Queries involving negation and conjunction are particularly challenging and systems are further challenged with combinations of these operations.
ACL AnthologyACL Anthology · July 2023
0
From Pixels to UI Actions: Learning to Follow Instructions via Graphical User Interfaces
Peter ShawMandar JoshiJames CohanJonathan BerantPanupong PasupatHexiang HuUrvashi KhandelwalKenton LeeKristina Toutanova
This paper presents pixel-based agents that interact with graphical user interfaces through screenshots and generic keyboard/mouse actions, without relying on text-based representations like HTML. Building on pixel-based pretraining, the agents are shown to outperform human crowdworkers on the MiniWob++ benchmark for instruction following, marking the first time pixel-only agents achieve this result.
arXivarXiv · · May 31, 2023
0
141
QUEST: A Retrieval Dataset of Entity-Seeking Queries with Implicit Set Operations
Chaitanya MalaviyaPeter ShawMing-Wei ChangKenton LeeKristina Toutanova
QUEST is a dataset of 3357 natural language queries that implicitly specify set operations (intersection, union, difference) to target entity sets, such as "science-fiction films shot in England". Queries are semi-automatically constructed from Wikipedia category names, then paraphrased and validated by crowdworkers, who also assess relevance and highlight text spans supporting each constraint. Experiments show that modern retrieval systems often struggle on such queries, particularly those involving negation and conjunction.
arXivarXiv · · May 19, 2023
0
53
From Pixels to UI Actions: Learning to Follow Instructions via Graphical User Interfaces
Peter ShawMandar JoshiJames CohanJonathan BerantPanupong PasupatHexiang HuUrvashi KhandelwalKenton LeeKristina Toutanova
This paper introduces agents that interact with graphical user interfaces (GUIs) via pixel-based screenshots and a generic keyboard-and-mouse action space, instead of relying on text-based representations like HTML. Building on pixel-based pretraining, the authors demonstrate, for the first time, that such agents can outperform human crowdworkers on the MiniWob++ benchmark of GUI-based instruction-following tasks, achieving a new state of the art without custom task-specific action spaces.
OpenReviewOpenReview · · May 11, 2023
0
Pix2Struct: Screenshot Parsing as Pretraining for Visual Language Understanding
Kenton LeeMandar JoshiIulia Raluca TurcHexiang HuFangyu LiuJulian Martin EisenschlosUrvashi KhandelwalPeter ShawMing-Wei ChangKristina Toutanova
Pix2Struct is a pretrained image-to-text model for visual language understanding, finetunable on tasks with visually-situated language. Its central novelty is pretraining by parsing masked web-page screenshots into simplified HTML, an objective that subsumes OCR, language modeling, and image captioning. The approach also introduces a variable-resolution input representation and a more flexible vision-language integration, with language prompts rendered directly onto the input image. The authors report state-of-the-art results on six of nine tasks across documents, illustrations, user interfaces, and natural images, demonstrating a single model's broad applicability.
OpenReviewOpenReview · January 26, 2023
0
702
Generate-and-Retrieve: use your predictions to improve retrieval for semantic parsing
Yury ZemlyanskiyMichiel de JongJoshua AinsliePanupong PasupatPeter ShawLinlu QiuSumit SanghaiFei Sha
GandR improves semantic parsing by retrieving exemplars based on output similarity, not just input similarity. It first generates a preliminary prediction using input-based retrieval, then retrieves exemplars with outputs similar to that prediction to produce a final parse. This two-step procedure achieves state-of-the-art results on several low-resource semantic parsing tasks.
arXivarXiv · · September 29, 2022
0
26
Evaluating the Impact of Model Scale for Compositional Generalization in Semantic Parsing
Linlu QiuPeter ShawPanupong PasupatTianze ShiJonathan HerzigEmily PitlerFei ShaKristina Toutanova
Scaling up model size fails to reliably improve compositional generalization in semantic parsing. Evaluating encoder-decoder models up to 11B parameters and decoder-only models up to 540B parameters, the study finds that fine-tuning all parameters yields flat or negative scaling curves on out-of-distribution compositional generalization. In-context learning shows positive scaling but is outperformed by much smaller fine-tuned models. Prompt tuning outperforms fine-tuning overall, with a more positive scaling curve, suggesting potential from further scaling. The results highlight limitations of current techniques for leveraging model scale to improve compositional generalization.
arXivarXiv · · May 24, 2022
0
72
Vulnerability Analysis of the Android Kernel
Joseph R. BarrPeter ShawTyler Thatcher
This paper introduces a workflow for vulnerability analysis of the Android kernel that rates components for bugginess risk. To overcome the limited corpus of ~2 million C/C++ and Java functions, Byte-Pair Encoding is used as an intermediate step before embedding function labels via LSTM into vectors in ℝ^d. A cosine matrix of pairwise similarities forms a weighted graph whose vertices are functions. Heuristic features plus these function vectors are then used to score each component for bugginess risk.
arXivarXiv · · December 20, 2021
0
5
Improving Compositional Generalization with Latent Structure and Data Augmentation
Linlu QiuPeter ShawPanupong PasupatPaweł Krzysztof NowakTal LinzenFei ShaKristina Toutanova
The paper presents a data augmentation method for compositional generalization that uses a generative model, Compositional Structure Learner (CSL), with an induced quasi-synchronous context-free grammar backbone. Recombined examples sampled from CSL are added to the fine-tuning data of a pre-trained T5 model. This transfers compositional bias to T5, achieving new state-of-the-art on two real-world semantic parsing tasks requiring generalization to novel compositions.
arXivarXiv · · December 14, 2021
0
98
Learning to Generalize Compositionally by Transferring Across Semantic Parsing Tasks
Wang ZhuPeter ShawTal LinzenFei Sha
This paper presents a transfer-learning method for improving compositional generalization in neural semantic parsing. The representation and task-specific layers of a model are trained differently on a pre-finetuning task (e.g., COGS, GeoQuery, or SCAN) so that the model generalizes to novel combinations of familiar words and constructions on a target task. The approach significantly outperforms baselines on held-out compositional splits of the target task.
arXivarXiv · · November 9, 2021
0
11
The Variability of Model Specification
Joseph R. BarrPeter ShawMarcus Sobel
This paper challenges the common assumption that model complexity always increases variance. It shows that for several regression frameworks (generalized linear models, Cox proportional hazard, ARMA), misspecification—specifically, the omission of influential variables—can both increase bias and *decrease* variance, or vice versa. The central contribution is a paired analysis of how the direction of model misspecification (adding or removing variables) produces opposite effects on bias and variance, decoupling the traditional complexity–variance link.
arXivarXiv · · October 6, 2021
0
5
Visually Grounded Concept Composition
Bowen ZhangHexiang HuLinlu QiuPeter ShawFei Sha
This paper introduces visually grounded concept composition using a Concept and Relation Graph (CRG) built from constituency analysis, where primitive concepts are recursively combined via predicate functions. The Composer neural network learns grounding for both primitive and composed concepts by aligning them with images. It achieves improved text-to-image matching accuracy, particularly when evaluation data shows significant compound divergence from training data, demonstrating that compositional learning yields more robust grounding.
arXivarXiv · · September 29, 2021
0
11
Systematic Generalization on gSCAN: What is Nearly Solved and What is Next?
Linlu QiuHexiang HuBowen ZhangPeter ShawFei Sha
This paper analyzes the gSCAN benchmark for systematic generalization in grounded language understanding. A general-purpose Transformer with cross-modal attention achieves strong performance on most gSCAN splits, outperforming specialized approaches. The authors attribute remaining errors primarily to challenges in systematic generalization of linguistic constructs, independent of visual context. Building on this, they propose new tasks incorporating object relations. They also find current models are data-inefficient given gSCAN's narrow command scope.
arXivarXiv · · September 25, 2021
0
29
Graph-Based Decoding for Task Oriented Semantic Parsing
Jeremy R. ColeNanjiang JiangPanupong PasupatLuheng HePeter Shaw
This paper proposes a graph-based decoding approach for task-oriented semantic parsing, reformulating the problem as dependency parsing. Using a pre-trained Transformer encoder, the method is evaluated on the TOP dataset. It achieves competitive performance with standard sequence-to-sequence decoders while offering improved data efficiency, particularly in low-resource or partially-annotated settings.
arXivarXiv · · September 9, 2021
0
2
Authors with the same name
Peter Shaw #0001 · 3 papers
Peter Shaw #0004 · 19 papers
Peter Shaw #0005 · 1 papers
Frequent collaborators
Kristina Toutanova (13)
Kenton Lee (11)
Jacob Eisenstein (8)
Jonathan Berant (8)
Panupong Pasupat (8)
Mandar Joshi (7)
James Cohan (6)
Fei Sha (6)
Ming-Wei Chang (5)
Hexiang Hu (5)
Linlu Qiu (5)
Adam Fisch (4)