TRANSMISSION // 2612.02900v1

Can repeating a few layers help a Polish AI model detect cyberbullying?

Source published

A study of three Polish Bielik language models finds that repeating selected layers can improve benchmark accuracy—especially for the smallest model. But one cyberbullying task strongly affects the headline results, and larger-model gains are uncertain.

AI-generated conceptual illustration for Can repeating a few layers help a Polish AI model detect cyberbullying?
AI-generated conceptual illustration; not documentary evidence.

What if an AI model could be adjusted without changing its weights—simply by running some of its layers twice? Researchers tested that idea, alongside removing layers, in three Polish-language models. Their results include a striking change on a cyberbullying benchmark, but also a warning: that single task can make an overall improvement look much larger than the gains across other tasks.

A language model usually passes text through a sequence of computational layers. In a new preprint, Jakub Mojsiejuk and Marcin Pietron ask whether changing that sequence—without retraining the model—can improve performance. They tested repeating blocks of layers and removing blocks in three Polish Bielik models: 4.5B, 7B and 11B.

The idea is a kind of model editing without weight updates. Repeating a block makes the model do extra computation, potentially refining its internal representation; deleting a block reduces computation. Neither operation changes the learned weights. The researchers tried every consecutive block of one to four layers for duplication, then used an angular-distance measure to identify candidate blocks for pruning. That measure looks for spans whose output representations are similar to their inputs, treating them as possible candidates for removal.

A key safeguard was to separate choosing an edit from evaluating it. The researchers screened candidate edits on one sample, narrowed the options using additional selection data, and measured the chosen edits on disjoint test data. They evaluated zero-shot accuracy on nine Polish multiple-choice tasks, including classification, reading comprehension, sentiment, and cyberbullying detection. Results were reported both with and without the cyberbullying task, abbreviated CBD.

The smallest model shows the clearest gain

For Bielik-4.5B, repeating layers 52–54 improved accuracy by about 5.6 percentage points across the nine tasks in the study’s main measurement. The result fell to about 2.5 points when CBD was excluded. All three selection protocols chose the same block, and the gain persisted on data that had not been used to select it.

That difference matters. CBD contributed a large share of the overall increase: the edited model’s accuracy rose substantially on that task, while gains on several others were smaller or absent. The researchers note that CBD is unusually sensitive to small model changes and that the baseline models performed below the task’s majority-class rate. So the headline improvement is real within this evaluation, but it does not mean the model improved equally across all kinds of Polish text—or that it learned new knowledge about cyberbullying.

The 7B model showed a more modest pattern. Selected blocks in the region around layers 22–32 produced gains of roughly 1.2 to 1.4 points in some measurements, about two standard errors. The preferred block varied with the selection sample, and one selection protocol’s promising candidates did not pass the researchers’ later acceptance check. That makes the evidence less decisive than for the 4.5B model.

For Bielik-11B, duplication produced no clear overall improvement. The selected blocks differed across samples, and measured gains were below one point—small enough to be consistent with noise. In other words, the study does not establish that repeating layers helps the largest model.

Pruning is not a simple mirror image

The pruning results also varied by model. The selection procedure found no cut that met its acceptance rule for the 4.5B or 7B model. For the 11B model, it could remove layers 20–23 with almost no change in pooled accuracy: about −0.07 points overall. But excluding CBD, the result was a loss of about 1.86 points. A large improvement on CBD offset declines on tasks including summary verification and sentiment.

This is why a near-zero average does not necessarily mean an edit is harmless. Different tasks can move in opposite directions, and a single benchmark can dominate the aggregate. The authors suggest task-specific model variants as a possibility, but reliably choosing among them would require further testing.

What the results do—and do not—show

The study points to a useful possibility: for some models and tasks, changing depth may alter performance without the expense of retraining. But it does not show that this is a general way to improve language models. Only three models from one family were tested, and model size is entangled with each model’s training and compression history. The evaluation covers zero-shot multiple-choice benchmarks, not open-ended generation, few-shot use, or long-context tasks. The best 4.5B block also sits at the edge of the tested range, so longer duplicated blocks remain untested.

The paper reports one run per protocol and one data split and seed. Its authors also note that benchmark training splits may have appeared during instruction tuning. Pruned models received no post-pruning fine-tuning, which could affect how pruning compares with approaches that include a recovery step.

Finally, this is an arXiv preprint: a publicly posted research manuscript, not evidence here of peer review. The results are best read as a careful, limited demonstration that weight-free depth edits can have different effects across models and benchmarks—not as a proven recipe for improving cyberbullying detection in real-world moderation systems.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • Why pruning LLM layers can impair reasoning

    Supporting evidence: Both studies show that pruning outcomes depend on the evaluated task: the Bielik study reports that removing layers 20–23 has near-zero pooled impact but mixed, substantial changes across Polish benchmarks, while Shrestha et al. report that pruning can preserve classification performance better than generative reasoning and leave arithmetic and syntax deficits. This supports the bounded point that aggregate or classification results may not predict performance on other tasks; the models, pruning setups, and task types differ, so the findings are not a direct replication.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2612.02900v1 — Original paper

      Excerpt reference: static/papers/2612.02900v1.md:1172-1254
      Basis: Paper text
      Source file SHA-256: 0e076bbcc4fde6a1aacdf693a9a2a68a5574de4145467a925a9d24659be24e71

    • 2602.01997v5 — Original paper

      Excerpt reference: static/papers/2602.01997v5.md:1174-1243
      Basis: Paper text
      Source file SHA-256: c038fdee35be7fd7638013a04f66a2b571bd9e9be5f56c39bdaffc846a675b8e

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.