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

Characterizing Verbatim Short-Term Memory in Neural Language Models

Kristijan Armeni, Christopher John Honey, Tal Linzen

Conference on Computational Natural Language Learning, 405-424 (2022)

Abstract

When a language model is trained to predict natural language sequences, its prediction at each moment depends on a representation of prior context.What kind of information about the prior context can language models retrieve?We tested whether language models could retrieve the exact words that occurred previously in a text.In our paradigm, language models (transformers and an LSTM) processed English text in which a list of nouns occurred twice.We operationalized retrieval as the reduction in surprisal from the first to the second list.We found that the transformers retrieved both the identity and ordering of nouns from the first list.Further, the transformers' retrieval was markedly enhanced when they were trained on a larger corpus and with greater model depth.Lastly, their ability to index prior tokens was dependent on learned attention patterns.In contrast, the LSTM exhibited less precise retrieval, which was limited to list-initial tokens and to short intervening texts.The LSTM's retrieval was not sensitive to the order of nouns and it improved when the list was semantically coherent.We conclude that transformers implemented something akin to a working memory system that could flexibly retrieve individual token representations across arbitrary delays; conversely, the LSTM maintained a coarser and more rapidly-decaying semantic gist of prior tokens, weighted toward the earliest items.

Read full publication (opens in new tab)