What advice can I give you… I myself am just a learner who makes - such stupid! - errors, every my day.
I, as well as you, know and usually try to apply general rules – for general cases.
photograph / photography / photographical
(‘put stress on the third syllabus from the end’)
But, in fact, I just group words in mind, depending on what syllabus the stress is put on.
natural / dis-cover / in-vesti-gation
And try burn into my brain all those various special cases. (as English absorbed many words from other languages, like French, keeping initial stress in some of them).
Also, such kind of quite simple tasks are sometimes quite useful (it’s for Russian speakers only):