As Martin says, you could probably benefit from sparse representations; I have a demo in the context of splines here