上来 means “come up”: 上 gives the upward direction and 来 brings the person towards the speaker.
上去 means “go up”: 上 gives the upward direction and 去 sends the person away from the speaker.
下来 means “come down”: 下 gives the downward direction and 来 brings the person towards the speaker.
下去 means “go down”: 下 gives the downward direction and 去 sends the person away from the speaker.
从 identifies the starting place and comes before the movement. 从楼上下来 means “come down from upstairs,” towards the speaker or the place being referred to.