---
title: "Inferring Private Valuations from Behavioral Data in Bilateral Sequential Bargaining"
authors:
  - "Lvye Cui"
  - "Haoran Yu"
doi: "10.24963/ijcai.2023/292"
url: "https://ijcai.org/proceedings/2023/292"
pdf: "https://ijcai.org/proceedings/2023/0292.pdf"
venue: "Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence"
year: 2023
pages: "2624-2632"
track: "Main Track"
keywords:
  - "Game Theory and Economic Paradigms: GTEP: Noncooperative games"
  - "Game Theory and Economic Paradigms: GTEP: Other"
  - "Game Theory and Economic Paradigms: GTEP: Auctions and market-based systems"
---

# Inferring Private Valuations from Behavioral Data in Bilateral Sequential Bargaining

Lvye Cui, Haoran Yu

*Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence*, pages 2624-2632. DOI: [10.24963/ijcai.2023/292](https://doi.org/10.24963/ijcai.2023/292)

## Abstract

Inferring bargainers' private valuations on items from their decisions is crucial for analyzing their strategic behaviors in bilateral sequential bargaining. Most existing approaches that infer agents' private information from observable data either rely on strong equilibrium assumptions or require a careful design of agents' behavior models. To overcome these weaknesses, we propose a Bayesian Learning-based Valuation Inference (BLUE) framework. Our key idea is to derive feasible intervals of bargainers' private valuations from their behavior data, using the fact that most bargainers do not choose strictly dominated strategies. We leverage these feasible intervals to guide our inference. Specifically, we first model each bargainer's behavior function (which maps his valuation and bargaining history to decisions) via a recurrent neural network. Second, we learn these behavior functions by utilizing a novel loss function defined based on feasible intervals. Third, we derive the posterior distributions of bargainers' valuations according to their behavior data and learned behavior functions. Moreover, we account for the heterogeneity of bargainer behaviors, and propose a clustering algorithm (K-Loss) to improve the efficiency of learning these behaviors. Experiments on both synthetic and real bargaining data show that our inference approach outperforms baselines.

## Full text

## 1 Introduction

With the growing popularity of e-commerce, the bilateral sequential bargaining mechanisms that allow for haggling between sellers and potential buyers have emerged on online platforms [Gujral, 2016; Huang et al., 2013]. One prerequisite for designing and optimizing these bargaining mechanisms is analyzing bargainers' strategic behaviors. To achieve this target, it is important to infer bargainers' private valuations on the negotiated items. For example, if a seller's valuation on an item is known, it is easy to analyze whether the seller deceptively asks a high price during bargaining. Moreover, knowing the seller's valuation helps quantify the efficiency and equality of the bargaining outcome.

∗Corresponding author.

Figure 1: An Example of Our Inference Problem.

![Image](https://ijcai.org/proceedings/2023/fulltext/292/image_000000_948592ca20c38248909994a1f5e3e4274c8005bb5af23fbe48b20e283d22133c.png)

Many prior works applied an equilibrium-based approach to infer agents' private information (e.g., their valuations on items) [Athey and Haile, 2002; Jiang and Leyton-Brown, 2007; Athey and Nekipelov, 2010; Bajari et al., 2013]. The approach assumes that all agents are fully rational, each agent's action is the best response to others' actions, and their interactions always converge to a Nash equilibrium. It infers each agent's private information by computing the inverse of his best response function given his observed behavior. However, this equilibrium-based approach cannot solve the valuation inference problem for real-world bargaining platforms. This is because the strong assumption that agents are fully rational and play equilibrium strategies may not hold in practice [Goeree and Holt, 2001; Kagel and Roth, 2020; Noti, 2021]. Bargaining platforms usually involve millions of bargainers, who have different capabilities to analyze incomplete information extensive-form games and distinct beliefs about their opponents' information.

We focus on inferring bargainers' private valuations based on their strategic behaviors on bilateral bargaining platforms, without relying on equilibrium assumptions. An example of these platforms is eBay's Best Offer [Backus et al., 2020], where millions of sellers negotiate with buyers over their listed items. We use a thread to denote the price sequence generated from a seller-buyer pair's negotiation over an item, and a thread may consist of multiple rounds. In each round, given the opponent's last offer, the seller and buyer can accept it, decline it, or make a counteroffer.

A seller may negotiate with multiple buyers over the price of an item (or different copies of the same item, e.g., coupon cards, commemorative stamps, artworks, and sports trading cards). The seller's valuation on the item across these negotiations can usually be approximated as a constant, and we attempt to infer it by jointly analyzing the threads of these negotiations. Figure 1 shows an example, where a seller has three different threads after negotiating a book's price with three buyers. Given the three thread records, we intend to infer the seller's valuation on this book.

The main challenge of solving our problem is that sellers' private valuations cannot be directly observed in the bargaining data. This implies that we do not have labels to guide the valuation inference process. We address the challenge and propose a Bayesian Learning-based Valuation Inference (BLUE) scheme. Our key idea is to define and derive feasible intervals of sellers' private valuations according to their observed behaviors and leverage these feasible intervals to guide the inference of private valuations. Specifically, we make a mild rationality assumption that sellers do not choose strictly dominated strategies [Luce and Raiffa, 1989; Gopalakrishnan et al., 2018], e.g., sellers never propose or agree on prices lower than their valuations. This assumption enables us to utilize sellers' behavior data to derive posterior feasible intervals of their private valuations, which will be used to guide the inference of these valuations.

Next, we briefly introduce our inference framework. First, we model each seller's behavior function (which maps his bargaining history and private valuation to his decision) via a recurrent neural network. An accurate behavior function enables us to infer the seller's valuation from his observed decision. Second, we learn these behavior functions (i.e., the parameters of the neural networks) using sellers' behavior data. We derive feasible intervals of valuations according to the rationality assumption, and design a novel loss function based on the feasible intervals to train the neural networks. Our loss function ensures that the behaviors characterized by trained neural networks satisfy the rationality assumption and well fit the bargaining data. Third, we apply Bayes' rule to derive the posterior distributions of sellers' private valuations based on sellers' behavior data and trained neural networks. In addition to above three steps, we consider the heterogeneity among sellers' behaviors, and propose a clustering algorithm to enhance the learning of heterogeneous behavior functions.

We evaluate our method on two synthetic datasets and one large real-world dataset [Backus et al., 2020]. Compared with baselines, our method achieves more accurate and effective inference. Our contributions are two-fold:

- On the application side, we develop an effective valuation inference scheme for bilateral bargaining platforms. With inferred valuations of bargainers, these platforms can analyze their behaviors more accurately, and further optimize bargaining mechanisms to induce more bargainers to reach agreements.
- On the methodology side, we propose a novel framework for private information inference, through combining techniques from both economics and machine learn-

ing. Our framework is especially applicable to practical environments where agents cannot play equilibrium strategies due to their limited reasoning capabilities.

## 2 RelatedWork

## 2.1 Unknown Parameter Estimation in Games

Our work is related to the research that utilizes players' observed actions to estimate unknown parameters of games (e.g., the payoff matrices in normal-form games). Some works tackled the estimation problem by assuming that players play according to Nash equilibria [Varian, 2007; Vorobeychik et al., 2007; Waugh et al., 2011; Blum et al., 2014; Honorio and Ortiz, 2015]. Some recent studies considered other equilibrium assumptions. For example, [Ling et al., 2018; Ling et al., 2019; Noti, 2021; Wu et al., 2022] utilized the quantal-response equilibria (QRE) or Nested Logit QRE to estimate the parameters in games (such as normal-form games and Stackelberg games). These equilibrium-based estimation methods require strong cognitive and informational assumptions, e.g., players have full information of others' private preferences. Such requirements are usually unsatisfied in practical bilateral bargaining, where bargainers have limited knowledge about others' private information. In contrast, our inference scheme only requires bargainers not to choose strictly dominated strategies, and hence can handle more general human behavior in reality.

## 2.2 Private Information Inference in Auctions

Our work is also closely related to the literature that utilizes agents' bidding data to infer their private information in auctions. [Athey and Haile, 2002; Jiang and Leyton-Brown, 2007; Athey and Nekipelov, 2010; Bajari et al., 2013] inferred bidders' valuations on items according to their bids, by assuming that they are fully rational and play equilibrium strategies. An emerging line of research relaxes the full rationality assumption, and assumes that agents' strategies can be captured by specific bounded rational behavior models. For example, [Noti and Syrgkanis, 2021; Nekipelov et al., 2015; Nisan and Noti, 2017] inferred the information (e.g., the value-per-click) of each bidder in sponsored search auctions, by assuming that each bidder is a no-regret learner and bids to minimize the regret. These inference schemes require a careful manual design of agents' behavior models, and do not consider the heterogeneity of behaviors across agents. Moreover, they are mainly applicable to repeated auctions, which are distinct from online bargainings. By contrast, our scheme does not impose assumptions on the forms of agents' behavior models. It can automatically characterize bargainers' heterogeneous behaviors using neural networks, instead of manually designing specific unified models for them.

Other related studies include opponent modeling in automated negotiation [Hindriks and Tykhonov, 2008; Williams et al., 2011; Chen and Weiss, 2012; Baarslag et al., 2016; de Jonge, 2022] and preference elicitation [Boutilier et al., 2006; Guo and Sanner, 2010; Viappiani and Boutilier, 2010; Vendrov et al., 2020]. Different from these studies, our work focuses on price negotiation instead of multi-issue negotiation, and learns private information without querying individuals.

Figure 2: A bargaining thread with at most four rounds: s0 is the seller's initial price, and the bargaining ends if (i) the seller accepts the buyer's offer, or (ii) the buyer accepts the seller's offer, or (iii) the buyer declines the seller's offer.

![Image](https://ijcai.org/proceedings/2023/fulltext/292/image_000001_421eafec93b0756708a47339c1095e1fe9ab22291bc17f701940f0c920608cef.png)

## 3 ProblemFormulation

In this section, we introduce the bilateral sequential bargaining, and describe the valuation inference problem.

## 3.1 Bilateral Sequential Bargaining

We use a bargaining thread to refer to the sequence of price offers made by a seller-buyer pair bargaining over an item. The thread consists of at most L bargaining rounds. Let s0 denote the seller's initial price offer. Given s0, the buyer gives a counteroffer b1 in the first round. Then, the seller and the buyer would make decisions in the following way:

- In round i = 1, 2, . . . ,L - 1, given the buyer's price bi, the seller may (1) accept the offer, (2) make a counteroffer, or (3) decline the offer (i.e., insisting on his last offer si-1). If the seller accepts bi, the bargaining ends in round i; otherwise, bargaining goes to the next round.
- In round i = 2, 3, . . . ,L- 1, the buyer can also accept, decline, or counter in response to the seller's price si-1. If the buyer accepts or declines si-1, the bargaining terminates in round i; otherwise, it comes to the next round.
- In the final round L, the buyer accepts or declines the seller's offer sL-1, and the bargaining ends.

This is known as the alternating offers protocol [Raiffa, 1982], and we show an example of L = 4 in Figure 2.

## 3.2 Private Valuation Inference Problem

We use v(q) m to denote the private valuation of seller q for item m. It is defined as the lowest price that seller q can accept for selling item m. We consider a discrete v(q) m , since this lowest price is normally measured in dollars. This private value v(q) m directly affects seller q's bargaining behavior, as he seeks to sell itemmwith a price higher than v(q) m .

Let {(x(qm) ih , y(qm) ih )}Ih i=1 denote the set of labeled data points about thread h of seller q for item m, where Ih is the total number of rounds in thread h. Here, y(qm) ih denotes seller q's decision in round i of thread h for itemm, and x(qm) ih represents the sequence of all prior offers made before y(qm) ih in thread h. For example, considering the thread in Figure 2, when i = 1, there are two offers before the seller's decision of s1, which indicates that x(qm) ih = (s0, b1) and y(qm) ih = s1. When i = 2, x(qm) ih = (s0, b1, s1, b2) and y(qm) ih = s2.

We denote all threads that seller q has participated in to sell item m by H(q) m = {{(x(qm) ih , y(qm) ih )}Ih i=1 }Hm h=1 , where Hm is the number of threads related to item m. Then, we characterize all sellers' behaviors by thread dataset DH = {{H(q) m }Mq m=1 }Qq=1 , where Q is the number of sellers and Mq is the number of items that seller q bargains over. We describe our inference problem as follows:

Problem 1. Given thread dataset DH, we attempt to infer all sellers' private valuations on items, i.e., {{v(q) m }Mq m=1 }Qq=1 .

## 4 Private Valuation Inference Solution

We first explain our idea of solving Problem 1. Since a seller's valuation is usually correlated with his bargaining behavior, we propose to model his behavior via a function f (q) θ : (v(q) m , x(qm) ih ) → y(qm) ih . The function (characterized by parameters θ) maps seller q's valuation v(q) m and prior offers x(qm) ih to his decision y(qm) ih . In particular, y(qm) ih belongs to the set {accept, decline, counter1, . . . , counterN}, where set {counter1, . . . , counterN} includes all possible counter prices (e.g., measured in dollars). Once we learn this function, we can utilize Bayes' rule to derive the posterior distribution Pr(v(q) m |Y (q) m ;X (q) m , θ) for v(q) m :

<!-- formula-not-decoded -->

(1)

where Pr(v(q) m ) is the prior probability distribution of v(q) m , and X (q) m and Y (q) m include the prior offers and seller behaviors of all threads related to itemm and seller q, respectively. Here, we assume independence among threads to derive the second equality of (1), which can reduce the computational complexity of our scheme. With Pr(v(q) m |Y (q) m ;X (q) m , θ), we can infer each v(q) m by:

<!-- formula-not-decoded -->

Derivation of (1) requires an accurate behavior model f (q) θ to compute Pr(y(qm) ih |v(q) m ; x(qm) ih , θ). To achieve this, we design a novel loss function to optimize θ given thread dataset DH. Our loss function is defined based on a posterior feasible interval of v(q) m . Next, we introduce this feasible interval in Section 4.1, and study the optimization of θ in Section 4.2. To simplify the explanation, we first assume all sellers have the same behavior pattern, i.e., f (q) θ = fθ for all q ∈ {1, . . . ,Q}. In Section 4.3, we extend our solution to the case where sellers have distinct behavior patterns.

<!-- formula-not-decoded -->

## 4.1 Feasible Interval of Valuation

In the economics and game theory literature, strictly dominated strategies refer to the strategies that always result in lower payoffs than alternative strategies regardless of other players' strategies [Luce and Raiffa, 1989; Gopalakrishnan et al., 2018; Qin et al., 2019; Maschler et al., 2020]. We make a rationality assumption that sellers never choose strictly dominated strategies. Specifically, if the bargaining ends with an agreement, the seller's payoff equals the agreed price minus his valuation; otherwise, his payoff is zero. Under our rationality assumption, accepting the buyer's offer implies that the seller's valuation is no greater than the agreed price. This is because once the seller's valuation is greater than the price, accepting becomes a strictly dominated strategy and the seller will not choose this decision. Formally, our rationality assumption is as follows.

Assumption 1. In the bargaining process:(i) if a seller accepts a buyer's offer, the seller's valuation is no greater than the price; (ii) if a seller declines the buyer's offer in the last round, the seller's valuation is no less than the price; (iii) a seller never proposes a price less than his valuation.

We define the feasible interval of a seller's valuation as the set of all possible valuation values satisfying Assumption 1. Given thread dataset DH, we could derive the bounds c(q) m and d(q) m of the feasible interval of valuation v(q) m as follows:

<!-- formula-not-decoded -->

Here, we calculate [c(q) m , d(q) m ] as the intersections of the feasible intervals of all Hm threads. For thread h, we calculate its bounds c(q) mh and d(q) mh according to seller q's decision y(qm) Ihh in last round Ih: (i) When y(qm) Ihh ̸=accept, we have c(q) mh = b(qm) Ihh and d(q) mh =min{s(qm) 1h , s(qm) 2h , . . . , s(qm) Ihh }; (ii) Otherwise, we have c(q) mh =0 and d(q) mh =min{b(qm) Ihh , s(qm) 1h , . . . , s(qm) (Ih-1)h }.

## 4.2 Learning of Homogeneous Behavior

Given thread dataset DH and the set of our derived bounds {{c(q) m , d(q) m }Mq m=1 }Qq=1 , we design a novel loss function to learn θ. Our loss function consists of the following two parts:

- The first part is related to the rationality assumption. Given θ, we can infer the seller's valuation v(q) m . With accurate θ, the inferred v(q) m will fall into its feasible interval [c(q) m , d(q) m ]. Thus, our loss function's first part is the following negative log-likelihood function:

-

<!-- formula-not-decoded -->

Here, Pr(c(q) m ≤ v(q) m ≤ d(q) m |y(qm) ih ; x(qm) ih , θ) is the probability that the inferred valuation v(q) m belongs to the feasible interval [c(q) m , d(q) m ], given the prior offers x(qm) ih , the seller decision y(qm) ih , and the parameters θ.

## Algorithm 1 Homogeneous Behavior Learning Algorithm

Input: Thread dataset DH, prior distribution p(v(q) m ), learning rate η, maximum epoch times T , weight factor α. Output: Model fθt .

- 1: Compute the interval bounds {{c(q) m , d(q) m }Mq m=1 }Qq=1 .
- 2: Initialize θ with a random θ0, and set t = 0.
- 3: while t ≤ T and θ does not converge do
- 4: Compute the gradient ∇(1) θt of the first part of the loss function according to Equation (4).
- 5: Estimate v(q) m given θt based on Equations (1)-(2).
- 6: Compute the gradient ∇(2) θt of the second part of the loss function (shown in Equation (3)).
- 7: Update θ: θt+1 ← θt - ηα∇(1) θt - η(1-α)∇(2) θt .
- 8: t ← t + 1.
- 9: end while
- 10: return θt
- The second part is associated with the accuracy of the behavior model. With accurate θ, we can predict the seller decision under its valuation v(q) m and prior offers x(qm) ih as fθ(v(q) m , x(qm) ih ), and it will be close to the seller's actual decision y(qm) ih . Hence, the second part of our loss function is the following function:

<!-- formula-not-decoded -->

where L is the cross-entropy loss function. In the implementation, we do not know the actual value of v(q) m , which is our inference target. Instead, we use its estimated value, where the estimation is based on (1)-(2).

Our loss function is the weighted sum of the above two parts. Let α ∈ (0, 1) and 1-α be the weights of the first and second parts, respectively. By minimizing the loss function over θ, we can learn a function fθ that both satisfies the rationality assumption and well fits the seller bargaining behavior.

We design a homogeneous behavior learning algorithm (Algorithm 1) to learn seller behavior via minimizing the loss function. In lines 4 to 6 of Algorithm 1, we compute the gradient of our loss function. Specifically, in line 4, we compute the gradient of the first part of the loss, which is shown in (4). After getting θ via Algorithm 1, we utilize the Bayes' rule to infer each valuation v(q) m with Equations (1) and (2).

## 4.3 Extension for Heterogeneous Behavior

In the presence of heterogeneous behavior, a natural approach is to learn a behavior model for each seller utilizing only his thread data. However, each seller may only have a small number of bargaining threads, which may be insufficient for behavior learning. Considering that many sellers have similar behavior patterns, we propose an algorithm to cluster sellers, as shown in Algorithm 2.

Specifically, we partition sellers into K clusters (denoted by {Ck}Kk=1 ), and the sellers in Ck are assumed to have the same behavior pattern. Our algorithm iterates between two

<!-- formula-not-decoded -->

## Algorithm 2 K-Loss Clustering Algorithm

Input: Thread dataset DH, cluster number K, maximum epoch times E.

Output: {C1, . . . ,CK}.

- 1: Randomly assign sellers into K clusters {Ck}Kk=1 .
- 2: Let e = 0.
- 3: while e ≤ E and the clustering does not converge do
- 4: for k = 1, . . . ,K do
- 5: Learn behavior function g(Ck) θ , only based on the thread data related to the sellers in cluster Ck.
- 6: end for
- 7: Re-assign all sellers according to the prediction losses of K learned models on the seller thread data, i.e., assign seller q to cluster Ck if g(Ck) θ has the smallest prediction loss on his bargaining behavior data.
- 8: e ← e +1.
- 9: end while
- 10: return {C1, . . . ,CK}

steps: (i) learning the behavior model of sellers in each cluster, and (ii) updating the assignment of sellers to K clusters based on the fitness between the sellers' behavior data and the learned behavior models. Particularly, we use g(Ck) θ to denote the behavior pattern of sellers in cluster Ck. This g(Ck) θ is similar to fθ and can be learned via Algorithm 1. Since we are mainly concerned with the clustering performance in Algorithm 2, one approach to accelerating the learning of g(Ck) θ in line 5 is that we assume uniform valuations across sellers and simplify g(Ck) θ as a mapping from seller's bargaining thread histories to seller's decision.

After clustering sellers into K clusters, we further learn their behavior functions (captured by fθk : (v(q) m , x(qm) ih ) → y(qm) ih , ∀q ∈ Ck) via Algorithm1. Then, we infer their private valuations utilizing learned functions based on (1) and (2).

## 5 Experiments

## 5.1 Dataset Description

We generate synthetic data by simulating the process of bilateral bargaining (depicted in Figure 2). To model the diversity of sellers' and buyers' behaviors, we consider three kinds of patterns, i.e., simple, random and payoff-maximization.

- For the simple pattern, an agent accepts the opponent's offer as long as he can obtain a non-negative payoff.
- For the random pattern, an agent first estimates its opponent's private valuation, and then randomly takes actions from those that give it a non-negative expected payoff.
- For the payoff-maximization pattern, an agent chooses the action that maximizes his payoff, given his belief about the opponent. Specifically, the agent first updates his belief about the opponent's valuation based on the opponent's prior actions. Then, the agent reasons about the opponent's potential response in the new round, and chooses his action to maximize his expected payoff.

We synthesize two thread datasets (i.e., synthetic data I and synthetic data II), based on different distributions of agents' valuations. In synthetic data I and synthetic data II, all agents' valuations follow uniform and categorical distributions, respectively. We let the support of the valuation distribution be {10, 14, · · · , 98}. In each of synthetic data I and synthetic data II, we simulate 900 sellers (with bargaining behaviors uniformly chosen among the three patterns) and there are about 120, 000 bargaining threads.

We also conduct experiments on a large dataset collected from eBay's Best Offer platform [Backus et al., 2020]. It contains concrete bargaining information, e.g., seller ID, item ID, thread ID, and each thread's complete history. If a seller only has a limited number of decisions recorded, it is nearly impossible to infer his valuations on different items. Thus, we filter out these sellers, and our real dataset includes 32,099 sellers with 358,641 threads.

## 5.2 Experiment Settings

We compare six learning-based valuation inference methods (in Appendix A, we show the results of two sampling-based inference methods):

- BLUE (Bayesian Learning-based Valuation Inference): We assume all sellers have homogeneous behaviors, and implement Algorithm 1 for valuation inference.
- BLUE-C (BLUE with Clustering): We first cluster sellers via Algorithm 2, and then make inference for the sellers in each cluster via Algorithm 1.
- DL (Dual Learning): Dual learning [Qin, 2020; He et al., 2016] is a learning framework that utilizes the primal-dual structure of AI tasks to advance the learning

Table 1: Clustering on Two Synthetic Datasets: D-I and D-II represent synthetic data I and synthetic data II, respectively.

| Methods/Datasets   | G1 - Precision   | G1 - Recall   | G2 - Precision   | G2 - Recall   | G3 - Precision   | G3 - Recall   |
|--------------------|------------------|---------------|------------------|---------------|------------------|---------------|
| K-Means/D-I        | 0.647 ±0.088     | 0.629 ±0.156  | 0.480 ±0.109     | 0.479 ±0.067  | 0.543 ±0.072     | 0.809 ±0.209  |
| AE-Image/D-I       | 0.698 ±0.084     | 0.755 ±0.118  | 0.736 ±0.088     | 0.666 ±0.136  | 0.993 ±0.008     | 0.979 ±0.027  |
| K-Loss/D-I         | 0.992±0.006      | 0.998±0.002   | 0.998±0.002      | 0.989±0.011   | 1.000±0.000      | 1.000±0.000   |
| K-Means/D-II       | 0.904 ±0.085     | 0.300 ±0.191  | 0.467 ±0.077     | 0.657 ±0.080  | 0.730 ±0.086     | 0.952 ±0.028  |
| AE-Image/D-II      | 0.701 ±0.042     | 0.776 ±0.079  | 0.763 ±0.044     | 0.661 ±0.084  | 0.976 ±0.015     | 0.993 ±0.007  |
| K-Loss/D-II        | 0.995±0.003      | 0.993±0.002   | 0.998±0.002      | 0.992±0.003   | 1.000±0.000      | 1.000±0.000   |

Figure 3: Convergence of MSEs on Synthetic Validation Data.

![Image](https://ijcai.org/proceedings/2023/fulltext/292/image_000002_d9150ec4aa8a75b9d14d08d3aa1e38130b6297f7fedf8cf4904b31bb7c08728f.png)

process. DL applies the dual learning framework to infer valuations, by treating valuation inference as the primal task and behavior prediction as the dual task. In DL, all sellers are assumed to have homogeneous behaviors.

- DL-C (Dual Learning with Clustering): It extends DL by considering sellers' heterogeneous behaviors. When solving the dual task (i.e., behavior prediction), it utilizes our clustering Algorithm 2 to cluster sellers and learns behavior models for different clusters separately.
- SL (Single Learning): Unlike DL, single learning only considers the task of valuation inference. SL learns a function that uses the thread history and seller decision as inputs and the inferred valuation as its output.
- SL-C (Single Learning with Clustering): It extends SL by considering sellers' heterogeneous behaviors. It clusters sellers via Algorithm 2 and learns valuation inference models for different clusters separately.

In addition, we also compare different clustering schemes:

- K-Loss: It refers to Algorithm 2 in the last section.
- K-Means: It first learns the latent embedding of each seller's behavior via an auto-encoder [Vincent et al., 2010], and then uses K-means algorithm [Hartigan and Wong, 1979] to cluster these embeddings.
- AE-Image: Each seller's behavior is first embedded using an auto-encoder and then converted into an image. This scheme then extracts 4, 096-dimensional features from these behavior images with VGG16 [Simonyan and Zisserman, 2014], and further partitions sellers into K clusters based on these features.

## Implementation Details

For both synthetic data and real data, we randomly select 80% of all threads for training, 10% for validation, and 10% for testing. We model each behavior function fθ via a gated recurrent unit (GRU). The Adam optimizer with a learning rate of 0.001 is applied for our network training. The epoch number T is set to 500 with a batch size of 64, and the weight factor α is set to 0.6. The source code and data are available at: https://github.com/cuilvye/Bargaining-project.

Figure 4: MSEs of Six Methods on Synthetic Testing Data.

![Image](https://ijcai.org/proceedings/2023/fulltext/292/image_000003_52f7b51ec1ab565b8a007af4b05aebc7301d8000c54683f39437444295a5ff39.png)

## 5.3 Experiment Results

## Heterogeneous Behavior Clustering

We evaluate the clustering performance of different methods on two synthetic datasets, where we know the ground truth of different sellers' behavior patterns. Recall that in both synthetic data I and synthetic data II, we simulate 900 sellers whose behaviors are randomly chosen among three pattern groups. We denote the three pattern groups by G1, G2, and G3. Table 1 summarizes the clustering precisions and recalls of three clustering approaches after five runs of experiments on G1, G2, and G3. Our K-Loss achieves the best performance in all cases, and can accurately assign the sellers with the same bargaining pattern into the same cluster.

## Valuation Inference on Synthetic Data

On the synthetic datasets, we characterize the valuation inference performance by the mean squared error (MSE), where the error of an inferred valuation is its squared distance to the actual valuation. Figure 3 shows the convergence performance of different inference schemes. It plots the MSEs achieved on synthetic validation data after running these schemes for different numbers of iterations. We test six random seeds, and the shadows in Figure 3 indicate the standard deviations of MSEs. Our BLUE-C and BLUE converge to much lower MSEs than other schemes on both datasets.

Figure 4 presents different methods' average MSEs after six runs of experiments on the testing data of two synthetic datasets. BLUE-C achieves the lowest MSE (less than 15.0) on both datasets, and other methods have relatively large MSEs (with the smallest MSE being 72.5). BLUE also outperforms all comparison methods on both datasets. We also

Figure 5: RCIRs of Six Methods on Synthetic Testing Data.

![Image](https://ijcai.org/proceedings/2023/fulltext/292/image_000004_0b7a799af9dec9b90162d03d3c1886c5cffcd46a744c74e8a84821b74837cf33.png)

![Image](https://ijcai.org/proceedings/2023/fulltext/292/image_000005_0654cac4a354d9edaa8e3c364f8006c9e123a034b1b8e30d74cb32dc96e173fc.png)

(a) Different Neural Networks. (b) Different Inference Methods.

Figure 6: Convergence of RCIRs on Real Validation Data.

notice that clustering-based inference methods perform better than those without clustering, e.g., DL-C is better than DL.

In addition to MSEs, we compare different inference methods in terms of the fractions of inferred valuations satisfying the rationality assumption. Specifically, we define Rationality-Compatible Inference Rate (RCIR) as the percentage of inferred valuations that belong to the feasible intervals derived based on rationality assumption. Intuitively, a method achieving a higher RCIR can infer valuations more accurately. Figure 5 shows the average RCIRs of different methods after six runs of experiments on the testing data of synthetic datasets. The RCIRs of our schemes (BLUE-C and BLUE) are above 90%, and those of other methods are below 67%. This result is consistent with Figure 4, and implies that RCIR is a good indicator of the inference performance.

## Valuation Inference on Real Data

Our real data from eBay does not record sellers' actual valuations. Hence, we cannot directly compare the MSEs of different methods on the real data. Instead, we compare different methods using two criteria: the RCIR and the ratio of satisfying the secret bounds (as defined later).

In order to justify our choice of the recurrent neural network (GRU), we investigate the performance of Transformer under our BLUE-C scheme. Figure 6a presents the RCIRs of the two neural networks at different iterations on the real validation data. They converge to similar RCIRs. Since Transformer has more learning parameters, its training is much slower than GRU. Hence, we employ GRU to implement all inference schemes when performing other experiments.

Figure 6b shows the RCIRs of different inference schemes at different iterations on the real validation data. We can observe that our BLUE-C and BLUE converge to much higher RCIRs than other schemes.

We show the performance of different methods on real testing data. Figure 7a presents different methods' RCIRs. Our BLUE-C achieves the highest RCIR (i.e., 89.0%). In Figure 7b, we compare different methods using a new criterion. To enable auto-declining and auto-accepting of offers, each seller can inform eBay of an upper bound and a lower bound of its private valuation. For example, if a buyer's offer exceeds the upper bound, eBay will accept the offer on behalf of the seller. We call these secret bounds. They are also recored in eBay's dataset, and are closely related to the sellers' actual private valuations. Figure 7b shows the ratio of inferred valuations satisfying these secret bounds. Our BLUE-C still achieves the highest ratio (i.e., 77.0%), while the ratios under all baselines are no greater than 66.5%.

Figure 7: Comparison Between Methods on Real Testing Data.

![Image](https://ijcai.org/proceedings/2023/fulltext/292/image_000006_cbab06bb4570ee41eaf0d5352c195cff824b05f6d40a2e623be464b8a117ce52.png)

Table 2: Comparison with Sampling-Based Methods.

| Random   | Mean         |              | BLUE-C       |
|----------|--------------|--------------|--------------|
| D-I      | 66.64±2.81   | 41.22 ± 2.17 | 12.97 ± 1.98 |
| D-II     | 69.89±4.43   | 42.89 ± 1.73 | 14.71 ± 3.24 |
| D-R      | 63.54%±0.33% | 65.49%±0.60% | 77.03%±0.97% |

## 6 Conclusion

In this paper, we proposed a novel framework for inferring bargainers' private valuations on items in bilateral sequential bargaining. Our inference framework works in general scenarios where bargainers may not play equilibrium strategies due to their limited reasoning capabilities and knowledge. It can automatically characterize bargainers' behaviors through neural networks rather than manually designed models. Our future research will explore the theoretical foundations of our methods and extend them to account for time-discounted valuations. Another extension is generalizing our framework to multilateral bargaining, where an agent negotiates the price of a homogeneous product with different opponents simultaneously to elicit a more favorable offer [Thomas and Wilson, 2002; Thomas and Wilson, 2014].

## A Comparison with Sampling-BasedMethods

We consider two sampling-based methods: Random: selecting random values from the feasible intervals; Mean: using the means of the bounds of feasible intervals. We evaluate them based on the mean squared errors on two synthetic datasets (D-I, D-II) and the ratios of satisfying the secret bounds on real data (D-R). Table 2 shows that our scheme outperforms these two methods.

## Acknowledgments

This work was supported by the National Natural Science Foundation of China (No. 62202050) and the Beijing Institute of Technology Research Fund Program for Young Scholars.

## References

1. [Athey and Haile, 2002] Susan Athey and Philip A Haile. Identification of standard auction models. Econometrica, 70(6):2107-2140, 2002.
2. [Athey and Nekipelov, 2010] Susan Athey and Denis Nekipelov. A structural model of sponsored search advertising auctions. In Proceedings of the Sixth Ad Auctions Workshop, volume 15, 2010.
3. [Baarslag et al., 2016] Tim Baarslag, Mark JC Hendrikx, Koen V Hindriks, and Catholijn M Jonker. Learning about the opponent in automated bilateral negotiation: a com- prehensive survey of opponent modeling techniques. Au- tonomous Agents and Multi-Agent Systems, 30:849-898, 2016.
4. [Backus et al., 2020] Matthew Backus, Thomas Blake, Brad Larsen, and Steven Tadelis. Sequential bargaining in the field: Evidence from millions of online bargaining interac- tions. The Quarterly Journal of Economics, 135(3):1319- 1361, 2020.
5. [Bajari et al., 2013] Patrick Bajari, Han Hong, and Denis Nekipelov. Game theory and econometrics: A survey of some recent research. In Advances in Economics and Econometrics, 10th World Congress, volume 3, pages 3- 52, 2013.
6. [Blum et al., 2014] Avrim Blum, Nika Haghtalab, and Ariel D Procaccia. Learning optimal commitment to over- come insecurity. Advances in Neural Information Process- ing Systems, 27, 2014.
7. [Boutilier et al., 2006] Craig Boutilier, Relu Patrascu, Pas- cal Poupart, and Dale Schuurmans. Constraint-based opti- mization and utility elicitation using the minimax decision criterion. Artificial Intelligence, 170(8-9):686-713, 2006.
8. [Chen and Weiss, 2012] Siqi Chen and Gerhard Weiss. An efficient and adaptive approach to negotiation in complex environments. In Proceedings of the 20th European Con- ference on Artificial Intelligence, volume 242, pages 228- 233, 2012.
9. [de Jonge, 2022] Dave de Jonge. An analysis of the linear bi- lateral anac domains using the micro benchmark strategy. In Proceedings of the 31st International Joint Conference on Artificial Intelligence, pages 23-29, 2022.
10. [Goeree and Holt, 2001] Jacob K Goeree and Charles A Holt. Ten little treasures of game theory and ten intuitive contradictions. American Economic Review, 91(5):1402- 1422, 2001.
11. [Gopalakrishnan et al., 2018] Raga Gopalakrishnan, Theja Tulabandhula, and Koyel Mukherjee. Sequential individ- ual rationality in dynamic ridesharing. Available at SSRN 3288319, 2018.
12. [Gujral, 2016] Kritee Gujral. Bargaining vs. Posted Prices: An Analysis Using the eBay Automobile Market. PhD the- sis, University of Florida, 2016.
13. [Guo and Sanner, 2010] Shengbo Guo and Scott Sanner. Real-time multiattribute bayesian preference elicitation with pairwise comparison queries. In Proceedings of the Thirteenth International Conference on Artificial Intelli- gence and Statistics, pages 289-296, 2010.
14. [Hartigan and Wong, 1979] John A Hartigan and Manchek A Wong. Algorithm as 136: A k-means clustering algorithm. Journal of The Royal Statistical Society. Series C (Applied Statistics), 28(1):100-108, 1979.
15. [He et al., 2016] Di He, Yingce Xia, Tao Qin, Liwei Wang, Nenghai Yu, Tie-Yan Liu, and Wei-Ying Ma. Dual learn- ing for machine translation. Advances in Neural Informa- tion Processing Systems, 29, 2016.
16. [Hindriks and Tykhonov, 2008] Koen Hindriks and Dmytro Tykhonov. Opponent modelling in automated multi-issue negotiation using bayesian learning. In Proceedings of the 7th International Joint Conference on Autonomous Agents and Multiagent systems -Volume 1, pages 331-338, 2008.
17. [Honorio and Ortiz, 2015] Jean Honorio and Luis E Ortiz. Learning the structure and parameters of large-population graphical games from behavioral data. J. Mach. Learn. Res., 16(1):1157-1210, 2015.
18. [Huang et al., 2013] He Huang, Robert J Kauffman, Hongyan Xu, and Lan Zhao. A hybrid mechanism for heterogeneous e-procurement involving a combinatorial auction and bargaining. Electronic Commerce Research and Applications, 12(3):181-194, 2013.
19. [Jiang and Leyton-Brown, 2007] Albert Xin Jiang and Kevin Leyton-Brown. Bidding agents for online auctions with hidden bids. Machine Learning, 67(1):117-143, 2007.
20. [Kagel and Roth, 2020] John H Kagel and Alvin E Roth. The handbook of experimental economics, volume 2. Princeton university press, 2020.
21. [Ling et al., 2018] Chun Kai Ling, Fei Fang, and J Zico Kolter. What game are we playing? end-to-end learning in normal and extensive form games. In Proceedings of the 27th International Joint Conference on Artificial Intel- ligence, pages 396-402, 2018.
22. [Ling et al., 2019] Chun Kai Ling, Fei Fang, and J Zico Kolter. Large scale learning of agent rationality in two- player zero-sum games. In Proceedings of the AAAI Con- ference on Artificial Intelligence, volume 33, pages 6104- 6111, 2019.
23. [Luce and Raiffa, 1989] R Duncan Luce and Howard Raiffa. Games and decisions: Introduction and critical survey. Courier Corporation, 1989.
24. [Maschler et al., 2020] Michael Maschler, Shmuel Zamir, and Eilon Solan. Game theory. Cambridge University Press, 2020.
25. [Nekipelov et al., 2015] Denis Nekipelov, Vasilis Syrgkanis, and Eva Tardos. Econometrics for learning agents. In Pro- ceedings of the Sixteenth ACM Conference on Economics and Computation, pages 1-18, 2015.
26. [Nisan and Noti, 2017] Noam Nisan and Gali Noti. An ex- perimental evaluation of regret-based econometrics. In Proceedings of the 26th International Conference on World Wide Web, pages 73-81, 2017.
27. [Noti and Syrgkanis, 2021] Gali Noti and Vasilis Syrgkanis. Bid prediction in repeated auctions with learning. In Pro- ceedings of the Web Conference, pages 3953-3964, 2021.
28. [Noti, 2021] Gali Noti. From behavioral theories to econo- metrics: Inferring preferences of human agents from data on repeated interactions. In Proceedings of the AAAI Con- ference on Artificial Intelligence, volume 35, pages 5637- 5646, 2021.
29. [Qin et al., 2019] Xinghong Qin, Qiang Su, Samuel H Huang, Uco Jillert Wiersma, and Ming Liu. Service qual- ity coordination contracts for online shopping service sup- ply chain with competing service providers: integrating fairness and individual rationality. Operational Research, 19(1):269-296, 2019.
30. [Qin, 2020] Tao Qin. Dual Learning. Springer, 2020.
31. [Raiffa, 1982] Howard Raiffa. The art and science of nego- tiation. Harvard University Press, 1982.
32. [Simonyan and Zisserman, 2014] Karen Simonyan and An- drew Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014.
33. [Thomas and Wilson, 2002] Charles J Thomas and Bart J Wilson. A comparison of auctions and multilateral ne- gotiations. RAND Journal of Economics, pages 140-155, 2002.
34. [Thomas and Wilson, 2014] Charles J Thomas and Bart J Wilson. Horizontal product differentiation in auctions and multilateral negotiations. Economica, 81(324):768-787, 2014.
35. Hal R Varian. Position auctions. Interna- tional Journal of Industrial Organization, 25(6):1163- 1178, 2007.
36. [Vendrov et al., 2020] Ivan Vendrov, Tyler Lu, Qingqing Huang, and Craig Boutilier. Gradient-based optimization for bayesian preference elicitation. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 10292-10301, 2020.
37. [Viappiani and Boutilier, 2010] Paolo Viappiani and Craig Boutilier. Optimal bayesian recommendation sets and my- opically optimal choice query sets. Advances in neural information processing systems, 23, 2010.
38. [Vincent et al., 2010] Pascal Vincent, Hugo Larochelle, Is- abelle Lajoie, Yoshua Bengio, Pierre-Antoine Manzagol, and Léon Bottou. Stacked denoising autoencoders: Learn- ing useful representations in a deep network with a lo- cal denoising criterion. Journal of Machine Learning Re- search, 11(12), 2010.
39. [Vorobeychik et al., 2007] Yevgeniy Vorobeychik, Michael P Wellman, and Satinder Singh. Learning payoff functions in infinite games. Machine Learning, 67(1):145-168, 2007.
40. [Waugh et al., 2011] Kevin Waugh, Brian D Ziebart, and J Andrew Bagnell. Computational rationalization: The inverse equilibrium problem. In Proceedings of the 28th International Conference on Machine Learning, pages 1169-1176, 2011.
41. [Williams et al., 2011] Colin R Williams, Valentin Robu, Enrico H Gerding, and Nicholas R Jennings. Using gaus- sian processes to optimise concession in complex negoti- ations against unknown opponents. In Proceedings of the 22nd International Joint Conference on Artificial Intelli- gence, pages 432-438, 2011.
42. [Wu et al., 2022] Jibang Wu, Weiran Shen, Fei Fang, and Haifeng Xu. Inverse game theory for stackelberg games: the blessing of bounded rationality. Advances in Neural Information Processing Systems, 2022.
