What Is a Transformer Model?
25/03/2022
They're not the shape-shifting toy robots on TV or the trash-can-sized tubs on telephone poles.
So, What's a Transformer Model? A transformer model is a neural network that learns context and thus meaning by tracking relationships in sequential data like the words in this sentence.
Transformer models apply an evolving set of mathematical techniques, called attention or self-attention, to detect subtle ways even distant data elements in a series influence and depend on each other.
First described in a 2017 paper from Google, transformers are among the newest and one of the most powerful classes of models invented to date. They're driving a wave of advances in machine learning some have dubbed transformer AI.
Stanford researchers called transformers foundation models in an August 2021 paper because they see them driving a paradigm shift in AI. The sheer scale and scope of foundation models over the last few years have stretched our imagination of what is possible, they wrote.
What Can Transformer Models Do? Transformers are translating text and speech in near real-time, opening meetings and classrooms to diverse and hearing-impaired attendees.
They're helping researchers understand the chains of genes in DNA and amino acids in proteins in ways that can speed drug design.
Transformers, sometimes called foundation models, are already being used with many data sources for a host of applications. Transformers can detect trends and anomalies to prevent fraud, streamline manufacturing, make online recommendations or improve healthcare.
People use transformers every time they search on Google or Microsoft Bing.
The Virtuous Cycle of Transformer AI Any application using sequential text, image or video data is a candidate for transformer models.
That enables these models to ride a virtuous cycle in transformer AI. Created with large datasets, transformers make accurate predictions that drive their wider use, generating more data that can be used to create even better models.
Stanford researchers say transformers mark the next stage of AI's development, what some call the era of transformer AI. Transformers made self-supervised learning possible, and AI jumped to warp speed, said NVIDIA founder and CEO Jensen Huang in his keynote address this week at GTC.
Transformers Replace CNNs, RNNs Transformers are in many cases replacing convolutional and recurrent neural networks (CNNs and RNNs), the most popular types of deep learning models just five years ago.
Indeed, 70 percent of arXiv papers on AI posted in the last two years mention transformers. That's a radical shift from a 2017 IEEE study that reported RNNs and CNNs were the most popular models for pattern recognition.
No Labels, More Performance Before transformers arrived, users had to train neural networks with large, labeled datasets that were costly and time-consuming to produce. By finding patterns between elements mathematically, transformers eliminate that need, making available the trillions of images and petabytes of text data on the web and in corporate databases.
In addition, the math that transformers use lends itself to parallel processing, so these models can run fast.
Transformers now dominate popular performance leaderboards like SuperGLUE, a benchmark developed in 2019 for language-processing systems.
How Transformers Pay Attention Like most neural networks, transformer models are basically large encoder/decoder blocks that process data.
Small but strategic additions to these blocks (shown in the diagram below) make transformers uniquely powerful.
A look under the hood from a presentation by Aidan Gomez, one of eight co-authors of the 2017 paper that defined transformers. Transformers use positional encoders to tag data elements coming in and out of the network. Attention units follow these tags, calculating a kind of algebraic map of how each element relates to the others.
Attention queries are typically executed in parallel by calculating a matrix of equations in what's called multi-headed attention.
With these tools, computers can see the same patterns humans see.
Self-Attention Finds Meaning For example, in the sentence:
She poured water from the pitcher to the cup until it was full.
We know it refers to the cup, while in the sentence:
She poured water from the pitcher to the cup until it was empty.
We know it refers to the pitcher.
Meaning is a result of relationships between things, and self-attention is a general way of learning relationships, said Ashish Vaswani, a former senior staff research scientist at Google Brain who led work on the seminal 2017 paper.
Machine translation was a good vehicle to validate self-attention because you needed short- and long-distance relationships among words, said Vaswani.
Now we see self-attention is a powerful, flexible tool for learning, he added.
How Transformers Got Their Name Attention is so key to transformers the Google researchers almost used the term as the name for their 2017 model. Almost.
Attention Net didn't sound very exciting, said Vaswani, who started working with neural nets in 2011.
.Jakob Uszkoreit, a senior software engineer on the team, came up with the name Transformer.
I argued we were transforming representations, but that was just playing semantics, Vaswani said.
The Birth of Transformers In the paper for the 2017 NeurIPS conference, the Google team described their transformer and the accuracy records it set for machine translation.
Thanks to a basket of techniques, they trained their model in just 3.5 days on eight NVIDIA GPUs, a small fraction of the time and cost of training prior models. They trained it on datasets with up to a billion pairs of words.
It was an intense three-month sprint to the paper submissio
LINK: | https://blogs.nvidia.com/blog/2022/03/25/what-is-a-transformer-model/... |
See more stories from nvidia |
Most recent headlines
15/01/2025
Canon Unveils Camera Color-Matching Application
MELVILLE, N.Y. Canon USA has announced key features and availability for its new Camera Color Matching Application, a powerful new Windows-compatible software a...
15/01/2025
Altice's Optimum Complains to FCC Over Nexstar Retrans Negotiations
NEW YORK Altice USA has sent a letter to the Federal Communications Commission complaining about Nexstar's handling of retransmission consent negotiations, ...
15/01/2025
Heartland Video Systems Buys Videstra
PLYMOUTH, Wisc. Heartland Video Systems (HVS) has acquired Videstra, a company that offers solutions to integrate micro-local cameras for weather, towers and tr...
15/01/2025
NAB Show Opens Registration, Launches New Sports Summit
WASHINGTON The National Association of Broadcasters said registration is open for the 2025 NAB Show, which will bring the global media and entertainment industr...
15/01/2025
West Virginia AG Reaches $119.5 Million Settlement with Altice USA
CHARLESTON, W. Va. After a multi-year investigation, West Virginia Attorney General Patrick Morrisey has reached a $119.5 million settlement with Altice USA to ...
15/01/2025
Curl Commercial Shot on Blackmagic Cinema Camera 6K
Cur l Commercial Shot on Blackmagic Cinema Camera 6K Brie Clayton January 14, 2025 0 Comments Japanese skincare brand's new web commercial shot in...
15/01/2025
New BLAM Release Set to Transform End-to-End Workflow Management
New BLAM Release Set to Transform End-to-End Workflow Management Brie Clayton January 14, 2025 0 Comments Blue Lucy's recent software update for o...
14/01/2025
L3Harris Unveils New Resilient Waveform Package
Available today and interoperable with the RF-7850 Family of Radios, Vanguard and Vapor fill a critical requirement for secure and survivable multi-domain wideb...
14/01/2025
L3Harris to Provide Integrated Platform Management System for Royal Australian Navy Frigates
Rendering of Hunter Class frigate at sea. Image credit: BAE...
14/01/2025
EdgeBeam Wireless ATSC 3.0 Datacasting Hits the Ground Running
It's still early days for EdgeBeam Wireless, the joint venture of E.W. Scripps Co., Sinclair, Gray Media and Nexstar Media Group aiming to deliver datacasti...
14/01/2025
DirecTV Launches MySports Streamer
DirecTV has announced the launch of MySports, a new sports streaming service featuring 40 sports and broadcast channels. For $50 per month, it is initially av...
14/01/2025
Comscore Expands Local Measurement Deal with Coastal Television
RESTON, Va. Comscore has announced a new deal with Coastal Television's Media Group to provide of TV measurement and advanced audience data across 12 of Coa...
14/01/2025
Digital Alert Systems Adds Daniel Dillon as Product and Project Manager
LYNDONVILLE, N.Y. Emergency communications solutions provider Digital Alert Systems has tapped Daniel Dillon as a product and project manager....
14/01/2025
NESN Turns To Bitcentral Core News for Content Management
NEWPORT BEACH, Calif. New England Sports Network (NESN) has partnered with Bitcentral to add state-of-the-art media management and production tools to its opera...
14/01/2025
The Spring Signature Series Presents Kendrick Scott Berklee Ensemble
The Spring Signature Series Presents Kendrick Scott Berklee Ensemble The acclaimed percussionist has toured and collaborated with jazz legends Herbie Handcock...
14/01/2025
Ross Video Buys EagleEye Cable Camera Business, Technology
OTTAWA, Canada Ross Video has acquired EagleEye from sec.swiss (Swiss Electronic Creation), a strategic move that enhances its portfolio of camera motion system...
14/01/2025
How UNIT created a CG photoreal gorilla for Paramount+ drama Stags
UNIT VFX supervisor Nuno Pereira tells TVBEurope about the work that went into creating an emotive CG gorilla called El Ni o By Jenny Priestley Published: Ja...
14/01/2025
Vizio Launches App Bundle With Discounted Starz, AMC+ Offer
IRVINE, Calif. Vizio has launched a new bundled app on its TV that gives viewers access to the vast selection of movies and TV shows in the Starz and AMC+ libra...
14/01/2025
T-Mobile Ramps Up Ad Business With $600 Million Vistar Media Acquisition
BELLEVUE, Wash. T-Mobile is further expanding its advertising business with the announcement that it has entered into a definitive agreement to acquire Vistar M...
14/01/2025
Comcast NBCUniversal Donates $10 Million to Support L.A. Wildfire Relief
LOS ANGELES Comcast NBCUniversal said it will donate $10 million in cash to support Los Angeles-area wildfire disaster relief and recovery efforts....
14/01/2025
Scripps' Brian Lawlor To Receive 2025 Golden Mic Award
NEW YORK The Broadcasters Foundation of America said that Scripps Sports President Brian Lawlor will receive its 2025 Golden Mic Award, presented at the group...
14/01/2025
Live on Wednesday: Behind the VFX Scenes of UFO Sweden
Live on Wednesday: Behind the VFX Scenes of UFO Sweden Brie Clayton January 13, 2025 0 Comments Uncover the truth behind UFO Sweden's cutting-ed...
14/01/2025
A.I. Search in Seconds
A.I. Search in Seconds Michael Cioni January 13, 2025 0 Comments How much time do you spend sifting through hours and hours of footage? What if you di...
14/01/2025
Healthcare Leaders, NVIDIA CEO Share AI Innovation Across the Industry
AI is making inroads across the entire healthcare industry - from genomic research to drug discovery, clinical trial workflows and patient care. In a fireside ...
14/01/2025
NVIDIA GTC 2025: Quantum Day to Illuminate the Future of Quantum Computing
Quantum computing is one of the most exciting areas in computer science, promising progress in accelerated computing beyond what's considered possible today...
14/01/2025
UKTV Ventures partners with digital community for the over 50s, Rest Less, in airtime-for-equity deal
Leading multi-channel broadcaster UKTV has today announced it has invested in Re...
14/01/2025
5VREAL: EMG / Gravity Media Italy and Vodafone Contribute to Innovative Sports Analysis and Fan Engagement Project
5VREAL: EMG / Gravity Media Italy and Vodafone contribute to innovative sports a...
14/01/2025
SMPTE Elects Richard Welsh as President
SMPTE Elects Richard Welsh as President By Ken Kerschbaumer, Editorial Director Tuesday, January 14, 2025 - 9:44 am Print This Story | Subscribe Story H...
14/01/2025
Cromorama's Pablo Garcia Sees Ennio as a Solution to HDR/SDR Complexity
Cromorama's Pablo Garcia Sees Ennio as a Solution to HDR/SDR Complexity The color-conversion tool manages switching between formats across multiple channels...
14/01/2025
Canon Intros Color Matching Application for CR-N700 PTZ Camera
Canon Intros Color Matching Application for CR-N700 PTZ Camera Software simplifies consistency with main production camera By Ken Kerschbaumer, Editorial Direc...
14/01/2025
Fox Sports Australia Goes Ultra-Wide Screen as PCB Digital Installs Magna Systems LED Screen
Fox Sports Australia Goes Ultra-Wide Screen as PCB Digital Installs Magna System...
14/01/2025
What's Next: How Live Game Broadcasts are Redefining Fan Engagement
What's Next: How Live Game Broadcasts are Redefining Fan Engagement Leaders from CBS Sports, FOX Sports, Warner Bros. Discovery, the NBA, and CAA share thei...
14/01/2025
NEP Group's Josh Liemer on the Connected Solutions Rebrand, Another Season of MLS Season Pass
NEP Group's Josh Liemer on the Connected Solutions Rebrand, Another Season o...
14/01/2025
NBC Sports and Olympics' Darryl Jefferson on the Beauty of Paris 2024, Packed 2025 With NBA's Return
NBC Sports and Olympics' Darryl Jefferson on the Beauty of Paris 2024, Packe...
14/01/2025
DIRECTV Launches 40-Channel MySports Package
DIRECTV Launches 40-Channel MySports Package By Ken Kerschbaumer, Editorial Director Tuesday, January 14, 2025 - 2:13 pm Print This Story | Subscribe St...
14/01/2025
Official trailer released for Sky Documentaries three-part series Boyzone: No Matter What
Official trailer released for Sky Documentaries three-part series Boyzone: No Ma...
14/01/2025
New unleashed frequency ranges: Rohde & Schwarz extends broadband amplifiers to 18 GHz
New unleashed frequency ranges: Rohde & Schwarz extends broadband amplifiers to ...
14/01/2025
Happily Never After? I am MarriedBut!' Unveils the Realities of Marriage in Main Trailer
Back to All News Happily Never After? I am Married But!' Unveils the Reali...
14/01/2025
Comscore Expands Local Currency Partnership with Coastal Television's Media Group to Deliver Advanced TV Measurement Across 12 Markets
Comscore Expands Local Currency Partnership with Coastal Television's Media ...
14/01/2025
Ross Video Acquires EagleEye from sec.swiss, Expands Cable Camera Portfolio
Ottawa, Canada - January 14, 2025 - Ross Video, a global leader in live video production, is pleased to announce the acquisition of EagleEye from sec.swiss (swi...
13/01/2025
Nominations open for the Australia for UNHCR - SBS Les Murray Award for Refugee Recognition
Nominations open for the Australia for UNHCR - SBS Les Murray Award for Refugee ...
13/01/2025
Hub Survey: Viewers Want AI Content Labeled
PORTSMOUTH, N.H. A new survey released by Hub Entertainment Research found a majority of viewers want to know when something they're watching was created by...
13/01/2025
AccuWeather Acquires TOA Systems
NEW ORLEANS AccuWeather has acquired TOA Systems, a provider of lightning-detection hardware and one of the few global lightning networks in existence, the comp...
13/01/2025
Webinar: Streamline Digital Asset Management Creativity
Webinar: Streamline Digital Asset Management Creativity Brie Clayton January 13, 2025 0 Comments Santa Cruz Software and Activo to Host Webinar for Cr...
13/01/2025
The Listeners: creating the soundworld of the groundbreaking drama
Sound designer Steve Fanagan tells David Davies how the soundscape behind the recent BBC One series, The Listeners, was created By Contributor Published: Jan...
13/01/2025
Evolve and elevate: the role of standards in bringing immersive video to a wider audience
Philippe Guillotel, director and head of the video lab's metavideo group at ...
13/01/2025
Remembering the legend: how Scanline VFX retold the SENNA story
Craig Wentworth, overall VFX supervisor at Scanline VFX, tells TVBEurope how the spectacular sights and sounds of Formula 1 in the 80s and 90s were recreated fo...
13/01/2025
2025 M&E Trends: What's old is (sometimes) new again
Steve Reynolds, CEO of Imagine Communications, offers a view on the trends he believes will significantly impact the way the media and entertainment industry cr...
13/01/2025
Lisa Nandy looking at alternatives to BBC licence fee'
According to a report, the Secretary of State is considering alternative funding models, including mutualisation By Jenny Priestley Published: January 13, 20...
13/01/2025
Meet the principal solutions architect
Scott Wall, principal solutions architect at Signiant EMEA, details his journey in the media industry - from getting hands-on experience at Glastonbury, to bein...