The series of events in which a stimulus from a symbiont (an organism living in close physical association with an organism of a different species) is received and converted into a molecular signal. The symbiont is defined as the smaller of the organisms involved in a symbiotic interaction.