Collaborative coding for small examples