If you're travelling solo, you'll likely still want to meet people and have conversations. Luckily, hostels are full of interesting people, and the types of people who stay in hostels are usually friendly and keen to make conversation. Regardless of this, you're under no obligation to socialise.