=Paper= {{Paper |id=Vol-3026/paper23 |storemode=property |title=Broker-Based Trade Allocation in Agent-Based E-commerce |pdfUrl=https://ceur-ws.org/Vol-3026/paper23.pdf |volume=Vol-3026 |authors=Dien Tuan Le,Dang My Phuong Phan,Van Loc Tran }} ==Broker-Based Trade Allocation in Agent-Based E-commerce== https://ceur-ws.org/Vol-3026/paper23.pdf
                Broker-Based Trade Allocation in Agent-
                        Based E-commerce

       Dien Tuan Le**[0000-0001-8475-5096], Dang My Phuong Phan and Van Loc Tran

                 University of Economics, The University of Danang, Vietnam
                  {ledientuan,phuong.pdm,loctv}@due.edu.vn



        Abstract. Online business environment represents complex systems where the
        business transactions between buyers and sellers are carried out based on multiple
        constraints from buyers and sellers. The complexity of the online business envi-
        ronment between buyers and sellers has encouraged the use of modelling broker
        to solve allocations. Thus, this paper proposes a novel approach for a broker agent
        to allocate buyers’ requirements to sellers’ offers using the method of artificial
        intelligence. The major contributions of this paper are that (i) a proposed frame-
        work for a broker agent is divided in four stages: receiving, calculation, filtering
        and allocating; (ii) a novel calculation method is to calculate buyers’ satisfaction
        degree as per sellers’ offers to determine a constraint satisfaction layer; and (iii)
        CSP model for trade allocation is built to help a broker agent to find an optimal
        allocation solution to satisfy buyers and sellers’ various preferential require-
        ments. Finally, the results of the simulation experiment demonstrate the proposed
        approach is flexible and effective under the consideration of different constraints.

        Keywords: Buyers’ satisfaction degree, Allocation process, Multi-attribute
        trading.


 1      Introduction

    E-commerce has recently made remarkable achievements in the era of globalization
 together with rapid technological changes. Especially, the emergence of artificial intel-
 ligent technology makes e-commerce systems more intelligent so it is convenient for
 buyers and sellers to carry out business transactions via brokers in digital business en-
 vironments [1-2]. A broker is responsible to receive requirements of buyers and sellers
 and to implement trade allocation procedures with regard to the consideration of differ-
 ent situations in complex business environments [3-5]. Research on brokers or


  Copyright © by the paper’s authors. Use permitted under Creative Commons License Attribu-
   tion 4.0 International (CC BY 4.0). In: N. D. Vo, O.-J. Lee, K.-H. N. Bui, H. G. Lim, H.-J.
   Jeon, P.-M. Nguyen, B. Q. Tuyen, J.-T. Kim, J. J. Jung, T. A. Vo (eds.): Proceedings of the
   2nd International Conference on Human-centered Artificial Intelligence (Computing4Human
   2021), Da Nang, Viet Nam, 28-October-2021, published at http://ceur-ws.org
** Corresponding author.
210 Le et al.


intermediaries as the third party of the trading processes in e-commerce has been active
directions in recent years. Jiang et al. [6] proposed an optimization approach to solve
matching problems through a broker using a single objective function under the con-
sideration of estimated prices. A matching model for a broker is built to maximize the
weight sum of the sellers’ and buyers’ satisfaction degree based on requirements of
buyers and sellers. Li et al. [7] proposed a new approach to allocate buyers to sellers
using a multi-objective optimization model through a broker. Furthermore, an agent-
based framework was built to carry out matching processes in three layers: the interface
layer, the matching layer and the database layer. Jiang et al. [8] built an optimal match-
ing approach for brokers under the consideration of multi-attribute trading with fuzzy
information and indivisible demand considerations.
   As mentioned above, such approaches have focused on studying brokers as the third
party to allocate buyers’ requirements to sellers’ offers in business environments. How-
ever, there are few theories and guidelines to help a broker agent in intelligent e-com-
merce systems to find out optimal allocation solutions using CSP techniques and multi-
attribute trading. Most current brokers in e-marketplace only provide buyers’ or sellers’
trade information and do not really employ artificial intelligence techniques to allocate
buyers to sellers. The lack of a comprehensive optimization approach on allocation
could not provide a solid foundation to improve market efficiency in digital business
environments. Therefore, how to allocate buyers to sellers using CSP techniques under
the consideration of constraints between buyers and sellers is one of the most important
challenges for a broker agent. The novel approach in this paper is proposed to solve this
challenge.
   The rest of this paper is organized as follows. Problem description is presented in
Section 2. The proposed approach for a broker agent is introduced in Section 3. An
experiment is described in Section 4. Section 5 gives conclusions and points out our
future work.


2       Problem description

There are three members in the trading process with multi-attribute trading, i.e., buyers,
sellers and a broker. The broker is often called a facilitator, who acts as an intermediary
between buyers and sellers in multi-attribute trading. The consideration of the seller-
buyer matching problem through a broker agent is shown in Fig. 1.

                            Requirements                  Offers

                   Buyers                                              Sellers
                                            Broker
                           Matching results Agent Matching results




                Fig. 1. The seller-buyer matching problem through a broker agent

   The broker agent’s responsibility is to match 𝑛 (𝑛 ≥ 1) buyers with 𝑚 (𝑚 ≥ 1)
sellers for the same commodity with multi-attribute trading in order to satisfy buyer’s
                                     Broker-Based Trade Allocation in Agent-Based E-commerce 211


requirements and it is assumed that each buyer (seller) can buy (sell) commodities for
each seller (buyer) at most.
   Let a set of buyers 𝑩 = {𝐵1 , 𝐵2 , … , 𝐵𝑛 }, a set of sellers 𝑺 = {𝑆1 , 𝑆2 , … , 𝑆𝑚 }, buyers’
requirements and sellers’ offers are related to multi attributes which are divided to at-
tributes with hard constraints and soft constraints [9]. Buyers’ requirements with multi-
attributes are split into a set of attributes with hard constraints 𝑯 = {ℎ1 , ℎ2 , … , ℎ𝑧 } and
set of attributes with soft constraints 𝑨 = {𝑎1 , 𝑎2 , … , 𝑎𝑘 }. Let 𝑛 be number of buyers,
𝑖 ∈ [1,2 … 𝑛] is the index of 𝐵𝑖 ’s requirements and 𝐶𝑖𝑖 ′ (𝑖 ′ ∈ 𝑧 + 𝑘)) is the crisp value
of the 𝑖 ′𝑡ℎ attribute of 𝐵𝑖 ’s requirements. Similarly, let m be number of buyers, 𝑗 ∈
[1,2 … 𝑚] is the index of 𝑆𝑗 ’s offers and 𝑄𝑗𝑖 ′ (𝑖 ′ ∈ 𝑧 + 𝑘)) is the crisp value of the 𝑖 ′𝑡ℎ
attribute of 𝑆𝑗 ’s offers.
   Based on the above analysis, the key problem is how to help a broker agent to
achieve the optimal allocation results between trading (buyers and sellers) agents in
agent-based e-commerce using CPS model. Therefore, the proposed allocation ap-
proach for a broker agent can solve this problem and is presented in Section 3.


3         A proposed approach for a broker agent

3.1       Framework of the proposed approach
The framework of the proposed approach for a broker agent to allocate buyers’ require-
ments to sellers’ offers using constraint satisfaction problem models is presented in Fig.
2 as follows.

                                                           Constraint satisfaction layer
 Receive buyers requirements and sellers offers
                                                                    The group of buyers
        Calculate buyers satisfaction degree to
        determine constraint satisfaction layer

                                                                    The group of sellers
      Filter constraint satisfaction layer based on
               buyers satisfaction degree

    Allocate buyer s requirements to seller s offers    • Constraint satisfaction problem models


               Obtain allocation results

                Fig. 2. The framework of proposed approach for a broker agent

      In the framework, trading information related to buyers’ requirements and sellers’
offers is submitted to a broker agent. Then, buyers’ requirements are classified into
attributes with three kinds of constraints, i.e., attributes with hard constraints, benefit
soft constraints, and cost soft constraints. Based on attribute classification, buyers’ sat-
isfaction degree for each type of attribute is calculated as per sellers’ offers to determine
constraint satisfaction layer. After that, a broker agent can filter a constraint satisfaction
degree layer based on buyers’ satisfaction degree to achieve a broker agent’s goals.
212 Le et al.


Finally, a broker agent carries out trade allocation using constraint satisfaction problem
models to obtain the optimal allocation results to satisfy buyers’ requirements as per
sellers’ offers.


3.2       Calculation of buyers’ satisfaction degree based on sellers’ offers.
Based on notations of buyers’ requirements and sellers’ offers in Section 2, the calcu-
lation method of buyers’ satisfaction degree for all attributes is presented as follows:
    (i) for an attribute type with hard constraints:

  ℎ𝑔      -1        if Cig ≠Qjg
𝛽𝑖𝑗 = {                                                                                    (1)
            1 if Cig=Qjg
  ℎ𝑔                                                                                     𝑎𝑔
𝛽𝑖𝑗 = -1 means that 𝐵𝑖 does not match with 𝑆𝑗 for attribute ℎ𝑔 (𝑔 ∈ 𝑧) and 𝛽𝑖𝑗 =1
means that 𝐵𝑖 matches with 𝑆𝑗 for attribute ℎ𝑔 .
                                                                                𝑎
   (ii) For an attribute type with benefit soft constraints: if Qjl < 𝐶il then 𝛽𝑖𝑗𝑙 =-1. It
                                                          𝑎
means that 𝐵𝑖 does not satisfy 𝑆𝑗 . If Qjl ≥ C , then 𝛽𝑖𝑗𝑙 is calculated as follows:
                                                il

            Qjl - Qmin-l +φ     t
  𝑎
𝛽𝑖𝑗𝑙 =( 𝑄                       ),                                                         (2)
          max-l - Qmin-l     +φ

              𝐶𝑖𝑙
where 𝑡 =        ⁄𝑄       , Qmin-l is the minimal value of seller in the set of values for the
                    𝑚𝑖𝑛−𝑙
attribute 𝑎𝑙 and Qmax-l is the maximal value of a seller in the set of values for the attrib-
ute 𝑎𝑙 . A value t ∈ (0,1] helps a broker agent to carry out comparing a buyer’s satisfac-
                                              𝑎
tion degree when 𝑡 is used to calculate 𝛽𝑖𝑗𝑙 . φ= Qmin-l/2, φ helps a broker agent to solve
                                                                                             𝑎
some special cases such as only one seller in e-commerce systems or Qmax-l = Qmin-l. 𝛽𝑖𝑗𝑙
                                                                                             𝑎
means that 𝐵𝑖 matches with 𝑆𝑗 for attribute 𝑎𝑙 with a buyer’s satisfaction degree 𝛽𝑖𝑗𝑙 .
  𝑎                                  𝑎
𝛽𝑖𝑗𝑙 is in-between 0 and 1. If 𝛽𝑖𝑗𝑙 is near 1, it means that 𝑆𝑗 is highly satisfied by 𝐵𝑖 for
attribute 𝑎𝑙 (𝑙 ∈ 𝑘).
                                                                              𝑎
    (iii) for an attribute type with cost soft constraints: if Cil