Independence with respect to a family of mappings