An amphiphilic maltoheptaose–tetraphenylethylene (Mal–TPE) conjugate can assemble in an aqueous medium and the aggregates exhibit an aggregation-induced emission (AIE) effect. The sizes of Mal–TPE aggregates decrease with the increase in temperature, resulting in temperature-dependent fluorescence properties.