IBM Palette: Automatic Generation of Customized Presentations with 20B Model Design Language

IBM researchers have unveiled the 'Palette' system that automatically generates presentations tailored to IBM design language by fine-tuning a 20B parameter open model with LoRA. By dividing roles between designers and coders and validating synthetic data and harness, they secured competitiveness against frontier models, achieving first place in 2 out of 3 domains on PresentBench. Detailed design control is possible with natural language directives ([[ ]]), and parallel code generation has improved speed by 6 to 7 times.

Background: Generating Frontier-Level Presentations with Small Models

When requesting slide deck creation from frontier models, plausible results emerge. However, after ten or twenty repetitions, they converge to the characteristic basic style of 'AI-generated decks'. To align with user organization templates or design languages, prompts alone have clear limitations. Moreover, if confidential content is included, external API calls are impossible. These two constraints necessitate an open weight model running on its own infrastructure.

The problem is that small open models are weak in presentation generation. Titles can get buried in background colors, text may spill out of slides, and overlapping shapes frequently cause layout breakage. IBM researchers defined this issue as a combination of 'three tasks that small models struggle with.'

Architecture: Division of Roles Between Designers and Coders

The process is broken down into design → production in two stages, allowing a single LoRA adapter to perform both roles.

RoleInputOutputCore Responsibility
DesignerUser plan (outline, raw content)Structured JSON briefPalette, type system, slide-specific layout, accurate content, design rationale
CoderSlide spec from the brief`pptxgenjs` JavaScript code + inferenceGeometric calculations, element placement, overflow prevention

This separation allows editing judgment (designer) and geometric calculations (coder) to be distinct, making the brief an intermediate output that can be read and modified by humans, thus eliminating the need for full regeneration with just one slide modification. Additionally, coder calls are executed in parallel per slide, resulting in a 6 to 7 times faster coding phase.

"A person can intervene between briefs to change just one slide layout, and since coder calls run in parallel, the speed gain is significant." — IBM Researchers

The reason for using the LoRA adapter is clear. It allows for injecting format and skills without touching base model knowledge, while also lowering experimental costs. However, the coder examples were about 5 times longer than the designer examples, leading to a problem of the designer lacking sufficient training in simple mixing, which was resolved by oversampling designer examples by 5 times.

Synthetic Data Pipeline: Learning Inference from 10,000 Slides

Since there is no public corpus with paired design intent, rationale, and code, it was synthesized with a large open teacher model. Each deck starts with a recipe (genre, length, layout, user directives) to control coverage. The plan was composed of a variety of structured outlines to raw content dumps, also training summarization and compression capabilities.

Using the teacher alone was insufficient for data quality, so a rendering and validation loop was implemented. Overlaps and overflows were checked with the same checker as the harness, and broken slides were repaired and rewritten with the modified inference. Each mistake caught by the checker became a better learning example.

The most challenging issue was the faithfulness problem — hallucinations inserting facts not present in the input into slides — which could not be prevented by prompt rules. If asked to draw a 6×5 table but only three bullets are present, the coder fabricates the rest. The solution was to present reference decks. By including several reference decks in the prompt, the teacher followed the reference much better than the directives.

Directive System: Controlling Design with Natural Language

A directive syntax was introduced to allow users to finely control aspects such as chart type, color, and cover tone for specific slides. By enclosing directives in double brackets like `[[make this a timeline]]`, designers can reflect them in the brief, and coders follow suit.

Chart Type15
Color Change12
Layout18
Cover Style8
Font Adjustment10
Animation5
Icon Use7
Data Emphasis11
Margin Adjustment9
Alignment Change6
Dark Mode4
Brand Application13

Validation and Repair Harness: Ensuring Quality Based on Rendering

Even well-trained models can produce errors such as title-background color matching and box overlaps. Palette does not return model outputs directly but goes through a harness.

  1. Designer Brief Draft
  2. Coder Parallel Code Generation
  3. Rendering and Validation (Overlap/Overflow)
  4. Repair and Rewrite Inference
  5. Final Deck Return

The harness operates similarly at the inference stage, providing runtime quality assurance. Errors caught by the checker are repaired and re-inferred in the same way as during data synthesis, forming a continuous improvement loop.

Evaluation Results and Implications: First Place on PresentBench, Practical Applicability

IBM researchers reported that they achieved first place in 2 out of 3 domains on their own benchmark PresentBench. The key point is achieving practical quality with a self-hostable 20B model while simultaneously solving the fixed problem of frontier model 'house style' and confidentiality constraints.

MetricValueRemarks
Model Size20B ParametersOpen weight, self-hostable
Training Data~1,000 decks / ~10,000 slidesTeacher model synthesis + harness validation
PresentBench Ranking1st in 2 out of 3 domainsProven competitiveness against frontier models
Coder Parallelization Speedup6 to 7×Independent execution per slide
LoRA AdapterDual-purpose designer and coder with a single adapterPreserves base model knowledge, reduces experimental costs
Directive Categories12 typesNatural language control, multi-expression learning
Faithfulness SolutionPresentation of reference decksMore effective than prompt rules

So What? The development team can build a presentation generation pipeline that internalizes their design system at the code level without concerns over frontier API costs, delays, or confidentiality leaks. By inserting briefs (JSON) as intermediate outputs in designer-developer collaboration workflows, they also secure points of human intervention. From a research perspective, the synthetic data → rendering validation → counterfactual inference rewriting loop demonstrated a generalizable pattern that enhances the structured generation capabilities of small models.

Verified figures

Our take

Palette is a best practice that has overcome the structural generation limitations of small models through a 'role division + synthetic data + rendering validation' trio. It presents an immediately applicable blueprint for companies looking to reduce dependency on frontier models.

Open questions

Source

Back to catalog