SU-CS329H OCT262026

Failure to Lean from Demonstrations

Consider what demonstration learning is

Why does learning from demonstration fail? Consider:

\begin{equation} \mathcal{D} = \qty {\eta_{1} \dots \eta_{L}} \end{equation}

Let’s consider modeling some kind of distribution:

\begin{equation} \text{argmax}_{w} p\qty(w | \mathcal{D}) \end{equation}

where \(w\) is some kind of objective you’d like to maximise. Using Bayes we have:

\begin{equation} p\qty(w | \mathcal{D}) \propto p\qty(w) p\qty(\mathcal{D} | w) \end{equation}

conditonaly indpendent:

\begin{equation} p\qty(w) \prod_{i=1}^{n} p\qty(\eta_{i} | w) \end{equation}

and then we write in terms of logit model:

\begin{equation} p\qty(w) \prod_{i=1}^{n} \exp f_{w}\qty(\eta_{i}) \end{equation}

where \(f_{w}\) is some \(w\) trajectory reward scorer of action \(\eta_{i}\).

Why human demonstrations are bad

  • robots with high degrees of freedom is hard to operate
  • the humans themselves are bad even for comparator cases among annotators (because they have no baseline)

Incorporating comparisons

Multiplied against the probabilty above, we use a logit model of human choice as a function of the underyling utilities.

Using mutual information

Suppose you have a pool of reward functions, what should we ask?

Ideally, we should ask pairs of question that would maximally discriminate uncertainty.

\begin{equation} \max_{\eta_{A},\eta_{B}} I\qty(q; w \mid \mathcal{C}, \eta_{A}, \eta_{B}) \end{equation}

which is:

\begin{equation} \max_{\eta_{A}, \eta_{B}} H\qty(w \mid \mathcal{C}, \eta_{A}, \eta_{B}) - H\qty(w \mid \mathcal{C}, \eta_{A}, \eta_{B}, q) \end{equation}

because mutually information is commutative:

\begin{equation} \max_{\eta_{A}, \eta_{B}} H\qty(q \mid \mathcal{C}, \eta_{A}, \eta_{B}) - H\qty(q \mid \mathcal{C}, \eta_{A}, \eta_{B}, w) \end{equation}

where \(q\) is the human preference answer between pairs \(A,B\), \(w\) is the objective under test.

This can be intuitively understood as “we’d like to maximize the model uncertainty (term 1, what the model believe about the answer) and minimize user uncertainty (term 2, what the model believe about the answer given it knows the objective.)

What did we learn

  • learning from preferences allow generating feedback
  • we learned a way to figure out what components of a pluralistic reward can be best useful to ask (the one that maximses mutal information)
  • language feedback allows genarting counterfactula experimenst that are richer than preferences

Questions

  • Not super understand why the latter term is “user uncertainty”