He became a self-confessed swot, obsessively throwing himself into his schoolwork

swot (n) : an insignificant student who is ridiculed as being affected or studying excessively – source: Andrew Sullivan: Thinking. Out. Loud.