The Pentagon said it would investigate purported leaks of national security information, saying that the probes could include polygraph tests.