<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Challenges in the Trustworthy Pursuit of Maintenance Commitments Under Uncertainty</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Qi Zhang Edmund Durfee Satinder Singh</string-name>
        </contrib>
      </contrib-group>
      <abstract>
        <p>Cooperating agents can make commitments for better coordination, and commitments can only be probabilistic when agents' actions have uncertain outcomes in general. Our perspective is that a commitment should be made not to outcomes but to courses of action. An agent thus earns trust by acting in good faith with respect to its committed courses of action. With this perspective, we examine an atypical form of probabilistic commitments called maintenance commitments, where an agent commits to actions that avoid an outcome that is undesirable to another agent. Compared with the existing probabilistic commitment framework for enablement commitments, our maintenance commitment poses new semantic and algorithmic challenges. We here formulate maintenance commitments in a decision-theoretic setting, examine possible semantics for how agents should treat such commitments, and describe corresponding planning methods. We conclude by arguing why we believe our e orts demonstrate that maintenance commitments are fundamentally di erent from enablement commitments, and what that means for their trustworthy pursuit.</p>
      </abstract>
      <kwd-group>
        <kwd>Commitment</kwd>
        <kwd>Trust</kwd>
        <kwd>Uncertainty</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 Motivation</title>
      <p>In multiagent systems, agents are often interdependent in the sense that what
one agent does can help or hinder another. In a cooperative system, agents can
mutually bene t from helping each other. However, some agents could try to
receive bene t without reciprocation, because helping others incurs some individual
costs. If trust means having con dence that another will act so as to
reciprocate help, then being trustworthy|worthy of such trust|constrains the agent to
acting thusly. To persuade an agent designer to create trustworthy agents, other
agents (individually and/or collectively) can form and share opinions about agents'
trustworthiness, and won't act to bene t agents with a bad reputation.</p>
      <p>
        Our work assumes that the designer has been persuaded. Even so, however,
it isn't always clear how to create a trustworthy agent, given that an agent often
lacks complete control over its environment, and is unable to predict precisely the
future situations it will face. Speci cally, the form of interdependency we focus on
is with respect to a scenario where an agent (the commitment provider ) makes a
social commitment
        <xref ref-type="bibr" rid="ref4 ref5">(Kalia et al, 2014; Singh, 1999)</xref>
        to another (the commitment
recipient ). When stochasticity is inherent in the environment, the provider cannot
guarantee to bring about the outcomes that the recipient expects, and in fact could
discover after making the commitment that how it planned to try to bring about
the outcomes would be more costly or risky than it had previously realized.
      </p>
      <p>
        Our focus, therefore, is to de ne semantics and mechanisms for an agent to
follow such that it is assured of faithfully pursuing its commitments despite the
uncertainty. Our prior work
        <xref ref-type="bibr" rid="ref2 ref8">(Durfee and Singh, 2016)</xref>
        articulated our perspective
that such a probabilistic commitment should be considered ful lled if the provider's
actions would have brought about the desired outcome with a high enough
expectation, even if in a particular instance the desired outcome was not realized. That
is, the provider acted in good faith. Thus, even if the provider changes its course
of action as it learns more about costs and risks on the y, it can still ful ll its
commitment if whatever course of action it pursued could be expected to achieve
the desired outcome with at least the promised likelihood. With this perspective,
previous work has focused largely on commitments of achievement
        <xref ref-type="bibr" rid="ref6 ref8 ref9">(Witwicki and
Durfee, 2009; Zhang et al, 2016, 2017)</xref>
        , which we also call enablement
commitments, where the provider commits to changing some features of the state in a
way desired by the recipient with some probability by some time. For example,
the recipient plans to take an action (e.g., move from one room to another) with a
precondition (e.g., the door is open) that it is counting on the provider to enable.
      </p>
      <p>This paper focuses on another form of commitment, which we refer to as a
maintenance commitment, where instead of committing to some course of action
that in expectation will enable conditions the recipient wants, the provider instead
commits to courses of action to probabilistically avoid changing conditions that
are already the way the recipient wants them maintained, up until a particular
time. After that time, the condition cannot be assumed to remain unchanged, and
before that time, there is a (usually small) probability it could be changed at any
point. For example, an open door the recipient needs might be initially achieved,
but as the provider opens and closes other doors during its housekeeping tasks, a
resulting draft could close the door the recipient needs open. The provider could
plan its tasks to postpone altering the riskiest doors as long as possible, but an
ill-placed breeze could close the door at any time.</p>
      <p>Our contributions in this paper are to formulate the maintenance commitment
in a decision-theoretic setting, and to answer the question of how the provider and
the recipient should interpret the maintenance commitment and plan accordingly.
What we show is that, although super cially similar to enablement commitments,
maintenance commitments impose di erent demands on the provider and the
recipient. This in turn leads to questions about how much latitude agents can be
trusted with in autonomously reacting to their uncertain environment.</p>
    </sec>
    <sec id="sec-2">
      <title>2 Preliminaries</title>
      <p>In this section, we describe the decision-theoretic setting we adopt for analyzing
probabilistic commitments, including both enablement commitments and
mainteS
x 0
1
2
3
3
2
1
0
y</p>
      <p>G
nance commitments. We review our prior work in the de nition and semantics of
enablement commitments, in preparation for our exposition on maintenance
commitments in the following sections. Notation-wise, we use superscripts p and r to
denote the provider and the recipient of a commitment, respectively.</p>
      <sec id="sec-2-1">
        <title>2.1 The Provider's Decision-Theoretic Setting</title>
        <p>We consider settings where the provider knows that its sequential decision
making problem can be formulated in terms of Markov Decision Processes (MDPs).
However, it is uncertain, at the time it is making its commitment, about the exact
parameters of the MDP that truly re ects its environment. Instead, the provider
knows the true MDP is one out of K possible MDPs. We assume the K MDPs
share the same state and action spaces, but possibly have di erent transition and
reward functions. Formally, the provider's environment is de ned by the tuple
Ep = hSp; s0p; Ap; fPkp; RkpgkK=1; T pi, where s0p is the provider's initial state and T p
is the provider's nite planning horizon. In such a nite horizon problem, states
that are otherwise identical but at di erent time steps are di erent. Moreover, the
provider adopts the Bayesian approach to reason about the uncertainty in its
environment: it has a prior distribution 0p over the K MDPs, and during execution,
the provider can observe the state and the reward transitions that actually occur
providing information to infer the posterior distribution over the possible MDPs.
When the provider learns more about potential rewards and state transitions
during execution, it may be incentivized to shift to another policy that improves its
utility according to the updated knowledge. The core of the problem faced by the
provider is, after making a commitment to the recipient, how it should react to
the evolving knowledge about the environment it is in, while still respecting the
commitment.</p>
        <p>Simple Illustration. In Figure 1a, we show a very simple (in this case
onedimensional) gridworld example to illustrate the formulation of the provider's
problem. Here, the agent (represented by a solid black square) can move left or
right, and when it reaches either end of its environment it receives a positive or
negative reward. Initially, it does not know the values of the rewards at the two
extremes, but it receives noisy signals about the rewards, where the signals are
less noisy for a reward the closer it is to that cell. And when it is in a reward cell,
it receives the associated reward. Thus, only as the agent moves and senses does
it build certainty as to which end (if either) it wants to remain in.</p>
        <p>The environment also has a proximity sensor, at the left end, that a ects a gate
in the recipient's environment. The closer the provider is to the sensor, the more
likely it is to trigger the sensor, which will then permanently toggle the state of
the gate. If the gate is initially closed, then ful lling a probabilistic commitment to
open it will cause the provider to move leftward, but how far left it wants to move
and how long it wants to linger will depend on what it learns about the rewards: if
the left reward is (positive) highest, it will happily hover near the sensor and have
high likelihood of opening the gate promptly, but if the right reward is (positive)
highest the agent will want to limit the time and distance that it goes left. If
the gate is initially open, then the provider could move to the right to limit the
chances that it will prematurely close, but again how far right and for how long
depends on what it learns about the desirability of the leftmost reward.</p>
      </sec>
      <sec id="sec-2-2">
        <title>2.2 The Recipient's Decision-Theoretic Setting</title>
        <p>The recipient's environment is modeled as an MDP de ned by the tuple Er =
hSr; sr0; Ar; P r; Rr; T ri, where sr0 is the recipient's initial state and T r is its nite
planning horizon. While the recipient can also have uncertainty over its true MDP,
for the purposes of this paper that is not necessary, and so we don't consider it.
Simple Illustration. Figure 1b shows the simple 2-dimensional gridworld of the
recipient, where heavy solid lines indicate walls through which the agent can't
move. The recipient is indicated as a solid-black dot, and it receives reward for
occupying the cell marked G. Below G is the gate that is in uenced by the provider.
If the provider can commit, with high enough probability, to the gate being open at
useful times, then the recipient can take a very direct route to G and accumulate
more reward by the time horizon. Otherwise, the recipient should take the less
direct (but guaranteed to be passable) route around the wall.</p>
      </sec>
      <sec id="sec-2-3">
        <title>2.3 TD-POMDP framework</title>
        <p>
          As one way to model the asymmetric interaction between the provider and the
recipient (where the recipient depends on the provider), we use the TD-POMDP
framework
          <xref ref-type="bibr" rid="ref7 ref8">(Witwicki and Durfee, 2010; Zhang et al, 2016)</xref>
          . We assume that the
recipient's state can be factored as sr = hlr; ui, where lr is the set of all the
recipient's state features locally controlled by the recipient and u is the set of
all the recipient's state features directly a ected by the provider, u = sp \ sr.
Therefore, the dynamics of recipient's state from time steps t to t + 1, given the
actions of the provider and recipient (ap, ar respectively) can be factored as
Pr(str+1jstr; atr; stp; atp) = Pr(ltr+1jstr; atr) Pr(ut+1jstp; atp):
(1)
In the original TD-POMDP framework
          <xref ref-type="bibr" rid="ref7">(Witwicki and Durfee, 2010)</xref>
          that models
the interactions between an arbitrary number of agents, each agent's local state
and transition function can be factored similarly to the recipient as in (1). In this
work (and in our previous work in enablement commitments
          <xref ref-type="bibr" rid="ref8">(Zhang et al, 2016)</xref>
          ),
we assume that the provider can fully control its local state features:
Pr(stp+1jstr; atr; stp; atp) = Pr(stp+1jstp; atp):
(2)
A maintenance or enablement commitment is concerned with the state features
shared by both agents but only controllable by the provider, i.e. u. For ease of
exposition, we assume u is a single binary feature that can be either u+ or u .
        </p>
      </sec>
      <sec id="sec-2-4">
        <title>2.4 Enablement Commitments</title>
        <p>Recall that our commitment semantics emphasizes the actions an agent takes
(because it has control over them) instead of the states it reaches (because it
cannot deterministically control them). With this semantics, then in an enablement
commitment, the provider commits to pursuing a course of action that can bring
about state features desirable to the recipient with some probability. Without loss
of generality, we let u+, as opposed to u , be the desirable state feature.</p>
        <p>Given our semantics, one option for representing a commitment is as a policy,
a mapping from the provider's state space to its action space, that the provider
will follow. Based on the MDP's parameters, the commitment's probability is the
probability that the policy will change u to u+. However, this representation is
restricting to the provider and more opaque to the recipient. Using our example
from Figure 1 to illustrate, the provider could certainly use its prior probability
distribution over the possible MDPs (rewards at the 2 ends) to compute an optimal
policy, but then committing to that policy means that, as it learns more about the
true rewards, it would be unable to adjust its policy in response|even if doing
so could be bene cial to both agents (such as if it discovers the leftmost reward
is the best). And to use the commitment, the recipient would need to infer the
in uences the provider's policy will have on the feature u that it cares about.</p>
        <p>This suggests another option for representing a commitment. Rather than
committing to a speci c policy, the provider can commit to the policy's more abstract
pro le of probabilistic in uences over time from (1). In Figure 1, for example, the
in uence abstraction would specify the cumulative probability of the gate being
open at each time given the provider's planned movements. As the provider learns
more about its environment, it can improve its local policy (to acquire more local
reward) as long as it behaves within the probabilistic in uence pro le (where it
can exceed probabilities if it wants to). In our running example, that means if
it discovers the left reward appears more likely to be the best, the provider can
change its policy to favor moving that way without violating its commitment.</p>
        <p>With the in uence abstraction, the recipient's problem is also simpli ed since
it can directly encode the probability pro le into its transition function, rather
than having to infer it from a policy as before. Note, though, that if the provider
does modify its policy, the recipient's pro le might no longer accurately model the
dynamics of feature u, as at the end of the previous paragraph where u+ would be
more likely earlier on (and overall). If they can intermittently communicate, the
provider could update the recipient with the new pro le, but then the provider
would be limiting its future policy adjustments to adhering to that even more
demanding commitment (e.g., if as it moves left it discovers that its beliefs about
the left reward were wrong, it can't renege). In our past and current work, we
instead assume no communication at runtime, and accept the ine ciencies that
arise if the recipient's model is more pessimistic relative to the provider's evolving
policy. The crucial point is that the provider's latitude is only in one direction: it
can't adopt a policy that underperforms relative to the commitment that it made.</p>
        <p>Our previous work went beyond the in uence abstraction to instead utilize
what we called a commitment abstraction. Formally, an enablement commitment
c is de ned by tuple c = hu; Tc; pci, where u is the condition being committed to,
Tc is the commitment time horizon, and pc is the commitment probability. The
provider's commitment semantics is to follow a policy p that, starting from its
initial state s0p, has set u to u+ at time step Tc with at least probability pc, with
respect to the provider's prior distribution over the K MDPs. That is
Pr uTc = u+ s0p; p; k
pc:
(3)</p>
        <p>
          Here, p is de ned as a mapping from the provider's possible histories
(including observations that revise its beliefs about which is the true MDP) to
distributions over actions it should take for each. Our prior work examined the (high)
computational costs of directly implementing this semantics, and developed less
expensive iterative techniques that selectively expand only the parts of the history
space that the provider is actually experiencing
          <xref ref-type="bibr" rid="ref8 ref9">(Zhang et al, 2016, 2017)</xref>
          .
        </p>
        <p>
          The commitment abstraction compresses the provider's time-dependent in
uence on u into a single timepoint, rather than a potentially more gradual pro le.
Why would we choose to do that? The most important reason is that it opens up
even more latitude for the provider to evolve its policy as it learns more about
its environment: instead of needing to meet probabilistic expectations at multiple
timepoints, it can modify its policy much more exibly as long as in the long
run (by time Tc) it hits the target probability. Our previous work has shown the
value of having such exibility
          <xref ref-type="bibr" rid="ref9">(Zhang et al, 2017)</xref>
          . The abstraction also reduces
the complexity of the recipient's reasoning, since it only needs to model a single
branch (at Tc) for when u probabilistically toggles to u+, and assume no toggling
before or afterward.1 The cost of these gains is that the ine ciencies noted for
the in uence abstraction are accentuated, even in the case where the provider's
policy doesn't need to evolve at all. In our running example, for instance, the gate
could open before or after Tc, but the recipient would not model this: it will build
a policy that only checks the gate at Tc and goes through it if it is open, and
won't consider checking or going through earlier or later. Our experiences however
suggest that, if Tc is chosen well, the ine ciency costs are easily outweighed by
the exibility and computational bene ts.
        </p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3 Semantics of Maintenance Commitments</title>
      <p>
        As a reminder, our maintenance commitment is motivated by scenarios where
the initial value of state feature u is desirable to the recipient, who wants it to
maintain its initial value for some interval of time (e.g.,
        <xref ref-type="bibr" rid="ref1">Du et al (2014</xref>
        ),
        <xref ref-type="bibr" rid="ref3">Hindriks
and van Riemsdijk (2007</xref>
        )), but where the provider could want to take actions that
would change it. Revisiting our running example, this is the case where the gate
1 No toggling afterward assumes common knowledge (beyond the commitment) that once
the provider achieves the condition it will never be undone before the recipient uses it.
(4)
is initially open, and the provider could cause it to be closed as a side e ect of
moving towards rewarding locations and triggering the sensor to toggle it.
      </p>
      <p>Given our successful use of the commitment abstraction for enablement
commitments, we expected to apply the same idea (and algorithms) to maintenance
commitments. As we examine in the rest of this paper, fundamental di erences
between the two kinds of commitments make this far from straightforward.</p>
      <p>We begin by formally de ning a maintenance commitment c also as a tuple
c = hu; Tc; pci, where u is the commitment feature with the initial value of u+. We
next concentrate our exposition on the question of the semantics of commitment
c for the provider and the recipient, respectively.</p>
      <sec id="sec-3-1">
        <title>3.1 Provider's Semantics</title>
        <p>Given maintenance commitment c = hu; Tc; pci, the provider is constrained to
follow a policy that keeps u unchanged for the rst Tc time steps with at least
probability pc, with respect to its prior distribution over the K MDPs. Formally:
Pr</p>
        <p>Tc
^ ut = u0 s0; p; k</p>
        <p>p
t=1
where p is the provider's policy. This is like (3), except it applies over an initial
interval of time rather than at a speci c timepoint. Like the semantics for
enablement commitments, p is a mapping from the provider's history to distributions
over actions. We say that the provider's policy p respects the semantics of
commitment c if (4) is satis ed, and later consider whether our less expensive iterative
techniques for enablement commitments can apply to this case as well.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2 Recipient's Semantics</title>
        <p>As with enablement commitments, the recipient should use the commitment tuple,
c = hu; Tc; pci, to create an approximate pro le of the provider's in uence on u,
in this case regarding the probability of u+ toggling to u at various times.2 If we
were to borrow directly from the enablement formulation, we would approximate
this pro le as a step function, where up until time Tc u remains unchanged, and
then beyond Tc it is changed with a probability based on pc. Obviously, however,
this would be an overly optimistic approximation, as the recipient would be
assuming perfect (rather than probabilistic) maintenance throughout the interval up
to Tc, and thus formulate its policy based on a stronger model of the commitment
than the provider's semantics (4) warrant (unless pc = 1).</p>
        <p>What we want instead is to nd an approximate pro le that accomplishes
what we got for the enablement commitment, which never overestimates (is never
overoptimistic with respect to) the true pro le, with resulting potential ine
ciencies arising from being too pessimistic. As we shall next see, such a pro le is elusive
in the case of maintenance commitments.</p>
        <p>2 And, as with enablement, we also use common knowledge that once maintenance fails the
desired condition cannot be assumed to ever be restored.</p>
        <sec id="sec-3-2-1">
          <title>3.2.1 The earliest-disablement approximation</title>
          <p>Our rst idea was to give the recipient's an approximation of the maintenance
commitment's pro le based on what we call the earliest-disablement, which can
be viewed as the more correctly formulated counterpart to the latest-enablement
approximation of the enablement commitment. In this approximation, the
recipient assumes that, with probability 1 pc, the value of u will be toggled by the
provider from u+ to u during the initial time step and will stay as u thereafter;
otherwise u will be maintained as u+ before Tc. Furthermore, after time step Tc,
the value of u will be permanently changed to u with probability one. In detail:
Pr(ut+1 = u+jut = u+; c) = pc; t = 0
Here, the expected duration of the event fu = u g is maximized, under constraint
(4) prescribed by the provider's commitment semantics. This earliest-disablement
approximation is simple to model, and by modeling the value of u possibly changing
at only 2 timepoints (times 0 and Tc), the recipient's planning costs are kept low.</p>
          <p>However, it has a severe downside, which is that the approximation is not
robust. During the execution of the recipient's plan derived from the
earliestdisablement approximation, the recipient could end up in states that are
unreachable according to its model. In our running example, for instance, the recipient's
model would indicate that, if the gate (u) isn't closed (set to u ) right after the
rst timestep, then it can be expected to remain open (u+) all the way up to Tc.
However, the provider may be executing a (fully commitment-satisfying given (4))
policy where the gate might close at other times between 1 and Tc.</p>
          <p>A recipient using the approximation could thus nd itself in a state that its
model predicted to be unreachable. For example, based on the earliest-disablement
approximation, the commitment recipient in the gate-control problem would check
the gate status at time 1: if it is now closed then it would take the long route,
but if it is still open then it would head straight for the goal through the open
gate. Since its model indicates the gate cannot close before Tc, it can charge ahead
without checking the gate. But since the gate could close earlier than Tc, it could
unexpectedly crash into a closed gate. Or, if just in case it were to monitor the gate
status, it could avoid a crash, but nevertheless nd itself in uncharted territory:
it will have reached a state that its model considers impossible, meaning that it
cannot trust its model to create a policy that is robust in its true environment.</p>
          <p>This was our rst indication that maintenance commitments are qualitatively
di erent, because the commitment abstraction could lead to a complete breakdown
in policy execution, and not just to ine ciency like with enablements. We should
ask why such breakdowns didn't happen with enablements, since arguably states
can be reached that the recipient's model doesn't predict (e.g., the gate opens
before Tc). The di erence, though, was that the recipient could safely ignore an
unmodeled positive transition (it just wouldn't take advantage of an early
enablement), whereas it can't always safely ignore an unmodeled negative transition.</p>
          <p>A way to x the problem of potentially reaching unmodeled states is to expand
the model to include the possibility of u toggling at times other than t = 0 by
using a small probability in place of the zero probability transitions for t &gt; 0:
Pr(ut+1 = u+jut = u+; c) = 1</p>
          <p>; 0 &lt; t &lt; Tc
Pr(ut+1 = u jut = u+; c) = ; 0 &lt; t &lt; Tc
Pr(ut+1 = u jut = u ; c) = 1</p>
          <p>; 0 &lt; t &lt; Tc
Pr(ut+1 = u+jut = u ; c) = ; 0 &lt; t &lt; Tc
With the probability transitions, the recipient now plans for those states
previously considered unreachable according to the earliest-disablement approximation.
This makes the plan robust, in that the recipient never nds itself in an
unpredicted state. However, this approach eliminates the computational bene ts of the
commitment abstraction, because now the recipient must model branches for u
toggling at every possible timestep. And the costs come without any e ciency
bene t, since the pro le (where the toggling is most likely at the initial timestep
and then only epsilon-likely afterward) can mislead the recipient into treating
initial good news (e.g., the gate didn't close) as a near guarantee of success, causing
it to have to backtrack more often than it might have had it not been so optimistic.</p>
        </sec>
        <sec id="sec-3-2-2">
          <title>3.2.2 The minimax-regret approximation</title>
          <p>The ending of the previous paragraph is somewhat surprising: we had posed the
earliest-disablement approximation as being pessimistic, since the maintenance
was modeled as lasting for the shortest possible time. Upon re ection, and as
illustrated by the earlier example, the worst time for the maintenance to fail
actually is not at the very beginning, but rather right as the condition u+ (e.g., the
open gate) is used. At that point, the recipient has made a maximal investment in
its policy to use the commitment|an investment that goes to waste. Therefore,
the recipient is incentivized to consider timepoints other than the beginning when
the condition u+ could change, and in particular should pay attention to those
timepoints when the condition could be used.</p>
          <p>Hence, we have considered another approximation of the maintenance
commitment for the recipient, where instead the recipient tries to minimize the maximum
regret of its policy. For a given recipient's policy, we can identify a worst-case
scenario by modeling the provider as being adversarial, and thus leading to the
maximum regret. Formally, let Pu = fPu(ut; ut+1) = Pr(ut+1jut) : Pu satis es (4)g
be the set of all possible transition functions (abstract in uence pro les) of u that
satisfy the provider's commitment semantics (4). For any policy of the recipient
r, an adversarial provider would pick a dynamics (pro le) in Pu that changes u
at the worst possible time(s), and thus maximizing the regret of r:
r
VPu ; (5)
R( r) = max R( r; Pu) = max VPu</p>
          <p>Pu2Pu Pu2Pu
where VPu is the optimal value function with the dynamics of u being Pu, and
VPur is the value of policy r when evaluated in Pu. With this minimax-regret
formulation, the recipient's planning objective is to nd r that minimizes R( r).</p>
          <p>While conceptually reasonable, considering all of the provider's uncountable
possible pro les in Pu is computationally non-trivial for the recipient. We can
consider instead a nite subset of Pu to reduce the computation cost. Once the
subset is speci ed, the recipient could compute the maximum regret of its policy by
replacing Pu with that subset in (5). But which pro les in Pu should we consider?
Note that with the earliest-disablement approximation, the recipient only considers
a single pro le in Pu that assumes failure is most likely at the very beginning and
epsilon-likely afterward. The recipient could instead enumerate all such pro les
in which the maintenance would fail most likely at a single timepoint before Tc
and epsilon-likely at every other timepoint. In our example from Figure 1, with
this enumeration the recipient considers all timepoints before the commitment
time that the gate could close, and nds a policy that could handle the worst
possible timing. Alternatively, the recipient could include all pro les in which the
maintenance would fail when it is about to use the maintained condition.</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4 Planning and Execution with a Maintenance Commitment</title>
      <p>In this section, we discuss the planning and execution methods used by the provider
and recipient given a maintenance commitment c = hu; Tc; pci.</p>
      <sec id="sec-4-1">
        <title>4.1 Provider's Planning and Execution</title>
        <p>
          In our previous work
          <xref ref-type="bibr" rid="ref9">(Zhang et al, 2017)</xref>
          , we examined several algorithms that
an enablement commitment provider can use to plan when it is uncertain about
the true MDP. In general, the provider's optimal policy will map a history of
states, actions, and observations to a distribution over actions. Generating such
a policy can involve massive amounts of computation, as the space of
histories grows exponentially with the time horizon. Our prior work devised an
algorithm we called Commitment Constrained Full Lookahead (CCFL) for computing
such policies. We also developed approximate versions of this algorithm to
tradeaway some degree of optimality in order to dramatically reduce computation. Our
Commitment-Constrained Lookahead (CCL) algorithm will only lookahead to a
limited (user-speci ed) depth when considering how the provider's distribution
over possible MDPs could change. And our Commitment-Constrained Iterative
Lookahead (CCIL) will iteratively apply the CCL algorithm during policy
execution, probing more deeply along only trajectories compatible with the history
experienced so far.
        </p>
        <p>
          With some e ort, each of these approaches can be modi ed to t maintenance
commitments. The key challenge is modifying them to handle the conjunctive
aspect of the commitment semantics (4) which was not present for enablement
commitments (3). Without getting into details, this conjunction can be captured
by enlarging the set of decision variables in the linear program used for solving
such problems
          <xref ref-type="bibr" rid="ref9">(Zhang et al, 2017)</xref>
          , and the problem can be simpli ed by exploiting
structure such as that toggling u is permanent.
        </p>
      </sec>
      <sec id="sec-4-2">
        <title>4.2 Recipient's Planning and Execution</title>
        <p>The big di erence in planning and execution with maintenance commitments is
in how they a ect the recipient. The earliest-disablement approximation, alone,
can be treated similarly to how recipient planning is done for enablement
commitments, but then execution becomes brittle, since the recipient might nd itself in
an unexpected state for which no actions were identi ed. Hence, the recipient's
execution component would require modi cation to replan (possibly after modifying
its MDP) at runtime, rather than simply just executing a policy.</p>
        <p>To capture the epsilon-probability transitions to provide robustness, either
they can be explicitly incorporated into the model, or the planning algorithm can
be modi ed to inject them automatically. Either way, the costs of the recipient's
planning will skyrocket to model all of these transitions.</p>
        <p>The recipient's planning and execution with the simple minimax-regret
approximation that picks a better time to model the transition from u+ to u , with
or without the epsilon-probability transitions, would be analogous to the
earliestdisablement case, once the time to model the transition is picked. However, the
(potentially considerable) costs for nding that better time, involving nding
multiple optimal policies and adversarial responses, need to be factored in as well.</p>
        <p>And moving towards an even more extensive pro le of transition times is yet
more challenging, and is still a work in progress. Because the set Pu is uncountable,
even computing the maximum regret of a recipient's given policy r, i.e. R( r), is
nontrivial since we cannot enumerate all possible Pu. We want to reduce the size
of Pu without too much approximation error when computing maximum regret.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5 Discussion</title>
      <p>In this paper, we described our experiences in taking what we learned about
semantics and algorithms for trustworthy ful llment of enablement commitments,
and attempting to map it to maintenance commitments. Hopefully, we've
convinced the reader that such a mapping is nontrivial, which suggests that, despite
their similarities in describing the toggling of conditions over time, maintenance
commitments are fundamentally di erent from enablement commitments.</p>
      <p>One answer to these di erences, that we've focused on here, is to modify
solutions that work best for enablement commitments, based on the (single-timepoint)
commitment abstraction, to be better suited to maintenance commitments. We are
currently evaluating the e ectiveness of these modi cations empirically.</p>
      <p>An alternative answer, that may have rami cations more broadly to issues of
trustworthy social commitments in other (non-decision-theoretic) settings, is to
question whether an abstract commitment is sensible when it comes to
maintenance as opposed to enablement. The introduction of epsilon-probability branches
for robustness suggests that, if the recipient needs to model more branches for
robustness anyway, why not have these branches more properly re ect the real
pro le over the maintenance interval, so the recipient formulates a policy that
performs better in the world it will actually experience?</p>
      <p>Recall our progression when we talked about enablement commitments in
Section 2.4, where we went from commitments to policies, to abstract in uences, to the
commitment abstraction. There, the commitment abstraction gave the provider
more exibility, and gave the recipient computational advantages at a generally
minor policy e ciency cost. What we've uncovered is that, for maintenance
commitments, the recipient cannot safely get the computational advantages of the
commitment abstraction, which then raises the question of whether we should
back up, and use a less abstract representation, like the in uence abstraction,
when modeling maintenance commitments. This will constrain the provider more,
but our explorations in this paper suggest that this may be unavoidable: that when
it comes to maintenance, useful commitments need to be more ne-grained, and
will more tightly restrict the exibility of a provider in an uncertain environment.</p>
      <p>In conclusion, our goal for this paper is to spur re ection and discussion about
trust in the context of di erent kinds of expectations (speci cally enablement
versus maintenance). How (especially in non-decision-theoretic settings) do agents
express expectations about each other for these di erent needs? How is trust
measured, or failure to be trustworthy detected, in such cases? Should agents have
reputations not only for what they can (or can't) achieve for each other, but also
for how reliably they can avoid interfering with each other, and if so are these
reputations established/evaluated di erently?</p>
    </sec>
    <sec id="sec-6">
      <title>Acknowledgements</title>
      <p>We thank the anonymous reviewers for their helpful suggestions. Supported in part
by the US Air Force O ce of Scienti c Research, under grant FA9550-15-1-0039,
and by the Open Philanthropy Project to the Center for Human-Compatible AI.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <string-name>
            <surname>Du</surname>
            <given-names>S</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Thangarajah</surname>
            <given-names>J</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Harland</surname>
            <given-names>J</given-names>
          </string-name>
          (
          <year>2014</year>
          )
          <article-title>Maintenance goals in intelligent agents</article-title>
          .
          <source>Computational Intelligence</source>
          <volume>30</volume>
          (
          <issue>1</issue>
          ):
          <volume>71</volume>
          {
          <fpage>114</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <surname>Durfee</surname>
            <given-names>EH</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Singh</surname>
            <given-names>S</given-names>
          </string-name>
          (
          <year>2016</year>
          )
          <article-title>On the trustworthy ful llment of commitments</article-title>
          . In:
          <string-name>
            <surname>Osman</surname>
            <given-names>N</given-names>
          </string-name>
          , Sierra C (eds) AAMAS
          <source>Workshops (Selected Papers)</source>
          , Springer International Publishing, pp
          <volume>1</volume>
          {
          <fpage>13</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <surname>Hindriks</surname>
            <given-names>KV</given-names>
          </string-name>
          ,
          <string-name>
            <surname>van Riemsdijk</surname>
            <given-names>MB</given-names>
          </string-name>
          (
          <year>2007</year>
          )
          <article-title>Satisfying maintenance goals</article-title>
          .
          <source>In: 5th Int. Workshop Declarative Agent Languages and Technologies (DALT)</source>
          , pp
          <fpage>86</fpage>
          {
          <fpage>103</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <surname>Kalia</surname>
            <given-names>AK</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhang</surname>
            <given-names>Z</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Singh</surname>
            <given-names>MP</given-names>
          </string-name>
          (
          <year>2014</year>
          )
          <article-title>Estimating trust from agents' interactions via commitments</article-title>
          .
          <source>In: 21st Euro. Conf. on AI (ECAI)</source>
          , pp
          <fpage>1043</fpage>
          {
          <fpage>1044</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <string-name>
            <surname>Singh</surname>
            <given-names>MP</given-names>
          </string-name>
          (
          <year>1999</year>
          )
          <article-title>An ontology for commitments in multiagent systems</article-title>
          .
          <source>Arti cial Intelligence and Law</source>
          <volume>7</volume>
          (
          <issue>1</issue>
          ):
          <volume>97</volume>
          {
          <fpage>113</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <string-name>
            <surname>Witwicki</surname>
            <given-names>SJ</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Durfee</surname>
            <given-names>EH</given-names>
          </string-name>
          (
          <year>2009</year>
          )
          <article-title>Commitment-based service coordination</article-title>
          .
          <source>IntJ Agent-Oriented Software Engineering</source>
          <volume>3</volume>
          :
          <fpage>59</fpage>
          {
          <fpage>87</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <string-name>
            <surname>Witwicki</surname>
            <given-names>SJ</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Durfee</surname>
            <given-names>EH</given-names>
          </string-name>
          (
          <year>2010</year>
          )
          <article-title>In uence-based policy abstraction for weaklycoupled Dec-POMDPs</article-title>
          .
          <source>In: Int. Conf. Auto. Planning Sys</source>
          .
          <source>(ICAPS)</source>
          , pp
          <fpage>185</fpage>
          {
          <fpage>192</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <string-name>
            <surname>Zhang</surname>
            <given-names>Q</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Durfee</surname>
            <given-names>EH</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Singh</surname>
            <given-names>SP</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            <given-names>A</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Witwicki</surname>
            <given-names>SJ</given-names>
          </string-name>
          (
          <year>2016</year>
          )
          <article-title>Commitment semantics for sequential decision making under reward uncertainty</article-title>
          .
          <source>In: Int J. Conf. on Arti cial Intelligence (IJCAI)</source>
          , pp
          <fpage>3315</fpage>
          {
          <fpage>3323</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <string-name>
            <surname>Zhang</surname>
            <given-names>Q</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Singh</surname>
            <given-names>S</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Durfee</surname>
            <given-names>E</given-names>
          </string-name>
          (
          <year>2017</year>
          )
          <article-title>Minimizing maximum regret in commitment constrained sequential decision making</article-title>
          .
          <source>In: Int. Conf. Automated Planning Systems (ICAPS)</source>
          , pp
          <fpage>348</fpage>
          {
          <fpage>356</fpage>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>