← Search

Yaru Hao

11 accepted papers

2026

Benefits and Pitfalls of Reinforcement Learning for Language Model Planning: A Theoretical Perspective

ICLR 2026poster

Recent reinforcement learning (RL) methods have substantially enhanced the planning capabilities of Large Language Models (LLMs), yet the theoretical basis for their effectiveness remains elusive. In this work, we investigate RL's benefits and limitations through a tractable graph-based abstraction,…

Cited by 0SourceScholar
2025

Data Selection via Optimal Control for Language Models

ICLR 2025oral

This work investigates the selection of high-quality pre-training data from massive corpora to enhance LMs' capabilities for downstream usage. We formulate data selection as a generalized Optimal Control problem, which can be solved theoretically by Pontryagin's Maximum Principle (PMP), yielding a…

2024

Grounding Multimodal Large Language Models to the World

ICLR 2024poster

We introduce Kosmos-2, a Multimodal Large Language Model (MLLM), enabling new capabilities of perceiving object descriptions (e.g., bounding boxes) and grounding text to the visual world. Specifically, we represent text spans (i.e., referring expressions and noun phrases) as links in Markdown, i.e.,…

Cited by 54SourcePDFScholar
2023

Language Is Not All You Need: Aligning Perception with Language Models

NeurIPS 2023poster

A big convergence of language, multimodal perception, action, and world modeling is a key step toward artificial general intelligence. In this work, we introduce KOSMOS-1, a Multimodal Large Language Model (MLLM) that can perceive general modalities, learn in context (i.e., few-shot), and follow ins…

2023

Prototypical Calibration for Few-shot Learning of Language Models

ICLR 2023poster

In-context learning of GPT-like models has been recognized as fragile across different hand-crafted templates, and demonstration permutations. In this work, we propose prototypical calibration to adaptively learn a more robust decision boundary for zero- and few-shot classification, instead of greed…

Cited by 47SourcePDFScholar
2023

Prototypical Fine-Tuning: Towards Robust Performance under Varying Data Sizes

AAAI 2023technical

In this paper, we move towards combining large parametric models with non-parametric prototypical networks. We propose prototypical fine-tuning, a novel prototypical framework for fine-tuning pretrained language models (LM), which automatically learns a bias to improve predictive performance for var…

Cited by 11SourcePDFScholar
2023

Why Can GPT Learn In-Context? Language Models Secretly Perform Gradient Descent as Meta-Optimizers

ACL 2023findings

Large pretrained language models have shown surprising in-context learning (ICL) ability. With a few demonstration input-label pairs, they can predict the label for an unseen input without parameter updates. Despite the great success in performance, its working mechanism still remains an open questi…

2022

Knowledge Neurons in Pretrained Transformers

ACL 2022long

Large-scale pretrained language models are surprisingly good at recalling factual knowledge presented in the training corpus. In this paper, we present preliminary studies on how factual knowledge is stored in pretrained Transformers by introducing the concept of knowledge neurons. Specifically, we…

2021

Self-Attention Attribution: Interpreting Information Interactions Inside Transformer

AAAI 2021technical

The great success of Transformer-based models benefits from the powerful multi-head self-attention mechanism, which learns token dependencies and encodes contextual information from the input. Prior work strives to attribute model decisions to individual input features with different saliency measur…