A Transformer-Based Neural Network for Optimal Deterministic-Allocation and Anonymous Joint Auction Design Zhen Zhang, Luowen Liu, Wanzhi Zhang, Zitian Guo, Kun Huang, Qi Qi, Qiang Liu, Xingxing Wang Abstract With the advancement of machine learning, an increasing number of studies are employing automated mechanism design (AMD) methods for optimal auction design. However, all previous AMD architectures designed to generate optimal mechanisms that satisfy near dominant strategy incentive compatibility (DSIC) fail to achieve deterministic allocation, and some also lack anonymity, thereby impacting the efficiency and fairness of advertising allocation. This has resulted in a notable discrepancy between the previous AMD architectures for generating near-DSIC optimal mechanisms and the demands of real-world advertising scenarios. In this paper, we prove that in all online advertising scenarios, previous non-deterministic allocation methods lead to the non-existence of feasible solutions, resulting in a gap between the rounded solution and the optimal solution. Furthermore, we propose JTransNet, a transformer-based neural network architecture, designed for optimal deterministic-allocation and anonymous joint auction design. Although the deterministic allocation module in JTransNet is designed for the latest joint auction scenarios, it can be applied to other non-deterministic AMD architectures with minor modifications. Additionally, our offline and online data experiments demonstrate that, in joint auction scenarios, JTransNet significantly outperforms baseline methods in terms of platform revenue, resulting in a substantial increase in platform earnings. † † footnotetext: ∗ Both authors contribute equally to this research. † Corresponding author. K eywords Joint auction, Neural network, JTransNet 1 Introduction Internet ad generates substantial revenue, amounting to tens of billions of dollars annually, for internet companies. The field of ad auction design has attracted considerable attention from both academia and industry. In particular, sponsored search auctions, a prevalent method in online ad markets, allocate ad slots and determine payments based on advertisers’ bids, leading to the concept of position auctions [ 1 , 2 ] . Ad supports the development of internet companies. Thus, maximizing ad revenue has become a key focus for both academic researchers and industry professionals. Currently, most e-commerce companies use the traditional ad model where only stores can bid for ad positions to promote their products. However, brand suppliers are equally eager to compete for these ad positions to increase the visibility of their brands. Recently, an innovative joint ad model proposed by Zhang et al. [ 3 ] has effectively addressed this issue, which allows both stores and brands to bid for ad positions in ad auctions, as shown in Figure 1 . In the joint ad model, each ad position displays a bundle composed of a store and a brand, effectively meeting the needs of both stores and brands while also increasing the revenue of internet ad platforms, creating a win-win situation. Figure 1: Comparison between Traditional Ad Model and Joint Ad Model. Nevertheless, the complexity of joint auctions, such as the difficulty in determining the payments for the store and brand within the bundle, may render most commonly used mechanisms inapplicable to joint auctions. While theoretical research has encountered bottlenecks, the paradigm of automated mechanism design (AMD) [ 4 , 5 , 3 ] has been proposed in recent years for optimal auction design. However, although AMD methods that satisfy near-dominant strategy incentive compatibility (DSIC) can achieve approximately optimal revenue, they have not yet been adopted in the industry, and there is no research on any such AMD architecture that has been truly deployed online. Even though these methods can achieve higher ad revenue, they do not seem to be popular in the industry. In our attempts to deploy AMD architectures that satisfy near-DSIC online, we find that compared to widely used ad mechanisms such as GSP and VCG, all previous AMD methods generate probabilistic allocation mechanisms rather than deterministic ones where ad slots are ultimately allocated to an advertiser or a bundle with certainty. This may be the primary reason why such AMD methods have not been truly utilized in the industry. We demonstrate that in the online ad scenario, the non-deterministic probabilistic allocation results output by almost all near-DSIC AMD architectures are infeasible in the vast majority of cases, while deterministic allocation does not have this issue. Additionally, all widely adopted online ad mechanisms are deterministic, while non-deterministic probabilistic allocation mechanisms are difficult for advertisers to understand and accept, potentially leading to a significant risk of advertiser loss for internet platforms. In addition, some AMD architectures, especially those in joint scenarios [ 3 ] , do not satisfy anonymity, which is a concern for advertisers. Anonymity means that the identities and the bid order of participants do not influence the auction outcomes, i.e., the auction outcomes depend only on the values of the bids and are independent of the identities and the bid order of the participants, which makes auctions fairer. Therefore, it is crucial for the true online deployment of AMD architectures in the industry to explore how to design AMD architectures that can generate optimal anonymous and deterministic allocation mechanisms that satisfy near-DSIC and individual rationality (IR). 1.1 Main Contributions This paper is the first to use AMD architecture to generate optimal anonymous and deterministic-allocation mechanisms that satisfy near-DSIC and IR. We propose a novel neural network architecture, J oint Trans former-Based Neural Net work (JTransNet) to achieve this. JTransNet effectively tackles the unique challenges presented by anonymous and deterministic-allocation auction, which are not sufficiently addressed by existing popular neural network architectures (e.g., [ 6 , 7 , 5 , 3 ] ): • The correlated bids among the bundles. Although JTransNet inputs the bid of each bundle to enhance the learning of bundle bid information, it ultimately converts the allocation results of each bundle for each ad slot into the allocation results for each store or brand for each ad slot, and calculates the final payment based on the independent bids of the stores and brands. This method prevents payments from depending on bundle bids, effectively mitigating the issue of correlated bids. • Implementation of deterministic allocation. To the best of our knowledge, no previous AMD architecture designed to generate near-DSIC optimal mechanisms has accomplished deterministic allocation. This is challenging because the allocation results of deterministic mechanisms are non-differentiable, and the training of neural networks requires differentiable allocation results to compute gradients. To address this challenge, we introduce an approximately differentiable representation of the allocation results during the training phase of JTransNet to compute gradients, thereby optimizing JTransNet. • Implementation of anonymity. In the joint auction scenario, there is currently no AMD architecture that achieves anonymity. To achieve this, we incorporate the transformer module into JTransNet and adjust its neural network structure so that changes in the order of bids do not affect the neurons corresponding to each bid, thereby generating anonymous mechanisms. • Implementation of joint auction constraints. In joint auctions, two constraints exist, i.e., each bundle can occupy at most one slot, and vice versa. To implement these constraints, JTransNet ensures that, in the final allocation matrix for each bundle to each ad slot, each row and each column has at most one “1”, representing an allocation, while all other entries are “0”. • Calculation of payments. Determining the individual payments of the store and brand within each bundle that obtains an ad slot is complex. To tackle this issue, JTransNet optimizes a set of parameters to scale the total expected value of each store and brand, and the scaled values are defined as their payments. JTransNet uses a sigmoid function to calculate each parameter, guaranteeing that the payment is consistently lower than the bid, and satisfying IR. According to our experimental results on both simulated and real data, JTransNet can achieve significantly higher revenue than baseline methods with only a minimal loss in social welfare compared to the VCG mechanism that maximizes social welfare. This not only proves the effectiveness of JTransNet but also demonstrates its excellent ability to balance revenue and social welfare, making it an exceptional choice for real joint auction scenarios. Additionally, we deploy JTransNet in joint auction scenarios on a real e-commerce platform, and in online A/B tests, JTransNet substantially increases the platform’s revenue. This further demonstrates the generality and scalability of JTransNet for real joint ad scenarios. As far as we know, JTransNet is the first AMD architecture for generating near-DSIC optimal mechanisms to be deployed in real industrial scenarios. Anonymity and deterministic allocation make JTransNet a truly end-to-end neural network architecture that aligns with the real ad scenarios of internet companies, making it easy to implement and deploy in the ad systems of actual internet platforms. It is worth noting that our novel model design and innovative technical methods for achieving anonymity and deterministic allocation can also be extended to other AMD architectures, which is of significant importance for the practical promotion of AMD methods. 1.2 Related Work Currently, traditional ad auction mechanisms, such as the Generalized Second Price (GSP) auction [ 1 , 8 ] , have been widely adopted in the industry. The simplicity and comprehensibility of GSP are the main reasons for its prevalence in practical ad markets [ 9 , 10 , 11 ] . Subsequently, more and more variants of GSP have been proposed, such as the introduction of the “squashing” concept [ 12 ] , and the simultaneous introduction of “reserve price” and “squashing” concepts [ 13 ] . However, in joint auctions, it is difficult to define the equilibrium of GSP. Another important mechanism is the theoretically optimal Myerson mechanism [ 14 ] , which is used for single, indivisible item auctions. However, the correlated bids in joint auctions render the Myerson mechanism invalid. Additionally, the Vickrey-Clarke-Groves (VCG) mechanism [ 15 , 16 , 17 ] aims to design mechanisms that optimize social welfare while satisfying DSIC and IR. There are also many other variants of the VCG mechanism, such as mixed bundling auctions [ 18 ] and mixed-bundling auctions that include reserve prices [ 19 ] . As far as we know, VCG is the only traditional mechanism that is applicable to joint auctions, but it does not perform well in terms of revenue. In this paper, we propose JTransNet to generate an optimal deterministic-allocation mechanism that satisfies near-DSIC and IR. In contrast to the bottlenecks in theoretical research, the paradigm of automated mechanism design (AMD) [ 20 , 21 , 22 ] has been proposed for multi-item auction design with the development of machine learning. A foundational work in the field of AMD is RegretNet, proposed by Dütting et al. [ 4 ] , which is the first neural network architecture for optimal multi-item auctions. Subsequently, many extension works based on RegretNet have been proposed, such as budget constraints [ 6 ] and human preferences [ 23 ] . The permutation-equivariant architecture EquivariantNet [ 7 ] is proposed for symmetric auction design. Duan et al. [ 5 ] design the CITransNet architecture based on Transformer for contextual auction scenarios. Ivanov et al. [ 24 ] propose the RegretFormer architecture and improve the loss function. Zhang et al. [ 3 ] proposes the first AMD architecture suitable for joint auctions, JRegNet, for optimal joint auction design. However, whether it is JRegNet or all previous AMD architectures, the encoded auction mechanisms are not deterministic allocations but non-deterministic probabilistic allocations. This brings significant challenges to the practical implementation and deployment of all AMD architectures in real-world industries. Additionally, JRegNet is not anonymous, meaning that simply changing the order of bids results in different allocation and payment outcomes under the JRegNet-encoded mechanism. This makes the auction very unfair and unconvincing. In addition, Aggarwal et al. [ 25 ] investigate the joint advertising scenario from a theoretical perspective, modeling it as a decision-making problem over multiple periods. Ma et al. [ 26 ] propose JAMA, which is based on VCG and suitable for joint advertising models. However, the revenue of JAMA is not high. Our proposed JTransNet solves all these problems and achieves near-optimal revenue in joint auctions. 2 Preliminaries In this section, we formulate the joint auction scenario and convert the optimal auction design problem in this scenario into a learning problem. 2.1 Joint ad model In the joint ad model, each user search corresponds to an ad auction, after which the platform presents an interface with K ad slots. Each ad slot k\in\mathbb{K}=\{1,\ldots,K\} has a Click-Through Rate (CTR) denoted by \alpha_{k} , with the assumption that, w.l.o.g., 1>\alpha_{1}\geq\cdots\geq\alpha_{K}>0 . In the joint auction phase, m brands and n stores participate, with each ad slot allocated to a bundle consisting of one brand and one store. Let M=\{1,\ldots,m\} represent the set of brands, and N=\{1,\ldots,n\} represent the set of stores. The joint relationship matrix \{\mathbf{1}_{ij}\}_{i\in M,j\in N} indicates whether a specific brand and store can form a bundle. If \mathbf{1}_{ij}=1 , it signifies that brand i and store j have a selling relationship, allowing them to be bundled together. We use C to represent the total number of bundles. Since, in general, the number of ads recalled by the ad platform is much greater than the number of ad slots, we assume that C is greater than K . We use v_{i\cdot} (or v_{\cdot j} ) to represent the value per click for brand i (or store j ). Each advertiser keeps their value information private. Assume that v_{i\cdot} (or v_{\cdot j} ) is drawn from a known distribution and belongs to the set V_{i\cdot} (or V_{\cdot j} ). We denote the value profile as \boldsymbol{v}=(v_{1\cdot},\ldots,v_{m\cdot},v_{\cdot 1},\ldots,v_{\cdot n})\in\mathbb{V} , where \mathbb{V}=V_{1\cdot}\times\cdots\times V_{m\cdot}\times V_{\cdot 1}\times\cdots\times V_{\cdot n} . The value profile excluding brand i is denoted by \boldsymbol{v}_{-i\cdot}=(v_{1\cdot},\ldots,v_{(i-1)\cdot},v_{(i+1)\cdot},\ldots,v_{\cdot n}) (a similar definition applies for each store j ). For each brand i (or store j ), the bid price is denoted as b_{i\cdot} (or b_{\cdot j} ). Similarly, the corresponding bid profile is represented by \boldsymbol{b} and \boldsymbol{b}_{-i\cdot} (or \boldsymbol{b}_{\cdot-j} ). We represent the joint auction mechanism as \mathcal{M}(g,p) , which comprises two components: the allocation rule g=\big((g_{i\cdot})_{i\in M}, (g_{\cdot j})_{j\in N}\big) and the payment rule p=\big((p_{i\cdot})_{i\in M},(p_{\cdot j})_{j\in N}\big) . The term g_{i\cdot}(\boldsymbol{b})=\sum_{k=1}^{K}{a_{i\cdot k}(\boldsymbol{b})\alpha_{k}} represents the expected CTR for brand i (or store j ), where a_{i\cdot k}(\boldsymbol{b}) is the probability that the k -th ad slot is assigned to brand i . The payment rule (p_{i\cdot})_{i\in M} (or (p_{\cdot j})_{j\in N} ): \mathbb{V}\to\mathbb{R}^{+}\cup\{0\} represents the expected payment by brand i (or store j ). In the joint ad model, a bundle can occupy no more than one slot, and a slot can be assigned to no more than one bundle. The utility for each brand i is defined as u_{i\cdot}(v_{i\cdot};\boldsymbol{b})=v_{i\cdot}(g_{i\cdot}(\boldsymbol{b}))-p_{i\cdot}(\boldsymbol{b}) (a similar definition applies for each store j ). In this paper, our goal is to design anonymous, highly monotonic, and deterministic-allocation mechanisms that satisfy DSIC and IR. The properties of deterministic allocation and anonymity are outlined in Properties 1 and 2, respectively, while DSIC and IR are defined in Definitions 1 and 2. According to Theorem 1, compared to non-deterministic allocation, deterministic allocation is of significant importance for the online deployment of AMD architectures in real advertising scenarios, and the proof of Theorem 1 is provided in Appendix A . Property 1 (Deterministic allocation) For a joint auction, deterministic allocation is satisfied if each ad slot is deterministically allocated with a probability of 1 to a bundle composed of a brand and a store. Property 2 (Anonymity) A joint auction satisfies anonymity if and only if the joint auction outcomes depend only on the values of the bids and are independent of the identities and the bid order of the participants. Theorem 1 The non-deterministic allocation output by all mainstream AMD architecture may not be feasible if all ad slots must be allocated. Definition 1 (DSIC) A joint auction satisfies dominant strategy incentive compatibility if, for every brand and store, reporting their true valuation maximizes their utility, regardless of others’ reports, i.e., u_{i\cdot}(v_{i\cdot};(v_{i\cdot},\boldsymbol{b}_{-i\cdot}))\geq u_{i\cdot}(v_{i\cdot};(b_{i\cdot},\boldsymbol{b}_{-i\cdot})), \forall i\in M,\forall v_{i\cdot}\in V_{i\cdot},\forall b_{i\cdot}\in V_{i\cdot},\forall\boldsymbol{b}_{-i\cdot}\in\mathbb{V}_{-i\cdot}, and u_{\cdot j}(v_{\cdot j};(v_{\cdot j},\boldsymbol{b}_{-\cdot j}))\geq u_{\cdot j}(v_{\cdot j};(b_{\cdot j},\boldsymbol{b}_{-\cdot j})), \forall j\in N,\forall v_{\cdot j}\in V_{\cdot j},\forall b_{\cdot j}\in V_{\cdot j},\forall\boldsymbol{b}_{-\cdot j}\in\mathbb{V}_{-\cdot j}. Definition 2 (IR) A joint auction satisfies individual rationality if every brand and store can ensure a non-negative utility, as long as they truthfully report their values, i.e., u_{i\cdot}(v_{i\cdot};(v_{i\cdot},\boldsymbol{b}_{-i\cdot}))\geq 0,\quad\forall i\in M,\forall v_{i\cdot}\in V_{i\cdot},\forall\boldsymbol{b}_{-i\cdot}\in\mathbb{V}_{-i\cdot}, and u_{\cdot j}(v_{\cdot j};(v_{\cdot j},\boldsymbol{b}_{-\cdot j}))\geq 0,\quad\forall j\in N,\forall v_{\cdot j}\in V_{\cdot j},\forall\boldsymbol{b}_{-\cdot j}\in\mathbb{V}_{-\cdot j}. In addition, we define the platform’s expected revenue as: rev:=\mathbb{E}_{\boldsymbol{v}\sim F}\big[\sum_{i=1}^{m}{p_{i\cdot}(\boldsymbol{v})}+\sum_{j=1}^{n}{p_{\cdot j}(\boldsymbol{v})}\big], i.e., the expected sum of all bidders’ payments, where F represents the joint value distribution of all bidders containing brands and stores. Our objective is to design an anonymous and deterministic-allocation mechanism satisfying the DSIC and IR while maximizing the platform’s expected revenue, i.e., optimal anonymous and deterministic-allocation joint auction design. 2.2 Optimal Auction Design to a Learning Problem We transform the optimal anonymous and deterministic-allocation joint auction design into a learning problem. First, we define ex-post regret to implement the DSIC constraint. The ex-post regret for brand i is defined as follows (a similar definition applies for each store j ): rgt_{i\cdot}(\boldsymbol{v})=\mathbb{E}_{v\sim F}[\max_{v_{i\cdot}^{\prime}\in V_{i\cdot}}{u_{i\cdot}(v_{i\cdot};(v_{i\cdot}^{\prime},\boldsymbol{v}_{-i\cdot}))}-u_{i\cdot}(v_{i\cdot};\boldsymbol{v})]\text{\hfill.} rgt_{i\cdot}(\boldsymbol{v}) represents the maximum utility increase that brand i can achieve by misreporting, while keeping others’ bids fixed. Therefore, the DSIC constraint is satisfied if and only if rgt_{i\cdot}(\boldsymbol{v})=0 for each brand i and rgt_{\cdot j}(\boldsymbol{v})=0 for each store j . Building on the definition of ex-post regret, the optimal auction design problem can be formulated as: \displaystyle\min_{(g,p)\in\mathcal{M}}\quad \displaystyle-\mathbb{E}_{v\sim F}[\sum_{i=1}^{m}{p_{i\cdot}(\boldsymbol{v})}+\sum_{j=1}^{n}{p_{\cdot j}(\boldsymbol{v})}] (1) s.t. \displaystyle rgt_{i\cdot}(\boldsymbol{v})=0,\quad i=1,\ldots,m, \displaystyle rgt_{\cdot j}(\boldsymbol{v})=0,\quad j=1,\ldots,n where \mathcal{M} represents the set of anonymous and deterministic-allocation mechanisms that satisfy IR. Solving this optimization problem is generally difficult [ 20 , 21 ] . To address this challenge, we introduce a parameter w\in\mathbb{R}^{d} to parameterize the auction mechanism as \mathcal{M}^{w}(g^{w},p^{w})\subseteq\mathcal{M}(g,p) . As a result, our focus shifts to computing the mechanism \mathcal{M}^{w}(g^{w},p^{w}) that maximizes the expected revenue, given by \mathbb{E}_{v\sim F}[\sum_{i=1}^{m}{p_{i\cdot}^{w}(\boldsymbol{v})}+\sum_{j=1}^{n}{p_{\cdot j}^{w}(\boldsymbol{v})}] , while ensuring it satisfies the DSIC and IR conditions by adjusting the parameters w . Given a sample \mathcal{L} containing L value profiles drawn from the joint distribution F , we estimate the empirical ex-post regret for brand i (similarly for store j ) under the mechanism \mathcal{M}^{w}(g^{w},p^{w}) by: \displaystyle\widehat{rgt}_{i\cdot}(w)= \displaystyle\frac{1}{L}\sum_{l=1}^{L}[\max_{v_{i\cdot}^{\prime}\in V_{i\cdot}}u_{i\cdot}^{w}(v_{i\cdot}^{(l)};(v_{i\cdot}^{\prime},\boldsymbol{v}_{-i\cdot}^{(l)})) \displaystyle-u_{i\cdot}^{w}(v_{i\cdot}^{(l)};\boldsymbol{v}^{(l)})]\text{\hfill.} (2) Using the sample \mathcal{L} , optimization ( 1 ) can be expressed as: \displaystyle\min_{w\in\mathbb{R}^{d_{w}}}\quad \displaystyle-\frac{1}{L}\sum_{l=1}^{L}{[\sum_{i=1}^{m}{p_{i\cdot}^{w}(\boldsymbol{v}^{(l)})}+\sum_{j=1}^{n}{p_{\cdot j}^{w}(\boldsymbol{v}^{(l)})}]} (3) s.t. \displaystyle\widehat{rgt}_{i\cdot}(w)=0,\quad i=1,\ldots,m, \displaystyle\widehat{rgt}_{\cdot j}(w)=0,\quad j=1,\ldots,n\text{\hfill.} Additionally, we guarantee the IR condition via the network architecture, which will be described in the next section. 3 JTransNet After transforming the optimal joint auction design into a learning problem, in this section, we propose an end-to-end neural network, J oint Trans former-Based Neural Net work (JTransNet) to generate the optimal anonymous and deterministic-allocation joint auction mechanism, which satisfies near-DSIC and IR. Figure 2: The JTransNet architecture for the setting of m brands , n stores, K ad slots, and C bundles composed of brands and stores. 3.1 The Architectures of JTransNet In this subsection, we present the structure of JTransNet, as depicted in Figure 2 , and provide a detailed explanation of the key modules that constitute JTransNet. Input of JTransNet. JTransNet takes b_{i\cdot} , b_{j\cdot} , \alpha_{k} , and e_{c} as inputs, defined as: e_{c}=b_{i\cdot}+b_{\cdot j},c\in\mathbb{C}=\{1,\ldots,C\} (4) where e_{c} is the bid of bundle c consisting of brand i and store j . Implementation of anonymity. We add the transformer structure into the hidden modules and make corresponding adjustments to ensure that JTransNet satisfies anonymity as shown in Figure 2 . Computing the bundles’ allocation matrix S . There are several constraints that need to be implemented through the bundles’ allocation matrix S . Therefore, JTransNet begins by computing the bundles’ allocation matrix S , followed by determining the bidders’ allocation matrix A based on S . The matrix S contains the allocation probabilities for each bundle across different ad positions. Specifically, the allocation of bundle c to position k is denoted as s_{ck} within matrix S . In our scenario, two primary constraints must be satisfied by matrix S : (a) a bundle can occupy no more than one slot, expressed as \sum_{k=1}^{K}{s}_{ck}\leq 1 for all c\in\mathbb{C} ; and (b) a single slot can be assigned to no more than one bundle, expressed as \sum_{c=1}^{C}{s}_{ck}\leq 1 for all k\in\mathbb{K} . In JTransNet, as illustrated by the light yellow rectangle in Figure 2 , the input to this part is the vector Q=(q_{1},q_{2},\ldots,q_{C}) , which is derived from forward propagation. The vector Q contains the scores for each bundle composed of brands and stores. Because JTransNet aims to achieve deterministic allocation rather than non-deterministic probabilistic allocation, we achieve all the constraints by constructing the matrix S as a 0\text{-}1 matrix where the sum of the elements in each row and each column is less than or equal to 1 . To design S as the desired matrix, we need to perform some transformations on Q to obtain S . First, we calculate the index vector \tilde{Q} by sorting the elements of Q in descending order. For example, if Q=(9,2,10) , then \tilde{Q}=(3,1,2) . Next, we calculate S_{\tilde{Q}}\in\{0,1\}^{C\times C} through the formula as follows: \displaystyle S_{\tilde{Q}}[k][c]=\begin{cases}1&\text{if }c=\tilde{Q}[k]\\ 0&\text{otherwise}\end{cases}\quad\text{for }\forall k\in\mathbb{C},\,\forall c\in\mathbb{C}, where S_{\tilde{Q}}[k][c]=1 indicates that the index corresponding to the k -th largest score in Q is c . Furthermore, an alternative formula for calculating S_{\tilde{Q}}[k][c] is [ 27 ] : \displaystyle S_{\tilde{Q}}[k][c]=\begin{cases}1&\text{if }c=\operatorname{argmax}\left[(C+1-2k)\mathbf{Q}-R_{\mathbf{Q}}\mathds{1}\right]\\ 0&\text{otherwise},\end{cases} \text{for all }k\in\mathbb{C}\text{ and }c\in\mathbb{C} , where R_{\mathbf{Q}}[k][c]=\left|Q_{k}-Q_{c}\right| and \mathds{1} denotes all bundles’ column vector. However, because the argmax function is not differentiable, we can use the softmax operator to replace the argmax [ 27 ] , resulting in a continuous \widehat{S}_{\tilde{Q}}(\tau)\in\mathbb{R}^{C\times C} : \displaystyle\widehat{S}_{\tilde{Q}}[k][:](\tau)=\operatorname{softmax}\left[\left((C+1-2k)\mathbf{Q}-R_{\mathbf{Q}}\mathds{1}\right)/\tau\right], for all k\in\mathbb{C} , where \tau>0 determines the precision of the approximation, and as \tau approaches 0, \widehat{S}_{\tilde{Q}} converges to S_{\tilde{Q}} . Since neural network training requires S to be differentiable, \widehat{S}_{\tilde{Q}}(\tau)\in\mathbb{R}^{C\times C} is used during training to calculate S\in\{0,1\}^{C\times K} : \displaystyle S[c][k]=\widehat{S}_{\tilde{Q}}[k][c]\,\,\,\,\text{, for }\forall k\in\mathbb{K},\,\forall c\in\mathbb{C}. During testing, we use the exact S_{\tilde{Q}}\in\{0,1\}^{C\times C} to compute S : \displaystyle S[c][k]=\begin{cases}1&\text{if }S_{\tilde{Q}}[k][c]=1\\ 0&\text{otherwise}\end{cases}\,\text{, for }\forall k\in\mathbb{K},\,\forall c\in\mathbb{C}. When testing, S[c][k]=1 means that the c -th bundle obtains the k -th ad slot; otherwise, it does not. Conversion of allocation matrix S to A . The bidders’ allocation matrix A contains the allocation of all brands and stores for each ad position. In matrix A , the allocation of brand i (or store j ) at position k is denoted as a_{i\cdot k} (or a_{\cdot jk} ). These values, a_{i\cdot k} and a_{\cdot jk} , are computed based on the bundles’ allocation matrix S through: \displaystyle\left\{\begin{array}[]{l}a_{i\cdot k}=\sum_{c\in C_{i\cdot}}s_{ck},\quad\forall k\in\mathbb{K}\text{\hfill,}\\ a_{\cdot jk}=\sum_{c\in C_{\cdot j}}s_{ck},\quad\forall k\in\mathbb{K}\text{\hfill,}\end{array}\right. where C_{i\cdot} and C_{\cdot j} represent the sets of all bundles containing brand i and store j , respectively. Calculating the payment matrix P . As illustrated in Figure 2 , after obtaining the bidders’ allocation matrix A , the next step is to compute the payment matrix P . To do this, matrix A is passed through the payment network. We use p_{i\cdot} and p_{\cdot j} in P\in\mathbb{R}_{\geq 0}^{m+n} to denote the payments of brand i and store j , respectively, calculated through: \displaystyle\left\{\begin{array}[]{l}p_{i\cdot}=\tilde{p}_{i\cdot}\left(\sum_{k=1}^{K}a_{i\cdot k}b_{i\cdot}\alpha_{k}\right),\quad\forall i\in M\text{\hfill,}\\ p_{\cdot j}=\tilde{p}_{\cdot j}\left(\sum_{k=1}^{K}a_{\cdot jk}b_{\cdot j}\alpha_{k}\right),\quad\forall j\in N\text{\hfill,}\end{array}\right. where \tilde{p}_{i\cdot}\in[0,1] and \tilde{p}_{\cdot j}\in[0,1] are computed using the sigmoid function, as illustrated by the blue rectangle in Figure 2 . When DSIC is ensured, since the utility of the brand i\cdot is u_{i\cdot}=\sum_{k=1}^{K}s_{i\cdot k}e_{i\cdot k}-p_{i\cdot} , and because \tilde{p}_{i\cdot}\in[0,1] , each brand’s utility must be non-negative, fulfilling IR. The process of proving IR for stores is similar. The training processes of JTransNet are described in detail in Appendix 3.2 . 3.2 Training of JTransNet In this subsection, we describe the training processes of JTransNet. Transforming constrained optimization into unconstrained optimization. We first require an unconstrained optimization objective as the loss function to train JTransNet. The augmented Lagrangian method is applied to transform the constrained optimization problem ( 3 ) into an unconstrained one, as follows: \displaystyle\mathcal{C}_{\rho}(w;\boldsymbol{\lambda})= \displaystyle-\frac{1}{L}\sum_{\ell=1}^{L}\left[\sum_{c=1}^{C}p_{i\cdot}^{w}\left(\boldsymbol{v}^{(\ell)}\right)+\sum_{c=1}^{C}p_{\cdot j}^{w}\left(\boldsymbol{v}^{(\ell)}\right)\right] \displaystyle+\sum_{i=1}^{m}{\lambda_{i\cdot}\widehat{rgt}_{i\cdot}(w)}+\sum_{j=1}^{n}{\lambda_{\cdot j}\widehat{rgt}_{\cdot j}(w)} \displaystyle+\frac{\rho}{2}\sum_{i=1}^{m}{(\widehat{rgt}_{i\cdot}(w))^{2}}+\frac{\rho}{2}\sum_{j=1}^{n}{(\widehat{rgt}_{\cdot j}(w))^{2}}\text{\hfill,} where \rho>0 denotes the penalty factor, and \boldsymbol{\lambda}\in\mathbb{R}^{m+n} represents the Lagrange multiplier. In addition to the loss function, we also need to calculate the optimal misreports to maximize regret during training. Computing the optimal misreports. The regret of JTransNet is calculated by enumeration [ 28 ] . In this enumeration method, we calculate the misreport using a coefficient \mu\in\Gamma , where \Gamma is a subset of \mathbb{R}^{+} , and the misreport of brand i is given by \mu v_{i\cdot} (similar calculation process for store j ). For each brand and store, within the coefficient set \Gamma , the coefficients that maximize their own utilities are used to calculate their own misreports and regret. Backpropagation. After defining the loss function for JTransNet and computing the optimal misreports, the model can be trained using backpropagation to minimize this loss. The complete algorithm for training JTransNet is presented in Algorithm 1. Algorithm 1 JTransNet Training 1: Input: Minibatches \mathcal{H}_{1},...,\mathcal{H}_{T} of size Y 2: Parameters: \forall t\in\{1,\ldots,T\},\rho_{t}>0,\gamma>0,\eta>0,\Gamma\subseteq\mathbb{R}^{+},T\in\mathbb{N},B\in\mathbb{N} 3: Initialize: w^{0}\in\mathbb{R}^{d},\lambda^{0}\in\mathbb{R}^{m+n} 4: for t=0 to T do 5: Receive minibatch \mathcal{H}_{t}=\{v^{(1)},\ldots,v^{(B)}\} 6: Initialize misreport v_{i\cdot}^{\prime(\ell)}\in V_{i\cdot},v_{\cdot j}^{\prime(\ell)}\in V_{\cdot j},\forall\ell\in\{1,\ldots,Y\},i\in M,j\in N 7: for r in \Gamma do 8: \forall\ell\in\{1,\ldots,Y\},i\in M,j\in N: 9: if \begin{aligned} u_{i\cdot}^{w}\left(v_{i\cdot}^{(\ell)};\left({rv}_{i\cdot}^{(\ell)},\boldsymbol{v}_{-i\cdot}^{(\ell)}\right)\right)&>u_{i\cdot}^{w}\left(v_{i\cdot}^{(\ell)};\left({v^{\prime}}_{i\cdot}^{(\ell)},\boldsymbol{v}_{-i\cdot}^{(\ell)}\right)\right)\end{aligned} 10: then v_{i\cdot}^{\prime(\ell)}=rv_{i\cdot}^{\ell} 11: end if 12: if \begin{aligned} u_{\cdot j}^{w}\left(v_{\cdot j}^{(\ell)};\left({rv}_{\cdot j}^{(\ell)},\boldsymbol{v}_{-\cdot j}^{(\ell)}\right)\right)&>u_{\cdot j}^{w}\left(v_{\cdot j}^{(\ell)};\left({v^{\prime}}_{\cdot j}^{(\ell)},\boldsymbol{v}_{-\cdot j}^{(\ell)}\right)\right)\end{aligned} 13: then v_{\cdot j}^{\prime(\ell)}=rv_{\cdot j}^{\ell} 14: end if 15: end for 16: Compute regret gradient: \forall\ell\in[Y],i\in M,j\in N: 17: g_{\ell,i\cdot}^{t}=\left.\nabla_{w}\left[u_{i\cdot}^{w}\left(v_{i\cdot}^{(\ell)};\left({v^{\prime}}_{i\cdot}^{(\ell)},\boldsymbol{v}_{-i\cdot}^{(\ell)}\right)\right)-u_{i\cdot}^{w}\left(v_{i\cdot}^{(\ell)};\boldsymbol{v}^{(\ell)}\right)\right]\right|_{w=w^{t}} 18: g_{\ell,\cdot j}^{t}=\left.\nabla_{w}\left[u_{\cdot j}^{w}\left(v_{\cdot j}^{(\ell)};\left({v^{\prime}}_{\cdot j}^{(\ell)},\boldsymbol{v}_{-\cdot j}^{(\ell)}\right)\right)-u_{\cdot j}^{w}\left(v_{\cdot j}^{(\ell)};\boldsymbol{v}^{(\ell)}\right)\right]\right|_{w=w^{t}} 19: Compute Lagrangian gradient and update w^{t} : 20: w^{t+1}\leftarrow w^{t}-\eta\nabla_{w}\mathcal{C}_{\rho_{t}}\left(w^{t},\lambda^{t}\right) 21: Update Lagrange multipliers once in B iterations: 22: if t is a multiple of B then 23: \lambda_{i\cdot}^{t+1}\leftarrow\lambda_{i\cdot}^{t}+\rho_{t}\widetilde{rgt}_{i\cdot}\left(w^{t+1}\right),\quad\forall i\in M 24: \lambda_{\cdot j}^{t+1}\leftarrow\lambda_{\cdot j}^{t}+\rho_{t}\widetilde{rgt}_{\cdot j}\left(w^{t+1}\right),\quad\forall j\in N 25: else 26: \boldsymbol{\lambda}^{t+1}\leftarrow\boldsymbol{\lambda}^{t} 27: end if 28: end for Given a fixed \boldsymbol{\lambda}^{t} , the gradient of C_{\rho} with respect to w is expressed as: \displaystyle\quad\nabla_{w}\mathcal{C}_{\rho}\left(w;\boldsymbol{\lambda}^{t}\right)= \displaystyle-\frac{1}{Y}\sum_{\ell=1}^{Y}\left[\sum_{i=1}^{m}\nabla_{w}p_{i\cdot}^{w}\left(\boldsymbol{v}^{(\ell)}\right)+\sum_{j=1}^{n}\nabla_{w}p_{\cdot j}^{w}\left(\boldsymbol{v}^{(\ell)}\right)\right] \displaystyle+\sum_{\ell=1}^{Y}\left[\sum_{i=1}^{m}\lambda_{i\cdot}^{t}g_{\ell,i\cdot}+\sum_{j=1}^{n}\lambda_{\cdot j}^{t}g_{\ell,\cdot j}\right] \displaystyle+\rho\sum_{\ell=1}^{Y}\left[\sum_{i=1}^{m}\widetilde{rgt}_{i\cdot}(w)g_{\ell,i\cdot}+\sum_{j=1}^{n}\widetilde{rgt}_{\cdot j}(w)g_{\ell,\cdot j}\right]\text{\hfill,} where \left\{\begin{split}g_{\ell,i\cdot}&=\nabla_{w}\left[\max_{v_{i\cdot}^{\prime}\in V_{i\cdot}}u_{i\cdot}^{w}\left(v_{i\cdot}^{(\ell)};\left(v_{i\cdot}^{\prime},\boldsymbol{v}_{-i\cdot}^{(\ell)}\right)\right)-u_{i\cdot}^{w}\left(v_{i\cdot}^{(\ell)};\boldsymbol{v}^{(\ell)}\right)\right],\\ g_{\ell,\cdot j}&=\nabla_{w}\left[\max_{v_{\cdot j}^{\prime}\in V_{\cdot j}}u_{\cdot j}^{w}\left(v_{\cdot j}^{(\ell)};\left(v_{\cdot j}^{\prime},\boldsymbol{v}_{-\cdot j}^{(\ell)}\right)\right)-u_{\cdot j}^{w}\left(v_{\cdot j}^{(\ell)};\boldsymbol{v}^{(\ell)}\right)\right].\end{split}\right. 4 Experiments In this section, we detail the empirical experiments conducted to demonstrate the effectiveness of JTransNet. Baseline Methods. The baseline methods used for comparison with JTransNet include: RegretNet [ 4 ] , which can generate the optimal auction mechanisms satisfying near-DSIC and IR in traditional ad settings that only include stores; VCG [ 15 , 16 , 17 ] , a widely used mechanism that satisfies DSIC and IR, which is applied to the joint ad setting in our experiments; and JAMA [ 26 ] , a VCG-based mechanism suitable for joint ad settings. In our experiments, RegretNet is used for the traditional ad setting, while other methods are used for the joint ad setting. The difference between the joint and corresponding traditional ad settings is that the former includes both stores and brands as bidders, whereas the latter includes only stores. Evaluation. To comprehensively evaluate all the proposed methods, we use the empirical revenue: rev:=\frac{1}{L}\sum_{\ell=1}^{L}\left[\sum_{i=1}^{m}p_{i\cdot}^{w}\left(v^{(\ell)}\right)+\sum_{j=1}^{n}p_{\cdot j}^{w}\left(v^{(\ell)}\right)\right] , the empirical social welfare: sw:=\frac{1}{L}\sum_{\ell=1}^{L}\sum_{c=1}^{C}\sum_{k=1}^{K} \left(a_{i\cdot k}^{(\ell)}\alpha_{k}v_{i\cdot}^{(\ell)}+a_{\cdot jk}^{(\ell)}\alpha_{k}v_{\cdot j}^{(\ell)}\right) , and all the bidders’ average empirical ex-post regret: \widehat{rgt}:=\frac{1}{n+m}\left(\sum_{i=1}^{m}\widehat{rgt}_{i\cdot}+\right. \left.\sum_{j=1}^{n}\widehat{rgt}_{\cdot j}\right) . Hyperparameters. The training set sizes for the simulated data experiments and the real data experiments are 100000 and approximately 230000 , respectively. The test set size for both the simulated data experiments and the real data experiments is 9984 . In addition, for the test of JTransNet, we use the coefficient set \Gamma=\{0,0.05,0.1,0.15,\ldots,1.45\} to obtain the optimal misreports for calculating the regret. 4.1 Simulated Data Experiments Method A: 2 \times 4 \times 1 rev    sw    rgt B: 3 \times 3 \times 2 rev    sw    rgt C: 4 \times 4 \times 2 rev    sw    rgt D: 4 \times 4 \times 3 rev sw    rgt RegretNet 0.290 {}^{\phantom{\dagger}} 0.357   0.003 0.403 {}^{\phantom{\dagger}} 0.526   0.003 0.489 {}^{\phantom{\dagger}} 0.571   0.003 0.507 {}^{\phantom{\dagger}} 0.586   0.004 VCG 0.464 {}^{\phantom{\dagger}} 0.840 - 0.306 {}^{\phantom{\dagger}} 1.008 - 0.716 {}^{\phantom{\dagger}} 1.160 - 0.725 {}^{\phantom{\dagger}} 1.228 - JAMA 0.501 {}^{\phantom{\dagger}} 0.772 - 0.455 {}^{\phantom{\dagger}} 0.884 - 0.717 {}^{\phantom{\dagger}} 1.090 - 0.728 {}^{\phantom{\dagger}} 1.120 - JTransNet 0.514 † ​ ​ ​ 0.839   0.003 0.496 † ​ ​ ​ 1.008   0.003 0.746 † ​ ​ ​ 1.155   0.003 0.745 † ​ ​ ​ 1.226   0.004 Table 1: The experimental results for Settings A to D. ‘ {\dagger} ‘ indicates that the revenue shows a statistically significant improvement compared to other methods in the paired t-test with a significance level of p<0.05 . Method E1 rev   sw     rgt E2 rev   sw     rgt E3 rev sw     rgt VCG 17.179   ​ ​ 57.670 - 18.019   ​ ​ 58.279 - 17.475   ​ ​ 57.873 - JAMA 30.863   ​ ​ 52.204 - 31.539   ​ ​ 52.962 - 30.985   ​ ​ 52.464 - JTransNet 31.120 † ​ ​ 56.950 < 0.120 31.970 † ​ ​ 57.590 < 0.120 31.620 † ​ ​ 57.300 < 0.120 Table 2: Experimental results for real-world data on the test set. ‘ {\dagger} ‘ indicates that the revenue shows a statistically significant improvement compared to other methods in the paired t-test with a significance level of p<0.05 . We conduct experiments under various settings to thoroughly evaluate the performance of JTransNet. The specific experimental settings are as follows: (A) 2 stores and 4 brands with 1 ad position. The CTR is \boldsymbol{\alpha}=(0.6) . For all brands and stores, v_{i\cdot}\sim U[0,1] and v_{\cdot j}\sim U[0,1] ; (B) 3 stores and 3 brands with 2 ad positions. The CTRs are \boldsymbol{\alpha}=(0.6,0.2) . For all brands and stores, v_{i\cdot}\sim U[0,1] and v_{\cdot j}\sim U[0,1] ; (C) 4 stores and 4 brands with 2 ad positions. The CTRs are \boldsymbol{\alpha}=(0.6,0.2) . For all brands and stores, v_{i\cdot}\sim U[0,1] and v_{\cdot j}\sim U[0,1] ; and (D) 4 stores and 4 brands with 3 ad positions. The CTRs are \boldsymbol{\alpha}=(0.6,0.2,0.06) . For all brands and stores, v_{i\cdot}\sim U[0,1] and v_{\cdot j}\sim U[0,1] . The bundle relationships of Settings A to D are shown separately in Figure 3 . Figure 3: The bundle relationships between store bidders and brand bidders for Settings A to D . From Table 1 , it can be seen that compared to all three baseline methods, especially JAMA which maximizes the revenue of VCG in joint auction scenarios, JTransNet achieves significantly higher revenue with very low regret. This demonstrates that JTransNet can generate anonymous and deterministic-allocation mechanisms that satisfy near-DSIC and IR while achieving high revenue. Furthermore, as shown in Table 1 , JTransNet achieves a significant increase in revenue compared to VCG, which maximizes social welfare, while maintaining only a minimal loss in social welfare. This demonstrates JTransNet’s excellent ability to balance revenue and social welfare. 4.2 Real Data Experiments We utilize real-world auction log data from an e-commerce platform, which includes predicted CTRs, the relaxed joint relationships between brands and stores, as well as the bid information of each advertiser, to train and test JTransNet. We evaluate our model in a real-world setting with 10 brands, 10 stores, and 5 positions. This setting reflects the current scenario on the e-commerce platform, where, after the stages of ad recall, coarse ranking and fine ranking, a maximum of 10 bundles, comprising up to 10 brands and 10 stores, participate in the ad auction for the allocation of up to 5 ad positions. We conduct three experiments on real-world data: E1, E2, and E3. In Table 2 , we present the performance of all methods on the test set across all real data experiments. In all experiments, JTransNet significantly outperforms all other baseline methods in terms of revenue with low regret, demonstrating the effectiveness of JTransNet in real-world scenarios. On both simulated and real data distributions, JTransNet consistently achieves the significantly highest revenue, which also demonstrates its stability and robustness when dealing with different distributions. Furthermore, it is worth noting that even in real-world scenarios, JTransNet still achieves a substantial increase in revenue while maintaining social welfare nearly equal to that of VCG. This remarkable performance highlights JTransNet’s superior ability to harmonize revenue and social welfare in the real data scenarios, making it an outstanding choice for real joint auction scenarios. 4.3 Online A/B Test To further demonstrate the effectiveness of JTransNet, we deploy JTransNet in the joint auction scenario on a real e-commerce platform and conduct an A/B test to further validate the effectiveness of JTransNet. During March 2024, we conduct the online A/B tests on 40% of the traffic, and JTransNet achieves a substantial revenue increase of +1.87%, compared to the joint auction mechanism that the e-commerce platform was using at that time. This further demonstrate the generality and scalability of our model for real joint ad scenarios. 5 Conclusion In this paper, we propose an end-to-end neural network architecture, JTransNet, designed to generate optimal anonymous and deterministic-allocation joint auction mechanisms that satisfy DSIC and IR. Our JTransNet is the first AMD architecture for optimal near-DSIC auction design to be deployed on a real e-commerce platform, where online A/B testing demonstrates a substantial increase in revenue. Additionally, in both real and simulated data experiments, JTransNet achieves the significantly highest revenue among all compared methods. These results collectively demonstrate the effectiveness of JTransNet. In the future, it would be interesting to extend our deterministic allocation module to other AMD architectures, thereby promoting the widespread application of AMD architectures in the industry and further advancing the development of the advertising field. Appendix A Proof of Theorem 1 First, consider the scenario where 3 bundles compete for 2 ad slots under a joint scenario. Let the probability matrix S^{\prime} be the output of the non-deterministic AMD method for each bundle and each slot. s_{ck}^{\prime} represents the probability that the c -th bundle wins the k -th ad slot, where c\in\{1,2,3\} and k\in\{1,2\} . According to practical requirements, the following 2 constraints must be satisfied: (a) a bundle can occupy no more than one slot, expressed as \sum_{k=1}^{K}s_{ck}^{\prime}\leq 1 for all c\in\mathbb{C} ; and (b) a single slot can be assigned to no more than one bundle, expressed as \sum_{c=1}^{C}s_{ck}^{\prime}\leq 1 for all k\in\mathbb{K} . Currently, the mainstream non-deterministic allocation AMD architecture satisfies constraints (a) and (b) by constructing a matrix S^{\prime} , where both the row and column sums are less than or equal to 1. Thus, we have: s_{11}^{\prime}+s_{12}^{\prime}\leq 1;\quad s_{21}^{\prime}+s_{22}^{\prime}\leq 1;\quad s_{31}^{\prime}+s_{32}^{\prime}\leq 1 s_{11}^{\prime}+s_{21}^{\prime}+s_{31}^{\prime}\leq 1;\quad s_{12}^{\prime}+s_{22}^{\prime}+s_{32}^{\prime}\leq 1 For all results where all slots are allocated and constraints (a) and (b) are satisfied, there are 6 possible scenarios in total: 1. The 1st bundle is assigned to the 1st slot, and the 2nd bundle is assigned to the 2nd slot. 2. The 1st bundle is assigned to the 1st slot, and the 2nd bundle is assigned to the 2nd slot. 3. The 1st bundle is assigned to the 2nd slot, and the 2nd bundle is assigned to the 1st slot. 4. The 1st bundle is assigned to the 2nd slot, and the 2nd bundle is assigned to the 1st slot. 5. The 2nd bundle is assigned to the 1st slot, and the 2nd bundle is assigned to the 2nd slot. 6. The 2nd bundle is assigned to the 2nd slot, and the 2nd bundle is assigned to the 1st slot. Let Pr_{1},Pr_{2},\dots,Pr_{6} represent the probabilities of scenarios 1, 2, …, 6 occurring. To ensure that all probabilities in the allocation probability matrix S^{\prime} are satisfied, the following 6 equations must hold: \displaystyle Pr_{1}+Pr_{2} \displaystyle=s_{11}^{\prime} (5) \displaystyle Pr_{3}+Pr_{4} \displaystyle=s_{12}^{\prime} (6) \displaystyle Pr_{3}+Pr_{5} \displaystyle=s_{21}^{\prime} (7) \displaystyle Pr_{1}+Pr_{6} \displaystyle=s_{22}^{\prime} (8) \displaystyle Pr_{4}+Pr_{6} \displaystyle=s_{31}^{\prime} (9) \displaystyle Pr_{5}+Pr_{2} \displaystyle=s_{32}^{\prime} (10) Since there are only 6 possible scenarios, we have: \displaystyle Pr_{1}+Pr_{2}+\cdots+Pr_{6} \displaystyle=1 (11) Substituting equations (5), (7), and (9) into (11) gives: s_{11}^{\prime}+s_{21}^{\prime}+s_{31}^{\prime}=1 Substituting equations (6), (8), and (10) into (11) gives: s_{12}^{\prime}+s_{22}^{\prime}+s_{32}^{\prime}=1 Since s_{11}^{\prime}+s_{21}^{\prime}+s_{31}^{\prime}\leq 1 and s_{12}^{\prime}+s_{22}^{\prime}+s_{32}^{\prime}\leq 1 , if constraints (a) and (b) are to be satisfied and all slots are allocated, many infeasible probability allocation matrices will exist. If the allocation probabilities in S^{\prime} are altered, it will affect economic properties such as DSIC. Moreover, the allocation and payment rules are generated by the AMD method, and the payment rules depend on the allocation rules. Thus, changing the allocation rules and the allocation probability matrix S^{\prime} will fundamentally alter the mechanism generated by the AMD method, causing it to fail. Now consider the more general case where C bundles compete for K ad slots in a joint scenario. We still use the matrix S^{\prime} to represent the probability allocation matrix output by the AMD method. Currently, the mainstream non-deterministic allocation AMD architecture satisfies constraints (a) and (b) by constructing a matrix S^{\prime} , where both the row and column sums are less than or equal to 1. \sum_{c=1}^{C}s_{c\cdot}^{\prime}\leq 1\quad\text{and}\quad\sum_{k=1}^{K}s_{\cdot k}^{\prime}\leq 1 Let X be the number of deterministic allocation results that satisfy constraints (a) and (b) and where all ad slots are allocated. Let Pr_{x} represent the probability of the x -th outcome occurring, x\in\{1,2,\dots,X\} . Clearly, \sum_{x=1}^{X}Pr_{x}=1 . Let s_{ck}^{\prime} represent the probability that the c -th bundle wins the k -th ad slot. Let Pr^{ck} represent the probability set of a group of deterministic allocation results that realize probability s_{ck}^{\prime} . Let Pr represent the probability set of all possible deterministic allocation results. For deterministic allocation results, the first slot can only be assigned to one of the bundles from 1 to C , so the probability sets from Pr^{11} to Pr^{C1} are mutually exclusive. Since the first slot must be allocated, we have: Pr^{11}\cup Pr^{21}\cup\dots\cup Pr^{C1}=Pr So, the sum of all the probabilities in the sets from Pr^{11} to Pr^{C1} equals 1: \sum_{c=1}^{C}s_{c1}^{\prime}=1 Similarly, \sum_{c=1}^{C}s_{c2}^{\prime}=\sum_{c=1}^{C}s_{c3}^{\prime}=\dots=\sum_{c=1}^{C}s_{cK}^{\prime}=1 Since: \sum_{c=1}^{C}s_{c\cdot}^{\prime}\leq 1 If constraints (a) and (b) are to be satisfied and all slots are allocated, many infeasible probability allocation matrices will exist. If the allocation probabilities in S^{\prime} are altered, it will affect DSIC and other economic properties. Moreover, as previously mentioned, the allocation and payment rules are generated by the AMD method, with the payment rules being contingent on the allocation rules. Therefore, modifying the allocation rules and the allocation probability matrix S^{\prime} will fundamentally change the mechanism produced by the AMD method, leading to its failure. Similarly, in more general traditional online advertising scenarios, there are also constraints similar to (a) and (b) that need to be satisfied: (a’) each advertiser can be assigned at most one ad slot; (b’) each ad slot can be assigned to at most one advertiser. Therefore, the mainstream non-deterministic allocation AMD architecture will still encounter the same problem.