Recent advances in electrical multiply-accumulate (MAC) operations leveraging resistive-switching materials have catalysed significant progress in optoelectronic sensing and computing technologies through the exploration of emerging materials. These innovative approaches facilitate the encoding of optical amplitude information such as retina-like functionalities. However, a critical dimensional mismatch persists between electrical and optical information, resulting in a substantial portion of high-dimensional data channels remaining unexplored in conventional MAC operation schemes. Combined with advanced device architectures and data algorithms, two-dimensional materials are considered promising candidates to realize in situ encoding and optoelectronic sensing of multi-dimensional optical information under precise control owing to their tunable physical properties. In this Review, we outline the progress of emerging two-dimensional-materials-based 'integrated sensors', and benchmark electrical inputs with optical scenarios in a framework unifying information encoding. Exciting opportunities for integrated sensors are discussed as well, highlighting the requirements and differences in the encoding of different dimensions of information and exploring the potential for integrated sensors in other fields.
© 2026. Springer Nature Limited.