Brain organoids have the potential to acquire functions through plasticity within their complex cellular ensembles. However, unlocking their intrinsic capacity for functional refinement remains challenging because organoids lack structured sensory input and organized macroscopic circuit architecture. Here, we hypothesized that modular connectivity among cerebral organoids enhances their capacity for stimulus-driven circuit refinement. To test this hypothesis, we connected cerebral organoids and assessed their time-course performance improvement in a source-signal discrimination task. Networks comprising three cerebral organoids, but neither single organoids nor two-organoid networks, significantly improved their discrimination performance after two weeks of repeated stimulation. This improvement was accompanied by the emergence of input-dependent spatiotemporal responses, differential refinement of intra- and inter-organoid functional connectivity, faster response kinetics, and directional propagation of spontaneous activity within the three-organoid networks. Together, these results demonstrate that repeated input to an organized modular network can rewire organoids generated under identical conditions into functionally differentiated modules, thereby generating task-relevant heterogeneity that underlies consistent functional enhancement in vitro.