Session Date/Time: 17 Nov 2026 00:30
[00:00:37] Antoine Fressancourt: Hello for people online. We are going to start when problem on on-site is fixed about the audio. So when it's ready, will it will it be starting? So don't leave yet. Things are getting fixed right now. Zoom team is currently working on the issue. Hopefully, you can hear me. I'm speaking right now, An.
[00:01:30] Young Su: Yes. We can hear you.
[00:01:32] Dirk Kutscher: Thank you.
[00:01:38] Antoine Fressancourt: But the room is is not hearing us, so that's why we are waiting. So as mentioned by Dirk on the chat, we'll be starting a bit later due to this audio and video problems on-site. So please stay tuned and stay with us. We have a very exciting program program. So it's worth the wait. So for those who joined, we are waiting for a fix of an audio and video problem on...
[00:10:51] Dirk Kutscher: In the room. Seems
[00:10:55] Antoine Fressancourt: to be working.
[00:10:59] Dirk Kutscher: Yeah. Not quite yet, but looking promising.
[00:11:02] Antoine Fressancourt: Okay. Okay.
[00:11:50] Dirk Kutscher: Okay. So this one here is
[00:11:56] Young Su: Yeah. There you go. Yeah.
[00:11:57] Dirk Kutscher: It's coming.
[00:11:58] Young Su: Yeah. Okay.
[00:11:58] Dirk Kutscher: Thanks so much, guys. So this one is still not working, I don't need it. I mean, it's okay. I mean, it's it's it's not not not version, maybe. Okay. Great. Fantastic. Alright. Please get seated if you can. We are starting. So welcome to the first meeting of a newly proposed research group in the IRTF, networking for AI. So my co chair is Antoine Fressancourt. He's remote. And Hello. I'm the co chair. I'm the ITF chair. And Antoine is going to do the introduction. And please go ahead, Antoine.
[00:13:31] Antoine Fressancourt: Hello. So thanks everyone for attending this inaugural session of the proposed research group networking for AI. So as, this is the first day of the week, we will go through the note well for the IRTF sessions. So, please note well that the IRTF follows the IETF interuter property rights disclosure rules. So by participating in the IRTF, you agree to follow the IRTF processes and policies that are described on this slide. Please note also that this session is recorded. So, if you comment on the mic and you appear without a red lanyard, you will be appearing on the videos and eventual pictures that are taken of the session. So be aware of that. And,
[00:14:34] Wei Chang: as a participant, you abide to the IRTF code of conduct. And,
[00:14:40] Antoine Fressancourt: if people are, nasty or don't behave well to you, you can contact the team to signal a breach in this code of conduct. So follow... Following this note well, can we have a notetaker about the session? So we need this notetaker for the session to use the EdgeDoc tool and to make sure that presenters and people asking questions are captured properly. So if we have a notetaker
[00:15:20] Dirk Kutscher: Yes. So the room is full, so we should be able to find somebody. We cannot continue without one. We have been waiting for quite a while. So we don't take notes of all the present material, just the gist of the discussion. It's not a very hard job, but we we definitely need one.
[00:15:44] Siddhant Ray: I'll do it, Dirk.
[00:15:47] Dirk Kutscher: Ah, okay. Thank thank you. What did you say?
[00:15:51] Antoine Fressancourt: Thank you. Thanks a lot.
[00:15:51] Siddhant Ray: I'll do like... I... I'll do what I did this morning. I'll just take notes and and some note note thing, and I'm gonna send them after.
[00:16:00] Dirk Kutscher: Okay.
[00:16:00] Wei Chang: Great.
[00:16:01] Dirk Kutscher: Perfect. Thank you. Thank you.
[00:16:02] Antoine Fressancourt: Thanks a lot, Jose. So the goal of the IRTF is to conduct research. Contrary to a UTF, it's not a standards development organization. And this is what is described in this slide. And in particular, in this proposed networking for AI research group, what we are aiming for is to bring together researchers and the Internet community to investigate the networking conditions of distributed AI systems as that span multiple stakeholders. So in order to do that and to have a forum to discuss long term architectural research beyond immediate requirements addressed by the working groups, we are trying to bridge the academic community with the wider IETF audience, and this is the purpose of the three presentations that we are going to have today. So in order to do this outreach to the academy community, this proposed research group doubles as a workshop that we organize and that is collocated with the RCMCONEX conference that is taking place from the December 7 this year in Utrecht, so in The Netherlands. You are invited to attend if, networking and, research on networking is your thing. And with no further ado, I will present you the agenda for today. So today we are going to have three presentations from members of the academy community. First, Young Su from UC Davis will present the work that is done the UCCL project, which is a communication library used in inference engines, in particular about UCCL Zip and UCCL Tron, about transport protocol for UCCL. Then we'll have Siddhant Ray from University of Chicago presenting about the Internet of KV caches. And, last but not least, we'll have a presentation from Lixia Zhang about steering the Internet of agents. So, now, with no further ado, because you have been waiting for that for quite long now, I will, give the floor to Young Su who is assistant professor in UC Davis. So I'm sharing the deck and give you the floor. Yeah.
[00:18:54] Young Su: Yep. Thank you.
[00:19:05] Antoine Fressancourt: Okay. I think that now you can control your strides.
[00:19:08] Young Su: Yes. Cool. Thank you, Antonio, for the introduction. I'm really happy to be here presenting our work called UCCL project. It's a big project in camp... Including a lot of efforts building efficient transport layer protocols for data center level communications and also how to reduce transmission cost when when we really try to transmit some model weights and gradients. And and this is in be... On behalf of the whole UCCL team. We have a a big collaborators from worldwide from my students, my collaborators, building this open source project. You can check online and just search UCORE, and you will find the UCORE's GitHub repo. Okay. What is UCORE? Our goal is targeting the efficient and flexible GPU communication.
[00:20:05] Antoine Fressancourt: This is
[00:20:05] Young Su: the overarching goals. And on top of UCO, we have many, many fast evolving workloads. Most are in pass on applications like this inference engine and also some training libraries like Megatron, DeepSpeed. And these pass applications or ML or ML applications are using various kinds of communication primitives. For example, all reduce or or... Altogether, these are collectives. Auto all, these are mostly used in recent mixture of expert models or MOE models. They transfer weights, k v cache, you will see in the next talk. And you could see it on the middle layers. We try... We implement all kinds of these communication primitives with different UCOL components. For example, UCOL transport and UCOL zip, which is... Which are the two projects I'm gonna talk about today. And underlying the UCOL layers, we have increasing heterogeneous hardware that including both RDMA NICs and also the GPUs and accelerators. For example, almost all the vendors you see, all the big hardware vendors you see in the market, they are producing their own RDMA NICs. And they're also producing their own GPUs or accelerators. So across all these these different vendors, we try to build a flexible GPU communication layers for them to bridge this gap between the fast evolving workloads and heterogeneous hardware. That's a quick overview. But you may wonder why GPU communication matters to the Internet group, right, where where mostly the conference is focusing on this Internet and the WAN transmissions. I want to see that it matters because of the emerging cross data center training and serving workloads. They might be caused, for example, by stranded GPU resources within each data center region because each data center region may have limited power or the the majority of the GPUs are rented by some big frontier lab to train their models. So you left over with some stranded GPU resources, and you wanna use it up. Okay. And especially when when you hear this next talk, I guess, we will talk about the KV Cache where when you do when you do serving workload, you typically do a pre fill on a set of GPUs then to decode another set of GPUs where you wanna transfer the KV Cache. You may end up transferring across its data centers. Okay. Because of this data center training and the serving scenarios, we have many, many fun topics that I will cover in this talk. For example, multipassing. Well, can we use the the diverse path available not only in the data center network itself, but also in the... This wide area network itself to handle... Better handle congestion and packet reordering, etcetera. And GPU endpoints, you... Ultimately, you need to feed the data or or consume data from... To the GPU. You need to consider a lot of placements, compute runnings, etcetera. And finally, I'll talk about this lossless compression. Can we use it to transmit fewer bytes, especially when you have limited bandwidth in the Internet scenarios. Okay. I will start with some trend. The ML workload, of course, they are going distributed because the model keeps growing. You have this survey, as I mentioned just now. You have massive expert powerisms in MOE. As a result, you see last few years, NVIDIA's purchased the Mellox technology, which is a major networking vendors. Since then, we have many, many new network techniques like ML 72, ML one four four, 800 gNICs, and all kinds of optics, very fancy optic devices. These ML workload are going widely distributed or even across different data centers. Meanwhile, this ML workload, are fast evolving. Their communication patterns have evolved from the ten years ago, this traditional to, like, five years ago, you use all kinds of rReduce together, reduce scatter to basically trade some network communication for lower memory usage on each GPU for these large models. And then last two years, we see this in the serving... In the... I'm serving scenarios. The PD disaggregation caused peer to peer transfer workload for the KV Cache. Not only to... And also these last two years, we we also see this massive mixture expert, which features, also, all like more stressful communication patterns to the underlying network. In the other hand, I want to argue that our networking stack, especially the host transport on RDMA NICs, is slowly evolving. They're slowly evolving to a extent that it's hard to adapt to suit the ML workloads. There are three... Yes. Any questions? Oh, no? Okay. Yep. There are three points. For example, the first is the hardware changes, they are naturally time consuming. You need one or two years to fabricate a new chip, so you cannot expect it to evolve really fast as the software upper layer... Python software application evolves. New generations of NICs, RDMA NICs, they usually ship more bandwidth, but not necessarily new features. And this is also another factor why they're slowly... Involving slowly. They want to gradually draw out new features, not at a months or weeks granularity. Especially, if we look at this old legacy NIC hardware in our public cloud, they cannot be upgraded, especially in the public cloud. Once you get it, you fix that hardware. If you want to add new features to support new ML workload needs, you cannot do that. So I will give you a very concrete examples that this problem, this slowly evolving issue is actually causing severe problems in large language model pretraining that boils down to the fact that single pass RDMA is bad for ML. For example, this is a typical data center topology with three layers of factory where it connect thousands of nodes. You can think of each node it hosts as a GPU. Then it happens to have two pair of host, edge five to edge 10, then edge six to edge 12. They're sending the traffic. They are cliding cliding on the same link t three top of rack switch to the aggregate switch. And then because each link only have four hundred four hundred g, while each flow could also reach 400 g, they will have some flow collision. And this flow collision is very bad because it will trigger some exponential back off on the RDMA NIC, especially their congestion control or loss recovery mechanism. So you will see nearly zero on near... Nearly zero gigabyte per second of bandwidth really achieved. And this has been reported by many, many frontier labs like Meta, Alibaba, OpenAI when they treat their... Train their models. So the so the example basically tell you that the single pass RDMA is bad for ML, and it has been there for for a couple years or even dozens of years, and no one tried to involve it. No one tried to change it. And that comes to our first part of the talk, UCCL-tran, which is... We call it extensible software transport. What we want to do is we want to make the RDMA transport layer more extensible in a way of... We implemented it purely in the software. So by transport, I mean, the congestion control, multipass, load balancing, loss recovery, everything you can see in a typical multipass, sorry, multipass TCP. We want to make it in a software but work for the high speed RDMA. While this RDMA NIC is only handling the GPU data movement from one GPU to another GPU. So in this diagram, in the left part, that's a server which typically have eight GPUs and eight NIC. Each GPU correspond to one NIC. That's a typical data center GPU setup for training. And what we did is we try to separate the control header and the data payload. We separate these two. And then for the control header, we will find it to a... The right hand side part right hand side part, a u co layer that sit be... Sit behind... Sit under these collective collective communication layers like nickel. And this u co layer or u co transport layer will handle all this congestion control, load balancing across multipaths, and loss recovery in the software. And in the other hand, these data payloads, they are directly streamed from the source GPU to the destination GPU via the existing GPU direct RDMA techniques. And this ucolayer, especially, it handles... What what you see is basically a list of RC, UC, or UDQ pairs. Basically, this... The Q pair basically means RDMA connection. It's just like a socket connection in the TCP scenario. They implement more intelligent, converging control or pass selection, multipassing, loss recovery that is more that is better than these existing hardware baked transport protocol on the RDMA hardware, which is more suitable for the LM training workloads. Okay. There are a couple of challenges if we want to achieve this separation. The first is, of course, how you're gonna decouple this data and control pass for the existing RDMA NICs. There are many, many tons of RDMA NICs. NVIDIA, Broadcom, AWS, Intel, AMD, they're all making their own RDMA NICs. But, apparently, the second challenge is RDMA is really fast nowadays. A single h 100 could have 100... 400 g bandwidth of RDMA. And, yearly, in one server, you have eight of that 400 g. That's 3.2 terabits per second inter server bandwidth. That's only single direction. Usually, you have two directions that basically means 6.4 terabits per second inter server bandwidth in two directions. So we want to achieve this hardware level performance for the software control bus. That's the second challenge part. Okay. So so how we solve the first challenge? It's also very it's also very kind of straightforward solution that we can leverage the UCQ pairs on the existing RDMA NICs plus a primitive called RDMA right with immediate. UC means unreliable connection, which means it's just like enhanced version of t... UDP, which the underlying hardware big transport layer does not enforce any loss recovery for the data you try to send. Meanwhile, it provide you with the the segmentation offloading, these all kinds of chunk level or message level semantics so that so that you do not need to manipulate individual packets, which is too costly. And with this, we can gain back some control, especially this loss recovery control from this hardware NIC to our software layers. And then we leverage this immediate data. The immediate data is a special verb or special operation in the RDMA programming, which allows you... Allows the CPU to specify a immediate data field that is four bytes. We... And then specify source address, destination address, and length. And then the RDM unique will send the data, combine this immediate data and also this GPU source data, place them in a remote GPU. And within this immediate data, basic 32 bits, we embed all kinds of necessary fields to implement a TCP like reliable transport. For example, we encode eight bit connection ID, seven bit messy ID, chunk ID, some last last chunk bit to indicate whether this match has been transmitted. So this part of this format of the 32 bits is co designed with collective libraries we've seen, for example, Nico, these collective communication libraries so that can we make sure that we leverage this 32 bit encode all the necessary inform... Necessary transport layer informations. So with this, we can implement some even fancier techniques, not only just loss recovery, but also we can do massive multipathing with load aware chunk scheduling. The high level idea is between any pair of GPUs or any pair of NIC, we will create multiple queue pairs. You can think of multiple connections. And we're gonna stripe the message chunks across these queue pairs and then place the queue pair... Each queue pair, each ride with immediate on that queue pair can place the data directly on the destination GPU. Right? What we do is because we have multiple queue pairs, each queue pair will go through different network passes. In the data center scenarios, because you see previously, you have this factory topology, so each compare will get a different hash value when they enter a switch, and switch will choose different passes. And for Internet scenario, I assume that similar, you can have some identifier to change how that specific connection will go through, which pass through the Internet or WAN. What we did is that we will monitor for each queue pair, each connection, what's congestion level, for example, indicated by the RTT of last chunk. If we found that RTT is really high, we're gonna send less chunk on that pass. If if we found that RTT is really low, which means it's very... It is less likely congestion, we're gonna send more chunks. That... What I means by load aware chunk scheduling. So, theoretically, it's just like we we do a dynamic multipassing load balancing among these 256 source and destination queue pairs. Here, I want to mention that these 256 queue pair there, they create a path diversity, but they do not care... Does not guarantee you have 256 distinct physical passes. But that's okay because we're gonna do the smart selection based on which path is more congesting and less congesting and the spray data... Spray chunk data across all these queue pairs to make sure that the the the message won't be delayed or won't be congested by a certain path. And that can help solve the the previous question you see two flow client on the same path. With this approach, we can avoid that congestion path by leveraging... Leverage all these path diversity in the data center networks as well in the Internet scenarios. Okay. There are a couple of more things on this approach because we use many, many QPs, basic multi QPs, 200 ish of QPs. We need to care about the scaling issues. You know, RDMA, they need to store some per QP or per connection state on these... On their on chip SRAM. So people might worry if we're using too many queue pairs. You... They might create some threshing... Cache in threshing. We might create some state threshing on the RDBNIC, causing some low speed. This has been observed by many, many prior papers. But we found that for machine learnings, for training workload, which... Where you have bulk data transfer, it actually works pretty well. Here, we try to scale these two figure. We try to scale the number of queue pairs from 60 to 60 k queue pairs per GPU or per NIC. You will see the performance just drop up to, like, 5% to 10%. They can... Especially for the UC q pairs, which already has smaller states because the NIC does not control the loss recovery behaviors, you will see the loss is nearly... There's nearly no loss as you scale this q number of q pairs to 60 k. The high level reason is because of this... Because... Exactly because of this bulk data transfer where these... For us, this cache miss on this RDMA NIC hardware won't matter much because of the the the the the overhead is... Because overhead is dominated by the bulk data transfer, but not this q q pair state fetching from the GPU to the... Sorry, from the NIC to the host. That's a surprising result we found. So, basically, you can use multi q pairs without worrying about the scaling as long as you are using these UC q pairs on a... Unreliable connection. We also have more techniques to handle the RDMA NICs that do not support UC or RCQ pairs. For example, AWS EF NIC only supports UDQ pairs that basically have similar unreliable connection... Unreliability part, but it does not support chunk offloading, basically segmentation offloading. So you cannot... It basically expose a package semantics to the programmers. So what we did is a... There is we try to fuse a packet reassembly into the receiver... Receiving GPU kernels, basically, into the nickel kernels so that we can... And using this scatter gather to separate the g p... CPU control header from the GPU payload so that we can do similar multipassing loss recovery customized congestion control as we did in... For the UCQ pairs. Okay. That's how we decouple the transport control and data pass. We also have a tons of techniques to keep the software transport efficient. The end... The the end result is we can achieve two CPU cores. We can use just two CPU cores for dual directional 400 g traffic. That means you just need a... If you look at a TPL GPU server, there are hundreds of GPU CPU calls. We probably use tot... Dozens of them to to get a extra benefit of extensible software transport. In particular, one technique we use is called control coalescing. We do not do... Make the transport control decisions for each packet, which is too costly. Instead, we do them in a chunk of packet, for example, 32 kilobyte. That basically trades the control fidelity for a more efficient software implementation of this customized transport. Of course, we have many, many other system level designs. For example, around the completion, connection splitting, change we're posting to to squeeze the performance to get these... To reach the goal of two GPU call... Two CPU calls for zero directional 400 g. You can check the paper for more details on this part. We implement all these bullets, including UC, URC, UD in support in c plus plus. It's a drop in replacement for nickel and recall application. Recall is for AMD. We support packet spray with 256 passes, fancy... All kind of fancy congestion control mechanism, latency based, receiver driven, and also efficient loss recovery since we can do the loss recovery using UC on the host CPU. We support all kinds of GPUs and also nearly all kinds of NIC vendors, and it's quite big efforts. Especially, this is... This was a project before the agentic coding errors. We draw the code by our hands. Okay. Here is a quick evaluation. I mentioned previously this flow collision that really happens in... Especially in many public clouds. For example, we show you with... When you have several GPU nodes, like six or four GPU nodes cross rack... On the cross rack rocky, you will see this performance drop as you increase the data size data size. That's exactly because of past collision and the NIC began to overreact. With UCO, we can we can get rid of that performance drop near these, for example, 256 megabytes in all reduce and near this 428 megabyte in these scenarios. So we we really can keep scaling this bandwidth to the limit. That speed up the end to end LM trainings on some AMD platforms up to 7.5%. This is end to end. This is basically free gains. You do not need to... You do not sacrifice any precisions, accuracy. Just just just do a drop in replacement with our UCOL libraries when you run our recall or nickel applications. We have more case studies. For example, we can handle packet drop gracefully. Previously, this RDMA and Nickel handle it easily, but we show that we suffer control. You can do it. You can handle very severe packet loss without worrying about networking performance issues too much. Okay. That's our first part about UCOL transport. Our second part will be very brief about UCCL-Zip. ZIP means basic compression, decompression. But the issue is why we need a compression. It's very easy. It's very simple because we want a faster transfer. We wanna send fewer bytes while preserving every tensor's value. We do not want to sacrifice these weights or gradients, their precisions. So our finding that the exponential bits of these LM weight activations are gradient, basically, all the LM radiated data, their exponential bits are highly skewed. Once a number is highly skewed, you have the chance of compress it with, for example, arithmetic encoding or arithmetic decoding, right, based on the the the information theory. While... Meanwhile, these sign and fraction bits of these floats... Flow numbers are harder to compress. They are basically random. So for example, if you look at this table, we look through all these different low precision numeric format of trainings. We found they're roughly have 17% to 36% of compressible bytes no matter which precision it is. If it has higher more number of exponential bits, that basically means you have more compressible opportunities. Right? So with this, we want to leverage it, and we want to... We want... Basically, when we try... Before we transmit data, we want to apply this lossless compression into the data, get a smaller version of data, then transmit that data. Once that data arrive the destination GPU, we can decompress that data. As long as our compression overhead and decompression overhead is small enough, we can get end to end gain. Right? So to further, this is basically the high level overview of how we do these lossless compression of floating point tensors. We will separate the tensor into two parts. One is called a step... In step one. One is called uncompressed part, and that is called compressed part. And we will keep the uncompressed part while doing bit... Blockwise compression for the compressed part. Then after step three, we can get a a a single compressed data blocks, and we transfer that data blocks. Of course, you will see we will run this compression and decompression. Because they are lossless, they're actually not easily to be paralyzable, which means their speed is actually not very high compared to what you see that what GPU can achieve, like several teraflops per second. We cannot achieve that high compression super because they are mostly linear and big integer operations. So how we can do? We we we invent a new pipeline called a pipeline that try to overlap a compression with the transmission. So in particular, we we have three phases. First is we try to split the raw bits into two parts, and that part is very easy. Just read the floats... Flow port for numbers and split them into two parts. As well, once we get that split down, we will immediately send the ARM compressible part. Basic, the cyan fraction bits. Right? Meanwhile, we launch our GPU kernel to encode the compressible part. And that GPU kernel will finish the coalescing. By the time it finish the coalescing, the RDMA, the NIC is is still sending the uncompressed part. So that after the r... The other NIC finishes sending the uncompressed part, we can send the compressed part. So with this, only the splitting phase of that compression kernel is exposed, while they only occupy probably, like, less than 5% of the end to end time. So you can easily overlap the most part of compression with the transfer to get some end to end gains. Okay. That's a high level overview how this you call deep work. We have some major benefits. I really like this figure because we're using our 400 unique, but you see our super, we can even achieve, like, 72... Five gigabyte per second. That's roughly 600 gigabyte... Gigabits per second bandwidth. This is because we try to apply this lossless compression to the transmitted data so we can get beyond this physical limit of this network bandwidth. Okay. Here now, I'll just give you a quick summary, maybe some dis... Discussion that I I feel we we may have. I present two papers on two projects. One is called a u call trans transport, which is a software multipassing with direct GPU data movement so that you can e... Enable extensible transport layer for LM pre training and inference workload. Another is a UCCL-Zip, which is lossless compression scheme plus overlapping for faster transfer. Both both of them are fully open sourced and in the UCOL's GitHub repos. And, you know, feel free to check it out and raise any issues if you found in the GitHub page. There are quite a few discussions. For example, I have done... I have been doing this multipassing for data center scenario, but what if we are doing multipassing in the Internet scenarios? What should the scheduling exposed? They might have vastly different RTTs, reordering, fairness issues. Also, with... When you interact with the GPUs, I I guess in Internet, we mostly use TCP. So TCP, you cannot easily directly write into the GPU memory. Therefore, we might need some special interaction with the GPUs. Lossless compression. I feel that might be a pretty cool use cases for Internet scenarios given the Internet has relatively lower bandwidth compared to data center networkings. That's it. Thank you.
[00:49:03] Dirk Kutscher: Thanks very much, Young. Do we have questions?
[00:49:16] Antoine Fressancourt: I, maybe I have one then. You mentioned in your discussion, the multipassing and the the work that you are calling for feedback in, one and Internet, based case. Do you have users of the UCL libraries that did this kind of experiments? And, how how did you get, what is the kind of results that they got, and what, what is expected from... For them to enhance performance over one scenario?
[00:49:58] Young Su: Sorry. If I understand right, you're asking if there are some if there are some parties trying UCO for one scenarios for the transport. Is
[00:50:06] Antoine Fressancourt: that Yes. And... Exactly. And and then if they tried it and went through problems, what are they expecting for as an enhancement?
[00:50:17] Young Su: Yeah. I think, unfortunately, the short answer is we do not have. The reason because of one test bed is hard to fund, especially with with one test bed that has RDMA enabled. You know, we'll try... Transmit data. These are... Most of these public cloud... GPU public cloud, they do not allow cross data center RDMA network. So it's quite hard. But that said, I have my students working in our class that try to use CloudLab, which is a... It's a GPU based on Academia's test batch, and they enable UCO over UC over a van. And they achieve pretty good results in terms of the absolute bandwidth. That's a maximum I can get because of this van test bed issues. Yes. Thank you. Yep.
[00:51:09] Antoine Fressancourt: The floor is yours.
[00:51:11] Dirk Kutscher: Please raise the queue system that we use here.
[00:51:15] Participant: Yeah. Hi. Here. Question. Have you cons... From what I understand, your congestion management, your your bandwidth management is done dynamic based on the current level of bandwidth or current level of utilization on different links. Have you considered doing an a priority admission control style thing where you're ahead of the transmission, reserving resources in the network, and based on that, sending traffic versus doing it in real time based on what's currently happening?
[00:51:54] Young Su: Yeah. That's a good question. I do not have that specific re... I do not see that specific requirement in ML training, but we do have a similar concept. We do some receiver driven congestion control that basically reserves some bandwidth once you get some credit from the receiver. We implement that. We implement a multi pass receiver driven transport protocol called EQDS, and it outperform... And it performed pretty good when handling these in car scenarios. We can outperform this NVIDIA's InfiniBand in cars handling by a large margin.
[00:52:27] Participant: Okay. So so this is a credit based. The receiver says, I can... You can send me so much for the next sec... Section. For the next... Okay.
[00:52:36] Young Su: Yes.
[00:52:36] Participant: Yes. I'm working on something called multipath traffic engineering, which is about multipathing, but also with reserving resource in the network. So I'm wondering if it's relevant here and if we can cooperate on this.
[00:52:51] Young Su: Yeah. I think for RDMA, usually, it's hard to do relimiting on the software... On the hardware part. I think software part is a key is a key way we can do relimiting and to allocate resources. And once we can integrate into UCO or or into the... Or into the Nico basic... The NVIDIA collective community library, it can be... Get widely used by people. I think it's definitely worthwhile. We we should think about it. Yes.
[00:53:18] Participant: Okay. Thank you.
[00:53:19] Lixia Zhang: Yep.
[00:53:20] Dirk Kutscher: Thanks.
[00:53:23] Antoine Fressancourt: Thanks a lot. Thanks, Young, for your presentation. Now I'm... We're going to give the floor to Siddhant for the next presentation. So Siddhant is a PhD student in University of Chicago and is going to present the work he's... Is doing on the Internet of KV Cache. So... Yeah.
[00:53:54] Siddhant Ray: So Yeah. I'm going to request a screen share, Antoine.
[00:53:57] Antoine Fressancourt: Yes. Yes. Okay. And you are granted screen sharing. It should...
[00:54:07] Participant: Oh. K.
[00:54:12] Siddhant Ray: Can anybody see my screen? I think I can only... It says all the slots for the requested media are already taken.
[00:54:19] Antoine Fressancourt: Oh, yeah. Exactly. Let me... Yeah. Okay. So now now it now it should work.
[00:54:33] Siddant Ray: Yes. Okay. Can everybody see my screen?
[00:54:41] Dirk Kutscher: Yeah. We can see it.
[00:54:42] Antoine Fressancourt: Yes.
[00:54:43] Siddhant Ray: Okay. Perfect. Okay. Thank you for the introduction. I'm Siddhant Ray. I'm a PhD student at the University of Chicago. And I would like to present a vision architecture we have currently. We... I've been working on with my advisers, Nick Feaster and Jun Jin Jiang. And this is the Internet for KV cache, where we want to rethink some of the boundaries for compute storage and network, especially in the case of LLM inference workloads. Okay. Alright. Let's get started. So I'll start with the basics and... From the beginning where we have... Know that, for LLM inference, we often have repeated input context. So let's look at how a typical LLM pipeline works first. So we have to read the input context. This can be documents, instruction, past conversation histories, anything which is input to the model. And we also have things in this new agent pipeline such as tool calls, which could be retrieved information from external sources sources such as Rag. It could be execution of some code in a sandbox. It could be any external actions. And finally, combining this input context and the tools which we use, we would generate the output. And when we generate the output, we often have this case of these overlapping inputs in the latest state.
[00:56:01] Dirk Kutscher: Sorry. Can you tune down your your mic sensitivity? And you're clipping really hard here.
[00:56:07] Siddant Ray: I'm sorry.
[00:56:08] Dirk Kutscher: It's too loud.
[00:56:09] Siddant Ray: Is it is it better now?
[00:56:11] Dirk Kutscher: Sounds better now. Okay. Sorry. Sorry about that. Yeah.
[00:56:17] Siddant Ray: Yeah. Yeah. So given that we have these overlapping inputs across stages, we can have this starting question that do we really want to pay the full compute cost every time we have similar context in this overall LLM pipeline? So let's do a little bit more deep dive into what this is and how this relates to the KV cache. So in a nutshell, the k v cache is the computed inference state for these LLM models. So we have the input context, which I mentioned before. Typically, we would have two stages. First, we would have the prefilled stage, which would take in the input context. This stage is generally compute bound. We actually try to maximize the most amount of GPU cores used. And then once this context is processed, we generate the k v cache state. And this k v cache state is actually the model's internal representation of what it has understood about the context. And once we have this k v cache state, we use this in the decode phase to generate the new tokens, which we all see in the part of the LLM inference. And this is what is used to generate the output tokens, which I mentioned. So focus of this talk is going to be on the prefill and the k v cache state. The decode is not going to be what we talk about over here because the main optimizations, which I will be talking about later, the potential is going to be tied to this k v cache state and its potential reuse mechanism. So let's look a little bit more into what this k v cache looks like. So let's say we have this document, is the RFC nine one one zero on HTTP semantics, And we want to ask the question, very standard question, summarize this RFC document. So for an LLM, this overall will form the input context, and this will be passed to the model. And then once we have this passed to the model, we will generate two tensors. The first one is the key tensor, and the second one is the value tensor. And together, this forms on what is commonly known as the k v cache, which has been formed from model's understanding of the input context document and the question which followed it. And in a nutshell, a key intuition about what the difference between the key tensor and the value tensor is, the keys in the tensor are determining where to attend to in the entire sequence of tokens in the input, and the values determine what information should actually be retrieved when I'm attending to this. So let's look at this a little more now that we have understood how a KV cache is generated. And one thing which becomes quite clear at the start itself is that these KV caches can be recomputed or reused. So let's look at an example starting from the previous example again. So we had this document on HTTP semantics, and we had this question, which was summarize this RSC document. So let's say I want to ask a different question, which is a question in the same flavor, which just asks about what are the key points in the RSC. And then when we have this new context with the old document and the new question, we see that the context document is actually the same across both. So if we have this setup and we want to generate the k v cache of this context again... So for this particular context, just because only the question has changed, the context k v cache can be reduced. And the question then comes, okay. Then given this, now now we have this trade off that we can either compute the k v cache or we can reuse the KV cache for the same input document. How do we decide when to exactly do what? And I'm going to introduce a little bit of an extreme example just to motivate the beginning, which is that reusing a KV cache, even if it is stored very remotely in any part of the world, can often still beat recomputing it even though the context is present in the same input on the same machine. So I'm gonna take one example here, which is one of the latest models, which is the DeepSeg v four Pro. And we're gonna take an extreme case of an input context which is a 100,000 tokens long, which for this model roughly translate to about one gigabyte of KV cache state. So if we want to transfer this one gigabyte of KV cache state on a general low bandwidth 10 Gbps link, we're assuming an ideal case here, this would take about zero point eight seconds in... To transfer the entire KV cache for extremely large context in this case, which is 100,000 tokens. If you want to contrast this with recomputing this, currently on AWS on their current pricing models, if we have a p 200 cluster with eight GPU nodes, this recomputation would actually take about fifteen seconds because of the quadratic nature of the prefill, which would be done to actually compute this k b cache state. So this gives an indication that given that LLM workloads are becoming more and more diverse with agent based workloads where you have multi step multi step generation and often individual stage... Stages might take significant amounts of times in even the orders of seconds. It could even be possible to transfer these KV caches literally from any remote place because they are becoming smaller as opposed to recomputing them. Even though intuitively it might feel that I have the context on the GPU, why can I not recompute that? So this gives a good indication of what the straight off space could look like to start with. Given this... Given that we're talking about KV caches, I'm going to talk about three parallel research thrusts which talk about this entire space of KV caches and this decision of recompute or reuse. So the first optimizations in this research thrust comes from the model side, where it is becoming more and more possible to compute the KV cache for less. This is because of optimizations such as mixture of experts, sparse attentions, and custom CUDA kernels, which are often written solely for the purpose of making the recomputation faster. Second thrust is about the KV cache directly itself, where it is becoming more and more possible to efficiently store and reuse these KV caches because of things like KV cache merging, KV cache compression, or even context compaction, which helps us reduce the memory footprint of these individual k v caches. And third, there's also system level optimization, which help in transfer and movement of k v caches more efficiently. Some of these overall techniques could include things like disaggregation, transfer, and scheduling. In the previous talk, there was an entire thirty minute talk about how different system optimizations are done to enable faster and more efficient movement for KV cache, for example, in the UCCL project. So going more into these three dimensions of decisions which influence what to do, we look at into into it a little more in detail, where we see that the model and KV Cache optimizations are mainly focused on improving efficiency, which focuses on lower computation, like I mentioned, in terms of mixture of experts and sparse attention. And the main goal of this is to control the amount of prefilled compute work, which is just denoted over here as f, and the reduced KV cache footprint from things like attention architectures and compact... Compressed representations, which reduces the actual size of the KV cache s. And we're going to have this metric, which is the ratio of work per byte of reusable KV cache, which will come up later in the later portion of the talk. And one thing which is important here is KV cache reuse can extend beyond exact prefixes, And this is an important decision which helps us navigate this entire trade off space of how to decide between recomputation and reuse. So let's look at this in a more... A bit more detail here. So let's start with exact prefix reuse. So over here, we will take these two documents. One is the r f c nine one one ten on HTTP semantics and the R f c eight four four six on TLS version 1.3. And let's say we want computed the k v cache of these two documents in order, so we would have this function of k v of a plus b of these two documents. And you could ask a lot of questions on the computed k v cache of this context. Now suppose these documents are now presented at reverse order. So we have the RFC eight four four six first and the RFC nine one one zero first, second, and we compute the new KV cache or KV cache b plus a here. Mathematically, these are not the same at all. So if we do KV cache views based on prefix based reuse, these two kvcache, even though the content which is feeding the kvcache is actually the same, cannot really be reused for any application. However, there are techniques such as kvcache merging and reuse, which have attempted to solve this problem to an extent. Over here, instead of computing the KVCache of these two documents jointly and not being able to reuse them ever, what could be done is you independently compute the KVCache of the first document. Then you independently compute the KVCache of the second document. And then there's a process of selective recomputation, which can take this individual KV cache state, perform some amount of recomputation on top of this, and then decide to reconstruct both KV cache a plus b and KV cache b plus And this kv cache reuse potential is improved a lot if you don't rely on exact prefix matching. So given this, there are multiple methods of kv cache cost management, which we talked about earlier too. So there is compression, which reduces the size of the KV cache, and there are some examples of this. There's memory compaction, which indirectly reduces the size of the KV cache by actually managing the text based memory at the agent level or the NLM level. And there is reconstruction of the KV cache, which avoids storing nonreusable KV and generating new KV caches based on what can be merged. And all of these independently aim to reduce the KV cache's memory footprint. Finally, with something which I mentioned a little bit earlier, new systems allow more KV cache movement. These more efficient KV cache movement. This can be at the prefill level. We have things like disaggregated prefill. This can be based on pure KV cache optimizations, which look at movement of KV cache across different storage tiers, which look at projects like LMCache and KV Direct, for example. And there are also some decode optimizations, which look at adaptive scheduling based on KV budgets, like systems like Thunderserve and CSO. And the building blocks already have exist for all of this with reduced k b cache footprint, more efficient computation, systems which actually allow efficient transfer. But we actually need an overall smart k b cache management system if we want to realize a vision for a more distributed approach for this. So given this, one thing which is clear is there currently isn't a universal best decision for a KV cache. What this means is we have these thrusts where the model controls things like prefill and KV cache size. We have the infrastructure we controls, things like compute, storage, and network. And we have applications which actually decide, like, how frequently something would be reused in terms of whether it is a coding agent or a multi ton chat, and how quickly things need to be fetched in order to decide whether something should be recomputed or reused. And the decision is actually because of these factors much richer than exactly should I just recompute or should I just reuse. So there are the two ends of the spectrum where you start with, okay, you can reuse the full k v gas state. Over there, you need only need primitive operations of load and store. But you can also recoup... Some of the state, which will only require to reload some amount of the k v cache, and then you can do selective recomputation, like I mentioned before. Or you always have the decision of recomputing everything from scratch and run the entire prefill operation. And these are further supplemented by optimization knobs which influence the decisions, such as you can do prefetching in order to decide between where exactly should I stand. I can do replication of KV caches in order to see, okay, how much I actually should control in the... Each individual knob of computation or use. Or things like I also want to evict things based on deadlines and SLOs, and all of this together makes the entire decision space. So given this, we also want to look a little bit more into what actually affects the cost of reuse versus recompute. So there's the dimension of storage and transfer, So where we have the cost of the cache itself, which depends on things like the k v cache size, the retention interval, the storage price, and the transfer price. And we also have the cost of free computation, which is based on the amount of prefilled worked up, which needs to be done, and the price of computing at per unit. And based on this equation, we can say, okay, that the reuse will win when... If you can compute this independently, the cost of the cache and the cost of the prefill, that if the cost of caching is just lower, we should be able to do all this cache, otherwise, prefill. And if it's in between based on the factors, we can find a more balanced trade off point. And how we would actually do this is we need to have this sort of metric which helps us isolate from all these factors and make a decision on how we exactly navigate this space. So independently, we can calculate the model's ratio, which we will denote as m, which will just compute the amount of prefilled work per megabyte of k b cache state. This comes solely from the model. And then from the infrastructure and application metrics, we can compute the storage and transfer cost relative to the compute cost. And now that we have these independent metrics which encompass all of the factors which I was talking about, we can compute these ratios and decide, okay, if m is greater than r, then the use is cheaper. Otherwise, they're worse. And because we have been able to abstract this independently for the model and for the other side of infrastructure and application, we can compute this independently and help us navigate, like I said, what decision should be made for a particular kind of application model infrastructure combination. So let's look at some examples of how these unified metrics change and further look at how rich the space is. So if you let's change the reuse interval and say, okay. Everything else is fixed. And we fix the model with the DeepSeg v four, which I mentioned before, and we fix the infrastructure currently, which is using AWS v two hundreds with s three storage, and we calculate this number m, which I mentioned before, then depending on just the reuse interval, if it is, let's say, one day, it is an obvious decision that we want to store the KV cache. However, if we... If the reuse interval is at a month, which can be for different kind of workloads, it becomes for this particular knob that the decision automatically changes to recompute. And these decisions can be made in... Like, for all of the knobs which I mentioned before. So let's look at some more examples. So if we only change the provider now, we keep everything else fixed. So we use the same model as before. We keep the one one three user ratio fixed, and we calculate that m value. And now we vary the provider. So earlier, we had... Only had AWS b 200 with the s three storage, and we get an r value of 13.083. Or we can also use the same architecture on Azure, which is a different provider with a different storage bucket, and we have a different r value. And this can again show that just changing one factor, which is just the provider and keeping everything else constant, we can again change the decision between reuse and recompute. Going further, this also extends to the model. If we have the same hardware as fixed as before, we have the same reuse interval of one day. We compute the r value for one particular model, which is a Falcon 40,000,000,000 parameter dense model. The decision becomes to store. If we have a different kind of model, which is a mixture of experts with 21,000,000,000 parameters with only 3,000,000,000 activated experts, the decision becomes free compute. And if we remove the provider from the equation, then we miss a lot of the model dependent economics, which I was talking about before. And finally, we also... We were talking about cost, but we also need to talk a little bit about latency here because... Just because it is cheaper to store the KV cache, it doesn't mean that it will arrive in time. So we look at two factors over here. One is the simplified load time, which is a simple way of calculating, like, how long it will take me to fetch the KB cache. It's just calculated in terms of the size and the usable bandwidth. And we also compare the prefilled time, which is based on how much prefilled work needs to be done with respect to the amount of compute flops of hardware I have available. And we have, obviously, this trade off over here again that we can decide when loading is faster or computation is faster depending on how these two issues combine. But the bigger picture over here is that both the cost and the latency must be checked together. And we have this four way trade off where we look at both the reuse cost and the loading delay, whether it misses or beats the deadline. And we can see for all possible combinations, we have different possible solutions over here. Whereas, okay, if the reuse is cheaper and the loading meets the deadline, okay, it is obvious that we can reuse the candidate here. And if it misses the red line, we should not reuse unless we have a predictable prefetch mechanism in place. If the reuse is actually costlier, but we have a latency sensitive application, then we might decide based on that, based on this. And if both of these are not true, then recomputation is always a possible solution if the reuse is never going to be cheaper or in time for that application. So given this, the key idea is that we've looked at a lot of knobs which influence the trade off space, and the idea is that the KV Cache management infrastructure should expose all of these inputs and the knobs they control, which we talked about the model in terms of the inputs and knobs, the infrastructure in terms of GPU storage transfer prices, the application in terms of reuse interval deadline, how much context overlap is there between the multiple stages of the application, and the policy, which also talks about, okay, privacy, ownership, and how actually this KV cache should be managed. So given that we have set the stage that we want all of these knobs exposed, how would we actually go about building an infrastructure at scale which would support such joint management? So in today's infrastructure, if you look at cloud and data center, there is this principle that storage usually follows compute. What this means is... Let's look at this illustration. So we have, let's say, cloud a in Region 1. They would be equipped with their own compute pool and storage pool. And when we talk about cloud a, we are talking about a particular cloud provider here, which is in Region 1, but this cloud a could also have this compute pool and storage pool in different regions. We also have cloud b, which is from a different provider now, and let's say, another region, which has its own compute and storage pool. And, usually, today, there is a high transfer cost both in terms of price and delay in moving state from cloud regions from provide... Between providers because of how it is priced it into model economics, cloud economics, all of these things. But because each region also ends up running its independent inference and stores their own compute, own KV caches, and because of the price... High transfer price and delay of moving these KV caches, in this current infrastructure, the way it is designed, it becomes hard to have a more distributed KV cache sharing as a resource. So given this, we want to talk about the vision which we have started thinking about is what if we could have a more Internet based principle for KV cache, where the model just simply follows this phenomenon that you can store the KV cache anywhere, and you should be able to use it everywhere. And how we would build this is we need to think about if it is possible to have this form of global KV cache control plane, which has these following things like a KV cache directory, which helps us locate and find where KV caches exist across, let's say, cloud providers, for example. We need to have a lookup service in order to be able to find this KV cache fast and in time for any application which is running. We also need this KV cache control plane to decide where to place this KV cache and update it depending on how the application infrastructure and models change. And we also need to have knobs for things like prefetching and how... Deciding how things should be fetched for particular application SLOs. So once we have, let's say, this global KV cache control plane, we no longer need to have this expensive... Necessarily expensive transferred pricing between different clouds. So we could have a setup now where we have cloud a with its own compute pool, and it has some k b caches. We have cloud b with its own compute pool and some k b caches, and cloud c, which has its own compute pool and some KV caches. And this is an illustration which shows that we are able to have different kinds of KV cache storage at different, let's say, clouds or regions. And based on application requirements, model feasibility, and storage and transfer pricing, we should be able to move these KV caches across these clouds. This is just an illustration over here, which says that, okay, if cloud a was close to some application server which had very tight SLOs, that would use... Be used to store the hot k b cache. This is not a realized architecture yet. But this is more saying that based on the knobs we've been talking about so far, how we would design a solution where we could have this bandwidth of our KV cache movement across providers and tiers. And the control plane, in our case, is the KV cache management layer I was talking about. It has to form the principles of... It has to do the discovery of reusable k v cache state. It has to perform evaluation based on cost, bandwidth, and application deadlines. It must act on these knobs and decide about, okay, should I actually end up fetching, prefetching, or recomputing? And then once I'm moving around all of these KV caches across these different, let's say, providers, storage units, different clouds, we also need to update every time we make a decision change on location if the k v caching has been moved from one to the other. So this would follow a feedback loop of discover, evaluate, act, and update. And the reuse horizons are a main knob which would influence when and where to move the state. So coming back to the example before, and we take, let's say, a particular example of LLM agents, for example. Let's say their use horizon is in seconds. This is what I was talking about, the hot KV cache. The decision could be made to keep the KV cache near the GPU or in CPU memory near the GPU. If it is in minutes, maybe it's a long running coding agent where you don't need the kvcache for the next step immediately, you could move it to SSD or some form of regional storage, or you could even have kvcache use it hours. Let's say you're running a bunch of tests after you write some code and these tests take a lot of time to actually see what... Actually evaluate your change, then you could also have cold KV caches when you could use things like remote object store to store the KV cache. And one important thing which is kind of unique in this KV cache based Internet is that recomputation is natively part of the architecture. This is distinct from conventional cache content because KV cache state can be regenerated. If you cannot find the k v cache, let's say, in any storage unit, you always have the opportunity to recompute the k v cache for your fresh context. So, yes, you would look at, okay, if transfer is feasible, you want to load it. If it is late or maybe missing or maybe too costly, you always have the option of either doing a partial recomputation and loading only part of the k v cache, or you could always recompute the full k v cache, and then you would update your placement and propagate this new k v cache state using the control plane k v cache management layer. And we need to establish some requirements if we want to have this more distributed setup of how k v caches should be handled. So we have to answer questions like identifying what context and state every entry represents and keep tabs on this. You also need to look at compatibility between requests of whether it is possible to always use the kvcache or can it be reconstructed without harming the application, and about location that... Where the usual state is, and if it is still available because kvcache is now being moved around so much. And we also need something called predictable delivery because the network needs to expose knobs such as usable bandwidth. What is the current delay and congestion looking right because we're using all kinds of links? And we also have to take into consideration the transfer price, which are set transfer prices, which are set by the providers, which all need to be looked at together jointly in order to decide the questions of how to design this policy of what parts should be used to actually move the KV cache, when exactly should we actually start transferring the KV cache, or when should we actually think it's not... It's too expensive and we should just go for recomputation even though recomputation might have a latency penalty. And given we've been talking all about a lot of cross provider use, there also need to be explicit agreements on things like control. Because once I say you can move the KB cache across different providers and who actually owns this resource and who actually has access to. These things need to be decided. There's also the economic side, which is who actually pays for the storage and transfer now that I'm saying that we can move from cloud a to cloud b, just being aware of these knobs and bandwidth. And we also need to have accountability and ownership because we need to guarantee things like correctness and privacy because at the end of the day, we are using this k v c s to generate outputs and answers which the users are actually looking at. So given this, why the networking community? So the networking community already has principles and systems in order to design a global k b cache management system like this. So you have systems to decide how to name and find reasonable KV cache based on our existing protocols. We have the mechanism to estimate transfer cost, delivery, and failure recovery. We also need to think about interoperability, which is how reuse conditions and representation compatibility is conveyed. And also, the Internet over time has developed principles on ownership, access, and privacy of different content which is put on the Internet. So all of this could be used to start standardizing interfaces which would let these systems come together and potentially realize a vision for a more global Internet for these KBCaches. So the takeaway over here is that we want to evaluate all of these policies jointly so we can vary these conditions which I've been talking about. This model, k b cash footprint, reuse intervals, and deadlines, price bandwidth failures, all coming from infrastructure, application, and the model itself. And then we can use this jointly to measure the outcomes on cost and delivery, how expensive something is if the computation needs to be done, or can reuse be done in time, and the correctness and quality of these applications. So I want to end by saying what I've been going on for the last almost thirty minutes now that we want to treat this KV cache state as a distant... Distributed inference resource or a jointly optimized model infrastructure and KV cache reuse, and we want to make the network an explicit decision input in this process. And we want to design discovery, movement, and fallback, and ownership of all of these knobs together. And because this is a vision, I'm going to actually end with a question for the community, which is, like, given all of this, maybe the first question is what is the first interface we need to build to realize this vision for Internet of KbCache? Thank you.
[01:25:00] Dirk Kutscher: Great. Thank you. Do we have questions?
[01:25:21] Antoine Fressancourt: Okay. I have one question before we give the floor to the next presentation. Mhmm. When you were doing the last part of your presentation about where to place a KV Cache and the KV Cache control plane and prefetching model, etcetera, it really reminded me of the information centric networking sort of work. In your work, did you come... How do you compare to this information centric networking previous work? And what is similar and different in your KV cache... Internet of KV cache from this networking architecture?
[01:26:08] Siddant Ray: Oh, so that's actually a very good question. So a lot of our inspiration has come from things like information centric networking, which helps us find content based. We find objects based on content and then use that for deciding how to move. I think the most interesting new novel here is that the data in this k v... The data structure in this k v cache is more dynamic than something in information centric networking. That is information centric networking, you would find the resource based on those principles. But over here, you always have this new dimension that I can always choose to reconstruct the k v cache based on any of the norms. So that way, there's this concept of not always only having to rely on fetching, but this this interplay on reconstruction versus fetching, which, I guess, formed a new angle on top of the things like inter... Information centric. Great.
[01:27:13] Antoine Fressancourt: Thanks. Wei Chang?
[01:27:14] Wei Chang: Hi. Wei Chang from China Mobile. One quick question. So do you think the QB cache should be distributed on time or that can be cached and then in some Internet. You you know, maybe you can use night time to transfer the KiwiCache. Yeah.
[01:27:44] Siddant Ray: I see. So if I understand correctly, you're asking, like, whether the transfer of KV cache always needs to be synchronous, or can it be done asynchronously during downtime of, like, the application or something? Yes. That is actually part of the the vision we are looking at that the idea is to enable the movement of a v... AV cache based on all of these knobs and factors. How it is to be done is currently still an open question, but it... If we want to enable moving it, let's say, during the downtime of the application, let's say, night, or during... Explicitly given by the provider that you must move it at this time, both of them should be allowed. That is the Yeah.
[01:28:25] Wei Chang: And so if you want to transfer the Qubikash in real time, I I think that will be big challenge to the Internet, you know, because Qubikash, the the bandwidth requirement is huge. Right?
[01:28:41] Siddhant Ray: So so, yes, that is. But the KV cache is becoming extremely small for the relative size of tokens it has in that. So for the example which I gave earlier, now the KV cache size for DeepSeg v four four hundred thousand tokens is only one GB. So this is an extreme small KV cache for such, and most context which are being shared are actually not this large. So you can think about a KV cache for a thousand tokens is actually in the order of kilobytes now. So those things can be shared in time, especially because agent horizons for multi turn execution is also becoming in the order of tens of seconds, minutes, and even hours sometimes. So you have that slack to transfer it even during the life cycle of the application. Okay. Thank you. So that's one of the notes which enables this.
[01:29:28] Antoine Fressancourt: So thanks, Siddant, for your presentation. And now I would give the floor to Alicia Zhang for the last presentation of this session. So Alicia is a professor at University of California in Los Angeles, And she is going to give a presentation about steering the Internet of Agents towards a common semantic foundation for networked autonomous systems. So tech is being shared.
[01:30:03] Dirk Kutscher: We need the slides.
[01:30:06] Antoine Fressancourt: Oh, okay. Let me let me check. Search slides.
[01:30:40] Lixia Zhang: Maybe I can just start talking. I think the first two talks are excellent. But what I'm gonna talk is very different. So going a little late. Well, I might skip a few slides. The metaphor AI at the new research group. I want to emphasize the word research. So what I'm gonna talk is very much blue sky research. Where is the slide?
[01:31:08] Dirk Kutscher: So since we uploaded them so late, they're not in the system.
[01:31:11] Lixia Zhang: K. I I
[01:31:12] Dirk Kutscher: And I I have them here, so let me maybe share my screen. Just give me give me one second.
[01:31:20] Lixia Zhang: Is on or not?
[01:31:35] Dirk Kutscher: Okay. Give me a second.
[01:31:43] Lixia Zhang: This on now? Okay. So at the last... Not last. I missed the one IETF. At the sprint IETF, I gave a talk at IRTF Open where I brought up the challenge to say that the existing protocol suite and the security solutions may not fit the urgent need for identity communication where I pushed for the... Then you're gonna
[01:32:22] Dirk Kutscher: I have to jump. Yeah.
[01:32:23] Lixia Zhang: So then I pushed for looking to the direction of using DNS names to... For the agent authentication... I mean, naming an authentication. And in this talk, I'm actually gonna go one step further to say not only we need to identify agents, authorize agent under their actions. On top of all of that, we also needed to confine the input and the output actions so that... To really achieve safe AI operation. Go to next slide. So what's changed from the normal Internet applications we have been running for forty four decades and the identity thing. Everyone knows agent has one unique feature as autonomy. For the... All the application that we have had so far, some developers wrote a code. So there's a known input, and there's... Based on input, there's output determined. But the... For the agents, number one thing is that the input is not, defined, precisely. It's open ended, natural language input. And then the output is not predetermined, but rather is selected at runtime through intelligence. So that really bring up a number of different challenges. For example, the agent will proceed without human in the loop for every step. Human should be in the loop, but not for the every step. And then the agent can create a dynamic agent to do further delegations. The... So they can select the wrong time decisions. We all heard this Hugging Face incidents. Right? They somehow... One way or the other decide what they want to do. They can do very sophisticated things. Just that it's not what you had wanted them to do. And they can do this at really at the machine speed and machine scale. They're way faster than what we can handle again. Okay. There's no idea. So the next... Move next. So industry is working really hard by moving very fast, produce a number of important pieces. There... Those is m... MCP, a two a, ADIs, slip, and the host and website. So they address important things. You can use the tools. You can... A two a communications. And then there's, you know, the agent directory services or discovery services. And then there is a... There's a slip at the substrate. It can... That can be used for the MCP and gateway secure communications. Then there's a credentials for agents. Then there's, you know, sent provenance and everything. Seems to be everything is working fine and making great progress. But if you go through deeper, there's actually issues. Go next slide. Oops. I
[01:35:39] Siddant Ray: I think there's one more.
[01:35:40] Lixia Zhang: So far, junk one. Yeah. So far, this. Yeah. Oh, I think I might... I forgot that. I should have mentioned that all of this essentially deal with the three things. Right? There is a players, there is data, and there's actions. But you look at how many different pieces there. Each of them actually use a different identifiers for players for the data and for the actions. I'm gonna use the example to illustrate what I see at the problem. So next slide, I think the mark... Turkish, right, is the the example. So I show you example, then they use the example to explain what went wrong. You know, me at the academia, so I can only make up an example that only run real systems. So think about the welfare analysis. That way, every year, we face our challenges. Say that someone from UCLA get delegated. I mean, get assigned this job to say you do, like, a recent wildfire survey. Therefore, the UCLA, how do you say, delegate the job to Alice, the researcher. Maybe I should hold on to this. The researcher. And Alice, of course, is the... Is everything user agent to do the work. So the Alice agent doesn't decide. Alice said, hey. Agent, you do this survey. And as the agent gonna say, I'm gonna talk to the wider agent to guide the kind of weather forecast or the possible weather forecast, I'm gonna get satellite data to see, you know, from worry about the sky, how the things look like. But, also, I'm gonna hire some drones to do, like, ground survey, things like that. So you can see that this one agent, these other three belongs to different organizations or different domain systems. Now with this, you think about how they each identify, you know, original Alice, actually, the whole task initiator. So you go to next slide. Let's see how many identities Alice can have. Right? Everyone at UCLE had the UCLE employer ID. That's how UCLE can say, hey, Alice. You do the job. That's how Alice get identified. But it goes through the security. Right? You're gonna have the old subject ID, which is some numbers. And then, well, if you do publications, you publish your result. There's a... I'll say the ID. There's another ID. And in the previous slide, I said, Alice agent talk to other agents. Right? If I say... I pick the Joan agent. You know, the Joan are provided by some Joan provider. So if Alice want to hire a drone and Alice's agent want to hire a drone, right, the Alice has to register account with the drone provider. So that'll be the drone provider's account number 73119 representing Alice's authority to say, can hire a drone. So the problem here is that you pick a one of them. How do you know that's actually Alice? Why do you need to know this Alice? Because policies is really based on who is the original requester for the task to be executed. So policy need to know who Alice is, but then across the system to the multiple agents, and they all need to identify who the eventual responsible party really is. But they use a different identifiers like I show this. So go next to slides. So this identifier, I cannot say replication, but the multiple identifier for the same entity is not just for the players. At least a few things here. I already mentioned about the Alice. Right? You have the old subject ID. You have in private record. Then you get into securities. You are somehow in the ACL list by some other IDs as well. Now look at the, say, survey. When you assign Alice a task, it's a task that will define the the name for that, whatever meaningful names, what kind of survey, what place, whatever that thing is. But then when you do communication discovery, that actually become the request ID. Then you'll go to the storage workflows, that'd be workflow state. And then when you come to the security actions, there'll be something other identifies what this thing really is. So I take... Make an example here, like a ADS doing lookup. The wider forecast is really a scale, but that scale matches to some record, the content ID of the agent record that that is, you know, whatever the forecast for the specific time really is. And that action then maps to... If you really want to get that data, maps to a pure ID where the data is really stored. Why I care about those mappings? I call them the join. That is from one to another piece, the the join in the middle. And the join is so important because the part of the trusted state. If one join... I mean, the mapping went wrong, so some legit actions actually end up with totally wrong. Right? So that's really the fundamental thing. Each join is a trusted state. The search at which identifiers donate the same reference, and then the trust is the mappings. It is really fundamental. So the same join also required for the accountability and the later auditing. We have so many different identifier spaces. I think that's where many of the complexity actually come from. You go next step. Yeah. So here, this is actually the proposal I brought up at the March ETF. I was talking about, can we just have one shared namespace? On on that namespace, you actually gave every piece of of a thin identifier. For example, the entities, the users, or agents, they can all have a name. By the way, I think that's the last week or the week before, there's a networking channel that's a biweekly seminar where went to surf, actually, with the main speaker for that one. His title is agentic DNS. He didn't so much talk about agentic AI per se, but he's proposing to say, can we use DNS names as the agent identifiers? And I think that's exactly the same thought I share as well. You can use the names for entities, for the information. You know, entity I said, this is UCI with Alice. And what kind of information you can think about the wildfire, the, like, top level domain, and then you can locate the locations. For example, California, it's so often has wildfires. Wildfire in California, then you can decide, you know, the next one will be time or anything else. Essentially, we need to have a well designed name structure. Then we can really name entities, information, as well as actions and who authorized the actions. And then the last one is a new thing I want to bring up, the context. So when you do communication, you do storage, you do security, you use this identifier out of the same namespace. Why is it good? Because you give a name, you know what that is. You no longer need those kind of join. That is the translation tables or lookups. So independent mechanisms all can utilize the same namespace for the... To to to define their actions or functions. I gave a example. I said, you know, you can have DNS names for identities. You can have a DNS name. This is essentially identity. You know, for Alice, Alice can have the the agent give a name because Alice is gonna control those agent. Alice will be responsible for the agent actions. So you can give a name under Alice's name. And I also mentioned another name. I said that if you want to have information about the wildfire in The US, for example, you can have a DNS branch just to give information under that... Give the name of information under that branch. And then these names in the common namespace can serve as the common reference across different applications. I want to point out one thing. This is what I didn't talk or didn't fully realize last time. That is names only give identifier and security can give authenticity and the authorization, but neither of them actually define the meaning and which is what becomes so important today that is agents can do wrong things. It doesn't have to be malicious just because the input errors passes through steps of the agent communication that got magnified into something totally wrong. Hierarchy delegation is a way to get scalable names, but you still need to to define the meaning of the communication. Before I got to the meaning, let's talk about security. So we brought up this notion, well, in March, that is we need the global identifiers. So, therefore, everyone knows, you know, who is talking about whom. But in terms of the trust relations, under the sun, there's another single trust relation for this world. So therefore, the slogan is that global names, local trust. That is UCLA as the independent administrative domain. UCLA actually define policies, what its employees and students should behave, and there's a well defined rules, things like that. So independently, the administrative assignment. Right? You know, the... You get us a name, and you say we can assign you whatever the functions or the jobs you need to do. But, again, I mentioned that the name uniqueness doesn't establish meaning or trust. The trust is based on specific administrative domains policy. One example of story I like to say is that when Berkeley students, UC Berkeley, coming to LA... To UCLA, right, we can authenticate them because UCLA and UC Berkeley are the sisters' universities. They can assign... I mean, they can certify each others, the trust anchor. And after that, so any Berkeley people come to UCL, we can authenticate them. But what they can do on UCLA campus is entirely a local decision. So first of all, I already mentioned that whom you trust, it doesn't have to be something the root of the DES or otherwise the certificate authority in that root file installed in the older older machines. But instead, it can be locally defined. Individual admin domain decides which trust anchor are the trust anchor, right, you trust, and then you define how your authorized authenticate the entities belong to that trust anchor. Then you define the policy, okay, for those entities, what they can or cannot do in your territory. So go next. Yeah. So here is really an example. So today, we're largely kind of utilize the DNS names and WebPKI as a way to do authentication. I think what I said just for that previous slides, I was talking about, actually, in the industry, in government, they don't use WebPKI. I don't know if anyone use DNSSEC for authentication. Instead, it's all, like, the enterprise configured trust anchors, the government configured the trust anchors. Right? So I think the local trust is is... Basically, you define accepted trust anchors, then you define the authorization policies for those entities authenticated by your recognized trust anchors. Go next. I don't remember what the next slide is. Availities. So so here's how that... You know, we all know that the Internet topology make a connected connected world. So that's how anyone can communicate with anyone else. Lately, we actually promote a new concept so that topology will cut dotting plane that will construct the the forwarding table as a forwarding plane or data plane. We all know how to build forwarding plane. We all know how to get the connectivity. What we are yet to learn is to build a trust plane. That is assuming that all the entities can shoot packets to each other. Now what is their security relations? And that is something I think we really should working towards, develop the concept and establish it. Currently, we do have some kind of relations just that the relation establishment is now controlled by by the individuals. Right? The... Somehow, the the god knows certificate authorities, they will install the trust anchors into your machines. Right? So the degree of trust is also different. So here, I really explained that to say that, okay. We... If you have a unified namespace, you can see that the the name and entities, you know, from the name, you know that this belongs to Uxiao. And then through the assigned assertions, you can do the delegation. So the operators doesn't have to give Alice yet another account number to say, hey. This is a paid user. Instead, why can't you just utilize the the unique identifier for this user and you understand the UCL is... You know, what the UCL is trust anchors to verify, authorize the user to hire Joan to perform its survey for the wildfire functionality. But here, I'm I'm just that again. Authority is a one thing, but the semantics of exactly what to do is a separate thing. That needed a different definition. Go next. I hope that's that's the right place. Yeah. So how you define what's the so called the right thing to do? Number one, you have to have that semantic context that have identifier as well. I exposed my background. You know, name the data networking. Everything got the name. Yeah. So this context will also get the name. But then what is the name defined? It's, like, the agent context. Like, when you try to carry out some actions, what's the definition of that action? Right? So there's an object, then what's the action needed, and what's the attributes required to carry out that actions. So exactly what's in this is really open question. The next two slides, I will give you example. But what I want to point out is that to have a shared semantic context, you definitely need somehow, somewhat the standard otherwise adopted, otherwise published by some authority. Right? Someone defines it and sends it, and it's up to the community or the practice whether the thing is useful and therefore get adapted. And, of course, all those contacts, exactly like anything else, things can change. Policy can change. So, again, in the Indian terms, everything will be immutable. That is everything has a name, name of specific content that are caching concrete. Every time you change, you change the version number. So everyone knows at what time, which... What is the definition of a specific semantic context. So go next. Yeah. So here, I say that if you want to define this wildfire survey, you say it's a ARIA survey, the kind of definition, the version one, then you say action is doing a survey and what attribute maybe? You know, what's the incident? Like, causes cover the areas, time windows, and purpose, and what's the end result you want to achieve? And, therefore, this will be kind of the context of definition. And this will be that for each instance, like, for each survey, you're gonna fill in specific value for those attributes. For example, incident, you give a name to say the bridge fire. I don't know which bridge, but it gave a name of the bridge and the area is the polygon, you know, specify whatever that that the coverage area, and what's the time window, and what's the purpose, and what's the product is required. I think that this kind of a rigorous definition will be needed to really constrain or confine the... Both of the input to the agent and the... Well, as the the verification for the output. Yeah. So, you know, it's essentially said what I said before that the input and the meaning. And for each instance, you're putting specific value. And for the verification require... Request, you really need to define it. What's the output must be met? Otherwise, you know, you're gonna take anything as output at the mail may not be valid. Go next. So this is not just like what I was talking about. This that... Get... Skip this one to get into too much detail. So let's go to the next one. I was gonna say that just very recently, I found a publication. This is the one by Cisco. I think it's just a couple weeks ago, few weeks ago. So they actually pushed down into the same direction. Although they said agreed on purpose deciding upon under the conflict where they really talk about that for the agent input, you need to give a definition or give a agreement. What's their current approach is that for specific application case, multi agent, first, you want to convey how many agent, you know, who who are the agent out there. Then you frame the task with the action that must be executed. Then you define the terms, say, you know, doing a survey, for example. Right? The question for the agent input is that the natural language is very often you'll say the same word, but it can be interpreted in a different way. And this is how the ground is to try to nail down everyone interpret the same name and the same meaning. And then the define output, what does the down means? Like, what's the conditions at the midst the finishing deadline. Then once you have all of this, you're locked down the the intent. This should be the input, the contract to the agent AI. So read this paper. I think it's very, very insightful. Although, they started from the different points. Like, you know, they said, each application use cases, you need to go through these things to reach agreement on exactly what's the input to take the actions from. Yeah. Go next. So the question, if I push my direction to say, can we... Instead of for for every every every application, you're gonna do this kind of five step process, Can we go through multiple use cases and extract out a shared definition of context for for different types of applications, like the wildfire survey. Instead of you do that for every survey, can you just provide a shared context? Then for each survey action, you fill in the specific parameters, the, you know, the events, the the area, the time limit, and whatever specific output you are looking for. So that's how, you know, I propose, like, a wild research direction to say that's maybe the direction we should look into, define the shared description of the agentic AI input and the definition of the, you know, valid output. I forgot. Yeah. So go next. I think I I... Somehow, I proposed to say that not this one. So what I meant to say is that you have to start with specific applications and see what are the things you can extract out as the kind of a shared meaning for other similar applications. And for that purpose, my group actually is doing two different things. One is with a a industry company to look look into build a physical agent that is turning the manufacture floor robots into more intelligent agent, put the sensing on them so that they can sensing the environment, make more autonomous decisions on their actions, where to move, what to do, things like that. Another chain we're collaborating with is in farming environment where they also have agents... Not agent. I'm so sorry. They have robots, and they have drones to survey the farming, like, irrigation situation, whether it's dry or it's too wet or something yonder to make a decision. So we built... It's a different application. So we try to see, are there shared semantic context so that can be used to derive... There's a shared context and that can be applied to, say, generally speaking, the physical robots' actions. I mean that the robots in a different definition than other type of robots. And talk about moving robots. So if we go further, just saying that this also Cisco paper talking about, when you do all of this, you can just build on top of the existing Internet infrastructure. That is we all know how to do transport. Right? There's there's MCTP. There's eight way. And under that, there's a QUIC. There's HTTPS. So all we need is to define above that this this... The context level definition. Go next. I think... Yeah. So given that there's a new research group, you know, clearly brought up a blue sky research questions. I should have either one thing about, really, we need to figure out how we actually have the the structured, meaningful namespace design. You know, people always think about the DNS names have limited usage. I think that that's not my understanding. You know, anyone can go there except that they need a little money to get the TLD. If you don't get the TLD, get a second level DSN with the perfect. Then how you define the rise of the structure that can be really meaningful in building agentic AI systems. So with that, then you think about how you define the context, how you have the constraints of primitives, this authority and the trust. I think for this one, we'll probably have initial work at least developed. And more importantly, by the end, it's the evaluation, how you evaluate the effectiveness or usefulness of this direction. So the next one is my last slide.
[02:03:03] Antoine Fressancourt: Okay.
[02:03:03] Lixia Zhang: I just want to propose two... Three things. That is if you really want to get to this identical AI to be effective, secure, under control. Now here, the proposal is that we need this shared common semantic foundation for autonomous systems. We already mentioned about name. So so the... If the name is meaningful, and it can be input from name based security. And then build on the names. We build the name in the context. And then from there, you can define the input and constrain output of agent actions. So that's my
[02:03:49] Dirk Kutscher: Okay. Great. Thanks very much, Alicia.
[02:03:56] Lixia Zhang: This is an entirely blue sky, so shoot me down for any questions.
[02:04:04] Dirk Kutscher: Yeah. If that's a question, we can take one. I can't see it right now, but
[02:04:13] Participant: Hi. Can you hear me?
[02:04:15] Dirk Kutscher: Yeah. Yes.
[02:04:17] Participant: I have two related questions. The first one is the narrowing of authorizations when agents delegate their authority to another sub agent. How do you handle that? And then those delegation, those are short in duration. So can you talk about context expiry?
[02:04:46] Lixia Zhang: Let let me tackle your first one. Okay. Thank you. The... You... You're done with your question?
[02:04:59] Participant: Oh, no. I'm waiting to hear the answer.
[02:05:02] Lixia Zhang: Oh, okay. The first answer, I believe, is about the the delegation. Look at the DNS as a example. Right? Names are delegated. And in terms of DNS security, it's also delegated verification. So I use that as an example. I don't mean that, say, we're gonna use the DNS or DNS SEC. But fundamentally, it's that, you know, in the ITF minimalist, I forgot which one. I think one of the hot topics is about the who's holding... Who hold the responsibility for agent actions. I think the agent doesn't drop from the blue sky. Agent is run by somebody, and that owner should hold full responsibility for running that agent and for all the consequences of running that agent. So if you run an agent, you delegate to the agent whatever the things that it can do. That's why I said we now to get into the semantic contact to confine what the agent can do. But in terms of, you know, you delegate to agent, you delegate the, I want to say the word responsibility, but it's actually your responsibility for that agent to to be on your behalf doing a given limited set of things. It's not your representative, but rather your assist... Assistant on specific task. I think that the scope of the actions is very important, and we don't currently have a rigorous definition of that scope. And that's what I'm pushing.
[02:06:49] Dirk Kutscher: Yep.
[02:06:50] Participant: Okay.
[02:06:51] Wei Chang: I think we're thinking the
[02:06:52] Participant: same way.
[02:06:53] Dirk Kutscher: Yeah. We have to wrap up. So, yeah, thanks, everybody, for attending. So this is the beginning of a new research group. Right? So today, we have seen exciting potential. Right? So how AI infrastructure relates to Internet technologies, what are the challenges, different fields, so, you know, KVKash architecture agent systems. So the idea was that we give you some, you know, impressions of what are topics that, you know, we think are valuable for the discussion here in this group. Fundamentally, this is all community driven. Right? So in the future, we need your input. We need you taking part in the discussions. So please join the mailing list. Please share your ideas if you have different ideas or related ideas so that we can get some continuous activity going. So I think it's a super promising field. And thanks, everybody, who presented today. And thanks, everybody, for coming. Meeting finished.
[02:08:07] Antoine Fressancourt: Thank you.
[02:08:13] Dirk Kutscher: No. At least I... When I... The window open, I couldn't select them. I think we... Maybe... I'm not sure because when we proposed them, I still need to keep them, but I did it when I was already in the meeting, so I didn't see an email before. So