Showing posts with label generative design. Show all posts
Showing posts with label generative design. Show all posts

2015-08-16

Generative Advertising with Feedback: Bahio Coffee

M&C Saatchi have combined generative design with feedback analysis to try evolve the most engaging ad. The campaign is called Bahio coffe. I think this is an interesting idea and would like to talk about the good, the bad and the ugly. It has been written about here and has a good website to explore progress here. A two minute video overview is on YouTube.

The generative algorithm is given “copy, layout, fonts, colours and images” and this is expressed as a gene-string. There is still considerable human expertise that goes into the basic assets that are input into the Bahio generative system.

The feedback is attention – which appears to be tracked by watching the amount of eyeball engagement viewers have with the poster. Individual posters are scored by the amount of attention they get – with better posters having their genes preserved for future generations.

The algorithm to generate new posters is genetic. Mathematically this is a method for searching a large multi-variate space in a non-exhaustive manner. It works best when we assume the fitness landscape is hill-like – that is, there are smooth ways to improve towards a “best” poster. Though I suspect it has limited usefulness without some sort of similarity measurement between input possibilities. What that means is, how does it determine that a small mutation on the “image” variable results in an image that is different in a similarly small way? Though, for the relatively small number of images the campaign appears to run, this doesn’t appear to be a big problem.

However, in the offline world, we don’t yet have an easy way to target particular demographics. This technique is, without modification, limited to products that have a general appeal to everybody. Some control could be exercised by creative directors on the input materials to the generative system but then the evaluation is still going to be limited.

That doesn’t make this a bad approach at all. M&C Saatchi will learn a lot of useful things from conducting this experiment. So far, this is a form of multivariate testing which is a technique already employed in the web world. It’s great to see experiments with transferring this to the offline world.

2014-11-17

My first Android App: FantaGen

UPDATE: FantaGen has added many more generators since its first release. Some fun, some serious and all very expressive.

I made FantaGen - a fantasy name generator to experiment with exploring cultural spaces with random generation. There are other generators so I aim for FantaGen to stand apart from the competition by being more comprehensive and more expressive.

You can get FantaGen from the Play Store

These types of generators are good for a bit of harmless fun but they do have a serious side to them. You can use the generator to help break some writer's block.

There are two cultures that have strange names: Simptee and Star Spirits. These were based on a simpler generative name system from a now abandoned interactive fiction project. It made sense in that story to have characters with names that weren't always the same. I thought the names were kinda cool so into FantaGen they go. Code recycling is good.

There are tons of fun image-based generators doing the rounds at the moment. These usually take the form of having the reader build up a name by looking up alternatives based on letters in their own name or their birth month. While these are fun for a single lookup, they don't give much variety for doing 10 random names at a time. My own feeling of these is that 26x26 alternatives is simply not rich enough when the user can see ten items at a time and refresh every half second. Significant extension to the generator is needed to add enough variety to be interesting.

I'm particularly proud of Fairy Names and Star Spirits. Fairy names uses both vocabulary words and syntax variety to create fun diversity. When I can picture the character that goes with the name then I think the effect is good. The Star Spirits mix both words and syllable combinations to represent their angelic like culture. The syllabary is fairly restricted to match how I image their angelic language to be so the word-based titles help to create the variety.

The Roman name generator combines a syllabary with some real Roman names based on research. The syllable based names are most likely anachronistic nonsense. Though it would take much more work to do a historically accurate Roman name generator given how complex their naming patterns are. In particularly I don't handle the gender very well at all: Claudius / Claudia, Julius / Julia. I would like to do more name generators based on real cultures since that ties into my semantic web interests.

Speaking of interests; this project also represents an interest I have in generative creativity. I want to be doing actual research into generative graphic design tools once my PhD is complete.

FantaGen is free and always will be. I have plans to continue extending FantaGen. As the list of generators grows I can see some ripe experimentation in how to navigate that space to keep things fun. I'm open to suggestions for new generators too.

2013-04-02

Design as Simple Complexity

In 1963 Buckminster Fuller introduced the Design Science movement. The movement was largely abandoned within a decade because science (as we know it) does not explain design well. Horst Rittel's explanation of "wicked problems" and the methods approaches of Bruce Archer are more useful explanations with better outcomes.

Our current scientific method (called hypothetico-deductivism) makes predictions and then tests those predictions. If a prediction is not disproved enough times then eventually it becomes theory. The problem is all those experiments take time and control over the variables.

The more time taken to research increases the likelihood of feedback where effects loop back and cause changes to the thing being studied. In an area like design, feedback loops can be extremely quick; an Internet Meme can rise and fall in a matter of days. Science cannot always move fast enough and even if it does the conclusions reached might no longer be applicable as the feedback loops increase. Once research is published then it too feeds back into the system - stimulating differentiating rebellions and copy-cat self-fulfilling prophecies.

Science can explain things like Universal Aesthetics because the feedback loops are less problematic. But there are only a few such areas of design with this property. Science can be like trying to explain boxing by examining the posts and ropes because they are not as complex as understanding events inside the ring.

Science typically assumes that a problem can be broken into small parts which can be solved individually (reductionism) and the conclusions reassembled. This works if the relationships between the parts is simple and well understood - the variables can therefore be easily controlled. But relationships between design elements is complex so that controlling variables too greatly results in studies with narrow conclusions.

What are narrow conclusions? Research seeks the simplest theory that explains the most. Narrow conclusions are where a study is so focused, the variables controlled so tightly, that conclusions are not easily generalizable. A very narrow study might examine just one design (e.g. one app or a website). The outcomes of narrow studies are probably useless to somebody who isn't facing a near identical problem.

Since hypothetico-deductivist science has problems explaining design due to feedback loops and narrow conclusions then what might be a good approach? Surely there has to be something more rigorous than connoisseurship, visual intelligence or intuition? It turns out that there might be; Complex Adaptive Systems Theory is improving techniques towards a Science of Complexity. This area fits quite well with what Rittel and Archer were articulating.

Complex systems have agents that signal each other via relationships. Feedback loops are just natural parts of the system. There is also the property of emergence - where very simple interactions create the appearance of complex behaviour by the whole system. A complex system is more than just the sum of its parts.

Designers know about the dangers of mindless deconstruction and that design is synergestic. The whole is greater than the parts. Here’s a word play; make deconstruction = reductivism and synergy is emergence. Complexity science seems to be a good fit.

Computer based tools for working with complexity are improving beyond what Rittel and Archer had available. Design could now be treated as an applied domain within complexity science. Complexity is not a silver bullet (or golden hammer) but it could produce insights with a rigor that our intuition-based methods alone cannot provide. What might we do with such understanding? How about better design education and better design software.

2012-02-29

Responsive Web Design: Design Theory's Experimental Frontier

Some questions to ponder while reading:

  • How does our understanding of grids change if the page size is no longer fixed?
  • How does our understanding of typographic layout change if column sizes are no longer fixed?
  • How does our understanding of visual hierarchy change if layouts are no longer fixed?

Important advances in simplifying the understanding of aesthetic formalism have often come about by quantifying design in mathematical terms. From the Greek golden section, to Müller-Brockmann's grids, the photographer's rule of thirds, the typographic scale, W3C colour contrast algorithms and Donald Knuth's work in computer typesetting - these all distil aesthetic ideas into formulas.

Traditionally the output mediums were of limited fixed sizes and so a sensible designer could redesign for a different size without much needed to quantify layout in response to weird output sizes. A few general rules of thumb and a good sense of aesthetics was all that was necessary.

Things have changed; Websites are now displayed on a wide variety of devices with different screen sizes and proportions. It used to be that a designer would simply ignore anything but desktop or design a second site for mobile. For over fifteen years web designers have been able to largely ignore increasing desktop screen-resolution by fixing their designs at a certain size within the browser window - effectively ignoring the live resizing of browser windows. This meant no difficult decisions regarding text-line lengths and image sizes relative to column sizes because this could all be fixed at design time. But as the number of devices increase (and thus variety of screen size) many web designers are realising that they should design responsively.

The gateway drug for responsive web design is the flexible grid. Designers are forced to think in terms of ratios (expressed in percentages) instead of pixels. Further to this as the web browser window size is moved into previously nonsensical proportions, the responsive web designer is faced with unique challenges to preserve "design integrity". Solving these challenges via flexible grids, media queries, typographic hacks and even changes to the visual hierarchy are forcing designers to express these visual relationships in code.

Responsive web design at its highest craft is about flexing within specified constraints then having alternative plans when those constraints are violated. How narrow can the browser window get before a column is dropped? How small can the logo go? How wide can a line of text be? All these decisions made by the responsive web designer and codified in CSS and JavaScript provide a living source of data for new understandings in layout and proportion.

Web designers are pragmatic people and don't like doing things twice. So as the body of aesthetic approaches in responsive web design grows many of these heuristics are becoming encoded into behaviours in JavaScript frameworks that are freely shared. Here, JavaScript and CSS code provide good documentation of the ratios and formulas at work. So while web designers pragmatically solve the problems of non-constant screen sizes, their experimentation leads to a new way to look at layout, proportion and hierarchy and this will lead to a greater understanding of mathematics of layout aesthetics.

2011-02-18

Future Design Software: Design at the level of thought, message and feeling.

Graphic design software has steadily increased in power. At first the focus was on improving the visual expression capability of the software but gradually, with the addition of work-flow tools, productivity has become important. However, today’s software is limited by a direct manipulation mindset.

Direct manipulation interfaces allow designers to tweak individual elements on screen by using a mouse and keyboard (and/or commonly a tablet). This means that the designer’s vision must be transformed into discrete steps of computer interactions - think of it like the visual equivalent of programming. Any adjustments to the “feel” of a design piece are non-trivial and will often involve many interactions.

What if there was software for designers that worked more at the level of thought, message and feel? There are two areas of research that combine to produce the design software of the future: Generative Design and Aesthetic Science.

Generative design systems take parameters then produce a set of candidate designs for a designer to select from. Sophisticated generative design systems can then use those selected items to further iterate and produce more (and hopefully better) candidate designs. Imagine feeding the text and image library for a poster to software and having it come up with thousands of concepts for you within seconds.

Aesthetic Science tests (usually following Psychology modes of testing) for aesthetics that are universal. Once an aesthetic principle has been established as universal then it can be algorithmically modelled. A computer can run the algorithms to judge design pieces on an aesthetic level. Yes, aesthetics is a complicated area but we do not need a complete understanding to produce computer tools that can still be useful.

Examples of existing work in aesthetic algorithms are Donald Knuth and the TEX typesetting system, auto-balance/contrast and colour correction in photographic software and the Text Colour Contrast algorithms used by the W3C. My own research is searching for algorithms for measuring the design principle of unity. Unity has already been established as an aesthetic universal by fMRI brain scanner research in Europe. My research is in the blue-sky stage.

A criticism of generative design is that the generated candidate designs tend to break too many aesthetic universals. The designer ends up weeding out useless chaff rather than thinking at the level of message and feel.

Future design software could use a generative system approach but incorporate aesthetic algorithms to pre-screen the concepts shown to the designer. The designer can then discard designs, keep designs and even use a semantic differential like system for rating the feel of designs. Then, the generative system can iterate more concepts – for as many rounds as the designer deems necessary. Changing the feel of a design is simply a matter of asking for something in emotive terms : e.g. A bit happier and a stronger sense of community. At the end the designer gets a file they can load into direct manipulation software (like InDesign) for refinement. This process could take less than five minutes.

UPDATE 20130401: Complexity Science (eturnerx blog article) could provide insights that help build a generative design system. Conventional science methods might be too limited.

Welcome to a more human and productive design future. There will be more articles in this series.

I invite your comments. Your reactions inspire me. I hope my ideas are worthy of sharing with your posse.

This is the first article in the Future Design Software series. Read the second article: File|Save is stupid. What should replace it?.)

2008-05-20

Beta: Rule of Twos

Via Stylegala comes a post by Lois Knight on Typography Essentials. I have been toying with a rule-of-thumb for simplifying web-typography. It's not what I'd call fully tested yet, but it has been working well enough with the students that I've had try it. Here it is:


The rule of twos: No more than two type faces, two colours, two point sizes, two line-spacings and two weights.


Of course you should break this rule, but when you don't have the time, energy or inspiration such rules of thumb can be useful. Oh, it's still in beta so send me your feedback.

2007-09-29

Generating All Design

I recently had a conversation with my colleague Simon Laing. He suggested that approximately one million by one million pixels is at the limit of human perception, that any more pixels beyond this is not useful. Given that human colour perception is around 16.8 million colours, this means that there exists potentially: 1mil * 1mil * 16.8mil = 1.68 * 10 ^ 19 or 16.8 quintillion visual possibilities.

It's true this would take more than a million monkies; Computers could generate every visual possibility that could ever exist as a snapshot. The computer's owner could try to claim intellectual property rights over every visual possibility that does not already have rights claimed over it. This is of course ludicrous. No computer exists (yet) that is up to the task. And such a brute force approach fails to have any appropriateness context that would make it truly a creative work. Still, it would be an interesting statement to make.

Even if we succeeded in generating all visual snapshots, it would be a useless effort. Such a large number is not infinite, but it is innumerable. Innumerable is a practical infinity. Quite simply there would be little use in having this giant catalogue available since nobody would be able to usefully make sense of it without some form of classification and indexing.

Since generating each alternative is relatively trivial, the real magic is actually in the classification and indexing that allows the space of all possibility to be understood. We view that space using various mental models, world-views and abstractions that zone the space into regions. We layer these viewpoint lenses as a means to make sense of the chaos below. Human language contains ways to describe a visual scene without having to name each 1.68E+19 possibility individually.

Pixels themselves are only an abstraction for representing an underlying objective reality. However, the pixel level is too low for much practical use. For example we speak of web design using higher-level terms such as Banner, Navigation bar, content area, footer, sidebar and column. Like most modes of expression it's about selecting the level of abstraction from objective reality that is most useful to the situation.

This applies to generative design (and generative art). The program code contains the rules that represent the worldview and level of abstraction used to express the design. In generic algorithm parlance the program code contains the rules the transform the genotype (parameters) into the phenotype (output).

And this is only discussing snapshot (human perception is around 25 snapshots per second). What is we added the dimension of time? What about the possibilities of interaction? Photographers also understand the meaning (and thus it's communicative value) is also about the context that the snapshot is viewed in. This is where "beauty is in the eye of the beholder" comes in. Viewers, standing at an exact point in Heroclitus' river form meaning for themselves. Just having the snapshot is not enough without knowing its meaning. This is where the appropriateness measures of creativity come into the equation.