Low-Resource Text Style Transfer for Bangla: Data & Models
Paper · 2023 · Sourabrata Mukherjee, Akanksha Bansal, Pritha Majumdar et al.
Summary
A review can take the form of a question about the time a customer spent waiting. A reader hears a complaint even though the reviewer never calls the service bad. How should a favorable rewrite handle that question? It could praise the speed of service, keeping the point at issue while changing what happened. Cases like this make sentiment transfer more than a search for words with opposite meanings. Mukherjee and colleagues study how to reverse a review sentence’s appraisal in Bangla while preserving as much as possible about the experience under review. The work addresses a gap in training and evaluation material for this task.
The authors start from an English Yelp benchmark of 1,000 examples with rewrites in both sentiment directions. They edit 451 sentences, addressing problems such as neutral inputs assigned a polarity, apparent rewrites that leave the judgment intact, and wording that obscures the intended meaning. Human translators then create a Bangla counterpart from the edited English material. The resulting alignment preserves the contrast between the favorable and unfavorable versions, with room to adapt expressions that would sound forced in Bangla.
The experiments give the rewriting systems different kinds of training evidence. One learns the requested edit directly from human-aligned pairs. Others learn to reconstruct sentences in a single sentiment class and are then given inputs from the opposite class. Masked Style Filling adds a step that hides wording influential in a classifier’s judgment of the particular input. The authors also try machine translation in two places. They translate English pairs before training a Bangla rewriter, or train the rewriter in English and translate what it generates.
On the Bangla test set, paired training gives 66.0% target sentiment accuracy and the strongest lexical and embedding-based preservation scores. Masked autoencoding leads on target sentiment at 72.0%, with lower scores on both preservation measures. Translating the training pairs yields 61.0% target sentiment accuracy, and translating the English rewrites yields 64.5%. The former retains considerably more input wording. The authors also report perplexity as an approximate fluency measure and inspect selected examples. The results differ because the tests reward different properties. A sentence can reverse its appraisal by drifting to a different subject, and a close copy can preserve the subject while repeating the initial appraisal. The authors release the English and Bangla data and the experimental code.
Deep dive: Low-Resource Text Style Transfer for Bangla: Data & Models
How a Bangla benchmark built from Yelp reviews tests whether a rewrite can reverse a sentence’s sentiment while preserving the details of the original. · about 37 minutes to read
The problem and its context
What can change in a review
Text style transfer begins with an existing utterance and a requested change in how it is expressed. Here that request is a reversal of sentiment. An unfavorable review becomes favorable, or praise becomes criticism. The input determines what the rewrite is supposed to discuss. This dependence on the input distinguishes the task from generating any plausible review with the requested polarity. A new sentence about a different meal might sound perfectly convincing as a review while being a poor transformation of the first one.
Some inputs suggest a small edit. A reviewer gives an opinion of a specific item, and an adjective expresses that opinion directly. Changing the adjective can leave the item, its setting, and the rest of the utterance in place. Negation provides another way to alter the appraisal. Both choices can meet the requested polarity, yet an emphatic compliment and a modest denial of a defect make different impressions. A reference writer has to decide which expression sounds at home in the sentence. This is a task where distinct outputs may be defensible for the same input.
Other sentences leave the reader to infer the judgment. A reviewer describes a dish as something processed and shaped to look grilled. The description does the work of the criticism. An editor who writes a favorable counterpart can keep grilled chicken as the topic and describe it approvingly, but the description of its preparation may have to change. That is a different kind of operation from exchanging adjectives. The information that leads the reader to a judgment is also information about the meal itself.
The same problem appears in a remark about how quickly a restaurant can seat people. Quick seating can be evidence of good service or, in a sarcastic remark, evidence that few people want to go there. The favorable version shown in the paper shifts the appraisal towards the establishment’s popularity. A word associated with speed would give a rewriting system only a partial account of the implicature in the input. The significance of the observation depends on what the reviewer is suggesting about the venue.
Yelp gives the authors review language with concrete referents such as dishes, establishments, and services. Those referents make some preservation decisions easy to inspect. A reader can tell whether a sentence about tea at a particular venue still mentions tea and the venue. At the same time, the reviews include language whose interpretation depends on unstated circumstances. An informal question or a fragment made sense in the writer’s review, while the benchmark expects it to stand alone as a sentence to be rewritten. Its suitability for that purpose is part of the data problem.
The underlying notion of content is consequently selective. The name of a business may be incidental to the appraisal and can often be left intact. The claim that a business made a customer wait may be the appraisal’s entire basis. The corresponding positive sentence can reasonably keep the business and the service encounter while changing the account of the wait. The paper uses this practical distinction throughout its examples. The degree of continuity readers can expect depends on where the sentiment resides.
Why the resource gap matters for Bangla
The paper describes earlier style-transfer research as concentrated in English. For Bangla, the authors knew of an earlier experiment that trained an autoencoder on a small unpaired collection. An autoencoder learns to recover the input it receives, a capability that can be adapted to rewriting under some conditions. The reported outcome of that earlier experiment was largely negative. It provided a precedent for one training route and left room for a shared benchmark with explicit examples of what a successful Bangla rewrite might look like. The shortage concerns the availability of resources for the task, the sense of low-resource languages relevant here.
The authors consider linguistic variation as well as data availability. They describe Bangla as agglutinative and cite an estimate that a single verb root can have 150 + inflected forms. Such morphology means that a familiar root can appear in many forms. They also describe differences in verb inflection and intonation among Bangla dialects. The translators work with the variety spoken in West Bengal. This choice defines the variety directly represented by the examples and gives the translators a common basis for judging whether a rendering sounds natural.
Alignment across languages provides a way to work with the same underlying cases in both English and Bangla. The complaint in the English collection and its corresponding Bangla translation concern the same review situation. Each also has a counterpart with the opposite polarity. A researcher can read across the languages to examine how a contrast is realized, or read within one language to see what the rewrite changes. The cross-language relationship is especially useful when a language already has editable pairs and another has little comparable material for training.
There are two distinct senses of alignment here. Translating a positive English sentence into Bangla is meant to carry its judgment over. Rewriting a positive Bangla sentence as a negative one is meant to reverse the judgment. The dataset has to support both relations. If a translation attenuates a complaint until it sounds merely descriptive, the relationship between English and Bangla shifts, and the intended contrast within Bangla may weaken at the same time. Treating the pair as a unit during adaptation helps explain why checking the English before translation mattered.
The authors’ survey of multilingual work puts the task in a wider setting. They describe relatively sparse coverage in languages including Chinese, Russian, Latvian, Estonian, and French. They discuss a multilingual formality benchmark covering French, Brazilian Portuguese, and Italian, as well as work on formality transfer in Indic languages. The common concern is access to data and evaluation outside English. Formality and sentiment present different editing problems. A formality rewrite changes the register of an utterance, whereas the review experiments deliberately change the approval or disapproval conveyed by it. That distinction gives the Bangla study a specific question within multilingual and cross-lingual NLP.
How earlier systems learned to rewrite
In the paper’s account of earlier research, the central division is whether training examples show the same content in the source style and the desired style. When they do, a system can learn to generate one sequence from another. The paper points to work that transformed modern English into Shakespearean English with a network that could copy parts of the input. Copying is relevant because many words in a target are supposed to carry over intact. The supervision comes from seeing when previous examples retained words and when they rendered them differently. Shakespearizing Modern Language Using Copy-Enriched Sequence to Sequence Models
The authors also describe earlier work that pursued this form of training with minimal paired material. Obtaining suitable pairs is the central difficulty. A collection of positive reviews and a collection of negative reviews can be assembled as separate groups, yet a positive review of the service at one establishment gives little guidance on how to rewrite a complaint about the food at another. A parallel example supplies a more specific lesson. It demonstrates how the judgment changes in a given sentence and identifies, through the relationship of source and target, the material that can survive the edit.
One response to sparse paired supervision was to edit expressions identified as characteristic of a style. Finding an evaluative phrase gives the system a candidate location for change, and replacement supplies wording associated with the target style. The Yelp collection used here came from work in that line. The idea fits a sentence where an adjective names the fault directly. The paper’s review examples also explain why a method that depends on finding a discrete expression has a harder job with sarcasm or an implicitly critical event. Delete, Retrieve, Generate
A different family of approaches tried to separate style and content in the system’s internal representation. The authors discuss autoencoding and back-translation among the techniques used for that purpose. Back-translation sends text through another language before bringing it back, changing the form of the sentence presented to the system. The paper also describes adversarial training as a means used in earlier work to improve both families of non-parallel methods. Its account emphasizes mixed outcomes and the substantial amounts of unpaired language that some such methods need. A shortage of paired sentences can therefore persist alongside a shortage of usable unpaired material.
The Bangla experiments are organized around these alternatives. They examine direct supervision using the same-task pairs, reconstruction using sentiment groups, and transfer using supervision from English. The paper asks what each route can achieve with its particular information about the target sentence. A comparison within the same review setting makes it possible to see which difficulties persist when the available training evidence changes.
The method, step by step
Repair the source and its counterpart together
The starting collection has 500 examples whose original sentence is negative and whose rewrite is positive, and 500 in the opposite direction. Each begins with a review sentence from the Yelp material and comes with a counterpart intended to reverse its sentiment. The roles matter even though both positive and negative sentences appear in a pair. A negative original can supply the input to a positive rewrite task, while its counterpart shows a possible response to that request.
The authors manually examine the English examples before asking for Bangla translations. Their corrections address spelling, unclear phrasing, polarity labels that do not match the wording, unintended loss of context, and targets that fail to make the requested change. They report editing 451 sentences in the original 1,000-sentence collection. The count covers several kinds of work. Fixing a spelling error can restore an already intended meaning. Repairing the sentiment of one side of a pair changes the evidence that the example supplies. Both fall under the paper’s data preparation and linguistic annotation.
In one example, the English input describes stopping for a soda after visiting a hobby shop. The original wording gives the sequence of events but leaves the drink unevaluated. The editors add an unfavorable reaction to the soda so that the example has a clearly negative side. A favorable counterpart can then express enjoyment while preserving where the reviewer had been and what they stopped for. The correction clarifies the task at a point where interpretation alone would supply too little evidence for the assigned label.
Another example originally made the polarity contrast through labels associated with national or cultural identity. The editors replace that contrast with the reviewer’s pleasant or unpleasant reaction. The revision provides a direct evaluation of what the reviewer heard. In a ratings example, they also avoid presenting particular fixed ratings as the defining contrast between favorable and unfavorable. These edits address the lessons implied by a pair. A system is given examples of what can stand in for an opposite sentiment, so the choice of substitutions matters even if both sentences can already be assigned different labels.
The authors also look for cases where a grammatically possible edit makes an implausible review. One complaint suggests that someone resented being asked about prices. A minimal deletion of negation would produce a story about someone being happy to receive those questions. The favorable rewrite instead describes the person as happy to share information about prices. The subject of the exchange remains recognizable, and the change makes the scenario compatible with the desired reading. This is an example of why fluency and plausibility enter at the stage of writing a target, long before a fluency score is computed.
The most extensive rewrites can preserve the aspect of the establishment being evaluated while changing the event. One example describes a child finding a dead mouse under a seat. That incident itself expresses the complaint, and the favorable sentence characterizes the venue as clean and suitable for children. The common frame is hygiene in a place where a child is present. A similarly broad adjustment turns an indirect complaint about wasted time into an approving description of quick service. These examples establish what preservation means in this corpus when the original event supplies the negative sentiment.
Translate a contrast that still reads naturally
Human translators use the revised English examples to produce the corresponding Bangla material. They have to make each sentence work in Bangla and keep track of why its counterpart is an opposing review. A close translation of the content can still weaken the contrast. A phrase that communicates criticism indirectly in English may need a more explicit evaluation in Bangla, while a literal rendering of a conventional English turn of phrase may sound out of place. The paper’s appendix explains such choices with examples from both directions of transfer.
Consider the pair about a painting business. The critical English side uses a recommendation to avoid the business. In Bangla, the translators express the unfavorable judgment by negating the recommendation. The institution remains the object of the appraisal, and the wording that carries the negative side can change its grammatical shape. The decision makes sense if both sentences are being read as natural reviews of the same business, and shows how the positive–negative relationship can be more stable than the words used to realize it.
The translators also sometimes leave out a phrase whose contribution would be difficult to reproduce naturally. In the sushi example, wording about the eating experience is reduced in the favorable Bangla sentence, and the range of sushi rolls carries the main point. The corresponding negative sentence still concerns the range of sushi. A reader can recognize the contrast over variety in spite of a difference in what was explicitly rendered. The paper treats that sort of omission as a decision about the balance between lexical coverage and natural phrasing.
Slang and ambiguity create a separate difficulty. The authors describe an English expression of general disdain that gets a more straightforward negative rendering in Bangla. The translated sentence communicates disapproval, with less of the original expression’s register and range. In another case, wording about being checked out allows a reading connected with a checkout counter and another, informal reading. The translator selects an interpretation. The resulting example gives the rewriter a usable situation, although the source’s ambiguity carries less directly into Bangla.
A sarcastic expression of thanks poses a different problem from a slang word. The thanking formula can remain constant in English while the account of the evening changes it from gratitude to reproach. The translation must convey how the ensuing description changes the force of apparent thanks. A rendering can make the insult intelligible while altering how the reader recognizes the sarcasm. This is one reason the paper examines language beyond its inventory of obvious positive and negative adjectives.
Recurring descriptions raise a question of consistency. The authors discuss how the description of food as bland can have several plausible Bangla renderings. Repeated use of the same rendering makes the corresponding food descriptions easier to compare across examples. Elsewhere, the translators preserve the favorable sense of a description of an old hotel by transliterating the term for its vintage character. That keeps the sense of a valued older style, which the authors thought could drift toward mere antiquity with another choice of word.
The discussion also includes cases whose contexts remain uncertain after adaptation. An English account of part of someone’s head being overprocessed is difficult to interpret as an isolated sentence. Its corresponding translation reflects that difficulty. The example gives a limit to what consistency and naturalness decisions can accomplish. When the original review fragment leaves the event unclear, a confident translation can require an interpretation that the sentence alone scarcely supports.
From source reviews to Bangla sentiment transfer experiments
The steps in order.
Learn the edit from aligned sentences
The parallel experiment uses the curated pairs directly. The authors begin with multilingual BART, or mBART, and adapt it to the task through fine-tuning. An encoder reads the source sequence into an internal representation. A decoder generates a new sequence from that representation. During training, the human counterpart specifies the output to learn. For a complaint accompanied by a favorable rewrite, the source presented to the encoder is the complaint and the target for the decoder is the favorable sentence. The paired collection also teaches the reverse direction.
This route can learn the joint operation of editing the appraisal and carrying source material into the output. If the reference keeps an establishment name while negating a recommendation, the system sees both choices in the same training example. A reference that rewrites a complaint more extensively provides a different example of keeping the relevant topic. At test time, the system must make those choices from the source sentence, using the regularities it learned from the pairs. The test-side human counterparts belong to the benchmark, while the automatic evaluation uses other evidence to assess the generated sentences.
The architecture figure denotes the source sentence by x. Its Enc is the encoder, and Dec is the decoder. The symbol s′ names the generated sentence in the opposite style, with the prime indicating the changed style. In the translation-based reconstruction route, y names the version of the input in the other language. The figure uses M for the mask information attached to x or y when words are hidden. These symbols label the objects moving through the procedure. The training objectives and metric calculations are described in prose in the paper.
Learn to reconstruct within a sentiment class
The non-parallel setting retains the distinction between positive and negative sentences during training. The named counterpart of a source sentence is withheld as its training target. A reconstructor practices producing positive text from positive material, while a separate reconstructor practices producing negative text from negative material. Both are trained to recover an original sentence. The fact that the original writes about the same content as itself supplies the target needed for this exercise, even when a separately written contrast is unavailable.
In autoencoding, abbreviated AE, the original utterance provides both the input to the system and the text it should produce. To use the resulting systems for transfer, the authors change the routing at test time. A complaint is sent to the reconstructor trained on favorable sentences when a favorable output is wanted. A compliment is sent to the negative reconstructor when criticism is wanted. The selected reconstructor supplies the connection to the target sentiment.
There is a difference between succeeding at the training exercise and succeeding after that routing change. A system that faithfully reproduces a sentence has achieved the reconstruction objective it saw in training. If it follows the same behavior on a sentence of the opposite class, the output can reproduce the source judgment along with the source details. The design relies on patterns learned from the target class affecting reconstruction enough to get the desired change. Measuring how frequently that happens is part of the point of the comparison.
Back-translation, abbreviated BT, alters what is presented to the reconstructor. English training sentences are first translated into Bangla. The reconstruction task is to generate their original English versions from those Bangla translations. For Bangla, the intermediate language is English and the original Bangla becomes the target. The cycle back into the starting language is learned using the source utterance that was already available. Separate reconstructors again learn from favorable and unfavorable material, and the target class determines the route at inference.
An example makes the switch concrete. A reconstructor trained to produce favorable Bangla receives intermediate English versions of favorable Bangla sentences during training. At inference, an unfavorable Bangla input is translated into English, and that intermediate text is sent to the favorable Bangla reconstructor. It has to use that input to recover what the review is about while generating a sentence of a type it learned from different material. The trip through English changes the surface evidence available for copying, while leaving the system with a translation of the original appraisal to contend with.
Conceal words influential in the sentiment decision
Masked Style Filling, abbreviated MSF, starts by asking which words matter to a text classifier for the sentence at hand. The classifier is a version of multilingual BERT fine-tuned on the task’s sentiment labels. It reads a sentence and predicts a polarity. The authors use integrated gradients, a method of interpretability, to attribute the classifier’s prediction to parts of the input. A word attribution is a score describing the contribution of a word to that prediction. The scores are properties of the particular input and classifier decision.
This matters because a word’s role can depend on the surrounding text. Describing a building as old can contribute to a complaint about its condition, while in a favorable description it can be part of the building’s appeal. A fixed list of sentiment words would give the same type of cue whenever an entry appeared. Attributing a classifier’s prediction sentence by sentence lets the masking decision respond to context. The technique still depends on the features the classifier uses, which can include cues a reader would regard as part of the situation being reviewed.
The authors use a threshold of 0.5 in selecting words to mask. In masked autoencoding, or MSF-AE, the masked sentence is a version of the source-language input. In masked back-translation, or MSF-BT, the corresponding masked input is the intermediate translation. The original full sentence supplies the target during reconstruction training. Hiding some wording creates a reason for the system to infer appropriate text from what remains visible, using the expression patterns it encountered in its own sentiment class.
At test time, the same division of labor applies as in plain reconstruction. Attribution and masking prepare the input, and the reconstructor associated with the requested sentiment produces the output. If a negative word of appraisal has been concealed and the dish name remains visible, the positive reconstructor has a place to supply a favorable evaluation of the known dish. The setup also exposes a harder possibility. If mention of the dish itself is central to the classifier’s decision, hiding that mention takes away information the rewriter could have used to maintain the subject.
MSF is tested on both reconstruction inputs because a useful masking operation can behave differently on an original sentence and on a translation of it. A translation can render an implicit judgment more directly or express it through different words. In that case, the classifier is making an attribution on a different realization of the review. The two masked routes test the procedure in combination with their respective reconstruction inputs.
Move translation to the training pairs or the output
The cross-lingual experiments use English pairs as supervision for the rewriting task and leave aside the human-translated Bangla pairs at that stage. Train-En-TR first translates the English training pairs into Bangla. The resulting source and target become the examples for learning a Bangla-to-Bangla edit. This keeps the training objective close to the direct paired experiment. The correspondence between the Bangla sentences comes from machine translation of an English pair, so the quality of the supervision depends on the translations carrying over the intended polarity and shared subject.
The output translation route, En-OP-TR, learns the sentiment edit from pairs in English and translates the generated English rewrite into Bangla. The editing operation therefore takes place in English. Translation comes afterwards, when the rewrite already embodies decisions about which details to retain and what appraisal to express. The results caption identifies mBART-base as the English generator for this route. The general training setup names mBART-large-50. The relationship between those checkpoint descriptions remains unspecified.
The two routes create different dependencies. When translation is used to create training pairs, a loss of contrast can become part of the examples from which the Bangla rewriter learns. When an English output is translated, the translator can alter wording or meaning that the English rewriter had already chosen. Both routes depend on the usefulness of the edited English pairs, and both can be evaluated on the Bangla task. The authors release the paired data and experimental code publicly.
Experiments and results
How the comparisons are set up
According to the paper, each language follows the same split: 400 training examples, 100 development examples, and 500 test examples. The training portion supplies the evidence appropriate to each condition. In the paired condition, a sentence and its human counterpart are available together. In the reconstruction conditions, the training evidence is organized by polarity, and reconstructing a sentence takes the place of learning from its paired rewrite. In the cross-lingual conditions, the English training pairs supply the contrast needed to learn the edit. The Bangla test results compare the resulting routes under the same reported evaluation criteria.
For the general setup the authors use mBART-large-50 for both languages. Their tuned learning rate is 1e-5, governing the size of the adjustments made during training, and the batch size is 3 examples. They apply dropout at 0.1 across the network and L2 regularization at a strength of 0.01. Dropout interrupts some activations during training, while the regularization constrains parameter values. Training lasts 5 epochs, each a pass through the training material. The translation system specifically named for the BT reconstruction experiment is NLLB-200-3.3B.
The classifier used for sentiment evaluation and masking starts from BERT-base multilingual cased and is adapted using the training split for the main task. The authors report its sentiment classification accuracy as 87.0% for English and 83.0% for Bangla. The split for those standalone classifier scores is unspecified. These scores describe the classifier’s ability to assign sentiment in its own evaluation. The rewrite scores instead count the generated outputs the classifier assigns to the requested class. The two uses of accuracy answer separate questions. How Multilingual is Multilingual BERT?
How a rewrite is scored
Target sentiment accuracy, labeled ACC, asks whether each output is classified with the intended polarity. If an unfavorable input is assigned a favorable rewrite, a positive classification of that output counts towards success. The same rule works in the opposite direction. An output about an completely different experience can earn credit here if its sentiment is clear. The paper therefore assesses continuity with the source separately.
The first preservation measure is BLEU, a score based on overlap in sequences of tokens. Its comparison text in this experiment is the original input sentence. This matters because the paper also has human-written targets, and a BLEU calculation against those targets would ask a different question. Source-based BLEU favors rewrites that keep sequences of input wording. Extensive paraphrase can lower that score even if the review remains about the same event. Conversely, copying a complaint can preserve a great deal of wording while failing the requested transformation. Bleu: a Method for Automatic Evaluation of Machine Translation
The content similarity score, abbreviated CS, compares the source and output through LaBSE, a language-agnostic sentence embedding system based on BERT. A sentence embedding expresses a whole sentence as a vector, and cosine similarity compares the direction of the source vector with that of the output vector. This measure of semantic similarity can reflect a relationship between sentences even with limited surface overlap. A close score still describes the pair as wholes. Whether a particular name, time, or item survived is a question for a more detailed comparison.
The fluency proxy is perplexity, abbreviated PPL. The authors calculate it with multilingual GPT. A lower value indicates a sequence that the predictor finds easier to anticipate. The paper cautions that predictable words can produce a favorable perplexity score even in an unnatural sentence. This is particularly important because the authors describe a shortage of effective automatic fluency assessment tools for Indic languages. They use the values as rough indicators and include sample rewrites and brief manual checks. Evaluating Style Transfer for Text
The measures together create a profile of each system. Source overlap, relatedness in an embedding space, predicted polarity, and predictability can come apart in the same sentence. They can also give different orders across systems. The test results report a value for each property over a collection of outputs, and the examples let the reader inspect some cases where success on one property coexists with a problem on another.
What paired supervision achieves
With direct paired training, the English test output gives 77.0% ACC, 46.5 BLEU, 81.0 CS, and 97.5 PPL. The English parallel system has the highest target sentiment accuracy and both of the highest preservation scores among the English conditions. Its sample rewrites help show the basis for that combination. An input can keep the subject and surrounding phrase while changing a localized evaluation. Examples of that specific operation are available in paired training.
The parallel Bangla test results are 66.0% ACC, 34.5 BLEU, 81.0 CS, and 7.7 PPL. This system leads the Bangla comparison on both source preservation measures. It comes behind masked autoencoding on the classifier’s target sentiment judgment. The equal content similarity figures for the two parallel runs are each results for their own language and inputs. They sit beside different accuracy, overlap, and perplexity figures, so a single match in a column gives a limited view of cross-language performance.
Bangla test set target sentiment accuracy across rewriting systems
Masked autoencoding has the highest classifier accuracy, with paired training next.
The numbers
| System or setting | Accuracy % |
|---|---|
| AE | 17.0 |
| BT | 33.5 |
| MSF-BT | 55.5 |
| Train-En-TR | 61.0 |
| En-OP-TR | 64.5 |
| Parallel | 66.0 |
| MSF-AE (this paper) | 72.0 |
Bangla test set BLEU against the input across rewriting systems
Paired training retains the most input wording by BLEU, and autoencoding also retains substantial overlap.
The numbers
| System or setting | BLEU |
|---|---|
| MSF-BT | 1.0 |
| BT | 3.0 |
| En-OP-TR | 6.0 |
| MSF-AE | 26.5 |
| Train-En-TR | 28.0 |
| AE | 31.0 |
| Parallel (this paper) | 34.5 |
The two charts make clear why the choice of comparison metric changes the apparent result. The plain autoencoder comes close to parallel training on Bangla source overlap and is last on target sentiment. The masked version leads the sentiment comparison while retaining fewer sequences of source wording. The parallel run has strong preservation alongside a comparatively high rate of classifier agreement with the target. Those are aggregate properties of the same run. The results give separate marginals and leave joint success on individual examples open.
What reconstruction achieves with the pairs withheld
Plain autoencoding on the English test set reaches 13.0% ACC, with 42.0 BLEU, 78.0 CS, and 102.2 PPL. The relatively high source overlap occurs alongside the lowest English sentiment score. The output examples show the kind of behavior that can yield this pattern. A reconstruction can preserve the phrasing and topic by keeping almost all of the original input, including the part that signals the sentiment.
The unmasked English BT route gives 28.0% ACC, 10.0 BLEU, 64.5 CS, and 139.4 PPL. Its sentiment score is higher than AE’s while its preservation scores are substantially lower. The relationship holds in Bangla as well. Plain Bangla AE produces 17.0% ACC, 31.0 BLEU, 78.0 CS, and 7.8 PPL. Plain Bangla BT gives 33.5% ACC, 3.0 BLEU, 63.5 CS, and 7.3 PPL. With the translation intermediate, a different appraisal is recognized more frequently in each language. Direct reconstruction retains more of the source by both measures.
The relative perplexity of the two plain reconstruction routes depends on the language. English AE has lower perplexity than English BT. Bangla BT has lower perplexity than Bangla AE. This column gives a separate view of how predictable the generated sentences are in each test setting. It does not track either the polarity ordering or the preservation ordering across the languages.
The English masked routes each attain 59.5% ACC. Their agreement in that column comes with a considerable difference in the preservation columns. MSF-AE obtains 37.5 BLEU and 75.5 CS, while MSF-BT obtains 9.5 BLEU and 62.0 CS. The English masked autoencoder gives 136.0 PPL, and the masked BT route gives 90.2 PPL, the lowest among the English systems. It is possible in these results to improve the fluency proxy while scoring much lower on keeping the wording of the input.
For Bangla, the masked autoencoder reaches 72.0% ACC, 26.5 BLEU, 72.5 CS, and 7.9 PPL. The masked BT route reaches 55.5% ACC, 1.0 BLEU, 43.0 CS, and 26.7 PPL. The Bangla MSF-AE run has the more favorable value in each of those columns when compared with MSF-BT. Its high sentiment score is accompanied by preservation below the parallel benchmark on both measures. The masked BT route has the weakest Bangla preservation and the highest Bangla perplexity, even as its sentiment score improves on plain BT.
Where the translated routes land
For Train-En-TR, which learns from English pairs translated into Bangla, the Bangla test scores are 61.0% ACC, 28.0 BLEU, 79.0 CS, and 7.7 PPL. Its content similarity is close to the paired Bangla system’s, and its input overlap exceeds that of the masked autoencoder. The preservation figures make the translated training pairs a competitive source of supervision on this benchmark. The direct human-aligned route still has the higher score in both preservation columns and on target sentiment.
En-OP-TR, which translates the generated English rewrite, gives 64.5% ACC, 6.0 BLEU, 74.5 CS, and 6.8 PPL on the Bangla test set. It comes closer than Train-En-TR to the Bangla parallel run on sentiment accuracy and has lower preservation scores than Train-En-TR. The sizeable difference in BLEU shows how differently the two routes reproduce input wording. Their embedding similarities give a more favorable view of the output translation route than its low lexical overlap alone would suggest. The route also has the lowest reported Bangla perplexity, a result about the fluency proxy alongside its quite different preservation scores.
The cross-lingual comparison gives evidence that English task supervision can support Bangla generation under the tested conditions. Each translated route achieves higher target sentiment accuracy than the plain reconstructors and masked BT. The masked autoencoder still has the leading Bangla sentiment score. For preservation, training on translated pairs makes a much closer approach to the human-aligned benchmark than translating the finished output. Where translation enters the pipeline is therefore part of the substantive comparison, alongside the original question of whether Bangla pairs are available for training.
What the ablations show
Adding masking to the same reconstruction route
The paper’s closest comparisons to ablations are AE against MSF-AE and BT against MSF-BT. In each pairing the reconstruction route is held in place while the classifier-guided masking procedure is added. Both comparison pairs can be read separately in English and Bangla. The change includes identifying words influential to the classifier and concealing them before reconstruction. The entire preprocessing step is the intervention tested by these runs.
On target sentiment, the direction of change is consistent. In English, both masked runs improve on their corresponding unmasked runs and finish at the same target accuracy. In Bangla, masking improves each route, and autoencoding with masking exceeds the corresponding back-translation version. This fits the motivating idea that a reconstructor given fewer clues to the original appraisal has more opportunity to produce text associated with its training sentiment. The measured result is the classifier’s judgment of the combined procedure.
On preservation, the direction of change is also consistent, and it goes the other way. In each language, adding the mask lowers both BLEU and CS within AE. It also lowers both within BT. The paper describes the masked variants as helping with the challenges of transfer from unpaired material. The table locates that gain in target sentiment instead of a uniform rise in measured quality. The masked autoencoder can still retain more content than many competing procedures, because its unmasked counterpart begins with relatively strong preservation.
There is a practical reason for this pattern in the design. The classifier’s strongest clues are selected for their bearing on a polarity decision. Such a clue can be a localized term of appraisal that the rewriter can freely replace. It can also name part of the event that made a reviewer unhappy. The masking rule treats each as potentially informative about sentiment. For a rewriter, covering up the second kind of clue also removes information it may need to recover the source situation. The human examples of implied complaint make this interpretation plausible. The experiment gives a combined outcome across those kinds of input.
The perplexity comparison is mixed. Within English BT, masking lowers perplexity, while within English AE it raises perplexity. The masked versions of both Bangla procedures have higher perplexity than the corresponding plain versions, with the higher value particularly conspicuous for MSF-BT. The paper discusses fluency improvements in its general interpretation of masking. The table confines that improvement, under the stated proxy and within these baseline comparisons, to English BT. The Bangla results show consistent gains in classifier accuracy from the intervention alongside less favorable values on the fluency proxy.
Changing the form of the reconstruction input
The AE and BT comparison examines what happens when an original sentence and a translation of it provide different inputs for reconstruction. Direct AE gives the reconstructor access to the words the reviewer used, including the name of a venue or a dish. The intermediate in BT can express that information through different wording, and the reconstructor must generate back into the original language. The comparison covers that entire change in procedure. Consequently, it speaks to the usefulness of reconstruction through a translation and leaves the contributions of particular translation effects open.
In the plain conditions, AE has better preservation and BT has better sentiment accuracy in both languages. Once masking is added, English BT loses its sentiment lead over AE and Bangla BT falls behind AE. The preservation lead for AE remains. The benefit of a translation intermediate therefore depends on the rest of the reconstruction procedure. In the plain comparison the intermediate accompanies a greater tendency to change the detected appraisal. In the masked comparison, direct access to surviving source wording coexists with sentiment accuracy as high as or higher than that of translation-based reconstruction.
Paired training changes the task even more extensively. It supplies a rewrite of this particular sentence as the object of learning, while reconstruction supplies existing sentences in a designated class. The relative strengths of paired training and MSF-AE thus describe different packages of supervision and generation. The experiments give a comparison at the reported training size and reserve the question of how the balance changes as the supply of aligned examples grows.
Reading the sample outputs
The paper selects an unfavorable review of afternoon tea and a favorable comment about fresh juice to illustrate both directions of transfer. They are cases where opposites and negation offer fairly localized ways to change the intended judgment. The parallel outputs generally keep the items recognizable. The afternoon tea remains the subject of a favorable appraisal, or a negative assessment replaces approval of the juice. Those examples allow the reader to inspect the specific details that account for the strong aggregate preservation of paired training.
The plain autoencoder examples illustrate the cost of staying close to the input. A remark can retain both its topic and the same attitude towards that topic. It works as reconstruction in the ordinary training sense and fails the requested transfer. In the English BT examples, the opposite issue is apparent when the output changes the drink under discussion to coffee or talks about cheese where the source concerned juice. An appropriately favorable or unfavorable judgment is present in some of these outputs. Its object is different.
In an English MSF-AE example, the output retains the afternoon tea and the establishment with no clear positive evaluation. The procedure has removed the old attitude without supplying the intended one. Another masked output in the other direction shifts the sentiment while losing some of the wording about the reviewed item. These examples help distinguish an unevaluated fragment from a subject substitution. Both can arise when a reconstructor needs to supply wording, but they are different ways of failing to complete a rewrite.
Masked BT shows further changes of subject or specificity. In one English output the evaluation is about a different food, and another replaces the object with a vague reference. The Bangla examples also include cases where sentiment or subject is difficult to recover from the result. They illustrate what the low preservation scores can look like to a reader. Because the paper presents selected examples, their value is diagnostic. The prevalence of each kind of change within the full test set is an open question.
The cross-lingual examples show a similar distinction between retaining the broad appraisal and retaining the original details. One output from translated training pairs preserves the criticism of the juice, while another turns the afternoon tea into a more general reference to food. An output translated after English generation expresses favorable sentiment about tea while shifting the time of day. These examples give substance to the preservation measures. They also raise a question that an end-to-end score leaves open. A changed detail in the finished translation could have entered during the English rewrite or while rendering that rewrite in Bangla.
The data examples provide a useful comparison for interpreting those changes. When editors turn an indirect complaint about a wait into approval of rapid service, they keep the review aspect and change the incident that expressed the sentiment. Moving an afternoon tea to the morning changes a circumstance that could have been retained during a straightforward polarity flip. Both operations alter wording. The paper’s manual examples allow readers to ask whether the change is justified by the transfer, a judgment that a whole-sentence similarity score approximates only indirectly.
Limitations
Limits identified by the authors
The authors warn that reviews can carry biases already present in the material from which they were selected. Rewriting systems trained on this material can reproduce those patterns in new output. The corpus edits include a change to an example where a cultural label served as a proxy for evaluation. That example shows a concrete issue the authors noticed. Their ethics statement discusses attention to bias and the handling of data and consent. The results characterize sentiment transfer, content preservation, and estimated fluency, leaving the extent of bias in the outputs unresolved.
The paper also limits the generalization of the results beyond its data. The source collection is made of customer review sentences, and the human targets express the opposite appraisal in terms judged appropriate to that setting. Other domains can have different sources of subjectivity or depend on context outside an isolated sentence. Even within reviews, a sentence can rely on what appeared before it. A longer passage could require keeping track of several judgments or referring consistently to a place or person over multiple sentences. The reported experiments concern the sentence-level task.
Subjectivity and context are separate challenges even within that scope. An approving or critical reading may depend on whether the reader recognizes sarcasm, interprets an expression as slang, or knows the situation. Editing can make a pair usable by pinning down an interpretation, as with the neutral input about buying a soda. That makes the benchmark’s desired contrast explicit. Agreement with the revised labels then measures performance under that editorial interpretation. The authors caution that those judgments can vary among readers and settings.
Their evaluation limitations concern the gap between measurements and the qualities they represent. The classifier makes errors, and its sentiment prediction cannot on its own determine whether the correct object is being appraised. Source overlap and embedding similarity each reflect only part of the content relationship. Perplexity can favor common, predictable language even where a reader would find a sentence awkward. The authors report cursory manual checks that broadly support the automatic scores. The presented examples give readers qualitative evidence, while the strength of human agreement across the test set remains open.
The authors are cautious about direct comparison of scores across languages. They suggest the morphological complexity of Bangla and its representation in pretraining as possible contributors to the difficulty they observe. Those possibilities motivate the task. The experiments compare complete systems, input data, and evaluators in the two languages. They offer no isolated estimate for either morphological complexity or pretraining exposure. In particular, the different reported accuracies of the two sentiment classifiers are another reason the observed gap in transfer accuracy can reflect more than the rewriting operation.
The English benchmark also changes enough during data correction to complicate comparisons with published Yelp scores. A spelling fix may make a source easier to understand. Assigning an explicit opinion to a neutral sentence or revising a faulty human target changes the underlying task presented to a system. The authors explicitly caution against directly comparing their English scores with work on the original English material. The paper gives examples and reasons for the corrections, while the effect of the corrections themselves awaits a controlled comparison on the two versions.
Limits visible in the design
The Bangla collection is drawn from edited English Yelp material. Its translators use West Bengal Bangla and render review situations inherited from the English source. This allows comparisons on aligned examples with common topics and sentiment directions. It leaves open whether the same relative performance would hold for Bangla reviews composed originally by Bangla-speaking customers, with locally grounded situations and different conventions of informal expression. Other Bangla varieties would introduce additional questions about natural wording and the realization of the same contrast.
There are also degrees of resource dependence within the conditions. Reconstruction uses sentences separated into sentiment classes. MSF adds a classifier fine-tuned on task data. BT relies on translation into an intermediate language. The cross-lingual routes use English paired supervision and translation in place of manually translated Bangla pairs for training the main rewriter. The evaluation still takes advantage of the Bangla benchmark and the sentiment classifier. The claimed transfer is accordingly about replacing specific kinds of supervision at specific stages.
The shared use of the classifier in masking and evaluation deserves attention when interpreting the accuracy gains. Words are concealed because of their contribution to a classifier prediction, and outputs are then scored by the task’s fine-tuned classifier. Gains can reflect successful removal of strong original-polarity cues followed by insertion of target-polarity cues the classifier recognizes. Independent readers might assign different importance to some of those cues, particularly where the appraisal depends on implication. The use of a shared classifier makes that human comparison an empirical question.
The results also leave the independent contribution of contextual word selection undetermined. The paper applies its selected attribution method and threshold together. There is no reported comparison with equally extensive random masking, masking from a fixed sentiment vocabulary, or other thresholds. The controlled cases support an effect of adding the full preprocessing procedure. They leave open whether the same behavior could be obtained from a simpler way of withholding words, or whether a different amount of masking would retain more source content.
Several distinctions are pooled in the test scores. The dataset was built with both directions of transfer, and the examples show how a method can succeed in one illustrated direction and fail in the other. The main table aggregates the directions. It also pools explicitly worded sentiment, implied judgment, and cases where a rhetorical question or slang contributes much of the effect. A system’s aggregate advantage establishes how it fared across the tested mix. Direction-specific performance and accuracy by the type of appraisal remain unresolved.
Finally, the reported values assess systems on a fixed split with the selected training settings. They provide point estimates for different properties of the outputs. The paper gives neither variation across runs nor uncertainty estimates for the rankings. This matters when several scores are close, and when a system looks particularly favorable under one automatic measure. The study establishes baselines for the curated data. The stability of those rankings across other divisions of the data or repeated training, and the proportion of outputs that jointly meet all of the intended criteria, remain open.
What came after
A citing study from 2025 addresses multilingual text detoxification using parallel corpora and makes explainability part of its subject. This brings paired supervision to a different kind of rewrite. In the Bangla task the change concerns approval or disapproval, whereas detoxification targets toxic expression. The common question is how source and counterpart can make a desired change observable while keeping the surrounding content available for comparison. Explainability also makes contact with the Bangla study’s interest in identifying which wording contributes to a classifier’s decision. The citation establishes the relationship between the studies. The use of the Bangla data or its attribution-based masking procedure in the later experiments remains unspecified. Multilingual and Explainable Text Detoxification with Parallel Corpora
A citing study from 2026 puts sentence similarity predictions at the center of a comparative framework spanning datasets, with both semantics and style in view. In the Bangla benchmark, sentence similarity is one instrument for assessing a rewrite, alongside separate measures of polarity and fluency. The later work takes up the broader problem of comparing sentences when meaning and style are both relevant to similarity. The conceptual link is visible in review pairs that remain very close in topic while deliberately changing their appraisal. The citation leaves open how the Bangla examples entered the comparisons and what any result specific to them would be. From Semantics to Style: A Cross-Dataset Comparative Framework for Sentence Similarity Predictions
Cite
Cite as Sourabrata Mukherjee, Akanksha Bansal, Pritha Majumdar, Atul Kr. Ojha and Ondřej Dušek. 2023. Low-Resource Text Style Transfer for Bangla: Data & Models. Proceedings of the First Workshop on Bangla Language Processing (BLP-2023).
@inproceedings{mukherjee2023low,
title = {{Low-Resource Text Style Transfer for Bangla: Data \& Models}},
author = {Sourabrata Mukherjee, Akanksha Bansal, Pritha Majumdar, Atul Kr. Ojha and Ondřej Dušek},
booktitle = {Proceedings of the First Workshop on Bangla Language Processing (BLP-2023)},
year = {2023},
doi = {10.18653/v1/2023.banglalp-1.5},
url = {https://doi.org/10.18653/v1/2023.banglalp-1.5}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/mukherjee-2023-low-resource-text-style-transfer/