Abstract-Device-to-Device (D2D) communication has been proposed to deal with the significant amount of the local traffic by enabling devices to directly connect to each other when being in proximity. In order to start direct communications, a device must first discover that other devices are in the proximity and that they are relevant for a certain context (i.e. can offer relaying to the network). This task becomes particularly challenging in out-of-network coverage. In this paper, we propose three clustering schemes that assist a device discovering and associating with other devices considered relevant in a given context. We compare the efficiency of the proposed approaches in terms of discovery ratio, clustering time and energy consumption and study the tradeoff between these performance metrics that need to be considered when selecting one of the grouping schemes. In particular, the simulation results prove that grouping devices based on their capabilities taking into account the exchanged radio signal strengths ensure, in most of the scenarios, the balance between high discovery ratio, short latency and energy efficiency.