Improving the machine learning based vertex reconstruction for large liquid scintillator detectors with multiple types of PMTs