Preheat the oven to 425°F. Use two large rimmed baking sheets so the cauliflower has room to roast.
Cut the florets into evenly sized pieces and toss with the olive oil, salt, and pepper.
Spread the florets in a single layer across both baking sheets. Tuck the garlic cloves among the florets to protect them from burning.
Roast for 30–40 minutes, turning halfway through, until the cauliflower is very tender with golden-brown edges. Remove the garlic early if it browns too quickly.
Transfer the hot cauliflower and garlic to a food processor. Process until smooth, scraping down the sides as needed.
Add the soy milk only if needed, one tablespoon at a time.
If using nutritional yeast, blend it in. Taste and adjust the seasoning.