U.S. Treasury Secretary Janet Yellen on Tuesday advised that inflation could hit the United States for a while before eventually letting up.