How important is planet specialization?

I don't currently really use specialization. My runs seem to be mediocre. By the year 2400 I have a fleet size of 70 to 100k. Around the average of the AI at this year. Apparently that's not very good so my economy is apparently not enough. So if I change to specialization will I really get that much of a gain to make my empire significantly better than the AI?