Grounding Spatio-temporal Language with Transformers | JRC Workshop 2021

Microsoft Research · Intermediate ·📰 AI News & Updates ·5y ago

Key Takeaways

The video discusses grounding spatio-temporal language with transformers, covering concepts such as language-conditioned reinforcement learning, temporal language understanding, and spatial information processing, using tools like Transformers.

Full Transcript

hi and i'm very happy to be here at this workshop and welcome to the presentation of grounding spatial time for language with transformers so uh this is joint work with christian carch clement va katya hoffmann from microsoft and playbook let's begin so first we will introduce the work by saying that it is a part of grounded language learning and grounded language learning is a subfield of ai and it is about learning language in a way that is connected with the physical world so traditionally natural language processing is concerned with linguistic input only but in grounded language learning it is important to try to connect this language with the physical world so in recent years one possible option to consider this this field or to study grounded language learning has been language condition deeper enforcement learning where an agent or reinforcement learning agent is provided not not only with the state of the world but also with for instance a language instruction and has to perform what the instruction specifies and the rewards it receives depends on the instruction so this is a special case of gold conditioned reinforcement learning which has also received some interest in the recent year so previous work in this field has shown the importance of not only learning a policy for the agent so a function that learns to translate the states and the language into actions but also of trying to model the reward function to learn to say if a given sentence is true or false in a given of a given state of the of the world so the settings um so for instance here you can see on the left side one of the classical works in this field which is called baby ai and you can see here the environment which consists of a grid world with several objects scattered around with their colors and the shapes and you can see here the agent which is represented as a red arrow so the agent is provided with this synthetic language instruction which is put the blue key next to the green ball and has to execute this instruction so has to behave not only based on its state and on its observations but also on the language it receives and these settings usually only consider instantaneous language and descriptions and the architectures the deep learning architecture used in this agent reflect this and in this work we are doing now we want to be able to extend these settings uh to consider sentences uh with the temporal aspect such as the animal that was next to the rock jumped so here the the temporal aspects comes because jumping is an action that is performed over time and to decide if something jumped if an animal jumped you have to look at its evolution over time and notice also that we refer to the animal to a particular object with its spatial relationship to another object in the past and this relationship may no longer be true in the present so we cast this ground language grounding problem in our case not as a reinforcement learning problem but us more narrowly as learning a reward function r of theta so as a deep neural network and you can see this reward function also as a truth function that has to learn to tell if a sentence a given sentence w l is true or false given an observation s of i and t here the wl the l index index is the different words of the sentence and each observation is a an object vector which contains information about the shapes the sizes etc of of objects in the environment the i index here indexes the different objects that exist in the environment and the t here indexes the different time steps so we have access to the the whole traces of the objects over time as an input observation for our reward function and then we evaluate the ability of our models to generalize to unseen sentences uh this is a kind of systematic or linguistic generalization and to do this we monitor the f1 score on sets of test sentences on our set of observations so rapidly to describe our environment and the spatial temporal language we use in our setting so you can here see here a visual depiction let's say of our of our setting which contains a collection of objects which contains an agent which is represented by its hand over here and the agent can interact with the different objects by grasping them moving them around et cetera the all the objects can also interact with each other for instance if an animal passes over a source of food or supply it will grow in size and advance also we monitor the temporal evolution of the states of the objects over a whole episode and at the end of an episode language descriptions of everything that happened during one episode is generated at the end so the language we use is very is very synthetic and it's generated according to a grammar that allows us to um generate only true sentences for the the states that we have the temporal traces of the states we have in our environment so to describe the language the synthetic language in a bit more detail we have a set of basic primitives for our language which is composed of different objects uh for example cat but we have 30 something objects 32 objects and also some categories such as living thing furniture etc we have also some attributes for our objects blue green red which corresponds to their color and we have also sets of predicates which importantly um allow us to talk about the actions of the agents over the objects in the environment so these are the basic language and they do not uh entail any spatial or temporal concepts in the language then we have also the spatial aspect in our language so we have decided to restrict ourselves to referring to objects as their relations specified by the relations in space to other objects so we have one-to-one relations uh we can refer to an object to a thing for example uh by the fact that is that it is left of another thing and similarly we can refer to an object by its relationship in space to all the other object by instance saying that it is the leftmost object and finally and this is important uh the tempora the temporal aspect in our language is represented by three things so firstly the temporal predicates that we consider such as shaking and growing can only be decided by looking at the temporal evolution of the object over time and the the the second aspect of the temporality we consider now language is putting a predicate to the past so this is realized in the language by adding the was token before the verb to indicate that the given action had been has been taking place in the past and we also use past spatial reference to indicate that a given spatial reference was true in the past and is no longer true in the present so here for instance uh there is an example that has past spatial reference because the chameleon here was bottom of the television it moved on the top and right now in the present the agent is grasping it so grasping in the present was button on television because the chameleon was bottom of television at first so here there is another illustration illustrating uh temporal predicates and also the past tense for this potential predicate so first the agent grasps the tv and shakes it so this happens over a time interval and this is the temporal fatigue aspect after a few time steps the agent releases the tv and moves away so the action of shaking is considered in the past and is no longer true in the presence hence one of the destruction descriptions that is generated at the end of the episode is was shake red television so from this set of episodes we create some samples of observation sentence tuples as of by twl and we process them with some architecture based on transformers which have enjoyed really good performance in natural language and also other tasks in the recent years we train them with supervised learning to predict if a given sentence is true or false with the given temporal trace of objects that we consider and we implement different intuitive inductive biases in this architecture to study the effects of different kinds of aggregation on this task so the first model i'm going to present shortly is the unstructured transformer where all the different time steps for all the different objects in this dimension here are simply flattened in a single single list in a single set of objects the language description is concatenated and the query and learned query token is also concatenated at the end several rounds of self-attention as is classical transformers is performed on this set of objects and a final reward token is used to make the the prediction at the end so you can see this as a kind of reduction operation over this this whole dimension which has been flattened here then we also consider the spatial transformer which performs a kind of hierarchical attention so it is a sequence of two different transformers the first one is applied over the different time steps here so at each time step the language is concatenated to the different objects here and also the puree token is repeated at each time step here so this produces after the rounds of self-retention this produces a final vector which is of the same length as the number of time steps in our episode and this is queried again so reduced again with another transformer with different parameters to produce the final prediction token r here which is used for predicting if the label is true or false and finally we use also something we term a temporal transformer which is the transposed architecture as you can guess from the picture here where the words of the language are concatenated to the different objects within the time dimension this is first reduced along the time dimension with several rounds of self-attention so the objects have the opportunity to attend to their temporal revolution this produces a vector which has the same length as the number of objects then this is queried and reduced again to produce the final the reward token r which is used for prediction we also measure the influence of letting the words interact directly with the observations or aggregating them as we do for the spatial temporal dimensions for our different uh architectures before uh and so this is to study the effect of letting the word tokens interact directly with the objects versus summarizing them in a in a single token that uh incorporates the whole language information here so we divide our test sets which are composed of new unseen sentences according to the kinds of meanings that they consider so first we have the base sentences which have no spatial or temporal um meanings or concepts in them the spatial ones which include the spatial relations uh the temporal ones which includes uh the past the past predicates and also time interval or temporal predicates such as shake and grow and the spatial temporal ones which is spatial and temporal and so this is still ongoing work but we have some preliminary results here which i'll go over kind of quickly we can see simply that the unstructured and temporal transformers are the best uh within a small margin of error so this is only three random seeds for each of our architecture here is the f1 score over there the whole our four splits and they performs uh they have very good performance and similar performance on these three splits so we can see that on the spatial temporal um splits the word aggregation which are those two models here seem to perform a bit less and very interestingly the spatial transformers which are which are the first two ones here perform very badly and close to baseline here uh on this uh on this task so this is quite interesting so to conclude we have presented the first step towards grounded language learning of spatial temporal concepts we have presented a family of transformer architecture on this task to study the effect of different inductive biases on grounding artificial temporal concepts and we have identified that aggregating along the time dimension seems to have no measurable impacts compared to having an unstructured transformer but the spatial transformer performs quite quite badly and this is suggesting that there is an importance of maintaining object identity in this task to be able to ground the language correction so thanks for listening and

Original Description

Artificial Intelligence (AI) 20 May 2021 Speaker: Laetitia Teodorescu, INRIA (collaboration with Tristan Karch, Clément Moulin-Frier, Pierre-Yves Oudeyer, INRIA and Katja Hofmann, Microsoft) This virtual event brought together the PhD students and postdocs working on collaborative research engagements with Microsoft via the Swiss Joint Research Center, Mixed Reality & AI Zurich Lab, Mixed Reality & AI Cambridge Lab, Inria Joint Center, their academic and Microsoft supervisors as well as the wider research community. The event continued in the tradition of the annual Swiss JRC Workshops. PhD students and postdocs presented project updates and discussed their research with their supervisors and other attendants. In addition, Microsoft speakers provided updates on relevant Microsoft projects and initiatives. There were four event sessions according to research themes: Computer Vision, Systems, and AI Learn more about the Joint Research Center Workshop 2021: https://www.microsoft.com/en-us/research/event/joint-research-centre-workshop-2021/
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Microsoft Research · Microsoft Research · 0 of 60

← Previous Next →
1 Frontiers in ML: Learning from Limited Labeled Data: Challenges and Opportunities for NLP
Frontiers in ML: Learning from Limited Labeled Data: Challenges and Opportunities for NLP
Microsoft Research
2 Frontiers in Machine Learning: Climate Impact of Machine Learning
Frontiers in Machine Learning: Climate Impact of Machine Learning
Microsoft Research
3 Frontiers in Machine Learning: Security and Machine Learning
Frontiers in Machine Learning: Security and Machine Learning
Microsoft Research
4 Hope Speech and Help Speech: Surfacing Positivity Amidst Hate
Hope Speech and Help Speech: Surfacing Positivity Amidst Hate
Microsoft Research
5 Early Indicators of the Effect of the Global Shift to Remote Work on People with Disabilities
Early Indicators of the Effect of the Global Shift to Remote Work on People with Disabilities
Microsoft Research
6 Remote Work and Well-Being
Remote Work and Well-Being
Microsoft Research
7 Challenges and Gratitude of Software Developers During COVID-19 Working From Home
Challenges and Gratitude of Software Developers During COVID-19 Working From Home
Microsoft Research
8 Towards a Practical Virtual Office for Mobile Knowledge Workers
Towards a Practical Virtual Office for Mobile Knowledge Workers
Microsoft Research
9 Impact of COVID-19 crisis on the future of work in India
Impact of COVID-19 crisis on the future of work in India
Microsoft Research
10 Empowering and Supporting Remote Software Development Team Members through a Culture of Allyship
Empowering and Supporting Remote Software Development Team Members through a Culture of Allyship
Microsoft Research
11 How Work From Home Affects Collaboration: Information Workers in a Natural Experiment During COVID19
How Work From Home Affects Collaboration: Information Workers in a Natural Experiment During COVID19
Microsoft Research
12 Phong Surface: Efficient 3D Model Fitting using Lifted Optimization
Phong Surface: Efficient 3D Model Fitting using Lifted Optimization
Microsoft Research
13 Managing Tasks Across the Work-Life Boundary: Opportunities, Challenges, and Directions
Managing Tasks Across the Work-Life Boundary: Opportunities, Challenges, and Directions
Microsoft Research
14 Microsoft Urban Futures Summer Workshop | Data Driven Urban Transformation [Day 1]
Microsoft Urban Futures Summer Workshop | Data Driven Urban Transformation [Day 1]
Microsoft Research
15 Microsoft Urban Futures Summer Workshop | Sensors and Data [Day 2]
Microsoft Urban Futures Summer Workshop | Sensors and Data [Day 2]
Microsoft Research
16 Microsoft Urban Futures Summer Workshop | Policy and Social Impact [Day 3]
Microsoft Urban Futures Summer Workshop | Policy and Social Impact [Day 3]
Microsoft Research
17 Directions in ML: Algorithmic foundations of neural architecture search
Directions in ML: Algorithmic foundations of neural architecture search
Microsoft Research
18 MineRL Competition 2020
MineRL Competition 2020
Microsoft Research
19 Can we make better software by using ML and AI techniques? With Chandra Maddila and Chetan Bansal
Can we make better software by using ML and AI techniques? With Chandra Maddila and Chetan Bansal
Microsoft Research
20 From Paper to Product
From Paper to Product
Microsoft Research
21 SkinnerDB: Regret Bounded Query Evaluation using RL
SkinnerDB: Regret Bounded Query Evaluation using RL
Microsoft Research
22 From SqueezeNet to SqueezeBERT: Developing Efficient Deep Neural Networks
From SqueezeNet to SqueezeBERT: Developing Efficient Deep Neural Networks
Microsoft Research
23 Programming with Proofs for High-assurance Software
Programming with Proofs for High-assurance Software
Microsoft Research
24 Platform for Situated Intelligence Overview
Platform for Situated Intelligence Overview
Microsoft Research
25 Directional Sources & Listeners in Interactive Sound Propagation using Reciprocal Wave Field Coding
Directional Sources & Listeners in Interactive Sound Propagation using Reciprocal Wave Field Coding
Microsoft Research
26 Galactic Bell Star Music Demo
Galactic Bell Star Music Demo
Microsoft Research
27 Importing Animations in Microsoft Expressive Pixels (9 of 9)
Importing Animations in Microsoft Expressive Pixels (9 of 9)
Microsoft Research
28 Welcome to Microsoft Expressive Pixels (1 of 9)
Welcome to Microsoft Expressive Pixels (1 of 9)
Microsoft Research
29 Getting Started with Microsoft Expressive Pixels (2 of 9)
Getting Started with Microsoft Expressive Pixels (2 of 9)
Microsoft Research
30 Creating an Image in Microsoft Expressive Pixels (3 of 9)
Creating an Image in Microsoft Expressive Pixels (3 of 9)
Microsoft Research
31 Creating Animations in Microsoft Expressive Pixels (4 of 9)
Creating Animations in Microsoft Expressive Pixels (4 of 9)
Microsoft Research
32 Managing Animation Galleries in Microsoft Expressive Pixels (5 of 9)
Managing Animation Galleries in Microsoft Expressive Pixels (5 of 9)
Microsoft Research
33 Creating Fragments in Microsoft Expressive Pixels (6 of 9)
Creating Fragments in Microsoft Expressive Pixels (6 of 9)
Microsoft Research
34 Using Layers in Microsoft Expressive Pixels (7 of 9)
Using Layers in Microsoft Expressive Pixels (7 of 9)
Microsoft Research
35 Exporting Animations with Microsoft Expressive Pixels (8 of 9)
Exporting Animations with Microsoft Expressive Pixels (8 of 9)
Microsoft Research
36 What Kind of Computation is Human Cognition? A Brief History of Thought (Episode 2/2)
What Kind of Computation is Human Cognition? A Brief History of Thought (Episode 2/2)
Microsoft Research
37 What Kind of Computation is Human Cognition? A Brief History of Thought (Episode 1/2)
What Kind of Computation is Human Cognition? A Brief History of Thought (Episode 1/2)
Microsoft Research
38 Planeverb: Interactive sound propagation for dynamic scenes using 2D wave simulation
Planeverb: Interactive sound propagation for dynamic scenes using 2D wave simulation
Microsoft Research
39 Making cryptography accessible, efficient, and scalable with Dr. Divya Gupta and Dr. Rahul Sharma
Making cryptography accessible, efficient, and scalable with Dr. Divya Gupta and Dr. Rahul Sharma
Microsoft Research
40 Beyond the mega-data center: networking multi-data center regions (SIGCOMM 2020 Talk)
Beyond the mega-data center: networking multi-data center regions (SIGCOMM 2020 Talk)
Microsoft Research
41 Optics for the cloud – Light at the end of the tunnel? (SIGCOMM 2020 Workshop)
Optics for the cloud – Light at the end of the tunnel? (SIGCOMM 2020 Workshop)
Microsoft Research
42 Beyond the mega-data center: networking multi-data center regions (SIGCOMM 2020 short talk)
Beyond the mega-data center: networking multi-data center regions (SIGCOMM 2020 short talk)
Microsoft Research
43 Sirius: A Flat Datacenter Network with Nanosecond Optical Switching (SIGCOMM 2020 short talk)
Sirius: A Flat Datacenter Network with Nanosecond Optical Switching (SIGCOMM 2020 short talk)
Microsoft Research
44 Novel Image Captioning
Novel Image Captioning
Microsoft Research
45 Forest Sound Scene Simulation and Bird Localization with Distributed Microphone Arrays
Forest Sound Scene Simulation and Bird Localization with Distributed Microphone Arrays
Microsoft Research
46 Decoding Music Attention from “EEG headphones”: a User-friendly Auditory Brain-computer Interface
Decoding Music Attention from “EEG headphones”: a User-friendly Auditory Brain-computer Interface
Microsoft Research
47 How does holographic storage work?
How does holographic storage work?
Microsoft Research
48 The physics of hologram formation in iron doped lithium niobate
The physics of hologram formation in iron doped lithium niobate
Microsoft Research
49 Introduction to coax: A Modular RL Package
Introduction to coax: A Modular RL Package
Microsoft Research
50 Directions in ML: "Neural architecture search: Coming of age"
Directions in ML: "Neural architecture search: Coming of age"
Microsoft Research
51 Microsoft Research AI Breakthroughs 2020: 20 minute research talks + Q&A panel
Microsoft Research AI Breakthroughs 2020: 20 minute research talks + Q&A panel
Microsoft Research
52 Fireside Chat with Johannes Gehrke during Microsoft Research AI Breakthroughs 2020
Fireside Chat with Johannes Gehrke during Microsoft Research AI Breakthroughs 2020
Microsoft Research
53 Fireside Chat with Susan Dumais during Microsoft Research AI Breakthroughs 2020
Fireside Chat with Susan Dumais during Microsoft Research AI Breakthroughs 2020
Microsoft Research
54 Microsoft Research AI Breakthroughs 2020: 20 minute research talks, Q&A panel, and event wrap-up
Microsoft Research AI Breakthroughs 2020: 20 minute research talks, Q&A panel, and event wrap-up
Microsoft Research
55 Clinical Research with FHIR
Clinical Research with FHIR
Microsoft Research
56 Soundscape Street Preview
Soundscape Street Preview
Microsoft Research
57 Tilt-Responsive Techniques for Digital Drawing Boards
Tilt-Responsive Techniques for Digital Drawing Boards
Microsoft Research
58 SurfaceFleet: Exploring Distributed Interactions Unbounded from Device, Application, User, and Time
SurfaceFleet: Exploring Distributed Interactions Unbounded from Device, Application, User, and Time
Microsoft Research
59 Haptic PIVOT: On-Demand Handhelds in VR
Haptic PIVOT: On-Demand Handhelds in VR
Microsoft Research
60 SurfaceFleet Supplemental Video Demonstration (UIST 2020)
SurfaceFleet Supplemental Video Demonstration (UIST 2020)
Microsoft Research

This video teaches how to ground spatio-temporal language with transformers, covering key concepts like language-conditioned reinforcement learning and spatial information processing. By watching this video, viewers can learn how to develop effective transformer-based architectures for spatio-temporal language tasks.

Key Takeaways
  1. Implement language-conditioned reinforcement learning using Transformers
  2. Design spatial and temporal transformers for spatio-temporal language tasks
  3. Evaluate the performance of different transformer architectures on spatio-temporal language tasks
  4. Fine-tune LLMs for spatio-temporal language tasks using retrieval augmented generation and fine-tuning techniques
💡 The video highlights the importance of considering spatial and temporal information when developing LLMs for spatio-temporal language tasks, and demonstrates how transformer-based architectures can be effective in this context.

Related Reads

📰
AI Is Not the Enemy of Journalists, but a Test of Journalism’s Integrity
AI is transforming journalism, but its impact depends on the integrity of journalists, who must learn to work with AI tools while maintaining ethical standards
Medium · AI
📰
Apple Sends Letters to Dozens of Former Employees Now at OpenAI
Apple is taking aggressive legal action against former employees now at OpenAI, demanding document preservation and meetings with lawyers, in relation to a recent lawsuit
Daring Fireball
📰
At 50, AI Didn’t Just Change How I Work. It Gave Me a New Hobby With My Granddaughter.
Discover how AI can spark new hobbies and income streams, even at 50, by combining passions with cutting-edge technology
Medium · ChatGPT
📰
Canada’s ‘AI For All’ Fails to Define AI At All
Canada's 'AI For All' strategy lacks a clear definition of AI, which is crucial for its successful implementation and understanding
Medium · LLM
Up next
What is SaaS Explained with Examples
VLR Software Training
Watch →