Derived Structures in the Duality of Automorphic Periods