Robots navigating cluttered indoor spaces often fail due to poorly calibrated safety margins, which can lead to detours, timeouts, or near-boundary shortcuts under perception bias. To address this issue, researchers have proposed a diffusion-based approach to generate diverse trajectory candidates from egocentric RGB-D data. However, reliable selection of these candidates remains a challenge. A new method learns adaptive safety margins for visual navigation, allowing robots to better navigate complex environments. This approach enables robots to adjust their safety margins based on the specific context, reducing the risk of collisions and improving overall navigation efficiency. The development of such adaptive safety margins has significant implications for robotics and autonomous systems, particularly in applications where reliable navigation is critical1. So what matters to practitioners is that this advancement can improve the safety and efficiency of robot navigation in complex environments.