To achieve this, we use a large-margin framework to restrict the distance, as proposed by Mignon and Jurie (2012).
sample pairs containing the same aspect phrase are used as positive instances and sample pairs with incompatible aspect phrase are used as negative instances.