                          CLARIFY: Contrastive Preference RL for Untangling Ambiguous Queries

as claimed.
Then we show the strict gap via compactness. Since the support of Dp is compact and fϕ∗ , ℓ are continuous, the image sets

                           S + = {ℓ(z0 , z1 ) | (σ0 , σ1 ) ∈ P },     S − = {ℓ(z0 , z1 ) | (σ0 , σ1 ) ∈ N }             (25)

are compact and, by the separation result, disjoint in R. Two disjoint compact subsets of R have a strictly positive gap:

                                                δ = inf S + − sup S − > 0.                                              (26)

Therefore
                                         d+
                                          min = inf S
                                                      +
                                                        ≥ sup S − + δ = d−
                                                                         max + δ,                                       (27)

completing the proof.

A.2. Proof of Proposition 5.2: Convex Separability
Proposition A.2 (Margin Guarantee for Lquad ). Let C + and C − ⊂ Rd be convex, and write

                     µ+ = E[z + ],     µ− = E[z − ],        w = µ+ − µ− ,         b = − 21 ∥µ+ ∥2 − ∥µ− ∥2 .
                                                                                                          
                                                                                                                        (28)

                           e = (w⊤ z + b)/∥w∥. If ϕ globally minimizes
Define the signed distance d(z)
                                       h                                                         i
                                                 ′        ′
                             Lquad = −E ℓ(z + , z− ) + ℓ(z+                              ′
                                                            , z − ) − ℓ(z + , z − ) − ℓ(z+    ′
                                                                                           , z− ) ,                     (29)

then for every z + ∈ C + and z − ∈ C − ,
                                                e + ) ≥ η,
                                                d(z                  e − ) ≤ − η,
                                                                     d(z                                                (30)

where η = 21 ∥µ+ − µ− ∥.


Proof. Writing out the expectation and differentiating under the integral sign, we can find

                 ∂Lquad                                             ∂Lquad
                        = 2 w − (µ+ − µ− ) = 0,                            = 2 b + 12 (∥µ+ ∥2 − ∥µ− ∥2 ) = 0.
                                                                                                       
                                                                                                                        (31)
                  ∂w                                                  ∂b

Hence, at any global minimum,
                                        w = µ+ − µ− ,        b = − 12 ∥µ+ ∥2 − ∥µ− ∥2 .
                                                                                     
                                                                                                                        (32)


A direct expansion shows
                                           w⊤ z + b = 21 ∥z − µ− ∥2 − ∥z − µ+ ∥2 ,
                                                                                
                                                                                                                        (33)

so
                                         +    − 2
                               e + ) = ∥µ − µ ∥ = 1 ∥µ+ − µ− ∥ = η,
                               d(µ                                                     e − ) = −η.
                                                                                       d(µ                              (34)
                                       2∥µ+ − µ− ∥ 2

      e is an affine function of z and C + , C − are convex, the entire set C + must lie on or beyond the level set {de = η},
Since d(z)
and C − on or beyond {de = −η}. Equivalently,

                                                  e + ) ≥ η,
                                                  d(z                e − ) ≤ −η,
                                                                     d(z                                                (35)

for every z + ∈ C + , z − ∈ C − , as claimed.

                                                                12
