The United States has deployed a handful of military advisers to Somalia in recent months to help bolster the African Union force there, officials said Friday.