Relations between objects for feature representation