Exemptions are narrow and often depend on specific circumstances. If there is any doubt, contact your local council. The penalty for operating without a licence when one is required is an unlimited fine.
The following may be exempt from mandatory HMO licensing. This is not legal advice—always confirm with your council.