Not much,but as what i know,yes the ECU will learn,from bad to good right,form heavy knock to no knock.If we use good fuel without knocking,and suddenly fill with bad fuel and the engine knock heavily,the ECU will learn by retarding the ignition (over a period of time) to lessen the knock until certain levels.Since the 1st time i fill with RON95,it doesnt knock at all,so the ECU does not need to relearns if it didnt see any knock...But it doesnt mean that i urge you guys to use RON95,just to share my experience.It is advisable to use RON97 on high performance engine,as it is designed to be,for maximum performance.
Every car might be different,maybe my Altezza ECU kong already cannot notice knock,hehe,but my ears also didnt notice any.But i might not use it unless really short of cash,on the fuel lid it says 'premium',in Japan,premium is 96 octane,97 to 100 is hi-octane.(anybody can confirm this?),but one thing for sure,2ZZGE cannot use below RON97.
Just share experience..happy motoring