The activation of genes encoding transcription factors at the anterior and posterior ends of an insect embryo by a combination of maternal regulatory signals and interactions among themselves; exemplified by the activation of expression of the Drosophila tailless and huckebein genes.