Is the expression 学识渊博 usually used in a pejorative sense?
No. It's usually used as a commendatory term. But it can be also used in a pejorative sense (the rule is called 褒義貶用).

PS: This is not used in a conversation, or it's an irony.