Natural Language Processing · TEE · papers

Q4b · Data acquisition and four augmentation methods

2024-12-03 · final · recovered AI paper

Previous examination · complete worked answers

Question. Explain NLP data acquisition, why augmentation is needed, and any four augmentation methods. [10 marks]

Answer

Data acquisition obtains language examples relevant to the task from existing data, public resources or appropriate new collection. Product instrumentation can gather useful feedback. Supervised learning additionally needs an annotation process when labels are absent.

Data augmentation creates training variants intended to preserve the correct label. It is not simply changing words arbitrarily.

MethodProcedureCaution
Synonym replacementUse suitable synonyms for selected wordsChoose the right sense
Back translationTranslate to another language and backMay change meanings/entities
TF–IDF-informed replacementProtect informative words while varying othersDo not remove label-bearing clues
Bigram flippingSwap adjacent wordsCan break grammar or meaning
Entity replacementReplace by same-type entityMust preserve the task label
Noise injectionSimulate typos/keyboard errorsMatch expected noise
Active learningSelect informative cases for human labelsThis acquires labels; it is not synthetic text

Three label decisions

“The film is good”→“The film is excellent” may preserve a positive sentiment label. “The film is not good”→“The film is good” reverses the label and is not valid label-preserving augmentation. “Flights to Pune”→“Flights to Mumbai” may preserve a travel-topic label but changes the destination label.

Split train/test data before creating related augmented variants. Otherwise near-duplicates can leak between sets and produce misleading evaluation. Keep a representative evaluation set of genuine examples.

Sentence badal sakta hai; required correct label nahi. Label badla toh augmentation invalid.

MethodExampleRequired label check
Synonym replacementgood film→excellent filmReplacement must preserve sense and sentiment
Back-translationEnglish→French→English paraphraseCheck negation, entity and factual preservation
Contextual paraphrasingThe delivery was late→The package arrived lateDo not change class or named facts
Controlled noise / perturbationSmall realistic spelling error or punctuation variationAppropriate only if target should remain unchanged

Acquire licensed/public datasets, commissioned annotation, surveys/user-consented logs or permitted scraping. Augment training data only after splitting to avoid near-duplicate leakage into validation/test. More synthetic examples do not guarantee better generalization.