An adaptive multi-task learning method with task-specific attention for node classification and link prediction | Synapse