James Cameron has described marriage as a "learned art" after previously getting divorced four times.