The United States government uses artificial intelligence in the military, intelligence, and law enforcement to help mitigate potential threats. However, the use of machine learning technology largely remains unregulated by the government, although year-on-year spending on AI government contracts continues to increase.