Ever since buying my first bike (a Honda CBR400r back in maybe 2013) I started learning the hard way.
Following a police bike down Ramkhamheang in very dense traffic, being pulled over for not riding in the gutter - my GF said following a police bike isn't a defence, because they're allowed. They can't be wrong. Paid fine and left.
Working in Samutprakarn, there were very regular mobs on Srinakarin road doing the same - stopping everyone not in the gutter... stopped and paid once or twice there.
One time approaching a green light at the top of Ladprao in heavy rain at 60km/h lights started to change, rather than brake hard on slippery road, rolled through and got stopped. At that time I made a call to a lawyer friend and was waved through.
The main issue with being 'shaken down' is they take your licence and you have to pay to get it back...
Feign complete inability to speak or understand Thai and they quickly get bored and move on to the next sucker.
At this time, I also decided to put my licence in a wallet - so I could hold it up to display it without them getting their grubby fingers on it.
If you do stop - it's enough for them, to see the licence. They never show interest in anything else - tax or insurance - and if they don't gain possession of it, they don't tell you to give them cash - because you don't need to pay them in order to retrieve your licence.
A week later, going over one of the old 'flat top' bridges on Srinakarin at 80km/h seeing traffic on the other side, I pulled across to the 2nd lane to pass, and saw police in all 3 lanes trying to usher bikes into the gutter again. They caused a major jam, and as such they were causing problems which they then stopped people for avoiding... That was the last straw - as I slowed down (now on a GSX-R750) in first gear at 30km/h I decided to blast through a gap.
One officer managed to stretch out and get his hand on the bar, but instead of stopping me he got hurt - I saw him in my mirror cradling his arm and walking off the road. 200m later, stopped at a red light - watching the police in the 'box' for 4 minutes waiting for a green light. Learned that day, if you pass them - there's no need to 'flee'. Once passed, it's all forgotten. Lesson learned - it's just a game to them, and they aren't at all serious to chase up anyone or even record the licence and chase up anyone who doesn't willingly stop.
Since then I just never stopped for them again... last time was 8 years ago but I've passed through a few since then (e.g. one where you're not allowed to exit Bangna-Trad at the U-turn exit and join the road going straight, they put a sign saying 'no right turn' but actually I was going straight. The alternative/correct route would be to exit 2km earlier and get stuck in traffic at Market Village, or do another 4km to the next exit which is past my turn.
However, I'm not sure how well this advice would go down in more 'Western' areas like Pattaya or Phuket as I don't really go there, and managed to always avoid them when I did.