THe verbs assume and assign refer to transferring rights and oblgiations, but they are different in their direction.
The verbs assume is fundamentally used for taking the position of the person who receives some benefit under a contract from another person. However, transfer and assignment often refers to taking one party's place in a contract.
You can use assume as the opposite of assignment, as it is used for taking over certain obligations.