How about "within- and inter-cluster common neighbors"? Also consider adding hyphens to "within" and "inter" where appropriate below.