You don’t need to go to America for that - I live in Berlin and visit SF on occasion and didn’t get the impression there are more homeless people in the latter (nor that it is dirtier).
Berlin's homeless people become most visible when they enter the subway to politely tell their story and let people know why they need to beg for money. In terms of danger the organized beggar-robber gang type (which are not really homeless people) may be on the rise, but this is no comparison to what could be seen in SF. While there is the occasional lunatic you have to avoid, you usually just feel pity for Berlin's homeless people. There is also, without doubt a relatively stronger social net that can catch more of these human beings.
You may also want to check out www.crimemapping.com for more "cultural differences".