According to three situations (popular science books, story books), (popular science books, comic books) and (story books, comic books), three drawers are constructed.
3+ 1=4 (pieces),
Answer: At least four students must borrow books, ensuring that two of them must borrow books of the same category.
So the answer is: 4.