Press "Enter" to skip to content

Engineering Cooperation in Autonomous Networks | Bhaskar Krishnamachari | TEDxUSC


good morning
so I’m excited to share with you
something that I’ve been working on and
thinking about for many many years so
what do you think about morality and
ethics and justice and fairness and all
of these concepts you often think about
human societies you think about how we
give up our own self-interest in the
interest of the greater good right of
the society and it’s not unique to
humans some of you may have seen a TED
talk by a speaker who points out a
number of examples of morality and
fairness in primates chimpanzees and
monkeys and in fact through the entire
animal kingdom in many many classes of
animals you see examples of this
cooperative behavior emerge and in fact
to the smallest creatures there are
species of garden ants that will lick
pathogens of the infected backs of their
comrades so my research has led me to
kind of expand this notion of
cooperation to look at not just living
things but also engineered systems so
let’s begin with a bit of a definition I
think of autonomous agents that will
make their own decisions and they will
look at what’s in the world around them
and decide in their own best interest
what the decisions should be at each
moment in time and in my line of work
these agents are not living creatures
but they’re engineered systems and in
particular wireless devices and systems
things like wireless sensors are mobile
devices ground robots aerial robots
routers and autonomous vehicles with
radios in them that can talk to other
cars so in my research I develop and
design algorithms and an implement
software that would enable these devices
and systems to behave autonomously in
their own interest and then we use
mathematics and empirical studies to
evaluate the behavior of these
autonomous agents that we’ve engineered
so
the challenge is that the very thing
that makes autonomous agents interesting
and useful which is their ability to
make their own decisions in their own
self-interest also impedes their ability
to interact with others and so when we
think about societies of autonomous
agents which are collections of these
autonomous ages that have to interact
with each other and they’re sharing some
common resources maybe it’s time in
space or for the wireless devices I work
with it could be wireless bandwidth it
could be data it could be energy they
really have to figure out how to do that
how do they interact as an autonomous
network so Garrett Hardin actually wrote
about what happens when groups of
autonomous agents or individuals in
human societies interact with each other
he referred to this as the tragedy of
the Commons he said ruin is the
destination toward which all men rush
when they each pursue their best
interest in a society that believes in
such sort of freedom of following your
self-interest so my central thesis is
this if you think about all of these
different types of ethical and moral
notions and concepts we have evolved and
see in our societies that are meant to
help us identify when humans and
individuals are behaving or misbehaving
and how society as a whole should
penalize misbehavior and incentivize
good behavior that all of these moral
and ethical notions in fact can be
extended to engineered systems that we
can get them to behave not just in their
self-interest but cooperatively let me
give you some examples from my research
so consider a collection of wireless
devices that are communicating through a
wireless access point or a router and we
all have these in our homes now and
imagine that we have a software running
on our wireless devices or mobile
devices that
autonomously in the interest of the user
that is supporting is trying to maximize
the data rate and minimize the data
delay that it experiences people call it
lags sometimes and if we had similar
autonomous software and all of our
devices each of them would do the same
so what’s the problem
well it turns out that they can each
enhance their own data rate by just
sending more but the delay that the
experience depends on the behavior of
the other autonomous agents in the
network it turns out that the more data
you send in the slower the network
becomes for every one where we’ve all
experienced this in the context of
traffic for example we have a lot of
cars in the highway you drive slower and
so when we mathematically analyze this
problem we observe that in fact you do
end up with this tragedy of the Commons
everyone behaves selfishly and
everyone’s utility suffers so I studied
this problem with two of my former PhD
students at the USC Viterbi School of
Engineering and we formulated this
problem mathematically we analyzed it
and really racked our brains for four
months to try and figure out how do you
get over this well it turns out what you
need to do is to make the router also an
autonomous agent and essentially behave
like an evil mob boss sorry I mean a
government official and what it has to
do is to basically threaten them right
and I’m an engineering professor I’ll
make a slight digression the way
threatens them is it gives them a
function and it’s an f of X where X is
the amount of data that they provide and
the f of X is the amount of data it’s
going to lose if they provide too much
so well what did these autonomous agents
start to do well they panic just a
little bit like oh wait a second if I
send too much I’m going to lose data and
now when they compute the best solution
for themselves in their own best
interest they take into account this
threat from the router and they compute
a new solution each of them does this
and amazingly it turns out that if you
design that function that I described
carefully the result is fantastic
everyone’s just eager to send the right
amount of data and everyone’s happy they
get just as much data as they want
through the network they don’t suffer
lag and all of this thanks to just a
little thread let’s look at a different
example this is a network of wireless
sensors that’s deployed in the rth
building in the southwest corner of our
campus it’s a network of wireless
sensors and actuators that each have a
processor and a radio that allows them
to communicate with other devices nearby
and it’s really a testbed that allows us
to test out different applications and
ideas that we have algorithmically so we
got to wondering how do we get each of
the nodes in this network to behave
autonomously in a way that they would
get benefit from their neighbors and
also basically collaborate so that the
overall network performance depending on
the application is as good as possible
now the actual details of what that
means depends a little bit on the
application but we could formulate a
canonical problem of cooperation in an
autonomous Network so we have a
collection of these autonomous agents
they talk to each other on what we call
a network graph so you have each agent
can talk to a set of other neighboring
agents and the way we formulated this
problem everyone would benefit from
their neighbors contributions in terms
of work or data if the neighbors for
example agree to carry data for them
maybe gave them some information that
they needed but in fact as in many real
networks there’s sort of a cost to
contributing yourself it doesn’t
actually benefit you because you might
be using up time or energy or resources
or in some cases even privacy if the
information that you are asked to share
somehow belongs to some personal
information about a user that you
represent so we formulated this problem
and looked at what would happen somewhat
to our
disappointment if you actually formulate
such a problem where everyone benefits
from the neighbors but they don’t want
to contribute the result is sort of this
amazingly lazy Society of autonomous
devices they’re all like well it’d be
nice if someone helped me but they sort
of sitting in their chairs they’re not
willing to lift a finger so what do you
do so we found that the solution you
have to engineer to get them to be more
active more proactive more helpful was
actually a moral principle a reciprocity
rule something that said listen if you
contribute something to your neighbors
you can get something back from them
right this is very related to the golden
rule do unto others as you would have
them do unto you just implemented in
software so what happens now an
amazingly unique set of results where
all of these nodes suddenly just wake up
and chatter excitedly with each other
like what can I do for you buddy and
like oh I’d love to help you tell me
more and just this engineering of
reciprocity into their interactions
makes it a much more productive society
and we can build networks now where
nodes are behaving in their
self-interest but because of this moral
principle embedded in their software
they will exchange information data and
help each other out and behave in a way
that we as network designers as
engineers would like the network to
behave to give you another example in
recent years we’ve been looking at
autonomous agents that would be pieces
of software that drive our cars for us
and this is going to happen in the near
future we’ve all been following the news
and not only will each car be able to
drive itself autonomously it’s also
going to be able to interact with other
cars on the road and with other devices
nearby in the infrastructure and so you
can ask the same questions if they’re
going to behave in their self-interest
would there be
for them to collaborate to cooperate in
ways that benefit society as a whole and
so to give you an example of such a
problem we’ve looked at a smart city of
the future which is full of these
autonomous vehicles carrying people back
and forth from their home to where up to
places after work and so on and we ask
the question well first of all what’s in
their self-interest and in this case for
each vehicle the self-interest would be
to get from point A to point B as
quickly and conveniently as possible but
from the city’s perspective the best
interest of the society as a whole might
be better served by some other objective
for instance you might want to reduce
the environmental impact of these
autonomous vehicles you might want to
make sure that the traffic in
residential parts of the city doesn’t
get too crowded or polluted so that
you’re not seeing a lot of impact on
people or at schools and playgrounds and
what we did essentially was to come up
with an algorithm that sets the traffic
speed limits on all of the road
stretches in the city that the
autonomous cars are asked to follow and
our algorithm carefully configures these
speed limits for each of the streets in
such a way that if each of the
autonomous vehicles were just pursuing
their self-interest they’re not
necessarily caring about the good of
society they’re just focused on getting
their passenger from A to B in the
shortest time possible but by
engineering these speed limits
throughout the city we can get them to
drive in ways that essentially naturally
keep them away from populated areas from
sensitive areas so to conclude I think
we’re still a long ways off but we’re
really beginning to understand how to
engineer cooperation morality ethics
fairness justice all of these things we
take for granted in our societies but to
that world of autonomous agents that are
going to be working with us and helping
us thank you
you
Please follow and like us: