I was watching Nepomniachtchi - Liren match on Chess24 Legends Day 2. After having a pretty significant advantage [+7.1 (Stockfish 11)], White [Nepo] has played g4, and according to the engine, the game could be drawn by something sort of perpetual checks or three-fold repetition,
Since after g5+, Kh5; Black can make his king pretty safe in the pawn structure and also its active queen bishop combo can neutralize white's attack by giving perpetual checks; so my question is:
What is the idea behind the move g4 in this situation?