In the summer of 1916 the family fled from war to Vienna, where Sperber who, having lost faith, at 13 had refused to do his bar mitzvah, joined the Jewish Hashomer Hatzair youth movement.
In 1939 Sperber volunteered for the French army.