There were numerous philosophers whom Madison and the other framers relied upon for their work.
Federalism seemed to be a bit of compromise that the Constitutional Convention hashed out in order to make the U.S. governable and keep it from being swallowed up by Europe again.