{
  "fetched_at": "2026-10-19T06:33:42Z",
  "source_url": "https://www.kaggle.com/competitions/11-785-summer-20-homework-1/data",
  "pages": [
    {
      "name": "data-description",
      "content": "<h1>File descriptions</h1>\nData files are available for download from this page.\n\n<h2>File descriptions</h2>\ntrain.npy - training features\ntrain_labels.npy - training labels\ndev.npy - development/validation features\ndev_labels.npy - development/validation labels\ntest.npy - test features\nsample.csv - sample submission in correct format\nphones.txt - distinct phonemes \n<h2>Feature Files</h2>\n[train|dev|test].npy contain a numpy object array of shape [utterances]. Each utterance is a float32 ndarray of shape [time, frequency], where time is the length of the utterance. Frequency dimension is always 13 but time dimension is of variable length.\n\n<h2>Label Files</h2>\n[train|dev]_labels.npy contain a numpy object array of shape [utterances]. Each element in the array is an int32 array of shape [time] and provides the phoneme state label for each frame. There are 346 distinct labels [0-345], one for each subphoneme.",
      "isPublished": false,
      "hasIsPublished": false,
      "postTitle": "",
      "hasPostTitle": false,
      "mimeType": "",
      "hasMimeType": false
    },
    {
      "name": "Description",
      "content": "<h1> Frame Level Classification of Speech </h1>\n<p>In this challenge you will take your knowledge of feedforward neural networks and apply it to a more useful task than recognizing handwritten digits: speech recognition. You are provided a dataset of audio recordings (utterances) and their phoneme state (subphoneme) labels. The data comes from librispeech that are read aloud and labelled using the original text. If you have not encountered speech data before or have not heard of phonemes or spectrograms, we will clarify the problem further.\n\n</p><ol>\nThe training data comprises of:\n<li>Speech recordings (raw mel spectrogram frames)</li>\n<li>Frame-level phoneme state labels</li>\n</ol>\n<ol>\nThe test data comprises of:\n<li>Speech recordings (raw mel spectrogram frames)</li>\n<li>Phoneme state labels are not given</li>\n</ol>\n<p></p>\n<p>\nYour job is to identify the phoneme state label for each frame in the test data set. It is important to note that utterances are of variable length.\n</p>\n<h2>Phonemes and Phoneme States</h2>\n<p>\nAs letters are the atomic elements of written language, phonemes are the atomic elements of speech. It is crucial for us to have a means to distinguish different sounds in speech that may or may not represent the same letter or combinations of letters in the written alphabet.\n</p>\n<p>\nFor this challenge, we will consider a total of 346 phonemes in this language.\n</p><p>\nExample:\n[\"+BREATH+\", \"+COUGH+\", \"+NOISE+\", \"+SMACK+\", \"+UH+\", \"+UM+\", \"AA\", \"AE\", \"AH\", \"AO\", \"AW\", \"AY\", \"B\", \"CH\", \"D\", \"DH\", \"EH\", \"ER\", \"EY\", \"F\", \"G\", \"HH\", \"IH\", \"IY\", \"JH\", \"K\", \"L\", \"M\", \"N\", \"NG\", \"OW\", \"OY\", \"P\", \"R\", \"S\", \"SH\", \"SIL\", \"T\", \"TH\", \"UH\", \"UW\", \"V\", \"W\", \"Y\", \"Z\", \"ZH\"]\n</p>\n<p>\nA powerful technique in speech recognition is to model speech as a markov process with unobserved states. This model considers observed speech to be dependent on unobserved state transitions. We refer to these unobserved states as phoneme states or subphonemes. For each phoneme, there are 3 respective phoneme states. The transition graph of the phoneme states for a given phoneme is as follows:\n</p>\n<img src=\"https://github.com/Nihar94/Assignment_Store/blob/master/pstates.jpeg?raw=true\">\n<p>\nHidden Markov Models (HMMs) estimate the parameters of this unobserved markov process (transition and emission probabilities) that maximize the likelyhood of the observed speech data. Your task is to instead take a model-free approach and classify mel spectrogram frames using a neural network that takes a frame (plus optional context) and outputs class probabilities for all 346 phoneme states. Performance on the task will be measured by classification accuracy on a held out set of labelled mel spectrogram frames. Training/dev labels are provided as integers [0-345].\n</p>\n\n<h2>Speech Representation</h2>\n<p>\nAs a first step, the speech (audio file) must be converted into a feature representation (matrix form) that can be fed into the network.\n</p>\n\n<p>\nIn our representation, utterances have been converted to \"mel-spectrograms\" (you do not have to convert anything, just use the given mel-spectrograms), which are pictorial representations that characterize how the frequency content of the signal varies with time. The frequency domain of the audio signal provides more useful features for distinguishing phonemes.\n</p>\n<p>\nFor a more intuitive understanding, consider attempting to determine which instruments are playing in an orchestra given an audio recording of a performance. By looking only at the amplitude of the signal of the orchestra over time, it is nearly impossible to distinguish one source from another. But if the signal is transformed into the frequency domain, we can use our knowledge that flutes produce higher frequency sounds and bassoons produce lower frequency sounds. In speech, a similar phenomenon is observed when the vocal tract produces sounds at varying frequencies.\n</p>\n<p>\nTo convert the speech to a mel-spectrogram, it is segmented into little \"frames\", each 25ms wide, where the \"stride\" between adjacent frames is 10ms. Thus we get 100 such frames per second of speech.\n</p>\n<p>\nFrom each frame, we compute a single \"mel spectral\" vector, where the components of the vector represent the (log) energy in the signal in different frequency bands. In the data we have given you, we have 13-dimensional mel-spectral vectors, i.e. we have computed energies in 13 frequency bands.\n</p>\n<p>\nThus, we get 100 13-dimensional mel spectral (row) vectors per second of speech in the recording. Each one of these vectors is referred to as a frame. The details of how mel spectrograms are computed from speech is explained <a href=\"http://haythamfayek.com/2016/04/21/speech-processing-for-machine-learning.html\"> here</a>.\n</p>\n<p>\nThus, for a T-second recording, the entire spectrogram is a 100*T x 13 matrix, comprising 100*T 13- dimensional vectors (at 100 vectors (frames) per second).\n</p>\n<h2>Data Files</h2>\n<p>You can find the training and test data under the 'Data' tab\n</p>\n\n<h2>Optional Readings</h2>\nRead the Implementation Details section for some tips and advice on building your classifier.\n\nGo through <a href=\"http://haythamfayek.com/2016/04/21/speech-processing-for-machine-learning.html\">this link</a> to understand how Mel-Spectrograms are generated",
      "isPublished": false,
      "hasIsPublished": false,
      "postTitle": "",
      "hasPostTitle": false,
      "mimeType": "",
      "hasMimeType": false
    },
    {
      "name": "Evaluation",
      "content": "<h2>Evaluation Metric</h2>\nThe evaluation metric for this competition is frame-level accuracy. There are a total of 1,593,223 frames in the test set. You will be ranked by unweighted accuracy on those phoneme state labels.\n\n<h2>Submission Format</h2>\nSubmission files should contain two columns: Id and Label.\n\nId: the 0-based index of the frame in the test set [0-1593223]\n\nLabel: the predicted label of the phoneme [0-345]\nId=0 is the first frame in the first utterance. Id=1,593,223 is the last frame in the last utterance. A sample submission file is available on the Data page.\n\n<h2>Rules</h2>\nYour model MUST use an MLP (no RNNs or ConvNets). We will check your code to make sure this is the case. However, you are free to use auto-differentiation libraries like PyTorch or Tensorflow.\n\n(Note: Support will most likely only be provided for PyTorch.)",
      "isPublished": false,
      "hasIsPublished": false,
      "postTitle": "",
      "hasPostTitle": false,
      "mimeType": "",
      "hasMimeType": false
    },
    {
      "name": "rules",
      "content": "This is a page where you can include rules that participants must accept before joining. You may wish to include rules like:\n\n - Don't cheat!\n - Apply yourself!\n - Have fun!",
      "isPublished": false,
      "hasIsPublished": false,
      "postTitle": "",
      "hasPostTitle": false,
      "mimeType": "",
      "hasMimeType": false
    }
  ]
}