How to protect yourself from pollution in city cycling
There is really nothing you can do. Anti-pollution masks are mostly placebo, and beside making breathing harder, they have close to zero efficiency in terms of air filtering.

Military gas mask would do the job, but for obvious reasons it is not appropriate for biking.