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

When to Use Efficient Self Attention? Profiling Text, Speech and Image Transformer Variants

Anuj Diwan, Eunsol Choi, David F. Harwath

Annual Meeting of the Association for Computational Linguistics, 1639-1650 (2023)

Abstract

We present the first unified study of the efficiency of self-attention-based Transformer variants spanning text, speech and vision.We identify input length thresholds (tipping points) at which efficient Transformer variants become more efficient than vanilla models, using a variety of efficiency metrics (latency, throughput, and memory).To conduct this analysis for speech, we introduce L-HuBERT, a novel localattention variant of a self-supervised speech model.We observe that these thresholds are (a) much higher than typical dataset sequence lengths and (b) dependent on the metric and modality, showing that choosing the right model depends on modality, task type (long-form vs. typical context) and resource constraints (time vs. memory).By visualising the breakdown of the computational costs for transformer components, we also show that non-self-attention components exhibit significant computational costs.We release our profiling toolkit at https://github. com/ajd12342/profiling-transformers.

Read full publication (opens in new tab)