doc for composition/association inference