Task Structure Reverses Layerwise State Encoding in Sequence Models | ArxivCSExplorer