Section Insights
Introduction to UiPath and Automation
What is UiPath's approach to automation?
UiPath has been in the automation space for 20 years, focusing on building an orchestration layer that integrates agents, robots, and humans to create scalable automations. They emphasize a shift from traditional RPA to a more cognitive decision-making process through their orchestration layer.
- UiPath has extensive experience in automation, servicing over 10,000 organizations.
- The company is moving towards agentic process orchestration, blending cognitive and deterministic decision-making.
- The introduction of LLMs has influenced their approach to automation.
Demonstrating UiPath Maestro Flow
How does UiPath Maestro Flow coordinate automation?
Kevin explains how UiPath Maestro Flow integrates humans, robots, and agents in a coordinated workflow. The demo illustrates a scenario involving fraud detection, showcasing the interaction between system one and system two agents.
- UiPath Maestro Flow allows for seamless coordination of different agents in automation.
- The demo focuses on a fraud detection scenario, highlighting the capabilities of system one and system two agents.
- The orchestration of tasks enhances the efficiency of the automation process.
Fraud Detection Workflow
What is the process for detecting fraud in transactions?
The workflow begins with a suspicious transaction being flagged, leading to an investigation by agents. The system evaluates evidence and determines the likelihood of fraud, significantly speeding up the process and reducing costs compared to traditional methods.
- The fraud detection process is automated, involving both quick assessments and deeper investigations.
- Using Jev in workflows has improved speed and cost-effectiveness in fraud detection.
- Automation reduces the need for human intervention in initial fraud assessments.
Improving Email Classification
How does UiPath enhance email classification?
UiPath employs a strategy using LLMs to generate candidate categories for email classification. By iteratively refining these categories through automation, they achieve a tailored classification system that adapts to specific mailbox needs.
- Initial categorization is done using LLMs, which are then optimized through automation.
- The process allows for multiple iterations, leading to a highly customized category list.
- Once categories are established, ongoing classification can be done efficiently without LLMs.
Transcript
0:12 Hello everyone. my name is Si and I'm joined on stage by Kevin. we're here to talk about how we believe that your automations are overthinking it. So tell us a little bit about ourselves. We are from a company called UiPath. we have been doing automation for the last 20 years. we have been doing RPA before and we service more than 10,000 organizations around the around the world. and we build an agentic process orchestration layer which basically brings agents, robots and people together to interact with each other and build extremely scalable automations that run for days and weeks.
0:56 So we were inspired by this particular slide that you're seeing right now and you saw today today before us as well. when Diego presented it 3 months ago the same slide it resonated really well with us because this is how we see automation as well. So the traditional software was is basically RPA. It's just robotic process automation. If else just execute some task and then keeps going. The control flow is deterministic just keeps going.
1:28 And then when the LLMs came out, we all raced to go and build the just in time software where we have this one agent. We give it a bunch of tools. We give it a task and ask it to finish and then we were seeing good results, bad results and then we added evaluations to slowly build the results up. And then finally we landed on asentic process orchestration which kind of weaves in this cognitive decision through a logical decision layer. So you have deterministic calls and clear cognitive decision points where you would use an LLM to control the control flow rather than leaving it all in the hands of an agent. So at this time we we saw where Je would fit in and when Diego was talking about Je we were really excited because we saw Je fit in in a very particular niche area. So here we see that Jev is a very powerful tool as Diego was saying is a foundational tool that we would be able to integrate into all automation. and it fit right in between a deterministic case and an agent case. So, Jev is extremely fast and most of you guys would have tried it and we were surprised by how fast and how parallel we could make it work and and how intelligent it was. So, we were able to benchmark it around how good it was compared to an LLM and was pretty good not as a full LM but it was pretty good at in terms of intelligence as well. So it falls in between and there are so many ways we could use gel and I want to hand it off to Kevin to take you take you guys through a scenario where we use J in UiPath MRO flow.
3:14 >> Yeah, thank you. >> Thanks JB. so hi everybody. today I want to actually walk us through a little bit about what UiPath is building with UiPath Maestro Flow and talk through a little bit of how we would go through and coordinate humans, robots, and agents all together inside of one canvas. what we're going to walk through today is essentially you know essentially a flow that will demonstrate how we kind of weave all these things together. And the way that we're approaching this is that we're going to end up having system one agents which are going to be able to make quick intelligence happen within our process.
3:47 Think about things like, hey, is this transaction fraud or not? additionally, we'll have system 2 agents running where we're going to have more of a methodical deeper investigation that's going on where agents are going off and calling tools. And we'll see kind of this pattern these patterns start to emerge where we're able to hand off from one to the next. And so with that, I'll I'll jump into an actual demo where we're going to demonstrate a account fraud scenario.
4:14 And so our demo starts here with effectively a transaction coming in for $48,000. And this wasn't something that we were expecting. And so as I'm reviewing my bank portal here, I'm going to go ahead and report this as a fraudulent transaction. And so now this would end up smitting it off into our UiPath Maestro flow where this would act as essentially the trigger for this endto-end workflow to to go off and start processing. What we're looking at is a collection of various different nodes that are each going to kind of be orchestrated from the left side of the canvas over to the right. And we're going to use essentially a combination of system one and system two models to actually process this and do analysis of this is fraud or not. And so the first thing that actually takes place is we're going to go through and get account activity. We're going to send this off to Jev to basically pull 60 transactions from the most recent credit card purchases that were made and analyze each one of those individually whether or not these are fraud. And this is happening in real time where Jev's able to process these transactions and ask that question of hey is this fraud or not within fractions of a second.
5:22 Now, we found that there's about four transactions that recently appeared that it thinks are fraud. Now, in parallel to that, we're able to kick off another part of our flow, which is doing more of a semantic analysis on the entire account. We're looking at that one transaction that came in for $48,000, which was flagged. And we're asking a question to Jev is, hey, is there enough information here for us to determine whether or not this is actually fraud?
5:46 And just as we heard Diago talk about this earlier where you have these new kind of paradigms and logic come up, we ended up finding from this that there's a scoring that took place and we needed more information. we're asking the question, do we have enough information for fraud? And for that what we're going to end up doing is kicking off a system 2 agent that's going to go spin up and run for much larger longer calling a bank API and finding that you know there was a $48,000 transaction from a payee. basically creating a new account on his phone and it was earlier that day that that account got created. So high indicator of fraud. We circle back and ask that same question now to Jev and ask hey do we have enough evidence now? Jev agrees and it finds 100% sufficious activity and we would hand that off effectively to another grading model that combines all those transactions that we found with the system payload and then finds that you know there is fraud in this particular use case. square of you know 1 to five we got 4.97.
6:46 Now stepping out of this you know typically what would happen from this point onwards is that we'd go off to a human to review. We'd have somebody kind of review both the system one and system two logs and then find that there was you know potential fraud and freeze the account. But, you know, effectively what we're seeing from customers that are going through and implementing Jev inside of their workflows is that they're able to replace the typical LLM calls that are going on behind the scenes. And then in in process, we're saving about 50 times we're we're increasing the speed about 50 times while also being 7.1 times cheaper than calling a traditional LLM.
7:23 Now, we we've gone through and and kind of shown how customers would use this within our technology, but we're also pointing the finger back inwards where we're trying to ask the question of how can UiPath use this within the products and services that we offer to be able to help customers out. And there's a number of different patterns that we're kind of exploring with Jev. and today we're going to talk about a re-ranking problem as well as what we're using inside of email mining. And so to set the stage for for kind of reranking effectively what we're trying to do is run and add within our retrieval augmented generation within our agents the ability for us to find more appropriate chunks to be able to provide to our agent. And we do that by basically finding relevant documents first and then using typically an LLM to do this. But we're experimenting with also using Jev to go through and find the various different chunks that make are most relevant to answering the question and then providing those as as context to the LLM. And we've run a couple experience experiments on this now. And I'd like to hand it back off to Chibi who's going to end up telling us a little bit more about what we were able to find.
8:29 >> Yeah. So this is where things got really interesting for us. This is like the first week of Je. We had got our hands on Je and we have these extremely strong benchmarks and eval sets that we had for reranking that we have been running for some time and we need those for like when we change from one model to another. and we realized okay why not take these eval sets and build a hill climbing harness and ask Astra to say okay this is my score I can get with NLLM here is Jeff here are the three APIs find a strategy which can achieve that score and let it run and it ran for the entire night for 14 hours in a session and it came up with so many different strategies ies where it worked where it didn't work and then we were slowly seeing the number go up every two hours there will be one strategy would perform slightly better this was so surprising for us because what we thought was Jeff as an API if you just call it like when you just send all of yeah so when we call it we were getting only 866 which was very very low at that point when we were trying it out when we were thinking how do we increase it And then it slowly got the got to the number of 8889 while it was trying out new strategies and that strategy is called tournament. And I want to showcase that strategy which it which these hill climbing models actually come up with and how we were able to see the intelligence squeaked out of Jev just by applying Jev in a different architecture and different call method. and I want to take you through tournament now.
10:15 So what tournament did is that it actually reimagined reranking differently. Instead of looking at every chunk and saying that it is how good relevant is it for my question, it created cohorts of different u different groups of these chunks and made them fight between each other to be the best most relevant chunk by sending thousands and thousands of Javas for each and every one of them and it found leaders in those particular cohorts and then the winners would be promoted to the next round and then in from those winners we would again find like top winners from those chunks and then we'll slowly increase and find the top most the cream will rise to the top and you'll find the the most relevant chunks from the whole list. So this worked extremely well and we were testing it and we were surprised to see that even with thousands of Je calls and thou many millions of contexts being used we were still under a second we were able to make all of these calls right and this was a huge revelation for us and we realized that gel is a building block that we can adjust and we are we have to find these new strategies where we would be able to apply this building block and it might look less intelligent on its own but with these strategies and patterns we can get more intelligent with even the current gem model that we have right and that's that gave us like 15x speed and we tested it out on our our live indexes and saw how it performed and people were extremely surprised by this one and next we saw how J could be used for mining.
12:02 So mining is has a lot of stages. I'm going to talk only about the classification stage. And what happens is we have customers who have millions of emails in a support email box. And what happens is they want to analyze and they want to dig into what happened in these emails so that they can take some actions. I'm sure every one of you guys have one of those email boxes. what happens is that like it's so hard to find the right categories and bucketizations without reading all of these emails. So what we used to do is that we would go and create a fine-tuning to figure out a model that classifies them and it would take hours and maybe day to fine-tune the particular model for the classification story. But what we found was this is again through hill climbing we found this pattern where we use we use an LLM to find an initial candidate list of categories and then it would say that okay these are all the 15 categories that I think the emails will fit then what we would do is that we'll use gel and run all the million emails through it and see if where the buckets fill up and with that we can actually see which buckets are not filled properly which gets overfitted which buckets are never filled out and then we ask the LM to go back and optimize those buckets again and then once the buckets are rearranged we'll do another classification of all the all the millions of emails one more time because Je is so cheap we were able to do this multiple times and eventually you'll end up with a category list which is extremely fit towards the mailbox that you are dealing with because it's not the same across different different mailboxes the categories are completely But the powerful thing is once you did all of this work with an LLM going through and finding these categories, you don't need the LM anymore because you have the categories which you where you have distilled down all the intelligence into these categories. Now you can just build a maestro flow which basically takes just the categories alone and uses gel. So whenever a new email comes, it only needs gel. It just looks at the looks at the email and fits the categories and we basically have a list of follow through. So if this matches this category, you are going to get an email. This team is going to get an email or that team is going to get an email so easily and we basically removed completely from the picture on this one. So and we saw a humongous speed increase on on just email processing. It was almost like at real time an email comes and suddenly somebody will get notified. So that was an amazing amazing thing to see as well. So over the few months we were so excited to play around with Jev and every day the Slack threads would light up everywhere in the in the company that I found this pattern, I found that pattern and it was such an exciting time during these last three months and I wanted to share that there are so much more patterns and strategies to be found. we are only scratching the surface of this and I want us to try out and like share the strategies that we all find and collaborate here and if you're interested in trying out UiPath flow we have it available for free right now scan the QR code on the screen here and we'll be able it'll take you into a portal where you can basically point your coding agent at it and get complete access to build your first automations there. Thank you for your time everyone. Thank you.
Summary
- UiPath has 20 years of experience in automation and serves over 10,000 organizations globally.
- Traditional RPA is deterministic, while Jev introduces cognitive decision-making into automation processes.
- Jev operates efficiently between deterministic and agent-based models, significantly improving processing speed and cost.
- A demo showcases Jev's application in detecting fraudulent transactions, combining real-time analysis with deeper investigations.
- Jev's integration allows for a 50x increase in speed and a 7.1x reduction in costs compared to traditional LLMs.
- Innovative strategies, like the "tournament" method, enhance Jev's performance in reranking tasks.
- Jev is also applied in email mining, streamlining the classification of millions of emails in real-time.
- The team encourages collaboration and sharing of new strategies to further explore Jev's capabilities.
Questions Answered
What is UiPath's approach to automation?
UiPath has been in the automation space for 20 years, focusing on building an orchestration layer that integrates agents, robots, and humans to create scalable automations. They emphasize a shift from traditional RPA to a more cognitive decision-making process through their orchestration layer.
How does UiPath Maestro Flow coordinate automation?
Kevin explains how UiPath Maestro Flow integrates humans, robots, and agents in a coordinated workflow. The demo illustrates a scenario involving fraud detection, showcasing the interaction between system one and system two agents.
What is the process for detecting fraud in transactions?
The workflow begins with a suspicious transaction being flagged, leading to an investigation by agents. The system evaluates evidence and determines the likelihood of fraud, significantly speeding up the process and reducing costs compared to traditional methods.
How does UiPath enhance email classification?
UiPath employs a strategy using LLMs to generate candidate categories for email classification. By iteratively refining these categories through automation, they achieve a tailored classification system that adapts to specific mailbox needs.