The MAC cell
The MAC recurrent cell consists of a control unit, read unit, and write unit, that interact with dual (control) and memory hidden states.
The control unit attends to different parts of the task description, updating the control state to represent at each iteration the reasoning operation the cell intends to perform.
The read unit extracts information out of a knowledge base (image), guided by the control state.
The write unit integrates the retrieved information into the memory state, yielding the new intermediate result that follows from applying the current reasoning operation.