AI Slide Deck Generation: How Palette Builds Better Decks13 min read2,673 words

AI Slide Deck Generation: How Palette Builds Better Decks

See how IBM Research trained Palette, a 20B open-weight model, to create on-brand slide decks with structured planning, synthetic data and automated checks.

AI slide deck generationPalette AIopen-weight modelssynthetic training dataAI presentation design
AI Slide Deck Generation: How Palette Builds Better Decks

How Palette Teaches a Small AI Model to Build Better Slide Decks

Ask a capable AI model for a presentation and you'll usually get something usable right away. But once you add real constraints - follow your company's design system, don't leak confidential info, and produce ten decks that aren't just copies with different words - the task gets a lot harder. General-purpose models often fall back on familiar layouts. Smaller, self-hosted models can run into a more basic issue: slide geometry. Text spills over, shapes collide, and titles vanish into backgrounds.

IBM Research's Palette project goes after that gap with a practical idea: don't treat slide generation like one big "generate it" step. Fine-tune a smaller open-weight model to follow IBM's design language, and pair it with a system that checks and repairs the slides it produces.

This article lays out why slide generation is so tricky for smaller models, how Palette splits the work, what its training-and-repair pipeline does, and what the benchmark results suggest (and don't).

Why is AI slide deck generation difficult for small models?

A slide deck is a set of boxes - text, images, charts - arranged inside fixed dimensions. Getting that right takes more than stuffing content into labeled areas. The system has to decide what to say, how to represent it, and where every element goes. And crucially, it often can't "see" the slide until it's already generated code.

That makes slide generation a poor fit for a single generation step. The model may need to summarize source material, build a narrative across 10-20 slides, choose charts or tables, and keep typography and color consistent. It also has to predict whether a title will fit in its allotted space at a specific font size. One small mistake early on can still produce valid output - just not something people can read.

The model has to reason about geometry without seeing the result

Palette generates JavaScript for pptxgenjs, which is used to create PowerPoint files. The model outputs positions, dimensions, and font sizes. If a title is too long for its area, it can wrap into whatever comes next. If a shape lands a few points too low, it can overlap something else.

That's not really a "write better prompts" problem. The model has to translate code into a rendered layout and think through what its choices will do. Smaller models are more likely to stumble here, even when the code runs successfully and the slide ends up looking broken.

Editorial decisions and layout decisions compete

A good deck needs editorial judgment: what goes on each slide, what gets cut, and whether the story is clearer as a chart than a table. It also needs solid implementation. Asking one model to do both editorial decisions and exact layout in one pass forces it to keep too many things consistent at once.

There's also a data mismatch. Completed presentations are easy to find, but they usually don't include the underlying rationale for each layout choice - or the code that produced it. A model can learn the "surface" patterns of decks without learning why a designer placed things the way they did.

The practical takeaway is that slide generation should be treated like a workflow, not a one-shot prompt. Palette is built around that: separate decisions, make them explicit, and check what the rendered result actually looks like.

How does Palette divide deck creation into manageable tasks?

Palette splits deck creation into two roles: a designer that plans the deck and a coder that builds individual slides. Both use the same fine-tuned LoRA adapter, but they get different jobs. It's basically how humans do this: decide the story and structure first, then build the slides.

The designer creates an editable brief

The designer reads the input plan and produces a structured JSON brief. It includes the palette and typography, then describes each slide's content, layout, and design rationale. That matters because the key decisions show up before any slide code is written.

This brief isn't just a technical step. It gives you a place to make targeted edits. If one slide should be a timeline instead of a table, you can change the layout through the brief rather than forcing the model to regenerate the whole deck. The trade-off is extra work: another stage, and something that needs validation. But the benefit is real - changes are easier to isolate and understand.

The coder handles one slide at a time

The coder takes a slide specification and writes the corresponding pptxgenjs code, after reasoning about the implementation. Because the brief locks in the slide context first, each slide can be coded independently - and in parallel.

IBM Research reports this split speeds up the coding stage by about 6-7× compared with doing it sequentially. The split also narrows what each part can get wrong. The designer handles content and intent; the coder handles geometry. Errors still happen, but it's easier to pinpoint whether something went off because the brief was wrong or because the slide code placed elements incorrectly.

Directives provide a lightweight control surface

Users can add short instructions inside the plan, using double brackets. For example, [[make this a timeline]] nudges the rollout milestones toward a timeline instead of a table. Palette's training recipes include directives across 12 categories - things like layout, tone, audience, order, omission, and emphasis.

It's a control mechanism, not a promise. The system still has to interpret the directive in context, preserve the underlying facts, and only change the presentation. The value is that you can request a specific preference without rewriting the entire prompt or rebuilding templates.

How was Palette trained to follow a design language?

Palette's training data targets a gap in public presentation datasets: examples often don't include the plan, the rationale, and the code together. IBM Research generated synthetic decks using a large open model. Their recipes specified things like genre, length, layouts, and user directives. The project produced about 1,000 decks, totaling roughly 10,000 slides.

The recipes also varied the inputs. Some plans looked like clean outlines. Others were closer to raw content dumps. That variation matters because business users rarely hand you perfectly structured material. If a model only learns from polished outlines, it may struggle when you ask it to turn meeting notes or a dense document into a deck.

Training examples include reasons, not just answers

Each synthetic example includes reasoning written as a counterfactual - what alternative was considered and why it was rejected. A designer might explain that a bar chart was chosen because the point is the quarterly trend, not the exact numbers. A coder might explain that a title was reduced in size because a larger font would wrap and collide with content below.

The goal is to teach a decision rule alongside the result. That's useful beyond slide decks: if a model only sees final outputs, it can imitate patterns without learning when they apply. Explanations add context for trade-offs, but they still need checking - especially if you're relying on them to justify correctness.

Synthetic data needs a quality-control loop

A teacher model doesn't automatically produce good training data. Palette renders each deck it generates and checks for issues like overlap and overflow. When slides are broken, they get repaired, and their reasoning is rewritten to explain what failed and why the fix works. The same checker-and-repair process is used both during training-data generation and during later generation runs.

IBM Research also found that prompt rules alone were weak at preventing unsupported facts. Using a reference deck improved the teacher's reliability more than adding another instruction. The lesson is pretty direct: improve the examples the model will imitate before you start piling on more rules.

Palette fine-tunes the model with LoRA rather than updating every weight. LoRA keeps the training cheaper by adding a small set of trainable parameters on top of a base model, which helps preserve what the base model already knows. One practical adjustment was needed: coder examples were about five times longer than designer examples. Without oversampling, a simple mix would underrepresent the designer task, so designer examples were oversampled fivefold.

How does Palette check and repair generated slides?

Palette doesn't just return code and move on. Each deck runs through a harness that applies simple corrections, renders the slides, and checks their geometry. The point is to catch failures the system can measure, rather than trusting the model to self-assess.

Deterministic checks catch visible defects

The harness starts with known, predictable errors. For instance, a malformed color code could cause slides to appear black. After that, slides are rendered and inspected for text that overlaps, gets clipped, or ends up outside the slide boundaries.

These checks don't tell you whether a deck is persuasive, factually complete, or appropriate for its audience. They focus on a narrower category of problems - ones with signals the system can verify. That boundary is important. A deck can pass geometry checks and still make a weak argument.

Repairs are accepted only when they improve the result

When a slide is flagged, a separate editor model rewrites its code. The harness then checks the revised slide. The system keeps the repair only if the checker confirms an improvement; otherwise, it leaves the original output in place.

That acceptance rule makes automatic repair safer to run repeatedly. Without it, a repair model might fix one overlap and introduce another. With the gate, repairs only replace output when they pass a measurable improvement criterion. The limitation is obvious too: the gate is only as good as the checks it uses, so it can't prevent every kind of visual or semantic regression - but it does reduce the risk of making known geometry problems worse.

Across 131 PresentBench decks, IBM Research reports the harness improved scores by an average of 3.5 points. That supports having a check-and-repair stage, but it's not a universal guarantee. Those gains come from a specific set of decks and a particular evaluation setup.

The broader engineering lesson is straightforward: build the checker early. It helps improve training examples, track recurring model failures, and make repairs safer to accept. Without it, teams have less confidence both in the training data and in what they plan to ship.

What do Palette's results mean for businesses?

Palette was evaluated on PresentBench, which scores fundamentals, visual design, completeness, correctness, and fidelity. The benchmark provides source documents rather than ready-made plans. In the reported runs, a separate "frontier" model produced a plan from each document, and Palette generated the deck from that plan. So the evaluation measures Palette's deck-building stage inside a pipeline - not a fully self-contained system that turns any document into a finished presentation.

Across three reported domains, Palette ranked first in Economics and Education, third in Talk, and second on the three-domain mean. Its average was 59.7, compared with 60.8 for NotebookLM - so Palette was 1.1 points behind NotebookLM, while still ahead of the other systems in the comparison. Palette's stronger performance on structured material and numerical accuracy contrasts with the Talk domain, which is more narrative and speech-driven. In that domain, two closed systems scored higher.

Open weights can change the deployment trade-off

For organizations, the value of a 20B open-weight model isn't just benchmark placement. If you run it on infrastructure you control, it's easier to enforce company-specific design rules and keep sensitive source materials inside your environment. That can matter for internal strategy decks, client work, or regulated information.

But self-hosting isn't automatically a privacy policy. You still have to manage access controls, logging, storage, model updates, and the upstream systems that feed content into the model. And training the model on a design language doesn't guarantee brand compliance by itself. You'll still need review processes and clear rules for what the model can generate and distribute without human approval.

Benchmark scores leave important questions open

PresentBench measures deck quality, but the Palette authors note it doesn't measure whether a deck follows a specific design language. It's possible to score well on general presentation criteria and still miss a company's typography, tone, or visual conventions.

It also doesn't answer whether Palette handles every source document well, or how well it behaves in different deployment environments. The project's next steps point to a better feedback loop: the harness already checks whether slides render, whether elements overlap or overflow, and whether facts trace back to the brief. The team wants to use these signals as rewards during reinforcement learning, so the model learns to avoid errors rather than relying on fixes afterward.

They're also exploring figure extraction from source documents and adapting output to match existing PowerPoint templates without retraining.

Key takeaways for teams evaluating AI deck generation:

  • Treat deck creation as a pipeline with separate content, design, and rendering stages.
  • Use an editable intermediate brief so people can change individual slides.
  • Generate synthetic examples with rationale, then render and validate them before training.
  • Automate checks for measurable defects, and accept repairs only when they pass those checks.
  • Evaluate brand fit and factual fidelity separately from general visual quality.

Conclusion

Palette is a solid example of specialized AI becoming more dependable through system design - not just by turning up model size or tweaking prompts. It separates editorial planning from slide geometry, trains on examples that explain decisions, and uses rendering checks to reject or repair visible defects. On PresentBench, it performs strongly in two structured domains, but it also shows that narrative tasks and design-language fidelity are still separate challenges.

For businesses, the real question isn't just whether a model can make slides. It's whether the full workflow can preserve facts, follow a visual system, handle confidential inputs responsibly, and produce outputs people can inspect and correct. Palette gives a concrete architecture you can evaluate against those requirements - and a reminder that you want the checker before you trust the generator.

Frequently Asked Questions

Palette is an IBM Research project that fine-tunes a 20-billion-parameter open-weight model to generate PowerPoint decks in the IBM Design Language. It separates deck planning from slide coding and uses a rendering and repair harness to catch issues such as overlapping or clipped content.
Not in the reported PresentBench evaluation. A separate frontier model converted each source document into a plan, and Palette generated slides from that plan. The result evaluates Palette’s deck-building stage as part of a pipeline, rather than measuring every step from document ingestion to finished presentation.
Palette renders generated slides and checks for measurable problems, including overlap, clipping and overflow. When a slide fails, an editor model can rewrite its code. The revised slide replaces the original only if it passes the checker’s improvement criteria.
An open-weight model can be deployed on infrastructure controlled by an organization, which may help keep sensitive material within its systems. That does not guarantee privacy or compliance on its own. Access controls, logging, storage, deployment architecture and review procedures still need to be designed and maintained.

Related articles