Baking soda can helps the onions to brown more quickly and speed up the caramelization process.
However, when caramelizing the onions in the slow cooker, we found it wasn't necessary to add baking soda.