Preheat the oven to 375 degrees and lightly grease a small baking dish.
Place the sweet potatoes in a pot, cover with water, and bring to a boil. Cook until tender, about 15 minutes, then drain.
Return the sweet potatoes to the pot and mash them with the maple syrup, 2 tablespoons of butter, cinnamon, milk, vanilla, and salt until smooth.
Spread the mixture evenly into the prepared baking dish.
Melt the remaining tablespoon of butter in a small skillet over medium heat. Add the pecans and cook for 2 to 3 minutes until lightly toasted and fragrant.
Sprinkle the toasted pecans over the sweet potato mixture and bake for 20 minutes until the edges start to bubble.