start	end	text
0	5480	Our next speaker is Dr. Ethan Rudd, Senior Data Scientist at Sophos.
16860	24280	Hello, everybody. Yes, my name is Dr. Ethan Rudd. I'm a Senior Data Scientist at Sophos.
24540	30060	And the title of my talk is, Loss is More, Improving Malware Detectors by Learning Additional
30060	37580	Tasks. So, before I go into the meat of the talk, I just wanted to let you guys know a little bit
37580	42640	about who I am, so that you know that I'm not just some random guy that sort of stumbled in
42640	47460	here off the street. This is my first time at DEF CON. Very excited to be giving a first DEF CON
47460	59410	talk. And thank you. I've been on the Sophos data science team for about two and a half years in a
59410	65430	research capacity. Prior to that, I worked on several projects in several areas of applied
65430	72370	machine learning. My PhD research was funded by the IARPA Janus project, face recognition project.
72490	77370	I did a project at Google with their advanced technologies and projects team.
77430	81750	And then I've been involved in several other small business and university projects.
81910	87470	So, I mentioned the face recognition stuff because we're also running a great facial recognition demo
87470	93510	at the Unwind session. So, please check that out. And you can check me out on Twitter or Google
93510	102630	scholar for various research if you like this talk. So, what is this talk about? Well, as we've
102630	108490	seen, there have been several great talks on machine learning for information security prior to this
108490	116150	one. But for many machine learning malware detectors, we're looking at training on a single
116150	121110	malicious or benign label when there's actually lots of additional information available. Lots of
121110	126830	additional labels, lots of additional metadata, etc. And so, really the question that we answer
126830	133530	in this talk is, can we train and craft a bunch of auxiliary labels to train on rather than just
133530	139190	having a single malicious or benign label? And can we get better performance? Well, as it turns out,
139190	144770	we can. And interestingly enough, we also find that these performance gains can be attributed
144770	149750	to a better informed classifier. And I'll explain what I mean by that a little bit later on.
149750	156350	So, in before and after photos, if you will, what we're talking about is adding additional
156350	162310	loss functions during the optimization. So, on the before side, you'll see that we have
162310	168290	only a single loss function. This is how many malicious and benign detectors are trained.
168390	172190	And they work pretty well. There are a lot of them that are commercially deployed.
172450	177750	You can get good performance. But if you add a bunch of auxiliary loss functions on a bunch of
177750	185490	labels, hence the after loss part of this before after thing, we get way, way better performance,
185490	193190	as it turns out. So, before I dive into exactly how we formulate this, I'll just give a brief
193190	202070	review of machine learning for malware detection. So, up until about 2015, most malware detectors
202070	208730	were largely signature driven. There were a few machine learning, but ML really took off around
208730	215290	then. Now, actually, a lot of the detectors consist of hybrid ML and signature. They use
215290	224050	signature largely for blacklisting. And one can really triage detection as this diagram here,
224050	230950	where ML and signature detectors actually both work on static and dynamic features.
231570	237590	For ML, static is a little bit more common. And we focus largely on static detection in this talk.
237590	242910	The reason, by the way, that static features are more common is to get ML to work well,
242910	248970	it requires lots and lots and lots of data. And it's easier to collect a lot of static data.
249870	256630	So, we find that we can actually do very, very well with that. So, a typical detection pipeline
256630	262390	is built on some sort of a binary classifier, deep neural network, or maybe a gradient boosted
262390	270010	machine. I'll discuss the deep neural network use case for this talk. And we're talking about
270010	275970	training on millions to hundreds of millions of labeled malicious and benign samples.
276610	281790	And we're also talking about classifiers that are periodically retrained to be able to reflect
281790	287670	current threat landscapes. These can be deployed in a lot of different contexts. They can be
287670	292430	deployed actually on endpoints. They can be deployed in the cloud. They can be deployed
292430	297010	in security operations centers. It really doesn't matter for the purpose of this talk.
298010	305270	Now, as far as labeling sources that a lot of vendors use, they rely on vendor aggregation
305270	310590	services or threat intelligence feeds, which basically take a bunch of vendors or different
310590	315990	labeling sources throughout the industry and submit malicious and benign samples to those
315990	322150	and say, okay, how do these label the samples? And then some sort of an aggregate label is
322150	332190	generally derived. Often there's also a little bit of time lag between the time at which the
332830	339970	samples are submitted to the vendors. And there's a little bit of time lag that's left
339970	346930	to basically let vendors update their blacklists and let the scores settle down. But long story
346930	354150	short, most approaches take an aggregate malicious or benign label that is obtained from these
355130	366930	threat intelligence feeds. Now, these detection engines also, because they use ML, they need to
366930	374230	convert the malicious and benign samples to some sort of an ML-friendly numerical
374230	380930	representation. There are a variety of ways to do this. Some try and do something that's closer to
380930	387750	raw bytes. Some use various types of feature vector representations. We presume a specific
387750	394890	one. And we use a portable executable malware and benignware in this work. But the approach
397270	402030	is fairly broad and can be done in a lot of different ways. So the way that a typical
402030	408110	neural network will look is you'll have features that are extracted from malicious and benign
408110	416010	samples during training. A forward pass is done through the network. The output of the classifier
416010	421330	is taken. And then some loss function along with the associated label is used to correct
421330	426030	the representation so that we have a good representation that we can then later deploy.
428090	433150	At deployment time, we take this learned representation. And here I just want to
433150	439010	highlight we don't have any labels on the malware samples. That's what our classifier serves to do.
439010	442890	We deploy that to wherever we're deploying, whether we're deploying on endpoints, whether
442890	450090	on socks, whether we're deploying to clouds. And then we submit our feature vectorized
450090	458170	forms of our files in realtime to the classifier. And in this case, our classifier is a neural
458170	462210	network. It could be whatever, but we're dealing with neural nets in this work.
462590	469630	And we use the predicted output basically as a score that says, okay, how malicious is this file?
469630	474790	A maliciousness score, if you will, that one can threshold in a variety of ways.
476810	483570	So this is how things are currently done or commonly done, I should say. However,
483570	488090	just a little bit more on these threat intelligence feeds, they have lots and lots more
488090	494010	information than just whether a given file is malicious or benign. In fact, that's even a
494010	499170	simplification from what they're providing. They also provide information on individual
499170	504510	vendor detections. They provide, of course, the net number of vendor detections. And then
504510	510490	they provide some string information on the detection names per vendor at the very least.
510490	517090	Some provide a lot more. So really revisiting the original question that I posed, can we craft and
517090	525110	learn from auxiliary labels and get a better detector? And the answer is yes, in fact, we can.
525770	532650	The technique that we've derived to do this, we refer to as ALOHA, or Auxiliary Loss Optimization
532650	539570	for Hypothesis Augmentation, hence the nice Hawaiian art here on the side.
542650	548690	So in short, we've got all this auxiliary information that we want to utilize. And as
548690	552870	we saw in the case of just a malicious and benign label, well, we have this loss function
552870	561230	that we use here. So why not just add more loss functions? And that is really the
561230	568050	crux of what ALOHA does. We have more labels, more loss functions. And this has a couple of
568050	575390	nice advantages. First, although we have more labels and we use more network outputs during
575390	583710	training, we do not actually have to use these during deployment time. So we can notionally get
584130	590370	a much better network representation during training. But at deployment, we don't have to
590370	596690	update our infrastructure at all. Now, alternatively, we can use the additional auxiliary outputs to do
597050	603410	certain additional tasks. So if we want to do things that are, I'll say, specific to like an
603410	609710	EDR or an MDR type application, where we're getting more fine grained information about the
609710	615530	particular malicious samples, say maybe in a SOC, but maybe not on our endpoints, we can sort of
615530	622870	dual purpose this training and use the learn models in a variety of ways. So for our labeling
622870	630610	sources in this work, we selected nine vendors from our aggregation feeds and used detection
630610	636650	labels from each of the respective vendors. We also used the net number of vendor detections.
636650	643050	And there were more than nine in our feed. There were tens. And used the integer value of the
643050	650630	number of vendor detections as an auxiliary target as well. We also use our main target of this
650630	659850	aggregate most benign label. And then we also use 11 semantic malware attribute tags. So these
659850	668350	describe the content of malicious and benign samples. These are derived from the detection
668350	673950	names within our feeds. The derivation process I can speak a little bit more to at the end.
674170	679330	But I would actually refer you guys to a, in my opinion, very good paper that we wrote on it.
679570	686230	And I'll include a link for that in the end. But basically these tags are not mutually
686230	692390	exclusive. And they summarize the content of most benign samples in ways that a human
692390	701310	can understand. So for each of these additional labels and network outputs, we have additional
701310	708190	loss functions. And so our main aggregate loss function is actually a binary cross entropy loss
708910	718430	taken between the output of the network and the aggregate most benign tag or aggregate most benign
718430	724430	label. Now this is a pretty common loss function for a lot of neural networks that are doing
724430	731310	malware classification. But with respect to our auxiliary losses, we have a loss function that is
731310	738010	specific to the vendors, one for the tags, the semantic tags, and then one for the counts.
738730	743730	And for the vendor loss functions, we actually take a sum of binary cross entropy losses
744250	752170	for each individual vendor response. For the tag losses, we take, we do a very analogous thing,
752170	757370	but for each of the attribute tags. Now I would again point out that none of these tags are
757370	765890	mutually exclusive. So we use binary cross entropy here rather than say a softmax
765890	773210	categorical cross entropy and take the sum. Then for the count loss function, we use a Poisson
773970	782090	loss on this. Now prior to that, we do an exponential activation to constrain our count
782090	788630	range from zero to, well, basically to be non-negative as counts can't be non-negative.
788630	796530	So our total loss is written at the bottom here. And this consists of the most benign loss
797370	803710	with all of our auxiliary losses just summed and multiplied by a constant. Now the constant
803710	811270	in this case, we use 0.1. We didn't explore good values of this in depth, but other work
811270	817670	has. And so we did this sort of in a principled manner consistent with some other work that I'll
817670	822850	reference towards the end here. So during training, and you've seen this at the beginning of
822850	828990	the talk, but basically we have all these aggregate loss functions where we have a main malicious and
828990	834910	benign loss that's what we're trying to ultimately optimize for and detect. But with respect to the
834910	840850	aggregate loss functions, we have our vendor counts, our individual vendor detections,
840850	853070	and our attribute tags. Now aggregating all of these losses together, we can use all of these
853070	858310	or just one or two of these auxiliary losses, or we could even potentially add more if we had more
858790	864190	information in our feed. I would very much point out that this is sort of a proof of concept
864190	872450	model, a very general sort of architecture that I'm describing. But the point is that adding these
872450	881670	auxiliary losses theoretically helps. At inference time, however, absolutely nothing has to change
881670	888530	whatsoever with respect to the network outputs. You'll see that in the prior slide, we had all
888530	893070	these different outputs that we added, but we pruned those, we pruned the associated model
893070	900230	parameters at inference time. And so our deployment infrastructure can remain entirely the
900230	904970	same. We don't have to change that at all, which is nice from an engineering perspective.
905490	913610	So I've made these claims that the Aloha model works very well. Now I intend to actually provide
913610	921710	some evidence of that. And to do that, we collected a data set of approximately 9 million training
921710	929850	samples, 100,000 validation samples, and 7.7 million test samples. And the training and
929850	937390	validation split was taken temporally before the test split to ensure basically a fair evaluation.
937390	948550	I mean, we can't fit... in order to ensure temporal consistency, we ordered our samples as follows.
949190	955090	And for our aggregation, for our aggregate malicious benign label, we used what we call
955230	961770	a one minus five plus criterion here, which basically means that for one or fewer vendor
961770	968030	detections, we label as benign, and for five or more, we label as malicious. And then we ignore
968030	975090	those with two to four labels. Now I'd mentioned there are more sophisticated ways to do this.
975090	979950	This is just the one we chose largely for simplicity, but there are more sophisticated
979950	985330	ways to do this. But this works pretty well. It's a fairly standard practice.
987550	994450	When we look at actually the vendor counts across our data set, and looking at this was one of the
994450	1001550	reasons why we chose the one minus five plus. But what you'll see is that there are a disproportionate
1001550	1009530	number of one minus and specifically zero, and then a lot that have many, many, many vendor
1009530	1016750	counts. And bear in mind, these are taken over a logarithmic scale. However, we still see,
1016750	1023790	and this was one of our motivations for using account loss initially, that just taking these
1023790	1029530	basic thresholds washes out a lot of finer grained information. So this was actually one of our
1029530	1036150	motivations for the account loss. And as you can see, it's not a, it's not really a common occurrence,
1036150	1042130	but we might be able to say something about relative sample difficulty by adding that.
1043530	1049030	We also looked at the respective vendor agreements with one another, and these are
1049030	1055450	plotted in this confusion matrix here for each of our nine selected so-called high coverage vendors.
1055450	1062250	And as we can see, we can, we see an agreement that occurs most of the time, but not all the
1062250	1070030	time. I mean, vendors are consistent approximately 85 to 95 percent of the time, but they don't
1070030	1076130	always agree. So perhaps there's some independent auxiliary information that we can glean from these.
1077670	1085130	As features, we use the same features as Saxon Berlin did in their work, deep neural network
1085130	1090810	malware detection using two-dimensional binary program features. In full disclosure,
1091990	1097970	Sax is my boss, so that's one of the reasons why we chose to use these features. We used
1097970	1104590	the features that he and others within our group derived. And I won't go into these in
1104590	1110210	depth, but I leave the paper there, and I just want to give sort of a semblance of what these are.
1110210	1119330	So basically they fall into three different camps. So 512 of the dimensions of our net
1119330	1125370	1024 dimensional feature vector are based on windowed byte statistics and basically
1125370	1134090	aggregate histograms of, sorry, windowed byte statistic histograms, which are basically
1134090	1142030	aggregate statistics over the entire file. We then have 256 dimensions devoted to a two-dimensional
1142030	1148610	string length hash histogram, or basically across a logarithmic scale of different lengths.
1148670	1158350	We apply the hashing trick. And then we also have specific P metadata fields, like the exports,
1158350	1163570	like the imports, et cetera, that are hashed into another 256 dimensional vector. And all
1163570	1169060	these get concatenated. So that's our representation of individual files.
1170090	1178290	So that's how our dataset breaks down. When we compare performance here, so we tried using
1178290	1185110	different combinations of our main malicious and benign loss with different auxiliary losses. So
1185740	1192770	we used one, just our malicious and benign loss as our baseline. So that's sort of tantamount to
1193110	1198350	a lot of types of models that are currently deployed. Then we applied each individual
1198350	1204750	loss type. Then we applied everything combined, which I guess you might say is the full Aloha
1204750	1212930	model. And we fit each of these classifiers for each different loss combination. Actually, we fit
1212930	1219630	five different classifiers. And we report our results in terms of mean and variance statistics
1220430	1227090	over receiver operating characteristics curves to be able to gauge statistical significance.
1228130	1234290	Now, for those, I know that there's a lot of talent in the room with a lot of different
1234290	1239370	backgrounds. So for those of you that might need a refresher on receiver operating characteristics
1239370	1245950	curves or ROC curves, basically we look at this false positive rate across the x-axis,
1245950	1251330	then a true positive rate or a detection rate at that false positive rate across the y-axis.
1251590	1258050	And so typically what's done in the industry is at various false positive rates that are
1258050	1265350	deemed sort of acceptable to the user, a threshold is chosen, and then you'll get the true positive
1265350	1274630	rate at that threshold. So what we see when we add our count loss is that we do, in fact,
1274630	1280770	get better performance in terms of both the area under the receiver operating characteristics
1280770	1287150	curve, which is basically a gauge of how good is the curve overall. But specifically, we see also
1288090	1296450	at higher false positive rate regions, or sorry, lower false positive rate regions,
1297010	1304290	we see a particular bump. And this becomes a bump in detection rate. Now, this becomes relevant
1304290	1310710	because as we get to lower and lower FPR regions, there are more deployment scenarios that we can
1310710	1319710	address with our models. Similarly, for the vendor loss, when we add that to our baseline,
1320290	1326290	we see a boost in the receiver operating characteristics curve or ROC curve at the
1326290	1334270	relevant region. We don't see quite as much of a boost in terms of the area under the curve. In
1335250	1341910	statistically pretty similar. And that's not to say that this isn't still a very significant result.
1342590	1351430	In fact, again, the AUC is a net statistic on the on the curve. But we don't really care so much
1351430	1356630	about the higher false positive rate regions, because the detection rates there are very,
1356630	1363810	very good already. And so we can deploy those very easily. But as we're getting down, you know,
1364410	1369730	although the AUC is relatively similar, we still see this as basically a win.
1370290	1376250	The tags loss gives us similar results. And I'd mentioned that actually both of these
1377170	1384350	loss functions, the tags and the vendors loss functions, not only do they assume sort of a
1384350	1392110	similar functional form, but they also give us an even better result than the Poisson loss function
1392110	1398110	or the count loss at the lower false positive rate areas. But they are slightly worse in terms
1398110	1405690	of in terms of AUC performance. When we combine everything together, what we find is that
1405690	1413070	we get even better results. And we find that not only are our results far better, but our
1413070	1420090	variance between different model instantiations is reduced. And we see basically there are two
1420090	1424930	modes of improvement here. There's an improvement at the higher false positive rates that is above
1424930	1433170	10 to the negative third. And then there's an improvement below that. And basically the higher
1433170	1439610	FPR improvements, these are really what are driving the area under the curve improvements.
1439670	1448450	But again, the lower FPR ones are still quite relevant. So in summary,
1449310	1455790	we see that yes, adding additional losses does seem to improve performance. And notably it also
1455790	1462430	reduces variance across different instantiations of the model. We suspect that this is actually
1462430	1468870	occurring, this variance reduction is occurring, because as you have more things to optimize for,
1468870	1473450	you're inherently sort of constraining your optimization process. So there aren't as many
1473450	1481630	different types of ways that parameters can vary. We also see that there are similar behavior for
1481630	1488470	similar loss types. So both of the vendor losses and tag losses consist of sums of binary cross
1488470	1498090	entropy losses. And again, these seem to drive different things with respect to our ROC curve.
1498090	1507230	We suspect that we see these higher FPR gains in detection for the count loss,
1507230	1511170	because it actually does communicate something about the difficulty of samples.
1511230	1517370	And then with respect to the tag losses, perhaps the network's able to correlate some sort of
1517370	1524490	information between when, say, just one or two of these vendor tags trigger versus when, say,
1524490	1531090	all of them trigger. And so it drives things really at lower FPRs.
1532530	1538990	So, okay, we've presented, or I've presented some evidence, hopefully, that the ALOHA model is
1540310	1547550	able to deliver better detection performance. But now I'll just really briefly discuss what's
1547550	1553210	driving this performance gain. Is it some sort of a smoother optimization service that's brought
1553210	1561730	due to a regularization effect of multi-objective optimization? Or is it perhaps due to a more
1561730	1568030	informed representation from all of these different auxiliary label sources? And going into
1568030	1575490	this, we sort of suspect the latter of these two. But we want to actually make sure and then see
1575490	1582470	what's going on here. So in order to test this, we used auxiliary loss functions on so-called
1582470	1589570	non-informative targets. So we employed various mechanisms of duplicating labels.
1590230	1598710	One of the ways that we did this was, or using or providing labels that delivered no additional
1598710	1603210	information about the sample. One way that we did this was with a pseudo-random label,
1603210	1609490	where we took the hash of the file contents and just took the sign of that as an auxiliary target.
1609490	1616030	For a given file, you're going to be looking at the same label, but the labels are just pretty
1616030	1623790	much randomly there. We also tried adding a duplicate target and optimizing for that. And
1623790	1629950	then we also applied a duplicate target with a different type of loss function. So we scaled and
1629950	1635750	shifted a copy of the target label. And then we used a mean squared error loss on this, which is
1635870	1642890	a common regression loss. And so from these, what did we find? Well, we found that adding these
1642890	1649350	non-informative losses did not improve our performance in a noticeable manner at all. In
1649350	1660250	fact, it was statistically identical, if not worse, when we added auxiliary targets to our
1660250	1666470	original target as well. So this suggests that, yes, the Aloha network gains are actually coming
1666470	1671950	from additional information from the additional labels. The network's doing what we want it to do,
1671950	1677170	and it is learning a better representation, a better informed representation.
1679570	1684670	So overall, what we find is that, yes, our Aloha technique works well,
1685890	1691450	and it seems to be a result of the neural network's ability to actually correlate information
1691450	1696190	from auxiliary labeling sources. It's not just simply an artifact of regularization.
1697350	1701530	We also have the advantage that the network can be trained and deployed with minimal changes
1703110	1709590	to existing infrastructure that's out there. So no re-engineering of anything on the endpoint,
1709590	1714870	on the SOC, anything in the cloud has to take effect. And then also there are additional
1714870	1722570	applications that these outputs can be used for, like EDR and MDR. So one additional application,
1722570	1728010	as an example, is since we have outputs that describe the content of the malware,
1728010	1734750	we can actually group malware by the predicted tags. And we might have an application where
1735570	1742330	we might want to deploy that sort of for internal use or say as a service, but yet still be able to
1742330	1747870	deploy our model. Well, we can do that all under this one training regime just by pruning our
1747870	1756950	losses and pruning our outputs respectively. So before I take some Q&A here, I just wanted to
1756950	1762210	also mention some related research and some directions for future work if you found this
1762210	1769890	topic interesting. There's been a lot of research by our group and also by other groups that is
1769890	1775950	related. It's interesting to look into and it can perhaps be leveraged in some very similar ways.
1776690	1783430	So first, I'd also mention that Aloha is a USENIX paper now. So I'll be presenting this at USENIX
1783430	1790390	next week. But interestingly, oh yeah, and it's available on archive as well. So feel free to
1790390	1798090	check it out if you want more information. Interestingly, a gentleman by the name of Jason
1798090	1806150	Trost actually did a nice blog post where he used Aloha architectures for a much different
1806150	1816470	problem using Endgaming's domain generation algorithm detection code. He tailored that to
1816470	1823670	use basically these Aloha losses. And anyway, he did a nice blog post about his results.
1824310	1831970	There's also a paper out of Microsoft Research called MTNet. And this paper actually is similar
1831970	1836930	to ours in a variety of ways. It uses an impressively large data set of dynamic features
1836930	1844410	and it largely substantiates a lot of our findings. However, they use only one type of
1844410	1850310	loss function. They use multiple loss functions, but only a categorical cross-entropy softmax.
1850910	1858630	They do something sort of similar to a tagging approach that we do describing the content of
1858630	1865290	each sample, except they use a Microsoft malware family names. And so they actually do employ some
1865290	1872030	sort of a mutual exclusivity assumption here. But anyway, it's another great paper and it's
1872030	1877050	very cool to see that they're also able to sort of substantiate our findings with a much
1877050	1884390	different data modality. It's also PE files, but it is dynamic features. I'll also mention the
1885070	1891010	paper on malware attribute tagging. So smart semantic malware attribute relevance tagging
1891010	1896310	is a paper that we also put out there, which will pretty much tell you everything about everything
1896310	1903550	that you want to know about malware tagging. It is the approach, the tagging approach is the same
1903550	1911410	as we employ in this work. So please see that for details on the tagging problem and the tag
1911410	1919650	prediction problem. There are several other models that we employ in the smart paper as well. So if
1919650	1927770	you're interested in that, check it out. I will also mention another paper that moon a mixed
1927770	1933210	objective optimization network. The reason why I bring this up is while this is applied to facial
1933210	1938430	attributes, it has nothing to do with malware. It is actually the approach that I use in my
1938430	1943490	face recognition demo, which again, please, please stop by during the wind down session.
1943490	1948310	If you want to see basically how this type of optimization can be employed very powerfully in
1948310	1955450	action, the approach is fundamentally the same as Aloha, but with a much, much different data
1955450	1963750	modality. One final work that I'll mention that I promise I'm done is a work paper that we did
1963750	1973630	called learning from context. It uses multi-view learning or multi-input learning in contrast to
1973630	1980190	our approach using multiple labels and multiple loss functions. But using this approach, we are
1980190	1986630	able to include extra information in the representation. Just in a different way,
1986630	1992610	we're sort of turning the Aloha approach on its head. And this type of approach could be
1992610	1999210	trivially combined with Aloha, I would mention. So that's maybe a nice direction for future work.
1999210	2006030	Having multiple PE file features and also other auxiliary information, like we took
2006890	2014170	embeddings of the PE file on disk and concatenated those together. But also
2014170	2021390	potentially multiple labels, you know, just adding multiple other sources of information
2021390	2028330	into the representation. It seems to work well. So it's definitely an avenue for future research.
2028330	2034710	I'll finally close with an obligatory Sophos pitch. So I'm with the Sophos data science team.
2034770	2039450	We do really cutting edge research and we're always interested in transparency and collaboration
2040170	2048370	and in hopefully, I've communicated, publication. And while we're not the only one, we are one of
2048370	2054610	the only research teams in the MLSec industry that is getting papers accepted at some of the
2054610	2060170	top tier academic venues like USENIX. Our group consists of about 10 to 15 people. We're split
2060170	2067290	about half between research, about half in development. And so check out our group if
2067290	2073330	you're interested. You can talk with me or you can talk with Rich Horang, who's also here,
2073330	2078510	who's one of our directors of data science. Here's a picture of our team. Lots of great
2078510	2085270	colorful characters. There's some more Sophos presentations going on this week. As I said, I
2085270	2092910	have a facial recognition booth. Rich has a talk on hacking facial recognition on the 10th.
2093110	2099110	And then he also presented a talk on security data science at B-Sides. So if any of you saw that,
2099110	2105830	there's just a name to correlate. And then I'd like to thank Sophos for funding and for promoting
2105830	2111150	this research. And I'd particularly like to thank my collaborators and my co-authors here
2111710	2116950	for all the work that they did. This was definitely a team effort. So with that, I'll
2116950	2153200	open it up for questions. Yes. Thank you. Yeah, so that's a great question. The question is, so
2153860	2158540	this talk was about incorporating these auxiliary losses on neural networks, but have we tried
2158540	2165620	other classifiers like ensemble models, random forest boosting, et cetera? And while I would
2165620	2173720	say that we don't have concrete results here on those, there's nothing that would preclude a
2173720	2180520	person from doing so. The representation that's learned by an ensemble model is a little bit
2180520	2189400	different. So I guess that in say a random forest or in a boosted model, I guess the question is
2189400	2195960	how you would do shared splits in a way that works well across data. So I'd say that the technique
2195960	2203100	could be very well applied. I don't know how well it would work. I can say that I've looked at
2203100	2210420	some of the libraries that are out there for this, like light GBM, like XGBoost, et cetera,
2210420	2215000	and they generally assume that you're going to be using only one loss function, but there's
2215000	2218840	nothing that would preclude somebody from implementing it. I just don't know how well it
2218840	2234060	would work. Thank you. Let's see more questions. Yes, please. So what are some of the next steps
2234060	2238940	in the process? And some of the features that we want to develop? So features in terms of
2238940	2245120	representation of the malware fed to the classifier or features in terms of just like
2245120	2254760	extra things to tack onto the classifier? Sure, sure. Yeah. So extra additions to this overall
2254760	2260380	technique. So I would certainly say that the approach that I'm most interested in is actually
2260380	2270160	having a unified multi-input and multi-output model that's really able to learn multiple labels
2270160	2277600	or learn from multiple labels, but also have multiple just heterogeneous inputs. Like
2277600	2286160	you could have, as an example, the character embeddings of the file path. You could also
2286160	2294720	apply this, I would say, to a lot of different malware types. I've been talking about P files
2294720	2300440	this entire time, but there are a lot of different types of malware that one could apply this to.
2300900	2308600	So I'd say that those are two different avenues that I'd certainly like to go down. And then I'd
2308600	2317100	also say that there are other sources of data that are on some of these threat feeds. And so
2317100	2322220	I think that looking into those would be very interesting as well. Yes, please.
2337330	2343790	Yes. Well, so yeah, I mean, I'd say that not only does it not do worse, I mean, it does,
2343790	2348790	on an aggregate, it does better. And I would say that, yeah, if you have multiple inputs,
2348790	2353890	yes, we do see, in fact, and we have seen that, I'd actually point you to that learning from
2353890	2360310	context paper, that, yeah, we do get a nice performance bump. But actually, yes, having
2361090	2369490	missing data is a little bit more of a problem with that. So for our loss functions here,
2369490	2376870	if we have a missing label, we can just zero that entry out in the loss. But if we have a missing,
2376870	2382330	and just back propagate that, but if we have a missing input, well, that becomes a lot more,
2382930	2386730	a lot more hairy. And that's an area of research that I'd really like to see addressed
2387670	2395210	a little bit better. Let's see, I think we have time for one more. One more question. Yes, please.
2407920	2411400	Yeah, yeah, that's a really good question. So the question is, which
2412120	2418600	inputs are most prominent in terms of the respective output response? And so this goes
2418600	2425860	back to a lot of the model interpretability literature. So I'd say the LIME SHAP values,
2425860	2432960	layer-wise relevance propagation, a lot of the literature in that area would be very good to
2432960	2439760	look at, or techniques like activation maximization. Yeah, those are a few techniques,
2439760	2444180	it's definitely an area where I think that not only I am, I think that not to speak for the
2444180	2448260	entire industry, but I think that they're interested in that. So anyway, I can chat
2448260	2453360	more after on that. But yeah, thank you. Thank you for the question. Good question.
