My name is Wenbo. This is a joint work with my teammates, Alex and Wadir. Say hi to everyone. And another teammate is in Silicon Valley right now. I'm with Dr. Xin Yuqing and Jimmy Su. They're all from the JD.com security research lab. So today, maybe I'm going to talk something different. It's not about attack, defense sort of things. So the title you can see here is about explanation. So we call this Autonomous Paths to Secure Deep Learning Systems. So first, sad news. All learning systems are de-explorable, right? So why I draw this conclusion? So just first is because people are doing this. They're keep on hacking things. I remember one guy, he's a PhD in UC Berkeley. So he keep building a lot of, sorry, he keep breaking a lot of learning systems. So another... Ah, And this is not from me, it's from a good fellow. We all know him, right? So he's from Google. So he said this pipeline for different fielding. First we can see as a work beginning, there's no effort, and those are the tight ends, and goes down, goes down, goes down, right here, right here. Do not generate or spread model. So seems that it's very tight, right? So, but remember, our ultimate goal is building a secure and trustworthy deep learning system. So, of course, we can still try and doing the defense sort of things to continue making our cluster more robust. All we can set, go another path is that we can do explanation. So what we are doing right now is that we want to interpret in the deep learning model. We want, giving a model, giving an output, we want to know why the model makes this decision. So imagine if we know the reason of the, every decision the model make, we can make our own judgment on whether this model is trustable or not. Right? So, okay, so, all right, here is a roadmap of my talk. First, I'm gonna talk about what is model explanation, and talk about some existing explanation technologies, and then it's our work at JD demonstration, some results, and then it's come to a short summary. So first, what is explanation of interpretation? This is a definition actually given by me. So, it's not a, it's a, it's a, it's a, it's not a formal one, but you can at least get a sense. It's like giving an input sample. We want to identify a set of important features that make key contribution to the model decision. For image recognition, it could be a group of, like, a pixel, for signal analysis, it could be some keywords. For binary function stuff, does anyone here know about binary or something else? Is that one just a sequence of heights? So it could be important, instruction, which is heights. Here is an example, so giving this review, you see this review is definitely a negative review, right? So for human, why we think it's negative? Because we see this keyword, this price. What does not worth the price? So these are the keywords. So if a deep learning or like other machine learning model classified this as negative, what we want to do is we want to find these keywords. Why they make these decisions, right? So giving another example is binary functions dot identification things. A little bit background about binary functions is that it's just a sequence of heights. What we want to do is sequence of heights and sequence of functions. So what we want to do, we just want to identify which heights is actually the function's dot. So here, the left side here is the demonstration of the assembly code, but here we're actually using the binary. So the model output, okay, model output, this instruction is the function's dot. It's the entries of the function. So explanation is that, or explanation is how you, okay. The model thinks this one is the function's dot because these two instructions are very important, of the high importance score. So from the people, from the binary people perspective, they all think this explanation makes sense because these two, this push EBP, move EBP, ESP, I think is a well-known product. It's like a golden rule in this field. If you saw this rule, this definitely be a function's dot. So if we get this explanation, we're going to say, okay, the model recognize the right thing. So we probably maybe contrast this model. Okay, so goes down, actually explanation is, I think it's maybe even harder than defense because we have so many challenges. Right here, it's the two of them is that, first, the model structure, very complicated. It's very a lot. There are two kinds of existing techniques. One is white box, one is gray box. By words of white box, that you just go inside model layer by layer, you see what's going, how the information probably, and that things like that. The other is white box, that we trace the model as one. We just query it, we get output, we use the input, output, we do some things and we get explanation. For people who are doing, like me, who are doing security, we think that white box not that good because of following reasons. First one is that model architecture keep words. Give you a simple example, if I do recurrent neural net, we all know that there are different kind of neurons, like GIO or LSTM sort of things. So if we design, like, say, one method for one type of the hidden name, it maybe cannot be transferred to the other. The other type, so you need to design one for each, which is time-consuming. The second is that model architecture are not wearable in many security applications. Say, where is TOTO? It's the online malware detection tools. We can only query it, we cannot get the architecture. The third reason is that some other issues that if you train the model to the separate area, so the gradient maybe come to zero, so you can get nothing. If you use gradient-based white box explanation method. So we switch to black box. So what is black box? Here is an example, so if we, okay. Give you an image here, it's orange. This I have to say is that a deep neural network. Okay, the model will tell you this is orange. And what we gonna do is that we use another function called CG, it's another type of model. And we use this model to approximate to the F. And then when the image comes out again, the model will tell you, okay, so which part is important? So this is, these are the important features. This is a bunch of, it just highlights the object here, it's orange here, so this is so-called the explanation. So idea is pretty simple, it's how we're doing, we're just doing approximation. But, so here is a little bit of technique, so how we can, how we generate a explanation that goes first, approximately, to the model is another transparency model. And then we inspect the, like, if you're using, say, linear regression kind of things, you can inspect the regression coefficients. And then you can run it and get the important features. Here is another example, I think he, right here, so if this F of, number. So this F is the nonlinear function of the neural network. So what we want to do is we want to get explanation for this image right here. So we want to approximate the local of this F, so we use a linear, so we say we use a linear regression, GFX. And then we get this parameter, the, it's called regression coefficients, right here. And we run them, we find the, yeah, top three. So this indicates the most important piece, most important parts. Okay, so. But we all know that deep neural network is highly nonlinear. The decimal rate is so complicated, so you cannot just approximate with a linear function. It will run into some problem here, see some points, we will just approximate this function with a linear one, you can say it's not very good approximation, and the explanation, of course, is not so good. So what we will do is we want to, we will try to do something different. We want to get a very precise, high precise approximation. So what we're thinking is we go to the statistical side, we found some metric model, which is actually pretty good. This one, I call, this one called due process metric regression model, it's a mixture of linear regression. So I will not go that far detail, so it's that, the reason why it's this model is that we want some high precision approximation. If we get a very accurate approximation, we can get better, a very good explanation. So what we did to this model is we add different regulation term. So for different network structure, we add different regulation term. So for MLP and , which gives us the approximation model, the model G, the ability to deal with high dimensional and high quality data. For images, that if you're doing some image network or something else, you start 100, But we're also doing something for the recurrence, they said input is sequential data, basically deal with some, you'll stay in the NLP field. So we add a regression called Fuse Lasso to deal with this kind of network. So this Fuse Lasso can give us the ability to deal with the differences within the input sequence. Say if there is a word, so example is I am Wumbo. So the I and M, they have some, and the third one, third one Wumbo, they have certain kind of collisions or dependence. So this Fuse Lasso can give us the ability to deal with this kind of dependence. So what we do is just to generating, so the very explanation, first we fit the mixture regression model. We fit the model with the input of the dependent model and output of the dependent model. So we treat the model as web model, keep querying, get our own data set and fit the model, fit our regression model with the data set we crafted. After that, we also deal with MCMC to do this. It's too much technical details, so I'll just skip. As a way from the best mixture components that the data lies in, as you see here, this is a model with maybe five components. And this one is actually where the data lies in. So I just pull this component out and get the regression coefficients of this component as our, and then drop them finally important pixels of the, as our explanation. See here, the explanation way much better because if you can see here, we've got the better combinations. Okay, so that's pretty much our model already, this size. But there are actually a lot of miles, a lot of some technical detail of it, I just skipped, but we got paper, so you can maybe, if you're interested, you can refer later. So, and then I just show some results. Here is our explanation of single images. This come from three different designs. One, first one, I missed, second one is fashion, I missed, third one is, well, no, image not. So you can see our method can always highlight the object. This is interesting, so this is a cat on the tiger. First of all, we want to explain why this is tiger. Second, we want to explain why this is a cat. So see, our method can always guide to the right object. And also, going beyond explaining simple images, if we get the important feature of the images, we can actually do some good thing or bad thing. One thing we can do is that we can synthesize some samples, right? So if we just unify the important features inside those image, the image also looks as the original one. So here is also it's one, it's two. But it puts this image into the cluster. Of course, people in cluster will fail to recognize them because we just removed the important features. The second thing is that we just pick up the most important features right here. The image, and no longer look as what they should be, right? So here it is something like a shirt or something else. You cannot recognize it, but the model can still classify it into the correct class. It's a character. is only because we keep the most important feature. Also, another thing we did, I didn't show up here, is that we get this important image out and put it on this tool. So it's so messed up, but the model still can't specify it as a one, because we keep the important feature of one. So this can be also another way of generating adults for sample, you can use this model, use this image to return the model, make the model more robotic. Here is another example, it's a binary function stat I mentioned before, it's trained by, originally trained by a recurrent network, so we got 99.9 kind of accuracy. Also, we swing this kind of, we swing this neural network, so here is what we got. Here is the high sequence, it's like the, the column is the important score, it's like a heat map. We can say the most important those sequence are here, right here. So, if we disassemble this, do some of this sequence, we can collect an instruction right here. This instruction is well known as the end of the function. If you have the first function with, like, 50 lines, the second function will be 70 lines. So there are 20 lines, so this one is a through compilers, maybe, in some kind of stuff. So... So a lot of function deal ending with this kind of pending. So of course the model is to, if the model see this kind of pending, they will say, okay, I see this. I saw this, maybe this one should be the function stuff. So this makes sense both on the model side, also on the binary side. So I show this result to someone, to some binary expert, they say, oh yeah, we already recognize the function stuff ourselves, humanly, by recognizing this kind of pending. This is just another example. This is also another one pending, and this is a well-known product. What this instruction did is just prepare the stack, so which is a very common style of function. Okay, so for explanation, what explanation I gave you, was firstly, if you see this, this result, if the binary expert, who didn't believe in deep learning before, if you show the explanation result to them, they probably gonna change their way. I tried this before. So if they say, okay, the model actually learned the right pattern, they probably tend to trust this model and use it. So this is the benefit of the explanation, is that building trust of the model. Another benefit is that, besides building trust, the model can pick up some new heuristic. This is also a very interesting design. Some heuristic are not recognized by the expert. They only recognize a small part of the heuristic sense. And after we're doing the explanation, we express the patterns, we can show the pattern to the expert, and they know, okay, oh, this can be, they can verify them, right? They can verify the pattern. And then they find out, okay, this pattern could be the new heuristic, which enlarges their knowledge, which is also a good thing. So, okay, so here comes my summary, is that, firstly, as I mentioned before, defense is a long way to go, because reducing attack space is pretty hard. An alternative takeaway is explanation. So for security, we turn to Breitbart's explanation. Because the reason I mentioned before. And the benefit of explanation is that, first of all, we can, of course, explain in single instance. Also, we can scrutinize the model weakness, which I showed before, we can generate some, and also sample. The other tool is that we can build trust on model, get new knowledge, maybe generate some data to retrieve model and make the model more robust and more accurate. Due to time, I just want to say, let's stop here, that's pretty much I want to talk today. So if you are interested in our work, you can just go to my personal web homepage. We got two or three papers related to these topics, and we are also open for collaborations. Okay, thanks. Any questions? So, is there any questions, or just leave? Like you were looking at matching the cats on the picture, are you trying to match any cats or specific cats? It doesn't matter, actually, so I will say any cats. You can pick up differences? Yeah, yeah, yeah, as long as we generate enough training data to train our approximation model, we can do that. Okay, so thanks. Thank you. Thank you.