Enjoying this issue?
Get tomorrow's AI & engineering digest in your inbox — hand-picked, summarized, and always spam-free.
TLDR
Video is not a bag of frames but a spatiotemporal volume that requires a dedicated memory layer for true understanding. TwelveLabs builds a video cognition infrastructure with a memory layer that ingests once, stores primitives, grounds every claim, lets intent shape memory, and stays composable, enabling applications like sports analysis, security surveillance, and advertising.
Key points
- Video is a spatiotemporal volume, not a bag of frames, and its meaning comes from continuity and relationships across time and modalities.
- Current video AI systems lack memory because they treat video as sequences of text tokens or frames, losing spatial-temporal relationships.
- Five challenges of video understanding: temporal dependency, multimodality, density, ambiguity, and high cost of source grounding.
- TwelveLabs' stack includes semantic chunks, a multimodal embedding encoder (Morango), a spatiotemporal context store, and a video context-aware language model (Pegasus).
- Five principles for a video memory layer: ingest once and reason many times, store primitives (moments, entities, appearances), ground every claim to timestamps, let intent shape memory, and keep the layer composable and API-first.
- A video worker harness includes memory, task planning, retrieval, expert tools, operating envelope, output contract, and evaluation.
- Demos of Jockey (TwelveLabs' product) show sports understanding (World Cup), security surveillance (vehicle/pedestrian counting, safety events), and advertising moment classification.
- The goal is to provide video cognition infrastructure, not an application layer, enabling developers to build discovery, reasoning, organization, and action workflows.
Tools mentioned
Techniques
- spatiotemporal embedding
- memory layer architecture
- context graph representation
- video worker harness
- ingest-once-reason-many
- grounded evidence retrieval
Stop scrolling. Start reading smarter.
Receive the day's most important AI & engineering updates in one concise email. No spam.
Transcript (captions)
[music] Thanks so much for having me and uh inviting me to to be a speaker at uh the warfare. You know I attended last year and was so impressed about the quality of presenters. So so glad to to have a chance to be here and present. Uh so the title of my talk is you know video has no memory, right? uh and you know uh this might sound strange because video is already like a preservation of the past right you think about like you have footage you preserve uh recording training data incident creative work uh history etc.
But actually most of the video AI system these day do not have memory in the system sense. So actually for this talk I will try to answer the question like what could it take to build a memory layer for video intelligence. To start I want to be clear about what makes V different from other data type right. So this is the first mental model that I want to highlight which is that video is not a bag of frames. Um so in you know many of my conversation with like developers uh you know who using a product a lot of them still treat video as like a stack of images uh maybe a transcript being attached or you know um like you know but essentially like like a frame level right and that is useful approximation for some task but it throw away the thing that makes video very unique which is continuity right so meaning in video derives from space time modalities the sequence so a better mental for video is a spatial temporal volume.
So what do I mean that inside that volume you have visual information speech sound motion OCR camera changes scene transition metadata and time right so the hard part here is really about how can you preserving relationship across this volume so that later an application can traverse it and then you know especially at the enterprise scale you know across like industry like entertainment sport you know um short form content then you sitting on pabytes of footage right so fighting moment is already hard. So how can you preserve meaning across millions of moments in the deeper platform? So I work at Troll Lab which is a series B uh startup. Um we foundation models that understand you know video the way that human do. Um and the way we talk about our positioning is like the existing uh stack of of dealing with video is not equipped to do that.
Right? Obviously language model are very powerful. They are good reasoning interfaces. They are increasingly multimodal as well. But the supporting stack right around that is very um I would say limited and that create three problem.
Number one is wrong context right. So video is not naturally a sequence of text token. If we force it into that sequence by sampling frames by extracting a transcript uh by dumping everything into a prom you lose the spatial temporal relationships right that actually defy the event. Second uh wrong memory. So if you think about text system memory here is often mean reachable management generation vector search or probably like larger context window uh those are very useful but video memory has a different requirement it needs to link today's scene for something that happened in another file another episode another camera angle another season another year so it actually need durable continuity right and the last part here is strong reasoning like I said you know text first system cannot reason over you know um natively over motion causality all that so uh you know they do not automatically build like a persistent structure uh on you know who appear what happened what changes etc and so my argument is that video intelligence need a memory layer that decide what to preverse how to connect it and how to reip so um I want to kind of gr it into the properties of video right to to make it even clearer there's five challenges dealing with video number one is temporal right so meaning depends on before and after so frame by itself can can be misleading right the same expression product shot physical action can mean different things depending on the sequence right second is that video is obviously multimodal I explained already um you know a transcript alone may miss you know the logo a frame alone may miss the spoken claim videos video is also very dense right so a few minutes can contain dozen of shots people objects action location claims the useful signal is uneven across the distribution on on the frame some are decisive, others are noisy.
Fourth is that uh video is also ambiguous, right? Um people reappear under different lighting and angles. Brands are partially visible. Location are imply concepts much over time rather than being named in a single moment. And lastly, it is uh expensive uh because in a lot of uh big enterprise and and complex workflow, you need to know point back to the source moment like where it come from, right?
So these are the five properties explain why vo memory um is very complex. It need to preserve temporal span multimodal evidence continuity or uh these are very simple u stack of how we build things at 12 labs. Um at the bottom we have this semantic chunks that capture you know meaningful temporal units. A above that is our u multimodal embedding encoder called morango which essentially turn those spend into spatial temporal relations. um basically vector embeddings that represent video content and then we have a spatial spatial temporal context store which is where it preserve pre reusable structure like moment entities metadata all that uh we also build our own uh VLM video context aware language model called Pegasus that essentially serve as the the reasoning layer right that can preser prepare over video content so think about summaries like um metadata synthesis comparison and we expose our our models as API because you know we want to get develop velopers to use them as infrastructure.
Now moving beyond like kind of the stack right here I want to talk about the difference between search and memory right very quickly speaking uh search is obviously super important is how you recover relevant moments from large video library but then it give you candidate it actually not give you like any continuity so memory on the other hand is is all the um you know uh the things that enable the system to answer a different class of question as you see here on the right side of my screen. So these are not the single retrieval code right they require the system to preserve entities timeline evidence across an entire corus um and so like you can actually build product moving beyond from like show me something like this to you know tell me what this collection knows right and so that that might sounds you know simple and subtle but uh the the the output is completely different like with search you you get like an output like a time moment but with memory you actually return like structure knowledge timeline uh explanation composable output and that like you know is very important because we can now move um the the unit output from clip retrieval to corus memory right um there are two scaling dimensions shown here on the slide the first is time scaling so a real video system should be able to reason over years of footage without reprocessing the whole archive every time right that means memory first retrieval uh be reusable representation once and then support multiop timeline episodic recall follow-up question at lower latency and cost. And then the second uh dimension is in space, right? So many real workflow actually um involve multiple perspective like different camera angles uh you know live stream creator broadcasting content body cam stock cameras uh event fit right. So how can you build a system that can fuse evident across all the sources and then maintain current understanding right and so that is the challenges here.
How can you build a representation that let application traverse video across time and across sources? Um since this is um you know a track on on graph right. So uh the the best mental model that I can come up with is to represent you know video collection as a context graph. So a context graph is a durable queryable representation that connects video moment entities appearances relationship time stamp metadata and compost level context. Right?
So if you take a look here on on the screen all the way in the bottom you got time bounded moment. These are like the the scene the shot right these are evidence unit. One one level up are the appearances where and when each entity show up and then you got the actual entity itself. So think about the people on the video the brand the places the concept. Next you have relationship uh core occurrences the same brand sequences between different places and timeline and finally at the top you have corpus level context.
What are the main themes, the patterns, the gap, the coverage that this video collection cover, right? Uh this matter because different question travels different part of the graph. If you ask a simple search question then might that might go directly into the moment but like an entity workflow might start with a person and then it expand into appearances right and if you ask question like a story line like narrative storytelling of certain uh you know uh you know person then it may follow relationship across time right. uh so the key idea here is that memory in the context of video understanding is a navigable structure over the entire video volume from that concept I come up with these five principles of building um you know a memory layer for video intelligence number one is to ingest once and reason many times so um you don't want to like do sing every single query uh from scratch like you want to pay the cost up front do one uh interpretation from the video content up u up front pay the cost and then you move expensive understanding into injection So this is the same mental model uh of database right you you do not repeatedly have to pass your entire source of data um for you know every application request. Um second principle is to store primitive not just answer.
So uh you know moments entities appearances I already talked about that those are the the primitives right that allows you to uh do downstream workflow like search editing um you know analytics all of that. Third is to ground every claim like basically if you ask a question you need to site back into where that scene happening in the video. So evidence like you know should be grounded to a specific time stamp within the video right. Uh fourth is to let intent shape memory. Um this is important because the same footage mean different thing in different workflow.
We work across spots uh application brand safety compliance review creator analytics all of them require different primitives from the same video. So the memory layer should be configurable, right? Developers should uh should be able to tell the system what matters. And lastly, uh keep the layer composable. Um so basically being API first, you know, um it should provide the the layers that allows those application on top of that to to serve it uh structure graded metadata that can be plugged into any sort of application.
Um so moving beyond these five principles, I want to talk about like kind of the the harnesses around building a memory layer, right? There's a lot of talk these day about um you know building the right harnesses for the conext of language model. So what does it look like for for video on a static model right um a model co a single answer it is stateless it start fresh time start fresh each time and doesn't have any constraint so the output is largely based on what the model decide to produce a video worker on the other hand operate inside a a very deterministic system understand what is available uh it can plan the task receive evidence inspect uh uh the relevant moments synthesize validate return output and then the entire workflow can be evaluated, right? Um so so for video understanding this is very important because the worker need to know what memory is available what evident matters and also like how deep to inspect because that will depend uh determine how much cost to spend what output contract to satisfy right um talking about harness engineering for for video understanding um I come up with this like different capabilities for for like a video worker right um number one is memory I talked about that already number two is task planning so given given a query from from an user uh you have to decide like what task to execute is it like search or is it like summarization or like you know multi multi-step reasoning uh third is retrieval like every single system should be able to like select the right evidence from from your video corpus to read for specific task uh expert tools right so we work with customer where they require like you know zoom in zoom out uh comparing different uh uh you know frames and reaching uh content with like additional metadata so building expert tools inside like a like a video worker uh is very important operating envelope. So these are like explicit limit on time, cost, dep scope, autonomy.
Uh an output contract. So sometimes natural language is snap, sometime the patient need structure data with references and time stamp and of course finally you have evaluation right uh like you know did the retrieval find the right evidence did the synthes synthesis preserve it right? Did the workers stay within the budget? All right. So, so that's a lot of like you know uh slide and and and talk.
I want to quickly jump into some demos uh that I actually build using to labs uh you know video Asian product. So the uh there'll be three demos. Um the the video Asian product that we've been building is called jockey. So this first example here is for spot understanding. Uh you know obviously everyone is super excited about the world cup that happening right now.
So what I did is I ingest um 67 videos from the 2022 World Cup in Qatar. And you can see here I asked it to find the near misses uh the shot that almost become go but did not for each explain why it was not a goal uh but do not include actual goals. Right? So these are the the the top output it return. So that um that's hitting the good work.
This is safe from the goalkeeper. I don't know if the sound is up, but like I'm playing the the video by the way. Um, right. This is another save from the goalkeeper. It even catch like you know the upside from one of the goals.
And then I asked question. Okay. When is the goal? Uh, five the most dramatic actual goals. show the build up play and the finish.
For each goal, describe the sequence, right? So, if you know this one, this is the um the first goal of the World Cup final like four years ago and it actually like returned like you know you don't understand who who are the passer like it was Alvarez passing to Maralista and passing to De Maria to score the goal. Um take a look at this one from Rich Allison. This is golden tournament uh from Brazil again. uh South Korea I believe right and it returned like you know u an area of skill in a buildup right the name the player who did the return pass you can even do player tracking so I asked it to track Leon Messi across this entire compost including the shot where he's one of the many figure on the screen describe the camera faming right uh so this is a hilarious all the important moment in the game and this is a scene where Messi He triple past a sliding defender.
You can see here it picked up the scene where he scored the first goal against Australia in the round 16, I believe. Right. This is another scene where he scored the third goal in the final. Yeah. So that one example on spot uh spot understanding.
But then you can obviously build more interesting and more uh like real practical application of which uh security is one that we encounter a lot. So on on this example I ingest it um you know publicly available camera footage for context. These are the clip you have a traffic jam sub urban uh you know urban area uh and given this footage right I asked jockey to cow and classify every vehicle in the intersection break it down by tie plus pedestrian and it return the number of vehicles and the big foot traffic as well um it can detect safety events right so you see there a red SUV turn and almost gets struck Another scene here. Turn left into an upcoming car. Yeah.
So that a clearest red light entry. Uh it works well in you know different scenario. This scene is uh very crowded uh area in Bangkok. Uh it as it I also asked it to work on the the you know the rain, right? So this is another scene where it understanding the um rainy condition.
It identify the buses um intersection vehicle window. So yeah those are some example for for camera security surveillance footage. Um finally advertising. So um you probably seen this uh Adidas clip in all all the commercial leading up to World Cup recently. It's a five minutes Adidas footage and I asked it to classify all the point where you can put an add-on.
So it find the reveal the hard the impact energy pick right it a scene where certain player appear on the screen. It did identify like you know high impact action like this condition um the hard cut to knife football underlies and of course it it pointing to the logo um of Adidas. So you know uh from from perspective of an advertiser these are very important moments because they can you know fight the scene with slow motion hero hard cut beat or pick action in which they can advertise their brand content against this footage. Right. Um yeah so those are three sample demo application um that I want to highlight uh of using tool apps.
Um and again um now what can you build with with this sort of video memory layer based on example these are the categories of of application that I believe developers can build you can discover things you can view reasoning experience you can organize your content across different video library and you can view action workflow assemble uh different scene together do compliance review data operation etc. The same framework apply for different vehicles, email, entertainment, sport, segmentation, highlight generation, in commercial security, evidence review, contextual analysis, in advertising, uh brand safety, uh creative intelligence, right? And uh yeah, so this is our product uh that upcoming up. Um one quick highlight is that we we try to code as a video cognition infrastructure. So we have a knowledge store that basically become the video memory layer.
Web configurable injection that let builders shape what the system can can extract copus digest so that you can understanding what is in the library and the resolution as you search responses API so the thing I want to highlight here is it's not an application layer it's not an editing platform not a compliance product it's the cognition infrastructure with the layer and the harnesses that enable like those product being to become available um and if you found the content of this talk interesting um definitely recommend you to to scan this QR Uh the product is currently in private beta right now. Um if you bring any sort of workflow that touch video content especially around content assembly, content organization, you know, think about media archive, content creator, YouTube, Tik Toker, uh spot analysis, uh media workflow. Uh definitely uh either scan this code and register for the interest or come talk to me after the talk. So that should be my time. Thanks a lot.