Encoding domain information, such as through special domain markers or entity type information, can improve performance on multi-domain relation classification tasks.