When training GRU-MatchPyramid model, we use negative sampling method to construct the training data, which has been successfully applied in retrieval-based chatbot  and text matching task (Liu et al., 2016).
for each question (groundtruth) and answer pair (q, a) in the conversation generation training data, we randomly sample five negative questions q − , chosen from other posts' ground-truth responses.