A Soft Version of Predicate Invention Based on Structured Sparsity