Detecting direct associations in a network by information theoretic approaches