If signal changes layer it is a good practice to put vias near them where they change layers.But I am not able to understand what nets will these vias connect.In my case i have a 4-layer board,and some signals(high speed) are changing layers from top to bottom.I need to place vias close to them.But what these vias should connect to??Please someone help.
2nd Deba_fire, for high speed some GND vias next to the signal vias will provide a low inductance path for the signals.
Have a look at the diagram halfway down this link. Via Inductance