Global training of document processing systems using graph transformer networks | Synapse