No, the IRS will not send you a letter before they offset your refund. You will get a letter a few weeks after it happens.
You *might* get a letter of warning etc. from the agency administering your student loan, child support, etc. If you owe back child support or delinquent student loans, you already know it.