Tuareg rebels and the Malian government on Tuesday exchanged dozens of prisoners in a goodwill gesture on the eve of peace talks opening in Algiers, an AFP correspondent witnessed.