Skip to main content

NYUOGST

The Office of Global Science and Technology unites researchers across disciplines and global campuses to advance their fields, partnerships and impact.

Science & Tech Opportunities

Materials & Technologies

Physics · Chemistry · Engineering

New materials are the fundamental enablers of modern civilization — from fuel-efficient transport to next-generation energy systems. Advances in this space open new industries, drive economic growth, and define the frontier of human knowledge.

Anchored by

Active Website

Virtual World & Digital Life

AI · Computing · Data Science · Applied Math

Technology is fundamentally reshaping how we live, work, communicate, and make decisions. AI, computing, and data science are no longer just tools — they are the operating system of modern life, and understanding them is essential to navigating what comes next.

Anchored by

You Are Here

Sustainability

Climate · Technology · Adaptation

Humanity is in a race against time to build systems and societies that can endure. Research in sustainable technologies, materials, and climate adaptation is not optional — it is the infrastructure on which a livable future depends.

Anchored by

Active Website

Health, Biology & Human Condition

Medicine · Engineering · Life Sciences

The cost and complexity of human health is one of the defining challenges of our time. Research at the intersection of biology, engineering, and medicine holds the key to making care more effective, accessible, and affordable — for both people and the planet.

Anchored by

Engineering Health Institute
Website Coming Soon
NYU Global Science and TechnologyAI Institute
All publications

Grokking of Hierarchical Structure in Vanilla Transformers

Shikhar Murty, Pratyusha Sharma, Jacob Andreas, Christopher D. Manning

Annual Meeting of the Association for Computational Linguistics, 439-448 (2023)

Abstract

For humans, language production and comprehension are sensitive to the hierarchical structure of sentences.In natural language processing, past work has questioned how effectively neural sequence models like transformers capture this hierarchical structure when generalizing to structurally novel inputs.We show that transformer language models can learn to generalize hierarchically after training for extremely long periods-far beyond the point when indomain accuracy has saturated.We call this phenomenon structural grokking.On multiple datasets, structural grokking exhibits inverted U-shaped scaling in model depth: intermediatedepth models generalize better than both very deep and very shallow transformers.When analyzing the relationship between model-internal properties and grokking, we find that optimal depth for grokking can be identified using the tree-structuredness metric of Murty et al. (2023).Overall, our work provides strong evidence that, with extended training, vanilla transformers discover and use hierarchical structure.

Read full publication (opens in new tab)