This is a problem I have as well. I have some ideas about it, but if some experienced lifters disagree with what I say, listen to them because I’m no expert.
I think that the hips rising to fast problem is usually due to your back being stronger than your legs. When the weight gets really close to your max, you shoot your hips and use your back to get the weight up. IF it’s only really happening at the heaviest of weights (like when you are going for a new PR), I honestly don’t think there is too much to worry about. Form breakdown on max attempts it normal, and as long as you don’t feel in danger of injuring yourself, It’s normal for the reps to be a little shitty. My advice would be to just get stronger. Fight to keep nice form, without letting your hips rise fast, on all your “building” sets, and build up more strength. If you get a lot stronger, then you will probably be able to pull 425 eventually with perfect form, but maybe 495 you start to shoot your hips a little. It’s an ebb and flow.
Again, I’m sure there are exercises and cues you can use to help fix your problem, and I am sure there are people better equipped to help you than I, but I just wouldn’t over-think it too much because form breakdown on the heaviest of heavy attempts is normal. As long as you’re not injuring yourself, and your form is good throughout most of your rep work, I don’t think it’s much to worry about.