にしろ~にしろ・であれ〜であれ: the difference
にしろ~にしろN2
Meaning
Whether… or
Past papers
Example
好きにしろ嫌いにしろ、このワクチンは義務づけられている。
Whether you like it or hate it, the vaccine is obligatory.
であれ〜であれN1
Meaning
Whether or, Or, No matter which, In either case
Past papers
Example
近代美術であれ伝統芸能であれ、芸術は芸術だ。
Whether it is modern art or traditional art, art is art.
How to tell them apart
「にしろ〜にしろ」: a concession; whichever you pick, the conclusion and response stay the same.
「につけ〜につけ」: what follows is always a natural stir of feeling or association (whether I see good or bad, I always feel...).
「であれ〜であれ」: more argumentative and very formal written style.