Few-shot Text Classification with Distributional Signatures
Paper · 2019 · Yujia Bao, Menghua Wu, Shiyu Chang et al.
Summary
A classifier facing unfamiliar categories needs more than a small collection of examples. It also needs to recognize which parts of those examples matter. This becomes difficult when the words that distinguished earlier categories no longer distinguish the new ones. “Few-shot Text Classification with Distributional Signatures” studies this problem in few-shot learning: learning to recognize new categories from very little labeled evidence. Its central proposal is to transfer a way of identifying useful words, instead of relying entirely on the vocabulary that proved useful during earlier training.
The paper approaches text classification through distributional signatures: numerical descriptions of how words occur. One signature measures how common a word is in a larger collection of source examples. Another estimates how strongly the word points towards particular categories in the small current task. An attention generator learns to turn these imperfect signals into weights over the words of an input. The resulting weighted combination of word embeddings becomes the input to a ridge regressor, a regularized linear predictor fitted separately for each task. Across training tasks, prediction errors teach the attention generator how to produce more useful weights. Within a new task, the regressor adapts to the available examples.
This division of labor matters. The attention generator carries knowledge between tasks, but its principal inputs describe distributional behavior rather than word identity. The predictor still uses lexical representations, so the approach does not abandon word meaning. It restricts what the shared attention mechanism can learn from that meaning. The intended effect is to reduce dependence on vocabulary peculiar to the training categories while preserving the information needed to classify a particular document or sentence.
The experiments cover five text-classification datasets and the FewRel relation-classification dataset. The authors evaluate both 5-way 1-shot and 5-way 5-shot tasks, meaning that each episode contains five candidate categories and either one or five labeled support examples for each category. Against the strongest baseline for each dataset, they report average accuracy improvements of 7.5% in the 5-way 1-shot setting and 3.9% in the 5-way 5-shot setting. Against the convolutional prototypical-network baseline, the reported average improvement in 1-shot classification is 20.0%. Controlled comparisons support the contribution of both distributional signals and show that feeding word embeddings directly into the attention generator consistently reduces performance.
The paper also examines why the approach transfers. Visualizations show more useful separation between unfamiliar categories, and an attention comparison finds closer agreement with an oracle trained using all labeled examples from the target categories. A theorem establishes attention invariance under a restricted kind of vocabulary substitution. These findings support a specific conclusion: learning how distributional patterns indicate importance can transfer more successfully than the tested alternatives that build shared knowledge directly from lexical inputs. They do not establish general immunity to vocabulary changes, and the theorem does not guarantee unchanged classification decisions. The authors make their implementation and processed dataset splits publicly available.
Interesting ideas
Transfer a rule for relevance. A feature can stop being useful when the task changes, while the reason it was useful may remain applicable. Here, a particular word need not stay predictive across categories; a word’s rarity and concentration within the current categories can still indicate importance. This suggests looking for reusable relationships between evidence and relevance before trying to reuse the evidence itself. The same design question arises in document retrieval, category discovery, and other settings where the identity of useful features changes more quickly than their statistical behavior.
Separate a broad reference from local evidence. The source collection supplies a comparatively stable estimate of general word frequency, while the support examples provide a tentative estimate of current category relevance. Neither source answers the whole question. A rare word can be irrelevant, and a word that looks highly diagnostic in a tiny sample can be misleading. Keeping these signals separate until a learned mechanism combines them makes their different roles explicit. This is useful whenever a system must reconcile broad background statistics with sparse evidence from a new task.
Treat rough statistics as inputs to interpretation. The paper does not assume that its frequency and entropy measures are already the right attention weights. It learns a transformation from those measures to weights that improve downstream prediction. This distinction is widely reusable: an easily computed statistic can carry useful information without being a reliable decision rule by itself. Applications include ranking candidate features, prioritizing search results, or estimating confidence from several imperfect indicators.
Restrict shared components deliberately. Adding lexical embeddings to the attention generator gives it more information, yet the reported performance becomes worse. The additional information creates opportunities to specialize to training vocabulary. The broader lesson is that a component responsible for transfer may benefit from a narrower input than a component responsible for solving the current task. An architecture can preserve rich information where it is needed while limiting what a shared mechanism can use to form its general rules.
Train through the final adaptation step. The attention generator receives supervision from query predictions made after fitting the task’s regressor. It is therefore trained to support the complete adaptation procedure, rather than to imitate a separately chosen notion of importance. This provides a useful pattern for systems containing a shared representation stage and a small task-specific solver. If the solver is differentiable, its success or failure can teach the earlier stage what information to preserve.
Evaluate transfer where vocabulary changes. The paper separates training and testing categories and uses harder splits for several datasets. It also studies vocabulary overlap, learning curves, alternative predictors, and attention agreement. These analyses address different failure modes: memorizing source vocabulary, overfitting training episodes, depending on a particular predictor, or producing visually plausible but unhelpful weights. Together they illustrate why transfer should be evaluated through several complementary views, especially when the intended application involves categories that were unavailable during training.
Deep dive: Few-shot Text Classification with Distributional Signatures
How distributional signatures guide attention for few-shot text classification, what the experiments establish, and where transfer remains limited. · about 38 minutes to read
How Mova uses it
Mova is a small, transparent language system implemented in Rust. The paper supplies several possible directions for its design and evaluation, but it provides no evidence about Mova’s current implementation. Whether any mechanism below is already present is unknown, and its effect in Mova remains unmeasured. The authors’ experimental conclusions concern their classification system; the connections here are proposals.
Idea: Transfer a rule for relevance. Where: Introduction and Attention generator. Area: representation learning. Mova could distinguish a word’s identity from the evidence that makes it useful in a particular task. A reusable relevance component could inspect occurrence patterns while another component retains the word’s lexical information. This might help when a new collection uses unfamiliar vocabulary but still exhibits recognizable patterns of concentration and contrast. Whether such a separation improves Mova’s decisions is unknown.
Idea: Keep broad and local evidence separate. Where: Background, Our extension, and Attention generator. Area: statistics. Mova could maintain background frequency estimates independently from statistics collected for a current task or document collection. Each relevance decision could then expose both sources of evidence. This would make it possible to inspect whether a word received weight because it was unusual generally or because it separated the present alternatives. The benefit would need evaluation under different collection sizes and degrees of mismatch.
Idea: Learn how rough statistics should be interpreted. Where: Method, Overview, and Attention generator. Area: statistical inference. Mova could treat frequency-derived and uncertainty-derived scores as observations rather than final judgments. A small learned combiner could estimate how much trust each deserves in the current context. The paper supports this strategy for its attention mechanism; applying it to other Mova decisions would be a separate hypothesis.
Idea: Limit the information available to a shared component. Where: Results, Ablation study. Area: architecture. Mova could compare a transferable relevance mechanism that receives distributional statistics with one that also receives lexical representations. The purpose would be to test whether word identity encourages specialization to a source collection. The paper’s lexical-input ablation motivates this comparison, but it does not establish that lexical access would be harmful in every Mova component.
Idea: Train representations through the actual task solver. Where: Ridge regressor, Inference on the query set. Area: optimization. If Mova combines a learned representation stage with a differentiable task-specific solver, it could train the former using errors produced after the latter adapts. This might align representation learning with practical use more closely than a separate proxy objective. Its feasibility depends on Mova’s implementation, which is unknown here.
Idea: Evaluate transfer under vocabulary change. Where: Datasets and Finetuning word embeddings during meta-training. Area: evaluation. Mova could reserve entire categories for testing and examine how their vocabularies differ from the training categories. Such an evaluation would help distinguish broad transfer from success within a familiar lexical environment. The paper’s findings justify testing this distinction, while the appropriate categories and success criteria for Mova remain to be defined.
Idea: Use a source pool outside the immediate task. Where: Background, Our extension, and Episode generation. Area: data processing. Mova could make background statistics available even when a current learning task contains only a small labeled sample. During an evaluation episode, the reference collection could exclude the active categories, following the paper’s training construction. This would make the origin of background evidence explicit and reduce ambiguity about which examples contributed to each statistic.
Idea: Rehearse small-data adaptation during training. Where: Background, Meta-training. Area: learning procedure. Mova could train on repeated tasks that deliberately restrict the labeled examples available for adaptation. Evaluation would then ask whether the same procedure succeeds on withheld categories. This proposal concerns matching training conditions to intended use; it does not imply that episodic training would outperform ordinary supervised training for all Mova tasks.
Idea: Downweight broadly frequent words without deleting them. Where: Attention generator, general word importance. Area: lexical statistics. The source-frequency signature assigns smaller values to common words through a smooth function. Mova could test a similar continuous weighting mechanism where hard removal would discard potentially useful evidence. Its usefulness would depend on the task, particularly because words that contribute little to topic classification can still matter for grammatical interpretation.
Idea: Measure uncertainty over the current alternatives. Where: Attention generator, class-specific word importance. Area: statistics. Mova could estimate whether a word distributes evenly across the categories currently under consideration or concentrates on a narrower subset. This would make relevance conditional on the available alternatives. Sparse observations can make the estimate unstable, so its reliability would need to be measured rather than assumed.
Idea: Regularize estimates made from scarce examples. Where: Supplemental Material, Regularized linear classifier. Area: statistical estimation. Before deriving a word’s category distribution, the authors fit a penalized linear classifier to the support examples. Mova could use the same principle wherever a tiny sample must support a broader inference. The transferable idea is to constrain the estimator, while the appropriate penalty and representation would require task-specific validation.
Idea: Interpret relevance in sequence context. Where: Attention generator and Results, Ablation study. Area: sequence processing. The bidirectional recurrent component combines the signatures across an input rather than assigning each word an isolated score. Mova could test whether neighboring patterns help distinguish a meaningful rare word from incidental rarity. This is a hypothesis about contextual relevance, not evidence that the mechanism learns syntactic structure.
Idea: Preserve lexical content after estimating importance. Where: Ridge regressor, Constructing representations. Area: representation design. The paper’s attention weights select how much each original word embedding contributes to the final representation. Mova could similarly keep a visible connection between input items and their weighted contributions. That connection may make inspection easier, although a readable weighting mechanism is not automatically a complete explanation of a decision.
Idea: Fit a small predictor for each task. Where: Ridge regressor, Training from the support set. Area: adaptation. Mova could test whether a fresh regularized linear predictor provides enough flexibility for a new set of categories without changing the shared relevance mechanism. The paper’s results motivate separating slow shared learning from fast local fitting. They do not establish which task-specific solver would be best for Mova.
Idea: Use a closed-form fitting step where appropriate. Where: Ridge regressor, Training from the support set. Area: mathematics and efficiency. The ridge solution can be differentiated through and avoids an open-ended inner optimization procedure. Mova could examine similar solvers for small adaptation tasks where their assumptions are suitable. The practical value would depend on representation size, support size, and implementation costs.
Idea: Separate confidence calibration from the winning category. Where: Ridge regressor, Inference on the query set. Area: uncertainty estimation. The paper calibrates regression scores before converting them to probabilities, while preserving the category with the largest score. Mova could test confidence calibration independently from classification accuracy. This would help distinguish a change in probability quality from a change in which answer is selected.
Idea: Make robustness claims at the component level. Where: Theoretical analysis, Theorem. Area: mathematical verification. Mova could specify which internal output should remain unchanged under a carefully defined transformation. The paper proves a property of attention and explicitly distinguishes it from final classification behavior. A similar discipline could keep Mova’s verification claims precise about both their assumptions and their scope.
Idea: Test consistent vocabulary substitutions. Where: Theoretical analysis and Proof of Theorem. Area: evaluation. Mova could construct controlled tests that rename vocabulary consistently across task examples while preserving the statistics relevant to a component. Such tests could reveal whether that component depends on feature identity when it is intended to depend on occurrence structure. Any practical test would need to respect the assumptions of the property being examined.
Idea: Compare learned importance with a richer-data reference. Where: Analysis of learned representation, Cosine similarity to oracle word importance. Area: evaluation. Mova could compare its scarce-data relevance estimates with estimates obtained from a larger labeled collection. Agreement would provide an additional diagnostic alongside task accuracy. The richer-data reference would remain an estimator, so disagreement would require interpretation rather than automatic rejection.
Idea: Inspect the same input under different candidate sets. Where: Results, Analysis, and the Reuters attention example. Area: contextual relevance. The paper shows that a word’s weight can change when competing categories change. Mova could use paired evaluations in which the text remains fixed but the alternatives vary. This would test whether relevance responds to the actual decision being made instead of being attached permanently to the input.
Idea: Diagnose overfitting through separate episode curves. Where: Results and Other baselines. Area: evaluation. Mova could track performance on tasks drawn from familiar categories separately from tasks drawn from withheld categories. A widening separation could reveal that improvements during training do not transfer. The paper uses this kind of analysis to interpret lexical approaches; its diagnostic usefulness in Mova would depend on the task construction.
Idea: Test whether updating embeddings damages transfer. Where: Finetuning word embeddings during meta-training. Area: representation maintenance. Mova could compare fixed lexical representations with representations updated on source tasks. The paper finds that updating them usually harms performance in its setup and relates this to vocabulary mismatch. For Mova, this is a reason to run the comparison, not a general rule against updating lexical information.
Idea: Swap the downstream predictor. Where: Distributional signatures with other classifiers. Area: experimental design. Mova could hold its relevance mechanism roughly constant while changing the task solver. This would help determine whether an improvement belongs to the representation or to its interaction with a particular classifier. The paper’s induction-network variant also changes the relation stage, so Mova should document comparable architectural changes explicitly.
Idea: Match representations to the task’s information needs. Where: Results, Contextualized representations. Area: representation selection. The differing BERT results on FewRel and HuffPost suggest testing contextual representations separately for different tasks. Mova could compare contexts where relational information matters with contexts dominated by category keywords. The authors’ explanation is a hypothesis, and Mova would need its own evidence.
Idea: Expose preprocessing as part of the evaluation design. Where: Experimental setup, Datasets, and Supplemental Material, Datasets. Area: data processing. Mova could record label filtering, category selection, and split construction alongside its scores. The paper’s single-label filtering and deliberately separated category groups affect what its experiments measure. Similar transparency would make Mova evaluations easier to interpret and reproduce.
Idea: Compare target annotation needs with a supervised reference. Where: Few-shot learning v.s. supervised learning. Area: evaluation and resource accounting. Mova could compare a transferred procedure with an ordinary classifier trained using increasing amounts of target supervision. Such a comparison could show where transfer is useful in practice. It should also disclose the source training data and pretrained representations that support the transferred system.
The problem and its context
The paper begins from a tension within transfer learning. A system can acquire extensive experience on one collection of categories and still struggle when only a few examples describe different categories. Experience helps only if what was learned remains useful. In text classification, that condition is easy to violate because category evidence is often tied closely to vocabulary.
The authors contrast this situation with the image-recognition setting that motivated much earlier meta-learning research. In their account, low-level visual patterns can be reused across tasks. Language tasks often operate closer to lexical identity: a particular word can be strongly associated with one category yet contribute little to another decision. The paper therefore questions whether the same type of shared representation should be expected to transfer equally well across these settings.
HuffPost provides an intuitive example. Its headlines belong to 41 categories, and the authors illustrate how words associated with one category need not distinguish the others. They also examine a target category concerned with middle-aged life. In their example, a conventional prototypical network emphasizes “date” while giving insufficient weight to “grandma.” The point is not that one word is inherently useful and the other inherently useless. The failure concerns which evidence deserves attention for an unfamiliar category.
This matters because few-shot classification offers little opportunity to correct an unsuitable representation. A large labeled target collection could support extensive relearning. A small support set cannot reliably reveal every important feature, estimate every category distribution, or repair a shared encoder that has specialized to earlier vocabulary. The transfer mechanism must arrive with an appropriate bias about what to learn from scarce evidence.
Learning how to learn from small tasks
The meta-learning framework addresses this by constructing many small training tasks. Instead of learning only a classifier over the source categories, the system repeatedly practices adaptation from a support set and receives feedback on a separate query set. The hoped-for result is a reusable procedure for handling categories that were absent from training.
The paper groups earlier approaches into several broad families. Some learn a distance or representation space in which examples from the same class lie near one another. Matching Networks belongs to this discussion of metric-based approaches. Others learn an initialization or optimization prior, as in Model-Agnostic Meta-Learning, so that limited adaptation can produce an effective task-specific predictor. Another family uses relations between classes.
The authors also describe earlier applications of meta-learning within language processing. These include low-resource neural machine translation and Diverse Few-Shot Text Classification, alongside work on relation classification. Their criticism is focused: these approaches primarily construct shared knowledge from lexical representations, and the paper’s experiments show weaknesses when category vocabularies differ substantially.
A prototypical network is especially relevant to the comparison. It learns a representation in which a category can be summarized by a centroid computed from its support examples. Query examples are then classified through their relationship to these prototypes. This is an appealing procedure when support examples occupy a useful shared space. It becomes less reliable if that space highlights features peculiar to source categories.
Transfer through representations and attention
The paper also situates itself relative to transfer learning outside episodic meta-learning. Earlier approaches transfer through a pretrained encoder that is subsequently adapted, or through an encoder shared among several tasks. The discussion includes contextual representations such as Deep Contextualized Word Representations and BERT, as well as shared-encoder approaches.
Another cited direction transfers attention using human rationales. This establishes attention as a possible object of transfer: a system can reuse guidance about which input elements deserve emphasis. The present paper changes how that guidance is obtained. Its attention generator learns from downstream task performance and uses distributional statistics as the bridge between tasks.
The frequency-based part of that bridge has a familiar precedent in TF-IDF. Frequency weighting expresses a general intuition that words occurring almost everywhere tend to provide less category-specific evidence. The authors extend this intuition by combining broad frequency information with a noisy estimate of current category discrimination.
The resulting proposal is deliberately modest about its raw inputs. Distributional signatures contain less lexical information than embeddings. That weakness can become useful when the shared component needs to avoid memorizing source vocabulary. The paper asks whether a restricted description of occurrence behavior can support a stronger transferable relevance rule.
The method, step by step
The method combines a shared attention generator with a task-specific ridge regressor. Understanding their relationship requires keeping three collections separate: the source pool, the support set, and the query set. They contribute different kinds of evidence and have different roles during learning.
The support set contains the labeled examples available for the current classification task. The query set contains examples on which that task is assessed. The source pool supplies broader distributional statistics. During training, the source pool is formed from training categories outside the active episode. During testing, it contains the available training-category examples, while support and query examples come from previously withheld categories.
From an episode to transferable attention
The steps in order.
Constructing episodes without reusing target categories
The authors denote the source training categories by Yᵗʳᵃⁱⁿ and the target testing categories by Yᵗᵉˢᵗ. These category sets do not overlap. The task is to learn from the former in a way that supports rapid adaptation to the latter.
Each training episode selects N categories. From every selected category, K examples become support data and L examples become query data. An N-way K-shot task therefore has N possible labels and K labeled support examples per label. L controls the query examples used to assess the adapted predictor.
The source pool adds information that a conventional episode would leave outside its immediate computation. During training, examples from the remaining source categories contribute background statistics. This gives the current task a larger reference collection without putting its own selected categories into that reference pool.
Testing uses the same support-and-query logic with new categories. The shared attention generator has already been learned. A fresh task-specific regressor is fitted using the new support set, and its predictions are measured on the new query set. Performance is averaged over testing episodes.
This construction makes adaptation explicit. The attention generator does not simply learn a fixed classifier over all available labels. It must produce representations that allow another component to learn the episode’s labels from limited support.
Estimating general importance from the source pool
The first distributional signature measures how common a word is in the source pool.
s(xᵢ) = ε / (ε + P(xᵢ))
Here, xᵢ is the word at position i in input x. P(xᵢ) is its unigram probability estimated from the source pool. The constant ε is set to 10⁻³. The function s assigns smaller values to words with larger source probabilities.
This signature expresses general rather than task-specific importance. A word that appears frequently across the background collection receives less emphasis. A rarer word receives more. The function supplies a smooth weighting signal, so the method need not make an immediate keep-or-discard decision about common vocabulary.
Rarity alone cannot identify the right evidence. An unusual word may be incidental, and a familiar word may be decisive for a particular category distinction. The signature is therefore an input to the attention generator, instead of the final weighting scheme.
Estimating category discrimination from the support set
The second signature asks whether knowing a word reduces uncertainty about the current label.
t(xᵢ) = H(P(y | xᵢ))⁻¹
The symbol y denotes the episode’s class label. P(y | xᵢ) is the estimated distribution over those labels given word xᵢ. H is entropy, a measure of uncertainty in that distribution. The superscript ⁻¹ means that the entropy is inverted.
A concentrated label distribution produces lower uncertainty and therefore a larger t value. A more even distribution produces higher uncertainty and a smaller value. This makes t responsive to the current alternatives: the same word can be informative for one episode and less useful for another.
The support set is too small for an unconstrained estimate to be trusted automatically. The authors therefore obtain the conditional distribution through a regularized linear classifier. They first represent each support example by its average embedding.
ψ(x) = (1/T) ∑ᵢ fₑᵦd(xᵢ)
Here, ψ(x) is the auxiliary representation of example x. T is the number of words in that example, and i ranges over its word positions. The embedding function fₑᵦd maps each word into a vector with E dimensions.
The auxiliary classifier then predicts labels from that average.
p̂ = softmax(U ψ(x))
The vector p̂ contains the predicted probabilities over the episode’s labels. U is the auxiliary classifier’s learned weight matrix, with N rows and E columns. The softmax function converts its class scores into a probability distribution. The letter U distinguishes these weights from the downstream ridge weights; they serve different purposes.
The auxiliary training objective combines classification cross-entropy with a penalty on the weight matrix’s Frobenius norm. The authors stop this optimization when the gradient norm falls below 0.1. To estimate a single word’s conditional label distribution, they apply the fitted classifier to that word’s embedding representation.
This procedure uses embedding information to smooth the task-specific estimate. The attention generator nevertheless receives the resulting statistical signature rather than the embedding itself. That distinction becomes important when interpreting both the lexical-input ablation and the robustness proof.
Combining the signatures along the input
The source-frequency signal and the category-discrimination signal answer complementary questions. Their estimates also contain noise. A direct average or fixed combination would assume that their relationship to useful attention is already known.
Instead, the authors concatenate the signature sequences and process them with a bidirectional long short-term memory network.
h = biLSTM([s(x); t(x)])
The expression s(x) denotes the sequence of general-importance values for the words in x, and t(x) denotes the corresponding sequence of category-specific values. The brackets and semicolon indicate concatenation of the signals. The bidirectional LSTM reads the sequence in both directions and returns hidden representations h.
This recurrent stage lets a position’s weight depend on the pattern of signatures across the input. It does not receive the original word embeddings in the main configuration. Its task is to recognize useful arrangements of distributional evidence.
A learned scoring vector converts the hidden states into normalized attention.
αᵢ = exp(vᵀhᵢ) / ∑ⱼ exp(vᵀhⱼ)
The attention weight αᵢ belongs to position i. The vector hᵢ is the recurrent output at that position, v is learned across episodes, and the superscript ᵀ denotes transpose. The exponential function makes the unnormalized scores positive, while the denominator sums over word positions j to normalize the weights.
These weights are relative within an input. Increasing emphasis on one position changes the share assigned to other positions. The generator is therefore learning how to distribute representational capacity across the words that occur together.
Returning to lexical information
After estimating importance through signatures, the method returns to lexical embeddings to construct the representation used for classification.
φ(x) = ∑ᵢ αᵢ · fₑᵦd(xᵢ)
The vector φ(x) represents input x. Each word embedding fₑᵦd(xᵢ) is multiplied by its attention weight αᵢ, and the weighted vectors are summed across positions i.
This is the architecture’s central separation. The shared attention mechanism learns from statistical descriptions, while the task representation still contains lexical information. Restricting the attention generator therefore does not force the classifier to decide from frequency and entropy alone.
The main experiments keep the pretrained word embeddings fixed during meta-training. This leaves adaptation to the attention mechanism and task-specific predictor, rather than allowing source episodes to reshape the entire lexical space.
Fitting the episode’s predictor
The support representations are assembled into a matrix Φₛ. Its rows correspond to support examples, and its columns correspond to embedding dimensions. The label matrix Yₛ uses one-hot rows to identify the support examples’ classes.
The regressor learns a linear mapping from representations to class scores by minimizing a regularized squared-error objective.
Lᴿᴿ(W) = ‖ΦₛW − Yₛ‖²_F + λ‖W‖²_F
Here, W is the predictor’s weight matrix, with E rows and N columns. Lᴿᴿ is its ridge-regression loss. The notation ‖·‖_F denotes the Frobenius norm, which aggregates squared matrix entries. The positive coefficient λ controls the penalty on the size of W.
The first term encourages the predicted support outputs to match the labels. The second discourages an excessively large transformation. That restraint is useful when the support set contains little evidence.
The fitted weights have a closed-form expression.
W = Φₛᵀ(ΦₛΦₛᵀ + λI)⁻¹Yₛ
The matrix I is the identity matrix with dimensions matching the support-example product ΦₛΦₛᵀ. The superscript ⁻¹ denotes matrix inversion, and ᵀ denotes transpose. The remaining symbols retain their meanings from the objective.
This expression matters for more than fitting speed. The downstream solution remains differentiable with respect to the support representations. Since those representations depend on attention, query errors can teach the shared generator which weighting choices support successful adaptation.
A separate W is learned for every episode. The architecture does not carry a category-specific output matrix from source classes into target classes.
Predicting queries and learning the shared mechanism
The query representations form a matrix Φ_Q. The regressor’s outputs are calibrated before being converted into probabilities.
Ŷ_Q = aΦ_QW + b
The matrix Ŷ_Q contains calibrated query scores. The positive scalar a and scalar b are learned across episodes. Φ_Q contains the query representations, and W is the current episode’s fitted transformation.
A softmax over the class scores produces query-label probabilities. The positive scaling preserves which class has the largest score. The authors describe calibration as adjusting the score behavior for probabilistic prediction while leaving the winning class unchanged.
During meta-training, cross-entropy between query probabilities and query labels supplies the learning signal. Both the support representation, which influences W, and the query representation depend on the attention generator. The generator can therefore learn through both sides of the adaptation process.
The authors optimize λ and a in logarithmic space to keep them positive. The attention generator uses a bidirectional LSTM with 50 hidden units and output dropout of 0.1. Adam uses a learning rate of 0.001. Training samples 100 episodes per epoch and stops when validation loss has failed to improve for 20 epochs.
The robustness statement
The theoretical analysis considers a vocabulary substitution applied consistently to support and query examples. The source pool stays fixed. The attention generator’s input-output relationship is written as follows.
α = AttGen(x | S, P)
Here, AttGen is the attention generator, x is an example from the support or query collection, S is the support set, and P is the source pool. The output α is the sequence of word-importance weights.
The substitution σ maps vocabulary items to vocabulary items. It must be a bijection, so each vocabulary item has a unique counterpart, and it must preserve source-pool unigram probabilities.
P(w) = P(σ(w))
In this expression, w is any vocabulary item, σ(w) is its replacement, and P denotes source-pool unigram probability. The condition excludes arbitrary substitutions between words with different background frequencies.
Under the theorem’s assumptions, attention remains unchanged after the consistent substitution.
AttGen(x | S, P) = AttGen(x̃ | S̃, P)
The tilde marks transformed data: x̃ is the substituted input and S̃ is the substituted support set. The source pool P is unchanged. The equality concerns the sequence of attention weights.
The proof’s frequency argument is direct.
s(xᵢ) = ε/(ε + P(xᵢ)) = ε/(ε + P(σ(xᵢ))) = s(σ(xᵢ))
All terms retain their earlier meanings. The middle equality follows from the requirement that substitution preserve source probabilities. The general-importance signal therefore stays the same.
For category-specific importance, the appendix reasons through class-conditioned word counts.
P̂(y | xᵢ, S) = #(xᵢ ∧ y | S)/∑ᵧ′ #(xᵢ ∧ y′ | S) = #(σ(xᵢ) ∧ y | S̃)/∑ᵧ′ #(σ(xᵢ) ∧ y′ | S̃)
The symbol # counts occurrences of a word in examples carrying a given label. The conjunction ∧ joins the word and label conditions. The variable y′ ranges over candidate labels, and P̂ is the resulting empirical conditional estimate. A bijective substitution preserves the correspondence between these counts.
The paper also expresses substitution as a change in the conditional input distribution.
P̃(x | y) = P(σ⁻¹(x) | y)
Here, P̃ is the transformed distribution, P is the original conditional distribution, and σ⁻¹ applies the inverse vocabulary mapping to every word in x. The equation describes how a consistent renaming moves category evidence to replacement words.
The scope is important. The count-based argument explains invariance for unigram-derived signatures. The practical category estimator described earlier additionally uses pretrained embeddings, so the proof should be distinguished from a guarantee about every implementation detail. The authors also explicitly state that unchanged attention does not imply unchanged classification, because the lexical embedding function generally changes under substitution.
Experiments and results
The experimental question is whether the proposed restriction on shared knowledge improves adaptation to unfamiliar categories. The authors test this across document classification, headline classification, and relation classification, rather than relying on a single text type.
Evaluation uses 1000 testing episodes, with average accuracy reported over 5 random seeds. The principal settings are 5-way 1-shot and 5-way 5-shot classification. Accuracy measures how often query examples receive the correct label among the episode’s candidate classes.
What the datasets require
20 Newsgroups contains discussion material organized into 20 topics. It represents comparatively informal document-level text. Its category structure also supports a split in which broad topic groups are kept apart.
RCV1 contains Reuters newswire articles from 1996 to 1997. The experiments use 71 topics from the second level of its hierarchy and exclude articles assigned to multiple classes. The task is therefore single-label topic classification within that selected category set.
Reuters-21578 provides shorter Reuters articles from 1987. The authors use its ApteMod version, remove examples with multiple labels, and retain 31 classes with at least 20 articles. These choices define a filtered task rather than an evaluation over every article and label in the collection.
The Amazon task predicts product categories from customer reviews. The source collection contains 24 categories and 142.8 million reviews. For tractability, the authors sample 1000 reviews per category. This task concerns product type instead of the review’s sentiment.
HuffPost contains headlines published between 2012 and 2018, distributed over 41 classes. The authors characterize the headlines as short and less grammatical than formal sentences. Its brevity makes it a useful contrast to document collections where many words contribute to the representation.
FewRel asks for the relation between a specified head entity and tail entity in a sentence. Its public collection contains 80 relation types. This is a different prediction problem from assigning a document topic: useful evidence may depend on the relationship expressed around the entities.
Separating familiar and unfamiliar categories
The authors distinguish easy and hard splitting procedures. The easy procedure randomly permutes categories before assigning them to training, validation, and testing. It is used for HuffPost and Reuters-21578.
The harder procedure seeks greater separation between category groups. In 20 Newsgroups, broad topic families cannot occur in more than one split. Training uses the science and recreation groups, validation uses computing, and testing uses the remaining groups.
Amazon and RCV1 receive splits based on spectral clustering of category word distributions. Training, validation, and testing categories are selected from different clusters. This makes lexical differences part of the intended evaluation challenge.
FewRel uses entity-type information to construct its separation. A pretrained parser supplies head and tail entity types, and the authors identify the most common types for each relation. Test categories are those whose most common head type is Work_of_Art. The remaining relation categories are divided between training and validation.
These procedures do not make the tasks uniformly difficult in a single measurable sense. They establish different ways of withholding category structure. The common purpose is to test adaptation beyond the categories that supplied meta-training experience.
What the baselines isolate
The baseline design varies both representation and learning procedure. An average-embedding representation supplies a simple lexical reference. An inverse-document-frequency weighted average adds a fixed occurrence-based weighting scheme. A convolutional representation, following Convolutional Neural Networks for Sentence Classification, learns local filters and uses pooling.
The learning procedures include nearest-neighbor classification, pretraining followed by fine-tuning, and ridge regression. Meta-learning comparisons include MAML and prototypical networks. Together these comparisons ask whether the gain comes from the representation, from episodic learning, or from the proposed distributional attention.
All principal comparisons use pretrained fastText embeddings. On HuffPost and FewRel, the authors also test BERT representations using the Hugging Face implementation. For FewRel, positional embeddings are added to the attention generator, and the convolutional baseline receives the same positional information.
The appendix adds induction networks and P-MAML. The former constructs category representations through dynamic routing and predicts query relationships through a learned relation component. The latter combines additional BERT pretraining with first-order MAML. These comparisons extend the test beyond the principal baseline families.
Main classification findings
The authors report the best performance for their method across the evaluated datasets. Relative to each dataset’s strongest baseline, the stated average improvement is 7.5% for 5-way 1-shot accuracy and 3.9% for 5-way 5-shot accuracy.
Against the convolutional prototypical-network comparison, the average reported 1-shot improvement is 20.0%. The introduction separately gives 20.6% for one-shot text classification and 17.3% for one-shot relation classification. These figures describe different reported scopes and should retain those scopes when discussed.
The paper’s numerical reporting supports an advantage in both low-support settings, with the larger stated improvement appearing in the 1-shot setting. This pattern fits the idea that attention provides support when supervision for the target is particularly limited. It does not establish that the same pattern must hold outside these tasks.
The appendix’s predictor comparison supplies aggregate accuracy values for the distributional approach with ridge regression and with logistic regression.
Ridge and logistic prediction, six-dataset summary, 5-way 1-shot accuracy
The reported summary favors ridge regression while both predictors use distributional learning.
The numbers
| System or setting | accuracy % |
|---|---|
| Logistic regression | 58.5 |
| Ridge regression (this paper) | 60.1 |
The logistic variant fits separate binary classifiers for the episode’s categories using Newton’s method. Its adaptation procedure is differentiable, allowing the attention mechanism to continue learning through the predictor. This makes it a useful test of whether the result depends entirely on ridge regression.
Ridge and logistic prediction, six-dataset summary, 5-way 5-shot accuracy
Ridge regression also has the stronger reported summary in the larger support setting.
The numbers
| System or setting | accuracy % |
|---|---|
| Logistic regression | 77.1 |
| Ridge regression (this paper) | 78.0 |
The paper also reports that distributional learning with the logistic predictor improves accuracy over its strongest baseline by 6.1% in 5-way 1-shot tasks and 3.2% in 5-way 5-shot tasks. The benefit therefore survives a change of predictor, although ridge remains the preferred implementation in the authors’ comparison.
Contextual representations and additional supervision
BERT improves FewRel classification substantially in the authors’ experiments, while HuffPost receives no corresponding improvement. They suggest that relation classification requires more contextual interpretation, whereas headline category classification relies more heavily on keywords. This is an interpretation of the contrast, instead of an independently isolated causal result.
The paper also compares few-shot performance with a fully supervised convolutional classifier as the number of target training examples increases. The authors describe their 5-shot performance as approximately matching a supervised classifier trained with 50 examples.
That comparison illustrates practical target-data efficiency. It should be read alongside the transferred system’s earlier access to source training categories and pretrained embeddings. The few-shot label describes the support available for the new task, not the entirety of the system’s prior learning experience.
What the ablations show
The ablations examine the proposed explanation for improved transfer: the system benefits from learning how distributional behavior indicates importance, while avoiding unnecessary dependence on source vocabulary. Other analyses investigate the resulting representations, the attention weights, and the choice of predictor.
Both signatures contribute
Removing either general-frequency information or category-specific information reduces performance in the authors’ ablation study. They report a larger contribution from the general-frequency signature.
This establishes that the broad source collection is doing useful work. It also shows that the small support set adds information beyond background rarity. A word’s overall frequency and its relationship to the current candidate classes are complementary sources of evidence.
The result should not be interpreted as a universal ranking of the two statistics. Their usefulness depends on how well the source pool represents background language and how much the support examples reveal about the active categories. The ablation establishes their contributions in this experimental setup.
Sequence processing helps, but is not the central result
The authors replace the bidirectional LSTM with a multilayer perceptron that evaluates words independently. Keeping sequence-level combination produces a modest improvement.
This comparison suggests that neighboring signature patterns contain useful information. A word’s importance can be interpreted more effectively when the generator sees the surrounding distributional evidence.
The size and interpretation of the finding are narrower than a claim about understanding syntax. The generator operates on statistical signatures, and the paper does not evaluate grammatical structures. The controlled result concerns sequence-aware weighting for classification.
Lexical access can weaken transfer
The most direct test of the paper’s architectural argument adds word embeddings to the attention generator’s inputs. Performance then declines consistently.
This matters because the added embeddings are informative. Their failure to help cannot be explained by a simple lack of expressive capacity. Instead, the result supports the authors’ concern that a shared attention mechanism can learn associations that work for source categories but fail for new ones.
The finding applies to where lexical information enters the architecture. The downstream representation still uses embeddings. The successful system does not reject lexical knowledge; it constrains the shared mechanism that decides how much weight to assign it.
Learned weighting improves the representation space
The authors visualize representations for testing episodes using principal component analysis. They compare unweighted embeddings, direct signature-based weighting, and weighting produced by the learned attention generator.
For 20 Newsgroups and HuffPost, the learned representations show clearer category organization than the simpler alternatives. In the 20 Newsgroups example, the arrangement also reflects relationships among religion-related and politics-related categories.
These visualizations help explain why a small support set can become more useful. If relevant examples occupy a more coherent region of the representation space, the task-specific predictor has less structure to infer from scarce labels.
A projection remains a diagnostic view. It cannot display every relationship in the original space, and visible separation should not substitute for measured classification. Its value here comes from supporting the behavioral results with an inspectable account of representation quality.
Attention agrees more closely with a richer-data reference
The oracle analysis supplies a separate check on the weighting mechanism. The oracle is trained using all labeled examples from the target categories, giving it information unavailable to the few-shot attention generator.
Its architecture encodes examples recurrently, generates attention, and uses those weights over the original embeddings before classification. The authors compare its attention with the few-shot alternatives through cosine similarity.
The learned distributional attention agrees more closely with the oracle than either raw signature does. This supports the claim that the generator improves on its noisy inputs rather than merely reproducing them.
The oracle is still a learned estimator. Agreement shows similarity to a richer-data reference, not access to an independently established correct explanation for every word. The authors also caution that attention similarities differ across datasets partly because their text lengths differ.
Relevance changes with the competing categories
A Reuters example holds the query text fixed while changing the episode’s other categories. The text belongs to the jobs class. When the alternatives are economically related, the generator reduces the emphasis on “statistical.” When the competing categories are more distant, it assigns that word greater importance.
This is a concrete illustration of task-conditioned attention. A word need not carry a fixed relevance score across every possible decision. It may distinguish broad domains while contributing less to distinctions within one domain.
The example complements the signature design: category-specific evidence is intended to respond to the current alternatives. It demonstrates a plausible behavior, although an individual example cannot establish how reliably that behavior occurs across all episodes.
Predictor changes preserve part of the benefit
The logistic-regression comparison shows that the attention approach can work with a different differentiable solver. Ridge performs somewhat better in the reported summary and avoids fitting a separate binary problem for each category.
The appendix also inserts distributional attention into prototypical networks. Relative to each dataset’s strongest prototypical baseline, the reported accuracy improvements are 9.9% for 5-way 1-shot tasks and 16.7% for 5-way 5-shot tasks.
An induction-network variant receives the attention-weighted representation as well. The authors report average improvements of 14.3% in 5-way 1-shot tasks and 25.1% in 5-way 5-shot tasks. However, this variant also replaces the learned relation component with a parameter-free nearest-neighbor predictor. Its result therefore concerns a modified architecture, not an isolated attention substitution.
Across these experiments, ridge regression remains stronger than the tested prototypical and induction alternatives. The authors suggest that its task-specific fitting provides a useful advantage over direct nearest-neighbor decisions in a shared representation space.
Updating embeddings usually hurts
The main experiments hold word embeddings fixed. A separate comparison allows them to change during meta-training, and performance falls for nearly all tested approaches.
The authors connect this result with vocabulary mismatch. For Amazon, they report that 15,095 of 28,591 source-training vocabulary items, or 52.8%, are absent from meta-test vocabulary. In the opposite direction, 21,049 of 34,545 meta-test vocabulary items, or 60.9%, are absent from meta-training vocabulary.
Their interpretation is that updates driven by source tasks can distort useful pretrained geometry without receiving enough evidence about target vocabulary. This provides a second route by which lexical specialization can undermine transfer.
Learning curves point in the same direction. The convolutional prototypical approach fits training categories rapidly, while its performance on unfamiliar categories generalizes less well. The induction-network curves and the P-MAML pretraining analysis provide further evidence that successful optimization on source data need not imply useful adaptation to the target category distribution.
Limitations
The strongest conclusions concern a particular form of transfer: adapting to new categories from a small labeled support set while drawing on a larger source collection. The paper does not claim that distributional signatures are universally preferable to lexical representations, or that its experimental advantage extends to every language task.
Limits the authors explicitly identify
The authors describe their statistics as noisy approximations to importance. General rarity does not directly establish usefulness, and the category-specific estimate is based on very little labeled evidence. The attention generator exists partly to compensate for those weaknesses. Its success does not make the underlying estimates exact.
They also state an important boundary around the theorem. Attention can remain invariant under the specified substitution while classification changes, because the final representation includes pretrained lexical embeddings. The mathematical property therefore belongs to one component under stated assumptions.
The substitution assumptions themselves are restrictive. The mapping must be bijective and preserve source-pool unigram probabilities. Arbitrary replacements, ordinary paraphrases, or changes that alter frequency relationships fall outside that statement. The theorem cannot be read as a general guarantee of robustness to altered wording.
Contextual representations also have uneven value in the reported experiments. BERT helps FewRel but does not improve HuffPost. The authors propose a task-based explanation, yet the result itself demonstrates that adding a richer representation does not yield uniform benefits.
There are practical limits to the baseline comparisons as well. The authors run P-MAML on shorter-document datasets where BERT adaptation is feasible. They note that tokenized examples from longer-document collections can exceed the BERT length limit of 512 tokens. This constrains which direct comparisons are available.
Limits visible in the experimental design
A careful reader should distinguish target-label scarcity from total data scarcity. The approach relies on source-category examples and pretrained embeddings. Its results demonstrate adaptation with little new labeled data under those conditions. They do not demonstrate learning an effective classifier from only the support examples and no prior resources.
The source pool is also part of the method’s information access. It provides broader occurrence statistics than the immediate support set can supply. Comparisons should therefore consider both the learning architecture and the background information made available to it. The paper does not isolate every possible effect of reference-collection size or composition.
The category splits create meaningful transfer challenges, but they do not exhaust the possible forms of distribution change. A hierarchy-based topic split, a word-distribution clustering split, and an entity-type split test different conditions. None alone establishes performance under every shift in domain, register, label definition, or annotation practice.
Several datasets are simplified to single-label classification by removing multiply labeled examples. The reported results therefore do not establish performance on the original multilabel problems. Likewise, the Amazon experiment predicts product category from a sampled review collection; it should not be treated as evidence about sentiment classification.
The tested few-shot tasks also present a fixed candidate set with labeled support for each category. They do not establish behavior when relevant categories are missing, labels overlap unpredictably, or the system must decide that none of the available categories applies.
Limits of the explanatory evidence
Attention visualizations are useful for inspection, but plausible weights do not establish a complete causal explanation. A highlighted word may correlate with a decision without accounting for every interaction that produced it. The oracle comparison strengthens the analysis by adding a quantitative reference, yet that reference is itself learned.
The proof and implementation deserve separate treatment. The appendix establishes category-conditional invariance through counts preserved by a bijection. The practical estimator uses a regularized classifier over embeddings. Because arbitrary vocabulary substitution can change embedding geometry, the count argument alone does not establish invariance for every practical estimate described in the method.
The numerical comparisons also have different scopes. Some reported improvements concern all evaluated datasets, others concern text classification or relation classification, and others concern particular predictor families. They should not be collapsed into a single universal gain.
Finally, the comparisons do not establish that every lexical meta-learning approach must fail. They show weaknesses in the tested approaches under the paper’s category splits. The broader architectural insight is that transfer can improve when the shared relevance mechanism is encouraged to depend on statistical structure rather than source-specific word identity.
What came after
The later citation record connects this paper with research on few-shot adaptation, data augmentation, entity recognition, and sentiment analysis. Those connections show that the paper remained relevant beyond its original classification experiments. A citation alone, however, does not establish that a later work adopted the attention generator, reused the source-pool construction, or validated the distributional-invariance argument.
Making Pre-trained Language Models Better Few-shot Learners appeared in 2021. Its stated subject places it alongside the paper’s concern with extracting useful adaptation from prior learning when target supervision is scarce. The citation establishes a connection to this earlier work, but the available account does not identify a distributional-signature component in its method. It would therefore be unjustified to present it as a direct implementation of the same architecture.
AugGPT appeared in 2023 with a stated focus on using ChatGPT for text data augmentation. This connects the paper to a different route for addressing limited labeled text: changing the available data rather than only changing how existing words are weighted. The citation does not establish which distributional-signature idea, if any, AugGPT incorporated. Its results cannot be used as additional evidence for the earlier attention mechanism without a more specific account.
Simple and Effective Few-Shot Named Entity Recognition appeared in 2020 and identifies structured nearest-neighbor learning as its approach. Its task is named entity recognition, extending the surrounding research conversation beyond assigning one category to a whole text. The citation establishes that connection, but does not show that distributional attention was transferred into the structured nearest-neighbor method.
CONTaiNER appeared in 2022 and concerns few-shot named entity recognition through contrastive learning. It belongs to the same broad problem of building useful representations for categories with limited supervision. The available citation information does not specify whether it borrowed the signatures, the episodic source pool, or the separation between attention learning and task fitting. Those possible relationships should remain open instead of being asserted.
Benchmarking transfer learning approaches for sentiment analysis of Arabic dialect appeared in 2022. Its stated focus connects the citation record with transfer evaluation in sentiment analysis. This is relevant to the earlier paper’s insistence that transfer must be tested under the conditions of the intended task. The citation information does not specify how distributional signatures enter that benchmark or whether the original method was directly evaluated.
These later works establish a broader research context around the paper, while leaving their precise technical dependence unresolved. The contribution that can be assessed directly remains the original one: a shared relevance mechanism can transfer through occurrence statistics, then guide a lexical predictor fitted to unfamiliar categories. Its continuing value lies in that design question—what information should a system carry between tasks, and what information should it relearn from the task in front of it?
Cite
Cite as Yujia Bao, Menghua Wu, Shiyu Chang and Regina Barzilay. 2019. Few-shot Text Classification with Distributional Signatures. arXiv (Cornell University).
@misc{bao2019few,
title = {{Few-shot Text Classification with Distributional Signatures}},
author = {Yujia Bao, Menghua Wu, Shiyu Chang and Regina Barzilay},
year = {2019},
doi = {10.48550/arxiv.1908.06039},
eprint = {1908.06039},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.1908.06039}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/bao-2019-few-shot-text-classification-distributional/
References
- Antreas Antoniou, Harrison Edwards, and Amos Storkey. How to train your maml. arXiv preprint arXiv:1810.09502, 2018. OpenAlex ↗ · Scholar ↗
- Sanjeev Arora, Yingyu Liang, and Tengyu Ma. A simple but tough-to-beat baseline for sentence embeddings. 2016. OpenAlex ↗ · Scholar ↗
- Yujia Bao, Shiyu Chang, Mo Yu, and Regina Barzilay. Deriving machine attention from human rationales. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 1903–1913, 2018. our card
- Luca Bertinetto, Joao F. Henriques, Philip Torr, and Andrea Vedaldi. Meta-learning with differentiable closed-form solvers. In International Conference on Learning Representations, 2019. URL https://openreview.net/forum?id=HyxnZh0ct7. OpenAlex ↗ · Scholar ↗
- Christopher M Bishop. Pattern recognition and machine learning. Springer Science+ Business Media, 2006. OpenAlex ↗ · Scholar ↗
- Wei-Yu Chen, Yen-Cheng Liu, Zsolt Kira, Yu-Chiang Frank Wang, and Jia-Bin Huang. A closer look at few-shot classification. In International Conference on Learning Representations, 2019. URL https://openreview.net/forum?id=HkxLXnAcFQ. OpenAlex ↗ · Scholar ↗
- Ronan Collobert and Jason Weston. A unified architecture for natural language processing: Deep neural networks with multitask learning. In Proceedings of the 25th international conference on Machine learning, pp. 160–167. ACM, 2008. OpenAlex ↗ · Scholar ↗
- Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805, 2018. our card
- Stefan Evert. The statistics of word cooccurrences: word pairs and collocations. 2005. OpenAlex ↗ · Scholar ↗
- Chelsea Finn, Pieter Abbeel, and Sergey Levine. Model-agnostic meta-learning for fast adaptation of deep networks. In Proceedings of the 34th International Conference on Machine Learning-Volume 70, pp. 1126–1135. JMLR. org, 2017. our card
- Victor Garcia and Joan Bruna. Few-shot learning with graph neural networks. arXiv preprint arXiv:1711.04043, 2017. OpenAlex ↗ · Scholar ↗
- Ruiying Geng, Binhua Li, Yongbin Li, Yuxiao Ye, Ping Jian, and Jian Sun. Few-shot text classification with induction network. arXiv preprint arXiv:1902.10482, 2019. OpenAlex ↗ · Scholar ↗
- Jiatao Gu, Yong Wang, Yun Chen, Victor OK Li, and Kyunghyun Cho. Meta-learning for low-resource neural machine translation. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 3622–3631, 2018. our card
- Jiang Guo, Darsh Shah, and Regina Barzilay. Multi-source domain adaptation with mixture of experts. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 4694–4703, 2018. OpenAlex ↗ · Scholar ↗
- Xu Han, Hao Zhu, Pengfei Yu, Ziyun Wang, Yuan Yao, Zhiyuan Liu, and Maosong Sun. Fewrel: A large-scale supervised few-shot relation classification dataset with state-of-the-art evaluation. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 4803–4809, 2018. our card
- Ruining He and Julian McAuley. Ups and downs: Modeling the visual evolution of fashion trends with one-class collaborative filtering. In proceedings of the 25th international conference on world wide web, pp. 507–517. International World Wide Web Conferences Steering Committee, 2016. OpenAlex ↗ · Scholar ↗
- Sepp Hochreiter and Jürgen Schmidhuber. Long short-term memory. Neural computation, 90 (8):0 1735–1780, 1997. OpenAlex ↗ · Scholar ↗
- Jeremy Howard and Sebastian Ruder. Universal language model fine-tuning for text classification. arXiv preprint arXiv:1801.06146, 2018. OpenAlex ↗ · Scholar ↗
- Xiang Jiang, Mohammad Havaei, Gabriel Chartrand, Hassan Chouaib, Thomas Vincent, Andrew Jesson, Nicolas Chapados, and Stan Matwin. Attentive task-agnostic meta-learning for few-shot text classification, 2019. URL https://openreview.net/forum?id=SyxMWh09KX. OpenAlex ↗ · Scholar ↗
- Armand Joulin, Edouard Grave, Piotr Bojanowski, Matthijs Douze, Hérve Jégou, and Tomas Mikolov. Fasttext.zip: Compressing text classification models. arXiv preprint arXiv:1612.03651, 2016. our card
- Yoon Kim. Convolutional neural networks for sentence classification. arXiv preprint arXiv:1408.5882, 2014. our card
- Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. our card
- Gregory Koch. Siamese neural networks for one-shot image recognition. 2015. OpenAlex ↗ · Scholar ↗
- Ken Lang. Newsweeder: learning to filter netnews. In Proceedings of the Twelfth International Conference on International Conference on Machine Learning, pp. 331–339. Morgan Kaufmann Publishers Inc., 1995. OpenAlex ↗ · Scholar ↗
- Kwonjoon Lee, Subhransu Maji, Avinash Ravichandran, and Stefano Soatto. Meta-learning with differentiable convex optimization. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 10657–10665, 2019. OpenAlex ↗ · Scholar ↗
- David D. Lewis. Reuters-21578 text categorization test collection, distribution 1.0. 1997. OpenAlex ↗ · Scholar ↗
- David D Lewis, Yiming Yang, Tony G Rose, and Fan Li. Rcv1: A new benchmark collection for text categorization research. Journal of machine learning research, 50 (Apr):0 361–397, 2004. our card
- Zhouhan Lin, Minwei Feng, Cicero Nogueira dos Santos, Mo Yu, Bing Xiang, Bowen Zhou, and Yoshua Bengio. A structured self-attentive sentence embedding. arXiv preprint arXiv:1703.03130, 2017. our card
- Xiaodong Liu, Jianfeng Gao, Xiaodong He, Li Deng, Kevin Duh, and Ye-Yi Wang. Representation learning using multi-task deep neural networks for semantic classification and information retrieval. 2015. our card
- Minh-Thang Luong, Quoc V Le, Ilya Sutskever, Oriol Vinyals, and Lukasz Kaiser. Multi-task sequence to sequence learning. arXiv preprint arXiv:1511.06114, 2015. our card
- Rishabh Misra. News category dataset, 06 2018. OpenAlex ↗ · Scholar ↗
- Alex Nichol and John Schulman. Reptile: a scalable metalearning algorithm. arXiv preprint arXiv:1803.02999, 2, 2018. OpenAlex ↗ · Scholar ↗
- Matthew E. Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee, and Luke Zettlemoyer. Deep contextualized word representations. In Proc. of NAACL, 2018. our card
- Alec Radford, Karthik Narasimhan, Tim Salimans, and Ilya Sutskever. Improving language understanding by generative pre-training. 2018. OpenAlex ↗ · Scholar ↗
- Sachin Ravi and Hugo Larochelle. Optimization as a model for few-shot learning. 2016. OpenAlex ↗ · Scholar ↗
- Sara Sabour, Nicholas Frosst, and Geoffrey E Hinton. Dynamic routing between capsules. In Advances in neural information processing systems, pp. 3856–3866, 2017. OpenAlex ↗ · Scholar ↗
- Jake Snell, Kevin Swersky, and Richard Zemel. Prototypical networks for few-shot learning. In Advances in Neural Information Processing Systems, pp. 4077–4087, 2017. OpenAlex ↗ · Scholar ↗
- Richard Socher, Danqi Chen, Christopher D Manning, and Andrew Ng. Reasoning with neural tensor networks for knowledge base completion. In Advances in neural information processing systems, pp. 926–934, 2013. our card
- Karen Sparck Jones. A statistical interpretation of term specificity and its application in retrieval. Journal of documentation, 280 (1):0 11–21, 1972. OpenAlex ↗ · Scholar ↗
- Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. Dropout: a simple way to prevent neural networks from overfitting. The Journal of Machine Learning Research, 150 (1):0 1929–1958, 2014. our card
- Emma Strubell, Patrick Verga, Daniel Andor, David Weiss, and Andrew McCallum. Linguistically-informed self-attention for semantic role labeling. arXiv preprint arXiv:1804.08199, 2018. our card
- Qianru Sun, Yaoyao Liu, Tat-Seng Chua, and Bernt Schiele. Meta-transfer learning for few-shot learning. arXiv preprint arXiv:1812.02391, 2018. OpenAlex ↗ · Scholar ↗
- Flood Sung, Yongxin Yang, Li Zhang, Tao Xiang, Philip HS Torr, and Timothy M Hospedales. Learning to compare: Relation network for few-shot learning. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1199–1208, 2018. OpenAlex ↗ · Scholar ↗
- Oriol Vinyals, Charles Blundell, Timothy Lillicrap, Daan Wierstra, et al. Matching networks for one shot learning. In Advances in neural information processing systems, pp. 3630–3638, 2016. our card
- Ying Wei, Yu Zhang, and Qiang Yang. Learning to transfer. arXiv preprint arXiv:1708.05629, 2017. OpenAlex ↗ · Scholar ↗
- Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, R'emi Louf, Morgan Funtowicz, and Jamie Brew. Huggingface's transformers: State-of-the-art natural language processing. ArXiv, abs/1910.03771, 2019. our card
- Yongqin Xian, Bernt Schiele, and Zeynep Akata. Zero-shot learning - the good, the bad and the ugly, 2017. OpenAlex ↗ · Scholar ↗
- Mo Yu, Xiaoxiao Guo, Jinfeng Yi, Shiyu Chang, Saloni Potdar, Yu Cheng, Gerald Tesauro, Haoyu Wang, and Bowen Zhou. Diverse few-shot text classification with multiple metrics. arXiv preprint arXiv:1805.07513, 2018. our card
- Ningyu Zhang, Zhanlin Sun, Shumin Deng, Jiaoyan Chen, and Huajun Chen. Improving few-shot text classification via pretrained language representations. arXiv preprint arXiv:1908.08788, 2019. OpenAlex ↗ · Scholar ↗
- Yuhao Zhang, Victor Zhong, Danqi Chen, Gabor Angeli, and Christopher D. Manning. Position-aware attention and supervised data improve slot filling. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pp. 35–45, Copenhagen, Denmark, September 2017. Association for Computational Linguistics. . URL https://www.aclweb.org/anthology/D17-1004. OpenAlex ↗ · Scholar ↗