In addition, we demonstrate that accuracy can be a misleading measure for the performance of the filter network and final tree-search model. Thus, we propose an alternative approach to assessing the ability of the filter network, based on the number of templates that can be successfully applied in the top N predictions, for a given context. We demonstrate that the specificity and generalizability of the extracted templates must be balanced such that, the first degree nearest neighbors to the reaction center, are used in conjunction with the specification of functional and protecting groups that are common in organic chemistry.