The talking variety is designed to encourage people to throw their trash in the bins instead of on the streets, the theory being that with some encouragement, citizens and tourists will want to keep the city clean.
CNN: Talking trash cans keep Berlin clean