The authors optimise the detection process of diffusion-based molecular communication systems utilising the weighted sum detector with appropriate weight values. Interestingly, no optimisation technique has ever been proposed for the calculation of the weights. To this end, they build on the standard particle swarm optimisation (PSO) technique and propose a robust iterative optimisation algorithm, called acceleration-aided PSO (A-APSO). While modified swarm-based optimisation algorithms focus on slight variations of the standard mathematical formulas, in A-APSO, the acceleration variable of the particles in the swarm is also involved in the search space of the optimisation problem. Particularly, they implement the A-APSO algorithm to evaluate the detector's weights that minimise the closedform expression of the error probability. Their findings reveal that, when employing the A-APSO weights, the error performance is superior to that achieved by utilising the weight values already existing in the literature or those evaluated with the standard PSO algorithm.