-
Notifications
You must be signed in to change notification settings - Fork 0
Method

-
Constrained Markov Decision Process:
$(S,A,P,R)$ , not all actions are allowed -
Model-free method: seeking for a policy
$\pi : S \rightarrow A$ to maximize the accumulated discounted reward$J(\pi)=E_{\tau\sim\pi}[\Sigma^{\infty}_{t=0}\gamma^tR(s_t,a_t)]$ - Network architecture: actor-critic framework with Kronecker-Factored Trusted Region (ACKTR), such on-policy methods are better than off-policy ones like SAC according to experimental results
Constrain the sizes of all items to be
Discretizing the bottom area as a L x W regular grid along length (X) and width (Y) directions, the current environment state can be written as
-
Configuration of the bin: parameterized as a height map
$\mathbf{H}_n$ over a L x W grid,$n$ is the next item to be packed. -
Size of the next item to be packed (green box): the 3 dimensions are stored into a L x W x 3 tensor D, the dimensionality of item
$n$ is given as$\mathbf{d}_n=[l_n,w_n,h_n]^T$
A state CNN is used to encoding the raw state vector into features. The state
$s_n=(\mathbf{H}_n,\mathbf{D}_n)$ becomes a L x W x 4 array by stretching$\mathbf{d}_n$ into a 3-channel tensor$\mathbf{D}_n$ to fit the state CNN.
A binary matrix
Feasibility Request:
- Enough space in the bin to host item
$n$ - Stability at a loading position
A LP is considered feasible if:
- Providing sufficient room for
$n$ - Satisfying ANY of the following conditions with
$n$ placed:
- over 60% of
$n$ 's bottom area and all of its four bottom corners are supported; - over 80% of
$n$ 's bottom area and three out of four bottom corners are supported; - over 95% of
$n$ 's bottom area is supported;
The feasibility of all the LPs for item
A simplistic step-wise reward
This step-wise reward directs the agent to place as many items as possible, better than a termination one.
-
Mask loss
$L_{mask}$ : An independent MLP, namely the mask predictor, is introduced to predict the feasibility mask.$L_{mask}$ is the MSE loss for mask prediction. -
Inf. loss
$E_{inf}$ : If the LP is infeasible, the corresponding action probability is set to a small positive quantity like$\epsilon=10^{-3}$ . And the summed probability at all infeasible LPs is explicitly minimized:$E_{inf}$ , which is plugged into the final loss function for training.
The loss function is defined as:
Weights of consistently good performance:
- The case where
$k=1$ in$s_n=\{\mathbf{H_n},\mathbf{d_n},...,\mathbf{d_{n+1}},\mathbf{d_{n+k-1}}\}$ - The agent places
$n$ 's front-left-bottom (FLB) corner at a certain grid point of the loading position (LP) in the bin
In a more general case, the agent receives the information of
It cannot well inform the agent about the lookahead items during DRL training and yields limited improvement to employ sequential modeling of the state sequence. Instead, a search-based solution is proposed to leverage the height map
-
Virtual placement: condition the placement of the current item
$n$ on the next$(k-1)$ ones with virtual placement through updating the height map accordingly. - Order dependence constraint: the earlier items should never be packed on top of the later ones
Explore the permutations of the sequence
Given two items
-
$item(v_i) \lt item(v_j)$ means$item(v_i)$ arrives before$item(v_j)$ in the actual order -
$i \gt j$ along a permutation path means$item(v_j)$ is virtually placed before$item(v_i)$
The LPs corresponding to

To make the search scalable, the Monte Carlo tree search (MCTS) is adapted to reduce alleviate the