When should a language model look something up? Can it rewrite an insult and keep the criticism? Explore what S-NLP has learned across its research directions, with results, figures, and links to the papers behind them.
Which evidence should a question-answering system fetch, and when?
Across six QA datasets, the group compared 35 ways to decide when to retrieve. Uncertainty-based rules often matched the answer quality of more elaborate pipelines while using less computation and better identifying questions the model could answer itself. [1]
A follow-up tested 27 features in seven groups. Features available before answer generation could match more expensive routing methods on the evaluated datasets. A system can therefore decide whether to search before paying for a trial answer. [2]
When evidence is structured, a different route is available. Translating a question into an executable Wikidata query let small models tackle multi-hop and time-dependent questions through intermediate entity and relation choices. [3]
Can the question itself tell us what to fetch?
The EverGreenQA study distinguishes questions whose answers change over time from those with stable answers. It evaluated twelve LLMs and trained a lightweight multilingual classifier to flag that distinction before answering. For tables, TabaQA makes a different early decision: it selects likely answer-bearing columns, supplies those columns to the generator, and refines the result. It finished seventh on DataBench Lite. The two studies illustrate different reasons to retrieve selectively: freshness of evidence and size of context.
EverGreenQA contrasts questions with stable answers and questions whose answers can change over time. Figure 1 in the paper
In practice. A help desk with a latency budget could compare direct answers, document retrieval, and database queries. The practical test is how many more questions it answers correctly for each additional search.
Answer quality and computational cost give different views of the same retrieval policy. Figure 1 in the paperThe knowledge-graph route maps a natural-language question to an executable SPARQL query. Figure 1 in the paper
When can uncertainty help us find, correct, or defer a wrong answer?
A fluent biography can get one date wrong. Claim-Conditioned Probability scores a particular claim while discounting other ways of wording it. In biography experiments, this helped locate unsupported statements inside otherwise plausible answers. [4]
At the level of a whole answer, the LM-Polygraph benchmark tested uncertainty estimators across eleven tasks. Its comparisons separate systems that expose internal probabilities from those that return text alone. The estimator a team can use therefore depends on both the task and the model access it has. [5]
Can a detector use what the model already computed?
In the attention-head study, some heads paid less attention to preceding tokens when the model generated incorrect information. RAUQ combines this signal with token confidence in one forward pass. Across nine models and twelve datasets, the authors reported less than 1% additional computation. The supervised UQ heads learn from attention maps and token scores instead. Their claim-level detectors also transferred to prompts and languages outside training. Both approaches need access to model internals.
An auxiliary head reads the generating model’s attention and token scores to estimate uncertainty. Figure 1 in the paper
What counts as a correct warning?
A detector can identify an unreliable answer and still underline the wrong phrase. PsiloQA supplies automatically annotated spans in 14 languages by comparing generated answers with reference answers and evidence. Fine-tuned encoders performed best among the tested detectors. A study of benchmark design shows why span boundaries matter and introduces a coverage measure for cases where a predicted span contains the annotated error. For an editing tool, these are distinct tests of whether a warning is useful.
PsiloQA goes from Wikipedia evidence to question–answer pairs, generated answers and annotated error spans. Figure 1 in the paper
When is another sample worth generating?
RISC found that a correct answer can already be among the samples and still lose a majority vote. Its ranker combines frequency, similarity to the other answers, and consistency of reasoning. For long biographies, adaptive self-consistency instead aggregates facts across drafts. Against a reference budget of 99 generations per question, its adaptive budgets retained over 99% of the reference factual precision while using 2–29% fewer generations across the tested language–domain pairs.
Which uncertain cases should a human see?
In sequence tagging, a distilled Transformer could select examples for annotation, saving computation during active learning. That rule had a limit in abstractive summarization, where the most uncertain documents were often noisy and selecting diverse documents improved ROUGE and consistency. Selective classification of ambiguous texts found another distinction in toxicity judgments. Combining uncertainty about the model with ambiguity in the examples identified errors better than the tested approaches that considered only the former.
In practice. An editor could send the most uncertain details in a draft to a fact-checker. The score tells the editor where to look; establishing the fact still requires a source.
A worked example shows how alternative next words affect the score for a particular claim. Figure 2 in the paperThe benchmark compares how well uncertainty scores rank answers for selective question answering. Figure 1 in the paper
What does it take to change the tone of a message while preserving its point?
ParaDetox collected neutral rewrites for more than 10,000 offensive English sentences. Different annotators proposed a rewrite, checked that it preserved the message, and judged its toxicity. Models trained on the resulting pairs outperformed the unsupervised baselines evaluated in the paper. [6]
SynthDetoxM extended the approach with 16,000 sentence pairs across four languages. Models trained on these examples outperformed the tested few-shot generators. The practical lesson is that generated rewrites can serve as training data when their quality is checked. [7]
A nine-language analysis examined what changes between offensive and neutral wording. It provides language-specific examples for testing whether a rewrite preserves the speaker’s point. [8]
Which side of a rewrite pair can we synthesize?
The direction of generation changes what the model learns. SynthDetoxM started with toxic inputs and asked nine open models to rewrite them. Training on the resulting pairs beat the tested few-shot generators. A reverse-direction experiment started with neutral inputs and generated insults. Its generators reused a narrow insult vocabulary, and models trained on those pairs scored up to 30% worse on joint metrics than models trained on human data. For corpus builders, coverage of authentic abusive phrasing matters as much as the number of pairs.
The paper compares training on human and synthetic examples when the toxic side of the pair is generated. Figure 1 in the paper
Can we tell when a polite rewrite lost the complaint?
An early manual evaluation found only weak agreement between automatic scores and human judgments, especially among better systems. Comparing 57 measures on 19 datasets, the content-preservation study tested a sharper question. Does each sentence imply the other? Its Mutual Implication Score performed best on paraphrase detection and competitively on style transfer. In a task-oriented dialogue study, checking named entities helped expose edits such as changing a travel destination. A rewrite can be fluent and civil while making precisely this kind of mistake.
The paper distinguishes ways to score preservation of meaning, including testing entailment in both directions. Figure 1 in the paper
How far do rewrites transfer across languages?
Early cross-lingual experiments found that multilingual models could learn detoxification but struggled on languages without direct fine-tuning. Later parallel-corpus work added German, Chinese, Arabic, Hindi and Amharic and compared the linguistic changes in nine languages. PAN 2025 extended evaluation to settings including Hinglish and Tatar. A nine-language metrics benchmark compared automatic judges with human scores, providing a way to check whether apparent improvements survive a change of evaluator.
Which words should the system intervene on?
In toxic-span detection, the team first trained on whole sentences labeled for toxicity, then fine-tuned a tagger to locate the offending fragments. Sentence-level pretraining improved the baseline. The sensitive-topic datasets label topic and appropriateness separately. Together these approaches support a more precise moderation workflow: identify the objectionable wording while leaving room for a legitimate discussion of a sensitive subject.
In practice. A forum could offer an optional rewrite before posting. Showing both versions lets the author catch a change in meaning, even when the revised text receives a lower toxicity score.
The writing task allows an annotator to flag a sentence whose meaning cannot be preserved. Figure 1 in the paperThe multilingual pipeline turns source sentences and candidate rewrites into parallel training examples. Figure 1 in the paper
How can we discover a word’s senses and place each one in a dictionary?
Watset splits an ambiguous word into local senses before clustering the larger graph. This lets one word participate in several groups. The same procedure gave competitive results for synonym sets, semantic frames, and semantic classes. [9]
For a new term that needs a place in an existing taxonomy, the group combined evidence from text with vectors representing graph structure. Their combination improved taxonomy enrichment on the evaluated datasets. [10]
TaxoLLaMA took another route: training a compact adapter on WordNet parent–child relations. It achieved the best reported result on 11 of 16 evaluated tasks, spanning enrichment, construction, hypernym discovery, and lexical entailment. [11]
What evidence distinguishes senses before a dictionary entry exists?
Combining Lexical Substitutes groups occurrences by the words that can replace the target in context. Combining evidence from the left and right context with similarity to the target improved sense induction on benchmarks in two languages. A multilingual disambiguation study started with pretrained fastText vectors and induced sense inventories for 158 languages. The former tests how well contextual occurrences separate; the latter shows how widely inventories can be built when annotated dictionaries are scarce.
How do we test whether a proposed parent category belongs?
Diachronic WordNet evaluation uses successive versions of a taxonomy. Terms added in a later release become test cases for extending the earlier one. The authors built English and Russian datasets this way. This gives a lexicographer an observable target for a proposed parent and a useful complement to evaluating senses through downstream tasks.
In practice. A glossary editor adding a technical term could inspect candidate meanings first, then review proposed parent categories within the intended sense.
Local clustering separates senses before global clustering groups related senses. Figure 1 in the paperTaxoLLaMA converts WordNet relations into training examples for a language model. Figure 1 in the paper
Can we tell whether a compressed passage still contains the answer?
A retriever can find the right passage and still lose the answer on the way to the generator. Soft compression encodes a passage into a few learned vectors to shorten the input. The same vector might retain a person’s occupation yet lose the date they took office. The relevant question is whether it retains the detail this particular query needs.
What can we detect before generating an answer?
In the xRAG study, statistics of the vector alone could identify a compressed representation but were weak indicators of missing answer evidence. A lightweight classifier with access to both the query and the context achieved a mean ROC-AUC of 0.72 across HotpotQA, SQuADv2 and TriviaQA. That measures how well it ranks likely failures across examples.
When is it worth restoring the full passage?
The follow-up study tested a fallback policy. A probe scores the risk of information loss before decoding. A high score sends the original passage to the generator. Query-conditioned probes reached up to 0.83 ROC-AUC in the evaluated settings, and selective fallback improved the measured trade-off between answer accuracy and inference cost. The first paper reports an average and the second a best result across settings, so the two numbers do not measure a head-to-head improvement.
Comparison of overflow detectors across question-answering datasets. Figure 1 in the paperThe follow-up compares linear and multilayer probes at different representation stages. Figure 6 in the paper
What can we compress or update without sacrificing the capabilities we need?
SparseGrad transforms gradients in feed-forward layers into a space where about 1% of entries remain significant. At matched memory budgets it outperformed the tested LoRA and MeProp baselines on the reported language-understanding and QA experiments. [12]
For compression, the group weighted tensor-train approximation using Fisher information, which estimates parameter sensitivity. The weighted method improved results at high compression rates in the tested encoder-only and encoder–decoder models. [13]
A separate LoRA study found a limit to factual updates. Mixing known and new facts helped Llama-3.1-8B-Instruct learn, yet external QA performance still declined. A cheap update can change answers outside the intended domain. [14]
Which changes to the weights do the most damage?
Fisher-weighted tensor compression assigns greater cost to approximation errors on sensitive parameters. A follow-up on Fisher factorization models correlations between parameters without building the full Fisher matrix. At a 40% parameter reduction, its initialization better preserved accuracy in settings where the standard initialization degraded. The LoRA factual-update experiment reveals a different failure: concentrating the training examples on a few entities made those answers recur too often, even outside the update set.
The paper relates ordinary and sensitivity-weighted matrix approximations. Figure 1 in the paper
In practice. A team adapting a model on a single GPU could measure memory use, performance on its new task, and retention on old questions before choosing an update method.
SparseGrad changes the representation in which the layer update is computed. Figure 1 in the paperThe adapter study plots external QA accuracy against the amount of new factual training data. Figure 1 in the paper
How do we teach students to build language-model systems?
The original Transformer course paired fifteen lecture-and-practical sessions with two competition assignments. The updated course added retrieval, tool use, local inference with vLLM, multimodal grounding, and an API-based track. Students can now investigate a system-level decision, such as when retrieval improves an answer enough to justify the latency, using the same kind of trade-off studied in the research papers.
The updated curriculum connects Transformer foundations with practical work on retrieval, agents and deployment. Table 1 in the paper