Welcome to the podcast version of Robots in Depth. This episode's interview is with Fredrico Picora and is produced in cooperation with V-Volver. Robots in Depth is supported by Appdomica. Visit appdomica.com to connect. You will find all past episodes and more on robotsindepth.com.
Welcome to this episode of Robots in Depth. Today, I'm honored to have Frediko Prekora here from Örebro University. And we're going to talk about everything in robotics like we usually do. And we're going to start also where we usually do. How did you get into the field? What was your start in robotics? Well, it's a pleasure to be here. Thanks for having me. How did I get into robotics? Well, my background is in artificial intelligence, actually. So I did my PhD in what we call planning and scheduling.
which is, well, essentially they're AI algorithms that help you decide or help a computer or an artificial system in general decide what to do and when to do it. And soon I became interested in, well, actually doing things, and in fact doing things in the context of a perceived real world, a world that needs to be perceived by the program that is doing things, and where you must act in the world in order to do these things. And so that's how I got interested in robotics. And that led me to discover that between the elegant AI algorithms that are used for planning and scheduling and using them in the real world with a real agent that actually perceives the world and does things, there's a bit of a gulf. And there are many open research questions, and that's why I'm in robotics today. And I think I hear that from many people, that they like the fact that robots are out there in the real world and affecting it and moving stuff around, moving itself around, both because they can be more useful, but also because it's so much more challenging.
Pure computer science and simulation have a common problem. They are cursed with... With success. In simulation, everything works. And then you bring it out to the real world and not so much anymore. But that is actually what gives you the interesting questions and the interesting problems to work on, right? Yeah, and I think you hammered the nail on the head. And that is because it's not just a question of engineering or of re-engineering when it comes to going from simulation or theory to practice in real robots. Because going into the real world and using real robots actually opens up new research questions for AI. So lots of the assumptions you make in AI.
they do not apply to the real world. For instance, that things are done in the time that you've predicted or that the outcome of an action is actually what you expected. Maybe you could even do things like plan with multiple outcomes, but there's always going to be that other outcome that you haven't planned for. So indeed, it is challenging, and the research questions are pretty basic and pretty fundamental for AI, I think. Very interesting. Could you speak about a few of the projects you've been working on since you got into robotics? Sure. Quite a few years ago, I became interested in, I would say, service robotics, or the use of robots and ubiquitous sensing and actuation devices at home for, for example, the care of an elderly person, or maybe perhaps just for simplifying your life at home or automating your home. And in this, I started studying the issue of making these devices that you have at home.
to some extent proactive and contextual. And I can explain what this means by contrasting current practice in artificial intelligence and planning with the real world. So it is often the case in planning that we say, we design a program that will be able to come up with a plan to satisfy a goal or to achieve a goal. For example, in the so-called blocks world, you may have heard of this. It's a hypothetical world where you have blocks and you can stack them and there are letters on the blocks and you can write.
You can compose them to say, to write sentences or words. This is a toy problem, of course. And there, the planning problem is that of giving a goal, so a goal configuration of these blocks, to compute the actions that will bring about this situation. This is difficult enough. There's tons of work in AI planning for doing this. But what often is disregarded is the reason why.
this goal is being achieved. So why this goal in particular? The equivalent thing in a domestic setting would be, why should my robot do this for me right now? And what is it that my robot should plan to do for me? All of this should be contextual. It should have something to do with my current context, with my desires, with what I need right now, with things that are observed in the environment. So there's a connection there between the goal for which you are planning.
And what can be perceived and inferred from the environment. So there are at least two interesting open questions here that I began looking at. One was how to infer these goals. So how to infer the objective that the artificial robotic system, or artificial system in general, is going to try to achieve for you. And also the sub-problem of figuring out what the current context is from sensor traces. So how to infer whether you are in need of a particular service and when that is. Without you telling the robot specifically that I want you to do X and at that time, right? Exactly. We humans do that sometimes, that we just look at the situation and I think now it's appropriate to do this, right? Yes. In fact, we are, I think, very good at understanding context and even projecting the kind of... Projecting...
into the future, understanding the situation of others. We have a notion of the needs of others and not just of ourselves, of course. And these are qualities that you expect to have in a robot system that helps you at home. And in fact, you expect to have this in a robot system that works with humans in any context, not just the domestic context. So that is also how I started to get into then industrial robots, or rather robots that are used in industrial settings, such as the ones you saw over here, the forklifts that coordinate. It's a pallet mover that moves industrial supplies and other things automatically. Exactly, yes. And here also you have an issue related to making robots more than...
simply automated caddies that bring stuff around or automated trucks that can go from A to B. Also there, when you say let's take something as simple as a forklift, an automated forklift or an autonomous forklift that can be told to go... from here to there. So that's all good and well, but the problem here is when a forklift may need to go to a certain place to do one thing or to do another thing, and what it's doing will alter the way the movement is performed even. For instance, if the forklift is to pick up a pallet, the specific alignment of the forks of the forklift are very important because otherwise you'll miss the pallet. And that in turn requires going to the place where you think the pallet is, observing the pallet, realigning, which in turn requires maneuvering because these forklifts
are not omnidirectional platforms. They have to plan that within their own limitation space. Exactly. And in doing so, in maneuvering, they may interfere with other forklifts in the fleet, which may have to yield for letting this forklift perform this maneuver to realign itself and so on. So in that context, the context of picking up a pallet, the movement occurs in this way, and it's got to be precise. And it has to interleave sensing and replanning. If instead the forklift is going somewhere to...
drop a pallet, it may not be so important. In that case, you can get away with roughly reaching the area where you want to put the pallet and putting it down. So even there, there is an issue of context and understanding the context within which you execute a plan. And this also means that the maneuvering of a robot that picks up a pallet is more crucial to the system than the one that is just driving by or one that is dropping off. And they have to then coordinate among each other and say, well, since you're doing this, I have more priority because I'm doing that. And for us to achieve the complete task together.
This is how we do it, right? JOHN MUELLER- That is indeed often the case. You're mentioning another interesting issue that I've sort of, it's been a bit of a recent. I won't say discovery, but a recent realization that exactly what is relevant and what parts of the context you should consider and how the relative importance of tasks that a multi-robot system is carrying out is what the relevant importance is like. It really depends on the application scenario. And that's also another place where AI techniques sort of break down because very often...
assumptions are made. And these assumptions work in one very specific application, but not in another. So another challenge, I believe, very current challenge for AI and its use for robotics, especially in these industrial settings, is to somehow be modular and general. We should be capable of rendering single robots autonomous. And by and large, I think we're getting there. We should be capable of making fleets autonomous, but without constraining them to a particular application context. So we should be able to automate an entire fleet of robots.
Like we automate a single robot, like we make a single robot autonomous. And this is a bit more, it's in reach, but it's still not really achieved, at least not in a general way. And then on top of that, we need to be able to build more intelligence, for example, to run our warehouses or to run our mines or quarries or fleets of trucks or whatever. And these things should be, somehow, we should be... developing methods that allow us to interchange techniques to achieve these layers of competency or these layers of autonomy, from single to many to the logic layer on top of a fleet. And, of course, also here we talked about two robots or multiple robots doing more or less the same task, moving a pallet. But in a real-world context, they would also be doing...
very different tasks. In fact, there's one project that I work in. It's a project that's coordinated by the university. It's a large European project that involves many partners, academic and industrial, is the automation of warehouses. And it deals with everything from the perception to the motion planning into the fleet control. And there we see exactly what you say. So we have already in a food manufacturing scenario where they use such robotic platforms, you not only need to bring pallets of goods around, you may have to palletize and depalletize these goods, which entails you must have specific tools on board the forklift perhaps to cut the cellophane around the goods on top of the pallet. Or you may need an actuator in order to take goods off the pallet and put them on another pallet and then bring that pallet somewhere else.
And also you have different types or different areas in a warehouse where maybe you're bringing things into a cold area and you need to maximize the time in which those things remain in that cold area because yogurt spoils if it's in another cold area. And other times you're just bringing cartons around and it really doesn't matter. So yes, indeed. And the name of the game here is not to make an ad hoc implementation, which is always possible. Even an ad hoc automated implementation of all of this is more than possible if you throw enough money at it. The problem is to make this general so that even the small warehouse or even the, you know, you don't have to be Amazon to be able to automate your operations. That's the, I think.
a very interesting area to be in it, and a very interesting application for robotics and AI, because it forces the robots to be more intelligent, and the systems built around them to be more applicable in a wider variety of contexts, which is, in fact, I think, is directly related to the level of intelligence that you put into your systems, I would say. And we all know that the ad hoc solution really hurts you in the long run to... Yeah, well, actually... The solutions we're studying now for automating fleets of warehouse robots are also applied, and we also actively work with companies in this area in mining, in construction sites, in quarries. They automate fleets of robots that can be forklifts, like the ones you saw, small objects, small robots. But exactly the same technique applies to and has been used with 14-meter-long, 20-meter-tall drill rigs developed by Epiroc and currently operating in surface mines around the world.
I think that is a level of generality, let's say. I mean, then it becomes interesting. Then it's what I deem to be artificial intelligence, really. More so, let's say, than an ad hoc completely... engineered solution for a particular warehouse where you've modified the floor and you assume that robots move on a grid, which is, for the scale that Amazon does things, impressive and very interesting, of course. But in long term, it's not an interesting solution to a wider problem. Well, exactly. And it also becomes, even on an Amazon level, very expensive to do an ad hoc solution. Because if you're talking about us running this in factories, warehouses, mines, agriculture, even, all of these fields, the development cost, even in basic research, is expensive. Productization is expensive. When you do it over this vast area of human activity,
It becomes a round-off error for these businesses, right? Yes, for sure. You mentioned agriculture. It's logical to think that, oh, well, now my solution could be applied to an agricultural setting where you have, say, multiple harvesters. The combine harvester and the truck that picks up the grain. Exactly. And this is exactly the scenario that we've looked at. But then there are a few wrinkles in it that make it a bit different. And these often open up a door that is...
behind which lies a very basic research problem. So in open pit mining, our coordination solutions, or rather the coordination problem, the fleet management problem is difficult because robots move around in a tight environment. They're very big. They're cumbersome. But also, they drill holes in the ground. And once a hole is drilled, that area becomes inaccessible. Hence, the motion planning problem, in fact, the multi-robot motion planning problem, the coordination problem, is getting more and more constrained as the operations progress. And so you can easily see how this renders
the problem of even deciding which target to assign to which robot. So which robot should go and drill which hole and when is also part of this gigantic combinatorial problem. So that's one type of problem that's unique and novel in terms of the AI techniques that can solve it. And we developed some of these techniques. Then you think, OK, well, harvesting is similar, right? Because once you've harvested a piece of a field, you should no longer go there. And in fact, you really shouldn't because you would increase soil compaction if you go over.
place more times, and so on and so forth. But it is different from the surface mining, because in surface mining, these obstacles are discrete. They're blobs that appear where you've drilled a hole, but you can still navigate around them. Instead, everything becomes continuous in a field. So this slight, this small difference renders the techniques developed for the former problem less applicable for the latter, or less efficient, or even inapplicable. So that's what I enjoy in looking at applications, because they
They open doors behind which there's some questions that no AI researcher has looked at. And that brings us back to the robots are out there in the real world doing real tasks, right? And that hard constraint that we have to accomplish this task also kind of disciplines you and really have to. And I find those constraint problems interesting because drilling a hole, it's also so that you can't paint yourself in a corner there because if you can't remove the drill from the worksite, you can't blow the rock up because then the drill would come by and will be destroyed. And we're looking at the harvest problem.
You can absolutely not drive where there is unharvested crop because then you destroy it. So everything has to drive where there is already harvest, which means that the combine goes in and kind of cuts a hole, and then everybody's got to move in that little hole. And then, of course, the harvester goes around and expands that. And as you say, soil compaction is a huge issue. So we might even keep track of where a...
vehicle has been and not go in the same place. So everywhere where somebody's been is a place we want to avoid. And so we can kind of average out the soil compaction over the field. And this is something that a human would find quite challenging of knowing exactly where I was, even year from year or from seeding the field to harvesting the field to treating the field during the growing season. But we could actually optimize this in this context. And I find that that's really the opportunity for robotics and AI, right? Yes, indeed. And in fact, since you mentioned the harvesting, I think another interesting
A small detail, but very relevant for someone who studies AI is, whereas in harvesting, you may have an optimization problem. That's the major problem you want to solve, because perhaps you can't avoid going over a part of the field more than once. But nevertheless, you want to minimize soil compaction. In a similar application, like multi-robot painting, Let's say you're painting a soccer field. Or you're painting some design with a robot that paints. And this could have applications like road painting or whatever. There, you're not so much looking at an optimization problem, although there may be some things to optimize. There, you really can't go over something that you've just painted. So there, you're really looking at finding a solution, whatever solution it is. And the techniques that you use in these two contexts vary widely. So if you need to optimize, it's really one set of techniques that you'll be using. You'll be looking at perhaps local search methods or
Anyway, methods that take into account some cost or constrained optimization methods. If you're looking at satisfaction problems, you're looking at other forms of perhaps systematic search that is heuristically guided or things like that. And that's also interesting to see these subtleties in the application, which drastically change the approach that you take as an AI researcher. Now we've talked about these projects. Do you have any other things you'd like to share from your work at the university? Yes. One thing that I haven't mentioned is these projects or one of these projects is, in fact, a research profile. Here in Sweden, we're lucky enough to have significant amounts of funding.
nationally, I would say. One of these funders is Coco Stiftensen, and they fund a research profile called Semantic Robots, which is the research profile within which we've done this multi-robot coordination work. But within this profile, we also look at the other accessory or the other problems surrounding the automation of robots in industrial use cases. And these range from perception to control. and semantic perception and semantic mapping and things of that sort. And what I think is a bit unique is the fact that we have on board experts in robotics and experts in AI in fields as disparate as.
machine learning, heuristic search, planning, and scheduling, and so on. And this is really important. I've come to believe that it's very difficult to have an impact in the real world, I would say, if you don't have access to these very complementary expertise, sets of expertise. And enabling discussion between a roboticist and AI researcher is not easy. But when done right, I would say the yield is It's very interesting. It gives more than the sum of its parts. We've talked about industrial setting. We've talked about agriculture. But are you also working with robots that will interact with humans? Yes. In, for instance, a hospital or in a supermarket or something like that? Yes, we have had and still have several projects in this direction. In the past, we've looked very much at domestic robots, as I said before. And in this particular case, I've worked personally with robots that plan contextually so understand what goal to achieve from context and from sensor traces.
More recently, we've been looking at the use of robots for elder care. And there in particular, of course, understanding of context is key there because the argument goes that if your smart home or some AI device connected to your home is capable of understanding your context and inferring higher level knowledge about... how you're doing, then that can be used for prevention. It can be used for signaling things to doctors. It can simply be used for more self-awareness of how someone's health and habits are changing with age. And that can be instrumental in raising quality of life.
Even more recently, we've been looking at how robots interact with people. And of course, human-robot interaction is paramount in these domestic-like settings. And we've been looking at how robots interact with people can do so in a culturally sensitive way. This is via a project called Caresses, which is a cooperation between several EU partners and several Japanese partners. And here, the challenge is to understand how a human or how a robot, which is conceived for human interaction, can be easily customized to work in different cultures.
settings. The robot in question here is the SoftBank Aldebaran Pepper robot, which you may have seen. And that's the test bed robot that we're thinking that we're looking at. And in fact, SoftBank Robotics is one of the partners of the project. And the idea is that you have a Pepper, and you want to deploy this Pepper in, I don't know, a nursing home in England on one hand, or a a nursing context or nursing home in Japan. And already in this very narrow setting, although the robots will be doing by and large the same thing or the same kind of tasks, they will be interacting in different ways with their users for obvious reasons. And the question of the project is how to capture this cultural knowledge, how to model it into the robot, how to allow the robot to go from preconceived cultural knowledge about a stereotyped set of users to individual knowledge about one user, so learning this over time, and how to do this in such a way that the deployment
cost or the deployment process is as easy as possible more or less self learning automated a little bit yes for you and me it's uh if You know that when you give your business card to an Asian person, you do it with two hands. That's something that you've picked up by observing, or maybe someone told you once. But you know you continue to do it. Here we do it that way. You do it in another way. And this seems very simple for us humans. But for robots, building mechanisms that allow robots to exploit this kind of knowledge and learn this knowledge and distinguish stereotype knowledge from individual knowledge is also important in an open research question. But this also will make the robot...
feel more naturally, feel more like it's not a robot. It will feel more like it's interacting with you in a natural fashion, right? I mean, we're really making the first baby steps, I think, in this direction. Today, we still see robots. We anthropomorphize robots still in a way that we don't anthropomorphize other objects. A toaster or a copy machine. Exactly. However, I don't know, there was an episode of a series where...
They were talking about a Xerox copying machine in the 50s, Mad Men. And short of anthropomorphization, they were treating this object much more like it had some kind of soul, something like that. So as time goes by, our attitudes towards robots will change, I believe. And that entails that maybe some of the things that were... really toying with today and some of the problems we're trying to solve today will be less relevant in the future. Who knows? As our attitudes change towards robots and we get used to them, we will seek different behaviors from robots. Today, a printer or copier doesn't have to have a design that just gives you this personality or anything. And also, they don't have to give us as much cues to how to use them and the limitations they have, because we already know, right? I mean, if I ask my copier to make a million copies, I know it won't do that. Yeah, yeah. And it's all about expectation. And here, though, there is an issue of responsibility also, I think, of...
producers of products that have AI in them. So for example, you make a car with some AI in it that will supposedly help you avoid accidents. It's one thing to say this car has a safety feature. Or it's one thing to say that this car has a form of assisted driving. It's another thing to say that the car is a self-driving car. Maybe it's exactly the same technology and cars described in these two different ways, but the expectation that you have is very different. And that determines how you interact and the level of trust that you...
put into this car. And the same thing holds with other robots as well. Cars are just the most recent example. And we see that people put too much trust in, especially the cars. Well, maybe the answer is, maybe we have the answer to this. Because this is not different from, for example, the time when people didn't wear seat belts. I mean, it's just a seat belt, right? Today, we take it for granted. I can't even drive on the parking lot in two kilometers. Exactly. It's second nature. But it didn't used to be.
It's not that because there's AI in it that we should somehow treat it or develop new policies or necessarily new rules. I mean, the way we got people to wear seat belts is maybe the way in which we get people not to trust their self-driving car or their level three car totally. I don't know. I'm a big believer in information. I mean, tell people about these things instead of laws and regulations, which kind of fulfills a purpose too. But I think that if you inform people,
they're going to take a decision. And I think that even if you try to force them, the same people are going to take the same decisions, right? Yeah, but informing them. By and large. Yes, and informing them, crucially, as I was saying before, it means not suggesting that your car is a self-driving car if it's not. No, no. Right, because that's not what you're buying. You're not buying an autopilot, although it may work as an autopilot. But that's not the contract that you have, if you see what I mean. So I think there we need some responsibility from the point of view of vendors. Not overhyping it.
Because that's very dangerous. Exactly. Another thing that when we did the seatbelt thing, we now have cars that beep if you don't put the seatbelt on and stuff. But when we introduced these advanced artificial intelligence systems, lots of sensors, we could also make the system actually check that you are in compliance with its own parameters. Because we could install sensors in the car that looks at the driver in a more advanced way than just clicking in your seatbelt. And then that system would be kind of self-checking.
That's certainly a thought. And I guess some of these systems are in place. I mean, for example, you need to hold a steering wheel or these kinds of things, or even the blink detector, things of this sort. So yeah, definitely, I think there is room for some of these improvements. On the other hand, though...
I think this leads to another challenge for AI, and that I think is also drastically under addressed. It's often hard for an AI system to tell you what it doesn't know for obvious reasons. It's the same for humans, actually. It's the same for humans, but humans have developed ways of coping with this lack of observability or lack of knowledge, in fact, that are maybe more sophisticated than our AI systems. If we go back to the car example, a car that I can easily imagine, and I've seen examples of intelligent cars preventing accidents in a way that is absolutely mind-boggling. So you wouldn't see from the footage that there's going to be an accident, yet the car starts braking before you can even see it as a human. I think that's really amazing. But do cars reason about ignorance about knowledge about their environment? I mean, do cars reason about the fact that, well, there's a truck there, and that's blocking my view. So if something's happening behind that truck, it could be very dangerous in this situation.
I don't know to what extent this is done. And I think this is a more general question that is interesting. Reasoning about what you don't know and putting this in the context of reasoning online. Reasoning while things are happening. This, I think, is fascinating and a more open research question than others, perhaps, in AI and robotics. Thank you. It's been fascinating to have you here. It's so interesting to learn from you guys and really dig down into these issues and bring that out into the audience. Thank you very much for taking the time to do an interview. Thank you. It was really a pleasure to talk to you. Thanks for the great interview. I hope you liked this episode of the podcast version of Robots in Death.
This episode is produced together with V-Volver. V-Volver is a platform and community providing engineers informative content that helps them innovate. It's how engineers stay cutting edge. Aptomika is the founding sponsor for Robots in Death. Aptomika rents anything in modular robotics. Dream, rent, build. Visit aptomika.com to connect. I'm your host, Per Scherboi. Until the next episode, thank you for listening.