AI can detect cancer years before diagnosis