start	end	text
15420	17310	Thank you for the introduction.
17470	18990	I'm Taesoo Kim.
19070	23370	I'm currently a professor at Georgia Tech and also VP at Samsung Research.
23370	28970	Today I'm going to talk about our takeaway from this Delphi AIX challenge.
28970	37890	Although I'm presenting this, this is work by a lot of our amazing students and engineers and hackers in our group.
37890	40870	And we just won the competition.
40870	42080	Where's our people?
42760	43060	But
46150	55870	most importantly though, we not just win the competition, we actually won the competition by far.
55870	64350	If you can see those presentations, our slides, if you combine the four last people, in fact we score more than them.
64350	68070	We are similar to the two other people in top three.
68350	77650	Today I don't have enough time to talk about all these details of our system design, but I hope that I can share some of the lessons that we have.
78910	83270	Before we kick off, let's think about one problem, one question.
83650	95890	What about we give all these repositories that we work on and select chat histories and some technical reports and blog posts all together to the LLM and ask to create a slide?
96370	107710	Or what about we provide all this public information about Delphi AICC and ask LLM to create the competitive CRS against us?
107850	111230	Everyone thinks this is not going to work.
111330	112690	But why not?
112690	114970	You can think of two different ways.
115830	127670	Either our security tasks in Delphi AICC are fundamentally difficult, or today's LLM are not yet ready to handle this complexity.
127670	131490	But we started our journey as AI skeptics.
131490	139110	We thought that those type of security problem are extremely difficult so that even AGI system cannot handle it.
139230	143710	But it turns out it's the limitations of today's LLM.
143710	149690	We hope that future AGI system can solve all these security challenges in AICC.
150830	159050	Dealing with this LLM is more like today's LLM is more like the Jack-Jack and Incredible.
159050	162390	I'm not sure you guys watch this amazing animation.
162470	164230	The Jack-Jack is a superhero.
164570	167650	He's born out of two superheroes as a parent.
167690	170250	But we don't know what type of superpower he has.
170550	173310	But he has tons of hidden potential.
175630	179530	It's speedy and it has electromagnetism, for example.
179530	183110	There's so many different potentials in LLM.
183170	188410	But our experience of interacting with today's LLM is more like how to babysit this Jack-Jack.
188410	191730	Sometimes we can ask it to become a security researcher.
191730	199990	Hope that this monster expresses a superhero superpower so that it really behaves like security researchers.
200610	204730	But more than often, it fails.
204870	207710	Whenever it fails, we're often threatening it.
207710	209890	Hey, you really have to work hard.
209890	212150	Or sometimes we do cheerleading.
212150	223490	Say, what about we give you $10 or $200 so that we hope that this baby monster can perform with these hidden potentials in solving our challenges.
224550	230130	We studied, again, we studied this competition as AI skeptics, but for reasons.
230130	238750	We evaluate tons of different LLMs by ourselves, not limited to commodity LLMs that we can access to.
238750	241790	We also evaluate lots of custom models as well.
241830	248610	But at the time, most of the discussion is more about how to do the engineering well.
248630	254870	We talk about, hey, there's a chain of thought or tree of thought or self-consistency.
254870	260390	These tiny little details in engineering emerge at the time.
260890	265330	But interestingly, this is the moment that people are discovering some magic sentence.
265610	269050	This is one of the book posting from some people.
269050	278050	People discover that if you provide a sentence, they provide a tip, you start responding longer than expected.
278710	285390	But not limited to tipping behavior of the LLM, we start seeing tons of similar properties.
285390	287670	Like, we have to do the gaslighting.
287670	293110	Or sometimes instead of being kind to LLM, you should be affirmative.
293570	299130	You can be aggressive about what to achieve out of interacting with today's LLM.
299330	302510	And many of the discussions at the time is very primitive.
302590	305910	For example, what's the right way to ask to generate the patch?
305910	309250	Should we ask unified format as output?
309330	313030	Or should we ask complete rewriting of the functions?
313030	316350	And these are the primitive discussions that we had at the time.
316350	322710	We have a lot of discussion about how to express the code, how to include the code as part of the prompt.
322710	325230	Should we create the line numbers in front?
325230	329590	All these tiny little details actually matter at the time.
331190	336390	Worse yet, we realize the context window is probably the fundamental problem.
336710	349090	You can think of this way, the training is depending on the quadratic complexity of the context window, we start seeing a lot of racing going on in terms of increasing context window size.
349910	356330	We even saw the one million token from Gemini at the time, but we got excited.
356330	362730	But unfortunately, when you have larger context window, we start seeing some destructive behavior.
363110	371610	This graph just represented based on the location of the fact and larger context window size LLM.
371630	373350	So it got destructive.
373350	380150	You can see some of the error spike in certain locations of the prompt in this experiment.
381890	389730	However, we start seeing some of the potential happening, potential benefit of adopting LLM in our CRS.
389730	395130	One of interesting breakthrough happening at the time is that tons of orchestration engine happening.
395130	407690	We first start exploring the LLAMMA index, which nobody using these days, but we start evaluating semantic kernel from Microsoft and linkchain, which is current baseline of our CRS.
407970	416530	But interestingly, features like code interpretation happen, which means a year ago, LLM is not good at our simple arithmetic.
416530	428030	But because of code interpretations, instead of completing token of arithmetic, LLM can start expressing their thought in terms of code.
428030	434730	So instead of completing token in formula, they can create the Python code that really calculate the code.
434730	438290	We realize it's one of the breakthrough happening in this space.
438370	453570	More than that, LLM now support function code, now is known as tool code, meaning that whenever they need external dependencies out of their knowledge, we can now start providing external mechanisms as a tool to LLM.
454910	460490	We also see some of breakthrough happening in the agentic architectures.
460510	477290	One of interesting experiments like auto GPT or baby AGI, or there are tools, very primitive tools like ADAR, OpenDevon, and SWE agent, we realize this is a pretty interesting way to interact with the LLM in this format.
477290	482790	But unfortunately though, when we're preparing for semi-final, we don't have enough time.
482790	492910	So our stance at the time, again, we see some potential of adopting LLM, but we minimize use of LLM other than patching.
492910	502590	Not because we have small number of credit assigned to us, but we don't fully trust the capability of LLM at the time.
502590	513210	Although we apply a lot of LLM for patch generations, but adopting LLM for the first day outperform the state of art of generating patch at the time.
513210	527630	Although we extend the fudging to adopt LLM in terms of seed generations, and we also reverse the format of the given harness so that we can provide the more structure mutation to the fudging process.
528450	534170	But after semi-final, we start seeing larger benefit of adopting LLM.
534170	553810	One of those things happening in community is that context window size is not the problem anymore, because of so many interesting techniques like compacting from history or even multi-agent architecture so that instead of doing all this work in one single context,
553810	564590	you can branch off and start leveraging the multi-agent architecture so that we can maintain smaller contact window size to solve some of the challenges that we have.
564810	573350	Not only that, we now see tons of modern design of agentic architecture such as Cloud Code and Codex and Gemini.
573370	580330	These architecture drastically change our mind in terms of how to design agent in our CRS.
581350	588720	So in other words, for the final competition, we adopt LLM everywhere in our design.
589010	595030	This is a design snippet that we extract out of our tech report, which we're gonna share pretty soon.
595030	601890	It's a very busy graph, but I highlight some of the components that leverage LLM in our picture.
602290	607970	But in the right side, we can see some of the LLM proxy.
607970	619910	One interesting design decision we made is that because we have many different CRS running concurrently at the same time, we are not directly talking to LLM services.
619910	628410	We have a proxy that provides accounting features of LLM that we can keep track of how much we are spending in each task.
628610	631490	Also, we can provide some of the sandboxing across.
631490	635730	We can assign some of the key to individual CRS when we are performing.
635730	642250	This is one of the key components that increase the full tolerance of overall system of the architecture.
642850	649770	Let me elaborate some of the design decisions we made for each of those architecture in very high level.
649990	656650	In terms of bug-finding module, we adopt the design decisions of n-versioning.
656650	664690	It means in order to increase full tolerance of our systems, we intentionally minimize interactions between CRS.
664870	670430	Given a bug-finding CRS component, we have three different CRS running concurrently.
670450	679210	One, what we call multi-length CRS that support the bug-finding features in all sorts of different program languages.
679610	685070	But we also have a specialized component for C and Java at the same time.
685150	691050	But again, these components are not talking to each other other than the C-sharing between them.
692390	701930	These decisions are very intentional so that this is one of the key decisions that increase the full tolerance during the competitions of our agent.
702110	710150	But interestingly enough, for each C and Java component, we prepare lots of traditional tools that we are familiar with.
710150	715410	For example, in order to implement ensemble fuzzer, we adopt libAFL.
715410	720210	Many other people just leverage libFuzzers as their baseline fuzzer.
720210	730770	We try to adopt many sorts of fuzzing techniques like libAFL, AFL++, or we even extend the fuzzing mechanism of Jezer.
730770	734410	We also brought lots of custom format fuzzer as well.
734410	737450	And all these fuzzing working together to find vulnerability.
737490	742470	Not only that, we implement our concolic executor for each languages.
742470	745790	For example, we adopt SimCC or C.
745790	750430	We even implement the concolic executor for Java from scratch.
750430	770230	For directed fuzzer, although a lot of community efforts are not concentrated on developing directed fuzzing, but we realize many of the mode that final AICC final introduced, such as Sharif and diff mode, we realize there's huge benefit of adopting directed fuzzer.
770230	775350	We also start implementing directed fuzzer at scratch for C and Java component.
775350	788210	Because it's AI competitions, it doesn't sound like very sexy, but these are amazingly well-engineered components that contribute a lot of important roles in our CRS.
789190	794610	Let me provide some of the example design decisions we made across those components.
794770	801870	In terms of Atlantis C CRS, we try to be very risky.
801870	805730	It means that we heavily rely on instrumentations.
805730	821510	For example, instead of relying only fuzzer, we write everything in libafl, which is a different sort of fuzzer, and also in terms of provide the directed fuzzer feature, we rely on static analysis that we instrument during the compilation.
822070	833250	On the other hand, when we implement the multi-length CRS, because the fault tolerance is the most important aspect of our multi-length, so that we minimize the instrumentation during the compilation.
833590	851850	It means you build the entire CP given the building script from the organizer, but we place lots of library between so that we provide lots of hooking places that we can extend the features of libfuzzer without hurting the building process and entire CP.
852350	860610	Not only that, in terms of LLM, we minimize the use of LLM in terms of what to tackle in Atlantis C.
860610	872790	For example, we leverage LLM for C generations, the input mutation in C versions of our CRS, but when it comes to multi-length, we apply LLM usage in various components.
873030	880110	Not limited to C generations, we implement the blob generations, and we also implement input format reversers.
880110	890310	We even build the entire code graph by leveraging LLM, and we also have components to generate the dictionary entry for fuzzing process.
890830	896450	Let me highlight some of the design decisions we made in each of the CRS that we designed.
896450	903990	In terms of C, one of the interesting decisions that we've made is that we provide time-based resource allocation.
904810	911090	Many of the interesting design decisions we made for our CRS is power-hardness-based.
911090	918250	It means we design entire systems that work for hardness in an independent way, particularly in semi-final.
918250	924290	But unfortunately, some of the CP has a humongous number of hardnesses.
924290	927090	For example, some hardnesses contain more than 30.
927090	936990	Some CP often contain more than 30 different hardnesses, meaning if we start dividing resources for them, we start seeing some architecture conflict between them.
937350	953630	So we, in order to provide, in order to solve those challenges, instead of allocating entire node per hardness, we're going to treat, we're going to behave like we only have one hardness that we are working on given humongous resource per period of time.
953630	963730	The entire system just launch for 10 minutes and pause and make a decision to what hardness to execute after based on some of the conditions around the time.
963730	985250	For example, given a Sharif and diff mode that have some of the indications of location of potential buggy places, given this hint, we're going to decide this hardness potentially do not touch the vulnerability at all, then we're going to completely skip so that we can really concentrate on the hardness that really matter to the competition.
987770	990070	This component has a lot of benefit.
990070	997330	Some of the in several rounds, we see some of the potential benefit of this time-based resource allocation.
997570	1004790	For example, one of our CRS that has more than 30 different hardnesses, we can literally skip most of them.
1004870	1014110	And then we can just focus on a couple of hardness that have potential direction to reach the certain places in the Sharif and diff mode.
1015890	1020750	In the C in Java, we also implement LLM-based input generator.
1021910	1034130	The main motivation behind this is that we realize we can generate the input for the given hardness by purely leveraging LLM, but LLM is really slow.
1034270	1044410	Instead of generating input by understanding the code and the hardness at the same time, what about we generate the code that generate the input for the fuzzer?
1044410	1060710	Instead of directly expressing what we want as input, what about we let LLM to express the code that can potentially cover many different potential input that it can generate, so that we have a much larger scope that we can cover given a short period of time.
1061070	1075350	And it follows, it's heavily inspired by the design decision, like deep research, for example, and also archival that has multi-different agents evolve together to achieve their goal during the lifetime.
1077390	1082090	In the C in Java, we implement our custom version of the directive fuzzer.
1082750	1094170	As I mentioned before, unlike the full scan mode, the Sharif and diff contains some of location that really matter for the competitions.
1094170	1100990	It basically indicates that these are the places most important for the competitions.
1101350	1103810	In fact, this is not unrealistic setting.
1103810	1114790	You can think of when you're developing software, whenever you generate the commit, and this is the most important place at the time, we like to evaluate whether this particular commit contained the vulnerability or not.
1115070	1129810	Given this hint, we thought about how to leverage this hint, and we realized the directive fuzzer, it's a pretty interesting design decision that it can push the directions of the fuzzer a little bit closer to the location that we really care.
1129870	1132530	In fact, there are multiple ways to implement this.
1132670	1145970	You can implement very naive version that you can simply filter out the seed, then select the seed in the right way, then we can hope for the best that we can reach the target location gradually at a time.
1146030	1157190	Or we can implement some crazy component like we can perform static analysis during the compilation and figure it out what are the important locations during the time.
1157190	1168530	So we place, we leverage the concept of graph centrality, basically indicate that whenever you reach the certain basic block, there's a high possibility that you're going to reach the other place.
1168530	1178250	We recognize those places all over the places and gradually reach the target locations that we specify during the executions of the directive fuzzer.
1178250	1187590	We start seeing some benefit in terms of time to exposure metrics in given certain benchmarks like Sheriff and Delta mode.
1187670	1194270	We see we can improve the performance a little bit better than the stock AFL++.
1195670	1209030	In terms of multi-lang, multi-lang designed to be language agnostic, meaning that given any other languages like Pythons and whatnot, our design decision should be able to support in theory.
1209310	1216110	If you see the design decision in the fuzzer, there are so many architecture dependent features in fuzzing.
1216310	1222210	Whenever we see those locations, we're going to leverage the commodity LLM to replace.
1222290	1235090	So instead of relying on languages specific implementation of those features, we leverage existing LLM so that ultimately we can support various program languages at the end.
1236070	1242630	The design of a multi-lang, what we call UniFL, is a crazily complex design decision we made.
1242630	1253410	It's really not meant for you to understand what's happening here, but we're going to provide a technical report that really describes every single component of our CRS later.
1253410	1257570	Hopefully you got some attention on those design decisions today.
1257570	1263950	Let me highlight a little bit of design decision we made for multi-lang.
1263950	1275490	So we have a component called input reversal and test-lang in order to overcome the challenges of byte-based input mutations of the fuzzer.
1275490	1283150	Most of the fuzzers are really good at dealing with the binary input format, but you're really bad at handling the structure input.
1283150	1291930	So what about we ask LLM to figure out the potential input format first so that randomly mutate the input as a byte?
1291930	1295890	What about we have a better understanding of the input format ahead of time?
1296250	1312130	This particular component heavily inspired by the competition design in ASC that harnesses a drastic input space, like standard input for example, and harness is not explicitly designed to handle those type of input.
1312130	1321710	So first we have to reverse how harness handles this input in the first place, and then we have to even, so that we have a chance to execute even further.
1322730	1338210	We improve, we recognize some of the challenges in previous design, so that we can improve the previous length, reverse input, the input reversals and test-lang to support various problems that we face.
1338210	1347810	One of those problems is that although you can understand the input format, but there is a dependency in parsing those formats one at a time.
1347850	1358690	So we can, if you linearly generate or mutate those input without understanding of the dependency between, you ended up modifying some places not even depending on the previous condition.
1358910	1370430	Or we often see some of the state dependencies of input depending on the variable or global variable state, it ended up choosing a very different input format.
1370430	1375870	So all these design decisions are admittedly very fragile.
1375870	1384570	So our decision behind the scene is that although LLM might make mistakes in those, we like to be robust against those mistakes.
1384570	1391870	So instead of saying we heavily rely on LLM, we call this design decision as LLM opinionated.
1391870	1394270	They can make mistakes, but that's completely fine.
1394270	1400630	We have many other components that can handle, can overcome their challenges during the competition as well.
1401430	1407260	We have LLM heavy component in multi-lang, what we call MLLA.
1408230	1411070	It has two different design decisions that we made.
1411070	1418830	There's an MLLA stand-alone component that handles the initial bootstrapping of the fuzzing process.
1418830	1426450	So instead of going deep into the code snippet, given the harness, we really want to expand the coverage given the harness.
1426670	1440390	There's a very simple component so that we don't have to rely on many other LLM usage, but at the same time, we have enough input seed so that we can explore many other components in input harness.
1440890	1447730	There's a separate component, the main component called MLLA, which is really designed to trigger the vulnerability.
1447730	1456730	So instead of generating seeds that are potentially beneficial to the other component of the fuzzer, we really want to discover the vulnerability at the first place by using LLM.
1456810	1472430	So it has components like LLM-based code graph generations or a static way to identify the bugs and given those bulk identification locations, what's the best way to create the input that drives entire execution to that location that we identify.
1474570	1478370	So let me quickly describe our agents in patching side.
1478370	1491870	The design principle behind the patching agent is that we like to ensemble all sorts of different agent implementation and each of the agent has very interesting design decision that is independent to each other.
1492270	1496970	But interestingly enough, the patching happened after acquiring POV.
1496970	1499210	And POV can be used as an oracle.
1499250	1507730	It means that if you generate the patch, you can immediately know that this given POV can be prevented by this particular agent.
1508210	1522410	By combining all different six agents together, as far as one agent can prevent the POV, we can at least choose potentially correct patch as a result of collaborations among them.
1522650	1529950	Unfortunately though, in this larger scale system that we're testing, the building process is really slow.
1530030	1537330	Even after you generate the patch, you have to apply, you have to build everything from scratch, which takes a long time.
1537390	1546690	Sometimes we observe some of the executions are over 10 minutes or 20 minutes, which is really hard to scale this our decision beyond six.
1546690	1557930	So instead of lively extending all these agents, we try to limit the number of agents by six so that we have enough time to validate and pick the best one out of six at the end.
1558670	1562750	Let me highlight a little bit of different architecture decision that we made.
1562870	1566710	And in terms of architecture, we have a little bit of different architectures across them.
1566810	1572750	And we have different LLM usage and major model that each of the components support.
1573930	1577370	Let me highlight a little bit of design decision behind the scene.
1577370	1582650	One of the components we call Martin, it follows very simple architectures.
1582650	1586290	We divide the patching generation process into two.
1586290	1595550	We have one component that analyzes the fault so that you can do the root cause analysis of given POV.
1595550	1604350	And once you understand, we provide these information to another agent that another agent can lively focus on generation of the file.
1604350	1605350	So , let me show you a little bit of what we did in round three.
1606130	1608210	Martin worked pretty well.
1608710	1617330	In round three, most of the vulnerability we could discover in C, and two-thirds of the Java benchmark can be discovered by this simple agent.
1617390	1624670	But these are our benchmark suit and how we represent, how to represent the behavior of our CRS.
1624670	1630970	The green represent, we generate the correct patch, which prevent the vulnerability at the end.
1631630	1639770	But you can see there are better performing agents like Prism, which is orthogonal to the other agent.
1639770	1648590	But what's important here, if you combine all six agents at the end, at least we're going to cover all sorts of the benchmark that we have for round three.
1649630	1651390	The Prism worked pretty well.
1651390	1655630	It adopted the architecture of multi-agent, which is very popular at the time.
1655630	1660550	So, you have role of supervisors and multiple team of the agent working together.
1660550	1667810	The supervisor invoked the other agent as a tool so that we can directly reduce the context window in certain components.
1667810	1673110	But we provide some of the memory across them so that we can minimize the use of the token at the end.
1674050	1679490	Another big decision we made is that, unlike other teams, we have custom model.
1679550	1688250	But it's a very small model based on LAMMA 3.2, 3 billion model, but we perform reinforced learning-based instruction 520.
1688330	1697810	We adopt the multi-turn GRPO by using the format and soundness, which basically means the correctness of the patch as a reward function.
1697830	1700790	And then we perform online training.
1700790	1708970	It means instead of performing one training at a time, we're going to perform these generations by using our custom model.
1708970	1714890	We let the LLM, we let our agent to execute to the end.
1714890	1722050	As far as we can identify the bug at the end, we can reward the entire model and given process.
1722250	1733890	But because we divide the context window for this, and once we identify the context windows and root cause analysis at the end, we let the custom commodity model to take over.
1735330	1753770	This is a Sharif CRS, but important design decision we make in the Sharif is that when Sharif report, Sharif CRS run against all this repository provide a probabilistic report of reachability analysis, which other CRS can take advantage of.
1753770	1759670	At the end, we discover four, three zero-day vulnerability.
1759670	1773750	Unfortunately, we didn't have time to apply our CRS to other component yet, other CP yet, but these are the zero-day vulnerability that we discover during the performance of R3 and also internal development phase.
1774710	1791110	In summary, it's a pretty much exhaustive descriptions of technical descriptions of our CRS, but we're going to prepare a technical report pretty soon, and feel free to check our blog postings and team's website.
1791110	1795350	We're going to provide very concise summary of what we did in the future.
1795350	1796830	Thank you so much.
