Water suspension of light-absorbing nano-sized particles is an example of a medium in which non-linear effects are present at moderate light intensities favorable for optical treatment of organic and biological objects. We study experimentally the phenomena emerging in a thin layer of such a medium under the action of inhomogeneous light field formed due to the Pearcey diffraction pattern near a microlens focus. In this high-gradient field, the light energy absorbed by the particles induces inhomogeneous distribution of the medium refraction index, which results in observable self-diffraction of the incident light, here being strongly sensitive to the medium position with respect to the focus. This technique, based on the complex spatial structure of both the incident and the diffracted fields, can be employed for the detection and measurement of weak non-linearities.