11. A non-transitory computer storage medium encoded with a computer program, the program comprising instructions that when executed by data processing apparatus cause the data processing apparatus to perform operations comprising: generating a collection of auditory images including a plurality of audio images from each of a plurality of audio files, each auditory image being generated from respective audio files according to an auditory model; for each audio file, extracting sparse features from each auditory image generated for the audio file to generate a sparse feature vector representing the audio file, wherein extracting sparse features from each auditory image comprises: dividing the auditory image into multiple sub-images, applying a feature extractor to each sub-image to generate corresponding local sparse codes, and combining the sparse codes from each sub-image to form a sparse vector for the auditory image; and ranking the audio files in response to a query including one or more words using the sparse feature vectors and a matching function relating sparse feature vectors to words in the query.
11. A non-transitory computer storage medium encoded with a computer program, the program comprising instructions that when executed by data processing apparatus cause the data processing apparatus to perform operations comprising: generating a collection of auditory images including a plurality of audio images from each of a plurality of audio files, each auditory image being generated from respective audio files according to an auditory model; for each audio file, extracting sparse features from each auditory image generated for the audio file to generate a sparse feature vector representing the audio file, wherein extracting sparse features from each auditory image comprises: dividing the auditory image into multiple sub-images, applying a feature extractor to each sub-image to generate corresponding local sparse codes, and combining the sparse codes from each sub-image to form a sparse vector for the auditory image; and ranking the audio files in response to a query including one or more words using the sparse feature vectors and a matching function relating sparse feature vectors to words in the query. 15. The computer storage medium of claim 11 , where ranking the audio files further comprises: scoring each query word relative to each sparse feature vector and combining the scores across words to rank audio files relative to the query.