01 - Preheat oven to 350°F. Grease a 2-quart baking dish.
02 - Place sweet potatoes in a large pot, cover with water, bring to boil, then simmer 15 to 20 minutes until fork-tender. Drain thoroughly.
03 - Transfer potatoes to a large bowl; add milk, butter, brown sugar, eggs, vanilla extract, cinnamon, nutmeg, and salt. Mash until smooth and fully combined.
04 - Spread the mashed sweet potato mixture evenly into the prepared baking dish.
05 - Sprinkle chopped pecans over the sweet potato layer if using.
06 - Bake in preheated oven for 25 minutes.
07 - Remove from oven, evenly scatter mini marshmallows on top, and return to oven for an additional 10 to 15 minutes until marshmallows are golden and toasted.
08 - Let the dish rest for 5 minutes before serving.